diff --git a/.github/workflows/build_latest.yml b/.github/workflows/build_latest.yml index cf8a030fb..215ed0b51 100644 --- a/.github/workflows/build_latest.yml +++ b/.github/workflows/build_latest.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false matrix: os: ['ubuntu', 'windows'] - qt-version: [ '5.12.*', '5.15.*', '6.7.*', '6.8.*' ] + qt-version: [ '5.12.*', '5.15.*', '6.8.*', '6.9.*' ] python-version: [ '3.12' ] runs-on: ${{ matrix.os }}-latest steps: @@ -36,7 +36,7 @@ jobs: with: version: ${{ matrix.qt-version }} modules: ${{startsWith(matrix.qt-version, '6') && 'qt5compat qtscxml qtpositioning qtwebchannel qtmultimedia qtwebengine' || '' }} - arch: ${{ (matrix.os == 'ubuntu' && (startsWith(matrix.qt-version, '5') && 'gcc_64' || 'linux_gcc_64')) || startsWith(matrix.qt-version, '5.12') && 'win64_msvc2017_64' || startsWith(matrix.qt-version, '6.8') && 'win64_msvc2022_64' || 'win64_msvc2019_64' }} + arch: ${{ (matrix.os == 'ubuntu' && (startsWith(matrix.qt-version, '5') && 'gcc_64' || 'linux_gcc_64')) || startsWith(matrix.qt-version, '5.12') && 'win64_msvc2017_64' || startsWith(matrix.qt-version, '6') && 'win64_msvc2022_64' || 'win64_msvc2019_64' }} - name: Setup Python ${{ matrix.python-version }} uses: actions/setup-python@v5 diff --git a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core0.cpp b/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core0.cpp index 3f74dd342..8f94470a0 100644 --- a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core0.cpp +++ b/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core0.cpp @@ -49,7 +49,7 @@ PythonQtShell_QAbstractAnimation::~PythonQtShell_QAbstractAnimation() { } void PythonQtShell_QAbstractAnimation::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -68,7 +68,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractAnimation::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -87,7 +87,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractAnimation::duration() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -117,7 +117,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractAnimation::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -147,7 +147,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -177,7 +177,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractAnimation::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -196,7 +196,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractAnimation::updateCurrentTime(int currentTime0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -215,7 +215,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractAnimation::updateDirection(QAbstractAnimation::Direction direction0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -234,7 +234,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -338,7 +338,7 @@ PythonQtShell_QAbstractItemModel::~PythonQtShell_QAbstractItemModel() { } QModelIndex PythonQtShell_QAbstractItemModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -368,7 +368,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -398,7 +398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -428,7 +428,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -447,7 +447,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -477,7 +477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -496,7 +496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractItemModel::data(const QModelIndex& index0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -526,7 +526,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -556,7 +556,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -586,7 +586,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -616,7 +616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -635,7 +635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QAbstractItemModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -665,7 +665,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::hasChildren(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -695,7 +695,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractItemModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -725,7 +725,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractItemModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -755,7 +755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -785,7 +785,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -815,7 +815,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QAbstractItemModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -845,7 +845,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QAbstractItemModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -875,7 +875,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QAbstractItemModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -905,7 +905,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QAbstractItemModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -935,7 +935,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -965,7 +965,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -995,7 +995,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractItemModel::parent(const QModelIndex& child0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1025,7 +1025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1055,7 +1055,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1085,7 +1085,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1104,7 +1104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QAbstractItemModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1134,7 +1134,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1164,7 +1164,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1194,7 +1194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1224,7 +1224,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1254,7 +1254,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractItemModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1284,7 +1284,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1303,7 +1303,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractItemModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1333,7 +1333,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1363,7 +1363,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QAbstractItemModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1393,7 +1393,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QAbstractItemModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1423,7 +1423,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1767,7 +1767,7 @@ PythonQtShell_QAbstractListModel::~PythonQtShell_QAbstractListModel() { } QModelIndex PythonQtShell_QAbstractListModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1797,7 +1797,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1827,7 +1827,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1857,7 +1857,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractListModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1876,7 +1876,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractListModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1895,7 +1895,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractListModel::data(const QModelIndex& index0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1925,7 +1925,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1955,7 +1955,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1985,7 +1985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2015,7 +2015,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractListModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2034,7 +2034,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QAbstractListModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2064,7 +2064,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractListModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2094,7 +2094,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractListModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2124,7 +2124,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2154,7 +2154,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2184,7 +2184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QAbstractListModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2214,7 +2214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QAbstractListModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2244,7 +2244,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QAbstractListModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2274,7 +2274,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QAbstractListModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2304,7 +2304,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2334,7 +2334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2364,7 +2364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2394,7 +2394,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2424,7 +2424,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractListModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2443,7 +2443,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QAbstractListModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2473,7 +2473,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractListModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2503,7 +2503,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2533,7 +2533,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2563,7 +2563,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2593,7 +2593,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractListModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2623,7 +2623,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractListModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2642,7 +2642,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractListModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2672,7 +2672,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2702,7 +2702,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QAbstractListModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2732,7 +2732,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QAbstractListModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2762,7 +2762,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractListModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2801,7 +2801,7 @@ PythonQtShell_QAbstractState::~PythonQtShell_QAbstractState() { } void PythonQtShell_QAbstractState::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2820,7 +2820,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractState::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2839,7 +2839,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractState::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2869,7 +2869,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractState::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2899,7 +2899,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractState::onEntry(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2918,7 +2918,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractState::onExit(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2937,7 +2937,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractState::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2991,7 +2991,7 @@ PythonQtShell_QAbstractTransition::~PythonQtShell_QAbstractTransition() { } void PythonQtShell_QAbstractTransition::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3010,7 +3010,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTransition::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3029,7 +3029,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTransition::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3059,7 +3059,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTransition::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3089,7 +3089,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTransition::eventTest(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3119,7 +3119,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTransition::onTransition(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3138,7 +3138,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTransition::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3227,7 +3227,7 @@ PythonQtShell_QAnimationGroup::~PythonQtShell_QAnimationGroup() { } void PythonQtShell_QAnimationGroup::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3246,7 +3246,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAnimationGroup::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3265,7 +3265,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAnimationGroup::duration() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3295,7 +3295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAnimationGroup::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3325,7 +3325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAnimationGroup::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3355,7 +3355,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAnimationGroup::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3374,7 +3374,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAnimationGroup::updateCurrentTime(int currentTime0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3393,7 +3393,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3412,7 +3412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3547,7 +3547,7 @@ PythonQtShell_QBuffer::~PythonQtShell_QBuffer() { } bool PythonQtShell_QBuffer::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3577,7 +3577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QBuffer::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3607,7 +3607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QBuffer::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3637,7 +3637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3667,7 +3667,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBuffer::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3686,7 +3686,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBuffer::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3705,7 +3705,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBuffer::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3724,7 +3724,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3754,7 +3754,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3784,7 +3784,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3814,7 +3814,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::open(QIODevice::OpenMode openMode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3844,7 +3844,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QBuffer::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3874,7 +3874,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QBuffer::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3904,7 +3904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QBuffer::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3934,7 +3934,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3964,7 +3964,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::seek(qint64 off0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3994,7 +3994,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QBuffer::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4024,7 +4024,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBuffer::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4043,7 +4043,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4073,7 +4073,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4103,7 +4103,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QBuffer::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5244,7 +5244,7 @@ PythonQtShell_QEventLoop::~PythonQtShell_QEventLoop() { } void PythonQtShell_QEventLoop::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5263,7 +5263,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QEventLoop::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5282,7 +5282,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QEventLoop::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5312,7 +5312,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QEventLoop::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5342,7 +5342,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QEventLoop::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5406,7 +5406,7 @@ PythonQtShell_QEventTransition::~PythonQtShell_QEventTransition() { } void PythonQtShell_QEventTransition::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5425,7 +5425,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QEventTransition::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5444,7 +5444,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QEventTransition::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5474,7 +5474,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QEventTransition::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5504,7 +5504,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QEventTransition::eventTest(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5534,7 +5534,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QEventTransition::onTransition(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5553,7 +5553,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QEventTransition::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5621,7 +5621,7 @@ PythonQtShell_QFactoryInterface::~PythonQtShell_QFactoryInterface() { } QStringList PythonQtShell_QFactoryInterface::keys() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keys"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5666,7 +5666,7 @@ PythonQtShell_QFile::~PythonQtShell_QFile() { } bool PythonQtShell_QFile::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5696,7 +5696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFile::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5726,7 +5726,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFile::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5756,7 +5756,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5786,7 +5786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFile::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5805,7 +5805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFile::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5824,7 +5824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFile::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5843,7 +5843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5873,7 +5873,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5903,7 +5903,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QFile::fileName() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fileName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5933,7 +5933,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5963,7 +5963,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::open(QIODevice::OpenMode flags0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5993,7 +5993,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QFileDevice::Permissions PythonQtShell_QFile::permissions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("permissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6023,7 +6023,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFile::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6053,7 +6053,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFile::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6083,7 +6083,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFile::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6113,7 +6113,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6143,7 +6143,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::resize(qint64 sz0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6173,7 +6173,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::seek(qint64 offset0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6203,7 +6203,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::setPermissions(QFileDevice::Permissions permissionSpec0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6233,7 +6233,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFile::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6263,7 +6263,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFile::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6282,7 +6282,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6312,7 +6312,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6342,7 +6342,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFile::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6519,7 +6519,7 @@ PythonQtShell_QFileDevice::~PythonQtShell_QFileDevice() { } bool PythonQtShell_QFileDevice::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6549,7 +6549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFileDevice::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6579,7 +6579,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFileDevice::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6609,7 +6609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6639,7 +6639,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDevice::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6658,7 +6658,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDevice::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6677,7 +6677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDevice::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6696,7 +6696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6726,7 +6726,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6756,7 +6756,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QFileDevice::fileName() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fileName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6786,7 +6786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6816,7 +6816,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6846,7 +6846,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QFileDevice::Permissions PythonQtShell_QFileDevice::permissions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("permissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6876,7 +6876,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFileDevice::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6906,7 +6906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFileDevice::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6936,7 +6936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFileDevice::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6966,7 +6966,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6996,7 +6996,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::resize(qint64 sz0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7026,7 +7026,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::seek(qint64 offset0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7056,7 +7056,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::setPermissions(QFileDevice::Permissions permissionSpec0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7086,7 +7086,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFileDevice::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7116,7 +7116,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDevice::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7135,7 +7135,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7165,7 +7165,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7195,7 +7195,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFileDevice::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7586,7 +7586,7 @@ PythonQtShell_QFileSystemWatcher::~PythonQtShell_QFileSystemWatcher() { } void PythonQtShell_QFileSystemWatcher::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7605,7 +7605,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSystemWatcher::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7624,7 +7624,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemWatcher::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7654,7 +7654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemWatcher::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7684,7 +7684,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSystemWatcher::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7747,7 +7747,7 @@ PythonQtShell_QFinalState::~PythonQtShell_QFinalState() { } void PythonQtShell_QFinalState::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7766,7 +7766,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFinalState::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7785,7 +7785,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFinalState::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7815,7 +7815,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFinalState::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7845,7 +7845,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFinalState::onEntry(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7864,7 +7864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFinalState::onExit(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7883,7 +7883,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFinalState::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7927,7 +7927,7 @@ PythonQtShell_QHistoryState::~PythonQtShell_QHistoryState() { } void PythonQtShell_QHistoryState::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7946,7 +7946,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHistoryState::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7965,7 +7965,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHistoryState::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7995,7 +7995,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHistoryState::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8025,7 +8025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHistoryState::onEntry(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8044,7 +8044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHistoryState::onExit(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8063,7 +8063,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHistoryState::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8131,7 +8131,7 @@ PythonQtShell_QIODevice::~PythonQtShell_QIODevice() { } bool PythonQtShell_QIODevice::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8161,7 +8161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QIODevice::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8191,7 +8191,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QIODevice::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8221,7 +8221,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8251,7 +8251,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIODevice::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8270,7 +8270,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIODevice::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8289,7 +8289,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIODevice::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8308,7 +8308,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8338,7 +8338,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8368,7 +8368,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8398,7 +8398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8428,7 +8428,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QIODevice::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8458,7 +8458,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QIODevice::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8488,7 +8488,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QIODevice::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8518,7 +8518,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8548,7 +8548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::seek(qint64 pos0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8578,7 +8578,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QIODevice::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8608,7 +8608,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIODevice::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8627,7 +8627,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8657,7 +8657,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8687,7 +8687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QIODevice::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core1.cpp b/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core1.cpp index 5c0f32b8c..25589a519 100644 --- a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core1.cpp +++ b/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core1.cpp @@ -50,7 +50,7 @@ PythonQtShell_QIdentityProxyModel::~PythonQtShell_QIdentityProxyModel() { } QModelIndex PythonQtShell_QIdentityProxyModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -80,7 +80,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -110,7 +110,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -140,7 +140,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIdentityProxyModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -159,7 +159,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QIdentityProxyModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -189,7 +189,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIdentityProxyModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -208,7 +208,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QIdentityProxyModel::data(const QModelIndex& proxyIndex0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -238,7 +238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -268,7 +268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -298,7 +298,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -328,7 +328,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIdentityProxyModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -347,7 +347,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QIdentityProxyModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -377,7 +377,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::hasChildren(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -407,7 +407,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QIdentityProxyModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -437,7 +437,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QIdentityProxyModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -467,7 +467,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -497,7 +497,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -527,7 +527,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QIdentityProxyModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -557,7 +557,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QIdentityProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -587,7 +587,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionFromSource(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapSelectionFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -617,7 +617,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionToSource(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapSelectionToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -647,7 +647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QIdentityProxyModel::mapToSource(const QModelIndex& proxyIndex0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -677,7 +677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QIdentityProxyModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -707,7 +707,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QIdentityProxyModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -737,7 +737,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QIdentityProxyModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -767,7 +767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -797,7 +797,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -827,7 +827,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QIdentityProxyModel::parent(const QModelIndex& child0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -857,7 +857,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -887,7 +887,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -917,7 +917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIdentityProxyModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -936,7 +936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QIdentityProxyModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -966,7 +966,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QIdentityProxyModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -996,7 +996,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1026,7 +1026,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1056,7 +1056,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1086,7 +1086,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIdentityProxyModel::setSourceModel(QAbstractItemModel* sourceModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSourceModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1105,7 +1105,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QIdentityProxyModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1135,7 +1135,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIdentityProxyModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1154,7 +1154,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QIdentityProxyModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1184,7 +1184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1214,7 +1214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1244,7 +1244,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1274,7 +1274,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIdentityProxyModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1915,7 +1915,7 @@ PythonQtShell_QLibrary::~PythonQtShell_QLibrary() { } void PythonQtShell_QLibrary::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1934,7 +1934,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLibrary::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1953,7 +1953,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLibrary::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1983,7 +1983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLibrary::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2013,7 +2013,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLibrary::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2639,7 +2639,7 @@ PythonQtShell_QMimeData::~PythonQtShell_QMimeData() { } void PythonQtShell_QMimeData::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2658,7 +2658,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMimeData::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2677,7 +2677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMimeData::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2707,7 +2707,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMimeData::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2737,7 +2737,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QMimeData::formats() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("formats"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2767,7 +2767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMimeData::hasFormat(const QString& mimetype0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2797,7 +2797,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QMimeData::retrieveData(const QString& mimetype0, QVariant::Type preferredType1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("retrieveData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2827,7 +2827,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMimeData::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3231,7 +3231,7 @@ PythonQtShell_QObject::~PythonQtShell_QObject() { } void PythonQtShell_QObject::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3250,7 +3250,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QObject::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3269,7 +3269,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QObject::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3299,7 +3299,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QObject::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3329,7 +3329,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QObject::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3478,7 +3478,7 @@ PythonQtShell_QParallelAnimationGroup::~PythonQtShell_QParallelAnimationGroup() } void PythonQtShell_QParallelAnimationGroup::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3497,7 +3497,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QParallelAnimationGroup::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3516,7 +3516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QParallelAnimationGroup::duration() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3546,7 +3546,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QParallelAnimationGroup::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3576,7 +3576,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QParallelAnimationGroup::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3606,7 +3606,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QParallelAnimationGroup::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3625,7 +3625,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QParallelAnimationGroup::updateCurrentTime(int currentTime0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3644,7 +3644,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QParallelAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3663,7 +3663,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QParallelAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3717,7 +3717,7 @@ PythonQtShell_QPauseAnimation::~PythonQtShell_QPauseAnimation() { } void PythonQtShell_QPauseAnimation::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3736,7 +3736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPauseAnimation::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3755,7 +3755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPauseAnimation::duration() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3785,7 +3785,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPauseAnimation::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3815,7 +3815,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPauseAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3845,7 +3845,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPauseAnimation::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3864,7 +3864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPauseAnimation::updateCurrentTime(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3883,7 +3883,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPauseAnimation::updateDirection(QAbstractAnimation::Direction direction0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3902,7 +3902,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPauseAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4061,7 +4061,7 @@ PythonQtShell_QProcess::~PythonQtShell_QProcess() { } bool PythonQtShell_QProcess::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4091,7 +4091,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QProcess::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4121,7 +4121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QProcess::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4151,7 +4151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4181,7 +4181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProcess::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4200,7 +4200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProcess::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4219,7 +4219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProcess::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4238,7 +4238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4268,7 +4268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4298,7 +4298,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4328,7 +4328,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4358,7 +4358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QProcess::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4388,7 +4388,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QProcess::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4418,7 +4418,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QProcess::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4448,7 +4448,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4478,7 +4478,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::seek(qint64 pos0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4508,7 +4508,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProcess::setupChildProcess() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupChildProcess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4527,7 +4527,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QProcess::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4557,7 +4557,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProcess::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4576,7 +4576,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4606,7 +4606,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4636,7 +4636,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QProcess::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4986,7 +4986,7 @@ PythonQtShell_QPropertyAnimation::~PythonQtShell_QPropertyAnimation() { } void PythonQtShell_QPropertyAnimation::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5005,7 +5005,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPropertyAnimation::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5024,7 +5024,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPropertyAnimation::duration() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5054,7 +5054,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPropertyAnimation::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5084,7 +5084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPropertyAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5114,7 +5114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QPropertyAnimation::interpolated(const QVariant& from0, const QVariant& to1, qreal progress2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("interpolated"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5144,7 +5144,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPropertyAnimation::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5163,7 +5163,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPropertyAnimation::updateCurrentTime(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5182,7 +5182,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPropertyAnimation::updateCurrentValue(const QVariant& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5201,7 +5201,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPropertyAnimation::updateDirection(QAbstractAnimation::Direction direction0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5220,7 +5220,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPropertyAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core2.cpp b/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core2.cpp index 5a94e8513..ea888895e 100644 --- a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core2.cpp +++ b/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core2.cpp @@ -201,7 +201,7 @@ PythonQtShell_QRunnable::~PythonQtShell_QRunnable() { } void PythonQtShell_QRunnable::run() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("run"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -276,7 +276,7 @@ PythonQtShell_QSequentialAnimationGroup::~PythonQtShell_QSequentialAnimationGrou } void PythonQtShell_QSequentialAnimationGroup::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -295,7 +295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSequentialAnimationGroup::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -314,7 +314,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSequentialAnimationGroup::duration() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -344,7 +344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSequentialAnimationGroup::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -374,7 +374,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSequentialAnimationGroup::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -404,7 +404,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSequentialAnimationGroup::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -423,7 +423,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSequentialAnimationGroup::updateCurrentTime(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -442,7 +442,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSequentialAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -461,7 +461,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSequentialAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -530,7 +530,7 @@ PythonQtShell_QSettings::~PythonQtShell_QSettings() { } void PythonQtShell_QSettings::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -549,7 +549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSettings::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -568,7 +568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSettings::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -598,7 +598,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSettings::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -628,7 +628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSettings::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -833,7 +833,7 @@ PythonQtShell_QSharedMemory::~PythonQtShell_QSharedMemory() { } void PythonQtShell_QSharedMemory::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -852,7 +852,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSharedMemory::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -871,7 +871,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSharedMemory::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -901,7 +901,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSharedMemory::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -931,7 +931,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSharedMemory::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1039,7 +1039,7 @@ PythonQtShell_QSignalMapper::~PythonQtShell_QSignalMapper() { } void PythonQtShell_QSignalMapper::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1058,7 +1058,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSignalMapper::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1077,7 +1077,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSignalMapper::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1107,7 +1107,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSignalMapper::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1137,7 +1137,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSignalMapper::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1211,7 +1211,7 @@ PythonQtShell_QSignalTransition::~PythonQtShell_QSignalTransition() { } void PythonQtShell_QSignalTransition::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1230,7 +1230,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSignalTransition::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1249,7 +1249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSignalTransition::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1279,7 +1279,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSignalTransition::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1309,7 +1309,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSignalTransition::eventTest(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1339,7 +1339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSignalTransition::onTransition(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1358,7 +1358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSignalTransition::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1485,7 +1485,7 @@ PythonQtShell_QState::~PythonQtShell_QState() { } void PythonQtShell_QState::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1504,7 +1504,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QState::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1523,7 +1523,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QState::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1553,7 +1553,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QState::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1583,7 +1583,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QState::onEntry(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1602,7 +1602,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QState::onExit(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1621,7 +1621,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QState::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1729,7 +1729,7 @@ PythonQtShell_QStateMachine::~PythonQtShell_QStateMachine() { } void PythonQtShell_QStateMachine::beginMicrostep(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("beginMicrostep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1748,7 +1748,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStateMachine::beginSelectTransitions(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("beginSelectTransitions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1767,7 +1767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStateMachine::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1786,7 +1786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStateMachine::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1805,7 +1805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStateMachine::endMicrostep(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endMicrostep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1824,7 +1824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStateMachine::endSelectTransitions(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endSelectTransitions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1843,7 +1843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStateMachine::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1873,7 +1873,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStateMachine::eventFilter(QObject* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1903,7 +1903,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStateMachine::onEntry(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1922,7 +1922,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStateMachine::onExit(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1941,7 +1941,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStateMachine::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2256,7 +2256,7 @@ PythonQtShell_QTemporaryFile::~PythonQtShell_QTemporaryFile() { } bool PythonQtShell_QTemporaryFile::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2286,7 +2286,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTemporaryFile::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2316,7 +2316,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTemporaryFile::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2346,7 +2346,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2376,7 +2376,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTemporaryFile::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2395,7 +2395,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTemporaryFile::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2414,7 +2414,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTemporaryFile::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2433,7 +2433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2463,7 +2463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2493,7 +2493,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2523,7 +2523,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::open(QIODevice::OpenMode flags0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2553,7 +2553,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QFileDevice::Permissions PythonQtShell_QTemporaryFile::permissions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("permissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2583,7 +2583,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTemporaryFile::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2613,7 +2613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTemporaryFile::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2643,7 +2643,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTemporaryFile::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2673,7 +2673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2703,7 +2703,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::resize(qint64 sz0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2733,7 +2733,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::seek(qint64 offset0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2763,7 +2763,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::setPermissions(QFileDevice::Permissions permissionSpec0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2793,7 +2793,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTemporaryFile::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2823,7 +2823,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTemporaryFile::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2842,7 +2842,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2872,7 +2872,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2902,7 +2902,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTemporaryFile::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3078,7 +3078,7 @@ PythonQtShell_QTextCodec::~PythonQtShell_QTextCodec() { } QList PythonQtShell_QTextCodec::aliases() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("aliases"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3108,7 +3108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QByteArray PythonQtShell_QTextCodec::convertFromUnicode(const QChar* in0, int length1, QTextCodec::ConverterState* state2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("convertFromUnicode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3138,7 +3138,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QTextCodec::convertToUnicode(const char* in0, int length1, QTextCodec::ConverterState* state2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("convertToUnicode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3168,7 +3168,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTextCodec::mibEnum() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mibEnum"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3198,7 +3198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QByteArray PythonQtShell_QTextCodec::name() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("name"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3656,7 +3656,7 @@ PythonQtShell_QThreadPool::~PythonQtShell_QThreadPool() { } void PythonQtShell_QThreadPool::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3675,7 +3675,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QThreadPool::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3694,7 +3694,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QThreadPool::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3724,7 +3724,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QThreadPool::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3754,7 +3754,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QThreadPool::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3838,7 +3838,7 @@ PythonQtShell_QTimeLine::~PythonQtShell_QTimeLine() { } void PythonQtShell_QTimeLine::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3857,7 +3857,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeLine::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3876,7 +3876,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimeLine::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3906,7 +3906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimeLine::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3936,7 +3936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeLine::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3955,7 +3955,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qreal PythonQtShell_QTimeLine::valueForTime(int msec0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("valueForTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4115,7 +4115,7 @@ PythonQtShell_QTimer::~PythonQtShell_QTimer() { } void PythonQtShell_QTimer::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4134,7 +4134,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimer::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4153,7 +4153,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimer::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4183,7 +4183,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimer::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4213,7 +4213,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimer::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4317,7 +4317,7 @@ PythonQtShell_QTranslator::~PythonQtShell_QTranslator() { } void PythonQtShell_QTranslator::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4336,7 +4336,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTranslator::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4355,7 +4355,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTranslator::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4385,7 +4385,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTranslator::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4415,7 +4415,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTranslator::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4445,7 +4445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTranslator::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4464,7 +4464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QTranslator::translate(const char* context0, const char* sourceText1, const char* disambiguation2, int n3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("translate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core3.cpp b/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core3.cpp index a4908cdea..c0a6de745 100644 --- a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core3.cpp +++ b/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core3.cpp @@ -270,7 +270,7 @@ PythonQtShell_QVariantAnimation::~PythonQtShell_QVariantAnimation() { } void PythonQtShell_QVariantAnimation::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -289,7 +289,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVariantAnimation::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -308,7 +308,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QVariantAnimation::duration() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -338,7 +338,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVariantAnimation::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -368,7 +368,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVariantAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -398,7 +398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QVariantAnimation::interpolated(const QVariant& from0, const QVariant& to1, qreal progress2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("interpolated"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -428,7 +428,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVariantAnimation::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -447,7 +447,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVariantAnimation::updateCurrentTime(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -466,7 +466,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVariantAnimation::updateCurrentValue(const QVariant& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -485,7 +485,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVariantAnimation::updateDirection(QAbstractAnimation::Direction direction0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -504,7 +504,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVariantAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -649,7 +649,7 @@ PythonQtShell_QXmlStreamEntityResolver::~PythonQtShell_QXmlStreamEntityResolver( } QString PythonQtShell_QXmlStreamEntityResolver::resolveEntity(const QString& publicId0, const QString& systemId1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resolveEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -679,7 +679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QXmlStreamEntityResolver::resolveUndeclaredEntity(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resolveUndeclaredEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp index d408eeeed..8eac3b852 100644 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp +++ b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp @@ -114,7 +114,7 @@ PythonQtShell_QAbstractButton::~PythonQtShell_QAbstractButton() { } void PythonQtShell_QAbstractButton::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -133,7 +133,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -152,7 +152,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::checkStateSet() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -171,7 +171,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -190,7 +190,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -209,7 +209,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -228,7 +228,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -247,7 +247,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractButton::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -277,7 +277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -296,7 +296,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -315,7 +315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -334,7 +334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -353,7 +353,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -372,7 +372,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractButton::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -402,7 +402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractButton::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -432,7 +432,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -451,7 +451,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractButton::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -481,7 +481,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::focusOutEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -500,7 +500,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractButton::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -530,7 +530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractButton::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -560,7 +560,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -579,7 +579,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractButton::hitButton(const QPoint& pos0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -609,7 +609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -628,7 +628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -647,7 +647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -677,7 +677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::keyPressEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -696,7 +696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -715,7 +715,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -734,7 +734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -764,7 +764,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractButton::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -794,7 +794,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -813,7 +813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -832,7 +832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -851,7 +851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -870,7 +870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -889,7 +889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -919,7 +919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::nextCheckState() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -938,7 +938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QAbstractButton::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -968,7 +968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -987,7 +987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QAbstractButton::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1017,7 +1017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1036,7 +1036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QAbstractButton::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1066,7 +1066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1085,7 +1085,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractButton::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1115,7 +1115,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1134,7 +1134,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1153,7 +1153,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1357,7 +1357,7 @@ PythonQtShell_QAbstractGraphicsShapeItem::~PythonQtShell_QAbstractGraphicsShapeI } void PythonQtShell_QAbstractGraphicsShapeItem::advance(int phase0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1376,7 +1376,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRectF PythonQtShell_QAbstractGraphicsShapeItem::boundingRect() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1406,7 +1406,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractGraphicsShapeItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1436,7 +1436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractGraphicsShapeItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1466,7 +1466,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractGraphicsShapeItem::contains(const QPointF& point0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1496,7 +1496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1515,7 +1515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1534,7 +1534,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1553,7 +1553,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1572,7 +1572,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1591,7 +1591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractGraphicsShapeItem::extension(const QVariant& variant0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1621,7 +1621,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1640,7 +1640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1659,7 +1659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1678,7 +1678,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1697,7 +1697,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1716,7 +1716,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1735,7 +1735,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractGraphicsShapeItem::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1765,7 +1765,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractGraphicsShapeItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1795,7 +1795,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractGraphicsShapeItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1828,7 +1828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1847,7 +1847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1866,7 +1866,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1885,7 +1885,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1904,7 +1904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1923,7 +1923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1942,7 +1942,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QAbstractGraphicsShapeItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1972,7 +1972,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1991,7 +1991,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractGraphicsShapeItem::sceneEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2021,7 +2021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractGraphicsShapeItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2051,7 +2051,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2070,7 +2070,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QAbstractGraphicsShapeItem::shape() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2100,7 +2100,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractGraphicsShapeItem::supportsExtension(QGraphicsItem::Extension extension0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2130,7 +2130,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractGraphicsShapeItem::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2160,7 +2160,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2219,7 +2219,7 @@ PythonQtShell_QAbstractItemDelegate::~PythonQtShell_QAbstractItemDelegate() { } void PythonQtShell_QAbstractItemDelegate::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2238,7 +2238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QAbstractItemDelegate::createEditor(QWidget* parent0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2268,7 +2268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemDelegate::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2287,7 +2287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemDelegate::destroyEditor(QWidget* editor0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("destroyEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2306,7 +2306,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemDelegate::editorEvent(QEvent* event0, QAbstractItemModel* model1, const QStyleOptionViewItem& option2, const QModelIndex& index3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2336,7 +2336,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemDelegate::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2366,7 +2366,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemDelegate::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2396,7 +2396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemView* view1, const QStyleOptionViewItem& option2, const QModelIndex& index3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2426,7 +2426,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemDelegate::paint(QPainter* painter0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2445,7 +2445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVector PythonQtShell_QAbstractItemDelegate::paintingRoles() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintingRoles"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2475,7 +2475,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemDelegate::setEditorData(QWidget* editor0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2494,7 +2494,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemDelegate::setModelData(QWidget* editor0, QAbstractItemModel* model1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModelData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2513,7 +2513,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractItemDelegate::sizeHint(const QStyleOptionViewItem& option0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2543,7 +2543,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemDelegate::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2562,7 +2562,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemDelegate::updateEditorGeometry(QWidget* editor0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2641,7 +2641,7 @@ PythonQtShell_QAbstractItemView::~PythonQtShell_QAbstractItemView() { } void PythonQtShell_QAbstractItemView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2660,7 +2660,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2679,7 +2679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2698,7 +2698,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2717,7 +2717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2736,7 +2736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2755,7 +2755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2774,7 +2774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2793,7 +2793,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2812,7 +2812,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2831,7 +2831,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2861,7 +2861,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2880,7 +2880,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2899,7 +2899,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::dragLeaveEvent(QDragLeaveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2918,7 +2918,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::dragMoveEvent(QDragMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2937,7 +2937,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2956,7 +2956,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2986,7 +2986,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3005,7 +3005,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3024,7 +3024,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemView::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3054,7 +3054,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3084,7 +3084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3103,7 +3103,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3133,7 +3133,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3152,7 +3152,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3182,7 +3182,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3212,7 +3212,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3231,7 +3231,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemView::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3261,7 +3261,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3280,7 +3280,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3299,7 +3299,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractItemView::indexAt(const QPoint& point0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3329,7 +3329,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3348,7 +3348,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3367,7 +3367,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractItemView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3397,7 +3397,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemView::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3427,7 +3427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3446,7 +3446,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3465,7 +3465,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3484,7 +3484,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3503,7 +3503,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3533,7 +3533,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3552,7 +3552,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3571,7 +3571,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3590,7 +3590,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3609,7 +3609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractItemView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3639,7 +3639,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3658,7 +3658,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3688,7 +3688,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QAbstractItemView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3718,7 +3718,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3737,7 +3737,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QAbstractItemView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3767,7 +3767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3786,7 +3786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3805,7 +3805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3824,7 +3824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3843,7 +3843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3862,7 +3862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3881,7 +3881,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3900,7 +3900,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QAbstractItemView::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3930,7 +3930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3949,7 +3949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QAbstractItemView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3979,7 +3979,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::setModel(QAbstractItemModel* model0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3998,7 +3998,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4017,7 +4017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4036,7 +4036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4055,7 +4055,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4074,7 +4074,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QAbstractItemView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4104,7 +4104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4123,7 +4123,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemView::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4153,7 +4153,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemView::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4183,7 +4183,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4202,7 +4202,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4221,7 +4221,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4240,7 +4240,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4259,7 +4259,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4278,7 +4278,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4297,7 +4297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemView::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4327,7 +4327,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4346,7 +4346,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4365,7 +4365,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QAbstractItemView::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4395,7 +4395,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemView::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4425,7 +4425,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractItemView::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4455,7 +4455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QAbstractItemView::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4485,7 +4485,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QAbstractItemView::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4515,7 +4515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5114,7 +5114,7 @@ PythonQtShell_QAbstractPrintDialog::~PythonQtShell_QAbstractPrintDialog() { } void PythonQtShell_QAbstractPrintDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5133,7 +5133,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5152,7 +5152,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5171,7 +5171,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5190,7 +5190,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5209,7 +5209,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5228,7 +5228,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5247,7 +5247,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractPrintDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5277,7 +5277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::done(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5296,7 +5296,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5315,7 +5315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5334,7 +5334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5353,7 +5353,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5372,7 +5372,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5391,7 +5391,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractPrintDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5421,7 +5421,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractPrintDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5451,7 +5451,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractPrintDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5481,7 +5481,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5500,7 +5500,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractPrintDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5530,7 +5530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5549,7 +5549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractPrintDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5579,7 +5579,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractPrintDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5609,7 +5609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5628,7 +5628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5647,7 +5647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5666,7 +5666,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractPrintDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5696,7 +5696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5715,7 +5715,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5734,7 +5734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5753,7 +5753,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractPrintDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5783,7 +5783,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5802,7 +5802,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5821,7 +5821,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5840,7 +5840,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5859,7 +5859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5878,7 +5878,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractPrintDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5908,7 +5908,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5927,7 +5927,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QAbstractPrintDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5957,7 +5957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5976,7 +5976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QAbstractPrintDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6006,7 +6006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6025,7 +6025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6044,7 +6044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QAbstractPrintDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6074,7 +6074,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6093,7 +6093,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6112,7 +6112,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6131,7 +6131,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6235,7 +6235,7 @@ PythonQtShell_QAbstractProxyModel::~PythonQtShell_QAbstractProxyModel() { } QModelIndex PythonQtShell_QAbstractProxyModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6265,7 +6265,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6295,7 +6295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6325,7 +6325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractProxyModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6344,7 +6344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractProxyModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6374,7 +6374,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractProxyModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6393,7 +6393,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractProxyModel::data(const QModelIndex& proxyIndex0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6423,7 +6423,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6453,7 +6453,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6483,7 +6483,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6513,7 +6513,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractProxyModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6532,7 +6532,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QAbstractProxyModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6562,7 +6562,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::hasChildren(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6592,7 +6592,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractProxyModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6622,7 +6622,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractProxyModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6652,7 +6652,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6682,7 +6682,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6712,7 +6712,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QAbstractProxyModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6742,7 +6742,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6772,7 +6772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelection PythonQtShell_QAbstractProxyModel::mapSelectionFromSource(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapSelectionFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6802,7 +6802,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelection PythonQtShell_QAbstractProxyModel::mapSelectionToSource(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapSelectionToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6832,7 +6832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractProxyModel::mapToSource(const QModelIndex& proxyIndex0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6862,7 +6862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QAbstractProxyModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6892,7 +6892,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QAbstractProxyModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6922,7 +6922,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QAbstractProxyModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6952,7 +6952,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6982,7 +6982,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7012,7 +7012,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractProxyModel::parent(const QModelIndex& child0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7042,7 +7042,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7072,7 +7072,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7102,7 +7102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractProxyModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7121,7 +7121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QAbstractProxyModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7151,7 +7151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractProxyModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7181,7 +7181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7211,7 +7211,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7241,7 +7241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7271,7 +7271,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractProxyModel::setSourceModel(QAbstractItemModel* sourceModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSourceModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7290,7 +7290,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractProxyModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7320,7 +7320,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractProxyModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7339,7 +7339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractProxyModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7369,7 +7369,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7399,7 +7399,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QAbstractProxyModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7429,7 +7429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QAbstractProxyModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7459,7 +7459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractProxyModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7613,7 +7613,7 @@ PythonQtShell_QAbstractScrollArea::~PythonQtShell_QAbstractScrollArea() { } void PythonQtShell_QAbstractScrollArea::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7632,7 +7632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7651,7 +7651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7670,7 +7670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7689,7 +7689,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7708,7 +7708,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7727,7 +7727,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractScrollArea::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7757,7 +7757,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7776,7 +7776,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7795,7 +7795,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7814,7 +7814,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7833,7 +7833,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7852,7 +7852,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractScrollArea::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7882,7 +7882,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractScrollArea::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7912,7 +7912,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7931,7 +7931,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractScrollArea::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7961,7 +7961,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7980,7 +7980,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractScrollArea::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8010,7 +8010,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractScrollArea::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8040,7 +8040,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8059,7 +8059,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8078,7 +8078,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8097,7 +8097,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractScrollArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8127,7 +8127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8146,7 +8146,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8165,7 +8165,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8184,7 +8184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractScrollArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8214,7 +8214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8233,7 +8233,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8252,7 +8252,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8271,7 +8271,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8290,7 +8290,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8309,7 +8309,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractScrollArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8339,7 +8339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QAbstractScrollArea::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8369,7 +8369,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8388,7 +8388,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QAbstractScrollArea::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8418,7 +8418,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8437,7 +8437,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8456,7 +8456,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8475,7 +8475,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QAbstractScrollArea::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8505,7 +8505,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8524,7 +8524,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8543,7 +8543,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8562,7 +8562,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractScrollArea::viewportEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8592,7 +8592,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractScrollArea::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8622,7 +8622,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8841,7 +8841,7 @@ PythonQtShell_QAbstractSlider::~PythonQtShell_QAbstractSlider() { } void PythonQtShell_QAbstractSlider::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8860,7 +8860,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8879,7 +8879,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8898,7 +8898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8917,7 +8917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8936,7 +8936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8955,7 +8955,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractSlider::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8985,7 +8985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9004,7 +9004,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9023,7 +9023,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9042,7 +9042,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9061,7 +9061,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9080,7 +9080,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSlider::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9110,7 +9110,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSlider::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9140,7 +9140,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9159,7 +9159,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSlider::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9189,7 +9189,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9208,7 +9208,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSlider::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9238,7 +9238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractSlider::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9268,7 +9268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9287,7 +9287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9306,7 +9306,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9325,7 +9325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractSlider::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9355,7 +9355,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::keyPressEvent(QKeyEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9374,7 +9374,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9393,7 +9393,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9412,7 +9412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractSlider::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9442,7 +9442,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractSlider::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9472,7 +9472,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9491,7 +9491,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9510,7 +9510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9529,7 +9529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9548,7 +9548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9567,7 +9567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSlider::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9597,7 +9597,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QAbstractSlider::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9627,7 +9627,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9646,7 +9646,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QAbstractSlider::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9676,7 +9676,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9695,7 +9695,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QAbstractSlider::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9725,7 +9725,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9744,7 +9744,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractSlider::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9774,7 +9774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::sliderChange(QAbstractSlider::SliderChange change0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sliderChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9793,7 +9793,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9812,7 +9812,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9831,7 +9831,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::wheelEvent(QWheelEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10000,7 +10000,7 @@ PythonQtShell_QAbstractSpinBox::~PythonQtShell_QAbstractSpinBox() { } void PythonQtShell_QAbstractSpinBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10019,7 +10019,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10038,7 +10038,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10057,7 +10057,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10076,7 +10076,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10095,7 +10095,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::contextMenuEvent(QContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10114,7 +10114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10133,7 +10133,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractSpinBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10163,7 +10163,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10182,7 +10182,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10201,7 +10201,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10220,7 +10220,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10239,7 +10239,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10258,7 +10258,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSpinBox::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10288,7 +10288,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSpinBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10318,7 +10318,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::fixup(QString& input0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10337,7 +10337,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10356,7 +10356,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSpinBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10386,7 +10386,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10405,7 +10405,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSpinBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10435,7 +10435,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractSpinBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10465,7 +10465,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10484,7 +10484,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10503,7 +10503,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10522,7 +10522,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10552,7 +10552,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10571,7 +10571,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10590,7 +10590,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10609,7 +10609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10639,7 +10639,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10658,7 +10658,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10677,7 +10677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10696,7 +10696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10715,7 +10715,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10734,7 +10734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSpinBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10764,7 +10764,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QAbstractSpinBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10794,7 +10794,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10813,7 +10813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QAbstractSpinBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10843,7 +10843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10862,7 +10862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QAbstractSpinBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10892,7 +10892,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10911,7 +10911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::stepBy(int steps0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10930,7 +10930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAbstractSpinBox::StepEnabled PythonQtShell_QAbstractSpinBox::stepEnabled() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10960,7 +10960,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10979,7 +10979,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10998,7 +10998,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QAbstractSpinBox::validate(QString& input0, int& pos1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11028,7 +11028,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::wheelEvent(QWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11302,7 +11302,7 @@ PythonQtShell_QAbstractTableModel::~PythonQtShell_QAbstractTableModel() { } QModelIndex PythonQtShell_QAbstractTableModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11332,7 +11332,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11362,7 +11362,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11392,7 +11392,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTableModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11411,7 +11411,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractTableModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11441,7 +11441,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTableModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11460,7 +11460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractTableModel::data(const QModelIndex& index0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11490,7 +11490,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11520,7 +11520,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11550,7 +11550,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11580,7 +11580,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTableModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11599,7 +11599,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QAbstractTableModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11629,7 +11629,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractTableModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11659,7 +11659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractTableModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11689,7 +11689,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11719,7 +11719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11749,7 +11749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QAbstractTableModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11779,7 +11779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QAbstractTableModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11809,7 +11809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QAbstractTableModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11839,7 +11839,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QAbstractTableModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11869,7 +11869,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11899,7 +11899,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11929,7 +11929,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11959,7 +11959,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11989,7 +11989,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTableModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12008,7 +12008,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QAbstractTableModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12038,7 +12038,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractTableModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12068,7 +12068,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12098,7 +12098,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12128,7 +12128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12158,7 +12158,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractTableModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12188,7 +12188,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTableModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12207,7 +12207,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractTableModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12237,7 +12237,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12267,7 +12267,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QAbstractTableModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12297,7 +12297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QAbstractTableModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12327,7 +12327,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTableModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12366,7 +12366,7 @@ PythonQtShell_QAbstractTextDocumentLayout::~PythonQtShell_QAbstractTextDocumentL } QRectF PythonQtShell_QAbstractTextDocumentLayout::blockBoundingRect(const QTextBlock& block0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("blockBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12396,7 +12396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTextDocumentLayout::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12415,7 +12415,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTextDocumentLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12434,7 +12434,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTextDocumentLayout::documentChanged(int from0, int charsRemoved1, int charsAdded2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("documentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12453,7 +12453,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizeF PythonQtShell_QAbstractTextDocumentLayout::documentSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("documentSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12483,7 +12483,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTextDocumentLayout::draw(QPainter* painter0, const QAbstractTextDocumentLayout::PaintContext& context1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12502,7 +12502,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTextDocumentLayout::drawInlineObject(QPainter* painter0, const QRectF& rect1, QTextInlineObject object2, int posInDocument3, const QTextFormat& format4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12521,7 +12521,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTextDocumentLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12551,7 +12551,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTextDocumentLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12581,7 +12581,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRectF PythonQtShell_QAbstractTextDocumentLayout::frameBoundingRect(QTextFrame* frame0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("frameBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12611,7 +12611,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractTextDocumentLayout::hitTest(const QPointF& point0, Qt::HitTestAccuracy accuracy1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12641,7 +12641,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractTextDocumentLayout::pageCount() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pageCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12671,7 +12671,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTextDocumentLayout::positionInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("positionInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12690,7 +12690,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTextDocumentLayout::resizeInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12709,7 +12709,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTextDocumentLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12880,7 +12880,7 @@ PythonQtShell_QAction::~PythonQtShell_QAction() { } void PythonQtShell_QAction::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12899,7 +12899,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAction::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12918,7 +12918,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAction::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12948,7 +12948,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAction::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12978,7 +12978,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAction::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13271,7 +13271,7 @@ PythonQtShell_QActionGroup::~PythonQtShell_QActionGroup() { } void PythonQtShell_QActionGroup::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13290,7 +13290,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QActionGroup::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13309,7 +13309,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QActionGroup::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13339,7 +13339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QActionGroup::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13369,7 +13369,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QActionGroup::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13741,7 +13741,7 @@ PythonQtShell_QBoxLayout::~PythonQtShell_QBoxLayout() { } void PythonQtShell_QBoxLayout::addItem(QLayoutItem* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13760,7 +13760,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBoxLayout::childEvent(QChildEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13779,7 +13779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizePolicy::ControlTypes PythonQtShell_QBoxLayout::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13809,7 +13809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QBoxLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13839,7 +13839,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBoxLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13858,7 +13858,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBoxLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13888,7 +13888,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBoxLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13918,7 +13918,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QBoxLayout::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13948,7 +13948,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QBoxLayout::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13978,7 +13978,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QBoxLayout::indexOf(QWidget* arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14008,7 +14008,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBoxLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14027,7 +14027,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBoxLayout::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14057,7 +14057,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QBoxLayout::itemAt(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14087,7 +14087,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QBoxLayout::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14117,7 +14117,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QBoxLayout::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14147,7 +14147,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QBoxLayout::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14177,7 +14177,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBoxLayout::setGeometry(const QRect& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14196,7 +14196,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QBoxLayout::takeAt(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14226,7 +14226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBoxLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14420,7 +14420,7 @@ PythonQtShell_QButtonGroup::~PythonQtShell_QButtonGroup() { } void PythonQtShell_QButtonGroup::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14439,7 +14439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QButtonGroup::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14458,7 +14458,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QButtonGroup::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14488,7 +14488,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QButtonGroup::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14518,7 +14518,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QButtonGroup::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14597,7 +14597,7 @@ PythonQtShell_QCalendarWidget::~PythonQtShell_QCalendarWidget() { } void PythonQtShell_QCalendarWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14616,7 +14616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14635,7 +14635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14654,7 +14654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14673,7 +14673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14692,7 +14692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14711,7 +14711,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCalendarWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14741,7 +14741,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14760,7 +14760,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14779,7 +14779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14798,7 +14798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14817,7 +14817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14836,7 +14836,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCalendarWidget::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14866,7 +14866,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCalendarWidget::eventFilter(QObject* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14896,7 +14896,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14915,7 +14915,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCalendarWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14945,7 +14945,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14964,7 +14964,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCalendarWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14994,7 +14994,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCalendarWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15024,7 +15024,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15043,7 +15043,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15062,7 +15062,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15081,7 +15081,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QCalendarWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15111,7 +15111,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15130,7 +15130,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15149,7 +15149,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15168,7 +15168,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCalendarWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15198,7 +15198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QCalendarWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15228,7 +15228,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15247,7 +15247,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15266,7 +15266,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15285,7 +15285,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15304,7 +15304,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15323,7 +15323,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCalendarWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15353,7 +15353,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::paintCell(QPainter* painter0, const QRect& rect1, const QDate& date2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintCell"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15372,7 +15372,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QCalendarWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15402,7 +15402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15421,7 +15421,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QCalendarWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15451,7 +15451,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15470,7 +15470,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QCalendarWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15500,7 +15500,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15519,7 +15519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QCalendarWidget::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15549,7 +15549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15568,7 +15568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15587,7 +15587,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15806,7 +15806,7 @@ PythonQtShell_QCheckBox::~PythonQtShell_QCheckBox() { } void PythonQtShell_QCheckBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15825,7 +15825,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15844,7 +15844,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::checkStateSet() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15863,7 +15863,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15882,7 +15882,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15901,7 +15901,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15920,7 +15920,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15939,7 +15939,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCheckBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15969,7 +15969,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15988,7 +15988,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16007,7 +16007,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16026,7 +16026,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16045,7 +16045,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16064,7 +16064,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCheckBox::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16094,7 +16094,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCheckBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16124,7 +16124,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16143,7 +16143,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCheckBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16173,7 +16173,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::focusOutEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16192,7 +16192,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCheckBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16222,7 +16222,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCheckBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16252,7 +16252,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16271,7 +16271,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCheckBox::hitButton(const QPoint& pos0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16301,7 +16301,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16320,7 +16320,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16339,7 +16339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QCheckBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16369,7 +16369,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::keyPressEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16388,7 +16388,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16407,7 +16407,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16426,7 +16426,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCheckBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16456,7 +16456,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16475,7 +16475,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16494,7 +16494,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16513,7 +16513,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16532,7 +16532,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16551,7 +16551,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCheckBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16581,7 +16581,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::nextCheckState() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16600,7 +16600,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QCheckBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16630,7 +16630,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16649,7 +16649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QCheckBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16679,7 +16679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16698,7 +16698,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QCheckBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16728,7 +16728,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16747,7 +16747,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16766,7 +16766,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16785,7 +16785,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16966,7 +16966,7 @@ PythonQtShell_QColorDialog::~PythonQtShell_QColorDialog() { } void PythonQtShell_QColorDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16985,7 +16985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17004,7 +17004,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17023,7 +17023,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17042,7 +17042,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17061,7 +17061,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17080,7 +17080,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17099,7 +17099,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColorDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17129,7 +17129,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::done(int result0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17148,7 +17148,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17167,7 +17167,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17186,7 +17186,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17205,7 +17205,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17224,7 +17224,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17243,7 +17243,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColorDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17273,7 +17273,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColorDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17303,7 +17303,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColorDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17333,7 +17333,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17352,7 +17352,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColorDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17382,7 +17382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17401,7 +17401,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColorDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17431,7 +17431,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColorDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17461,7 +17461,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17480,7 +17480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17499,7 +17499,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17518,7 +17518,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QColorDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17548,7 +17548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17567,7 +17567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17586,7 +17586,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17605,7 +17605,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColorDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17635,7 +17635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17654,7 +17654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17673,7 +17673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17692,7 +17692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17711,7 +17711,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17730,7 +17730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColorDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17760,7 +17760,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17779,7 +17779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QColorDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17809,7 +17809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17828,7 +17828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QColorDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17858,7 +17858,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17877,7 +17877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17896,7 +17896,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QColorDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17926,7 +17926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17945,7 +17945,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17964,7 +17964,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17983,7 +17983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18111,7 +18111,7 @@ PythonQtShell_QColumnView::~PythonQtShell_QColumnView() { } void PythonQtShell_QColumnView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18130,7 +18130,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18149,7 +18149,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18168,7 +18168,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18187,7 +18187,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18206,7 +18206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18225,7 +18225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18244,7 +18244,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAbstractItemView* PythonQtShell_QColumnView::createColumn(const QModelIndex& rootIndex0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18274,7 +18274,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18293,7 +18293,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18312,7 +18312,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18331,7 +18331,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColumnView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18361,7 +18361,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18380,7 +18380,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18399,7 +18399,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::dragLeaveEvent(QDragLeaveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18418,7 +18418,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::dragMoveEvent(QDragMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18437,7 +18437,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18456,7 +18456,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColumnView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18486,7 +18486,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18505,7 +18505,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18524,7 +18524,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColumnView::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18554,7 +18554,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColumnView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18584,7 +18584,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18603,7 +18603,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColumnView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18633,7 +18633,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18652,7 +18652,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColumnView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18682,7 +18682,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColumnView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18712,7 +18712,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18731,7 +18731,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColumnView::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18761,7 +18761,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18780,7 +18780,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18799,7 +18799,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QColumnView::indexAt(const QPoint& point0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18829,7 +18829,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18848,7 +18848,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18867,7 +18867,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QColumnView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18897,7 +18897,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColumnView::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18927,7 +18927,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18946,7 +18946,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18965,7 +18965,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18984,7 +18984,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19003,7 +19003,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColumnView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19033,7 +19033,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19052,7 +19052,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19071,7 +19071,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19090,7 +19090,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19109,7 +19109,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19128,7 +19128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColumnView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19158,7 +19158,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QColumnView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19188,7 +19188,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19207,7 +19207,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QColumnView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19237,7 +19237,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19256,7 +19256,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19275,7 +19275,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19294,7 +19294,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19313,7 +19313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19332,7 +19332,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19351,7 +19351,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19370,7 +19370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QColumnView::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19400,7 +19400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19419,7 +19419,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QColumnView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19449,7 +19449,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::setModel(QAbstractItemModel* model0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19468,7 +19468,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19487,7 +19487,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19506,7 +19506,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19525,7 +19525,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19544,7 +19544,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QColumnView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19574,7 +19574,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19593,7 +19593,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColumnView::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19623,7 +19623,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColumnView::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19653,7 +19653,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19672,7 +19672,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19691,7 +19691,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19710,7 +19710,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19729,7 +19729,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19748,7 +19748,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19767,7 +19767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColumnView::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19797,7 +19797,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19816,7 +19816,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19835,7 +19835,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QColumnView::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19865,7 +19865,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColumnView::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19895,7 +19895,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QColumnView::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19925,7 +19925,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QColumnView::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19955,7 +19955,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QColumnView::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19985,7 +19985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20144,7 +20144,7 @@ PythonQtShell_QComboBox::~PythonQtShell_QComboBox() { } void PythonQtShell_QComboBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20163,7 +20163,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20182,7 +20182,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20201,7 +20201,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20220,7 +20220,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::contextMenuEvent(QContextMenuEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20239,7 +20239,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20258,7 +20258,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QComboBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20288,7 +20288,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20307,7 +20307,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20326,7 +20326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20345,7 +20345,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20364,7 +20364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20383,7 +20383,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QComboBox::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20413,7 +20413,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QComboBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20443,7 +20443,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20462,7 +20462,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QComboBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20492,7 +20492,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::focusOutEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20511,7 +20511,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QComboBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20541,7 +20541,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QComboBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20571,7 +20571,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::hideEvent(QHideEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20590,7 +20590,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::hidePopup() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hidePopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20609,7 +20609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20628,7 +20628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20647,7 +20647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QComboBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20677,7 +20677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::keyPressEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20696,7 +20696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20715,7 +20715,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20734,7 +20734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QComboBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20764,7 +20764,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20783,7 +20783,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20802,7 +20802,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20821,7 +20821,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20840,7 +20840,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20859,7 +20859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QComboBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20889,7 +20889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QComboBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20919,7 +20919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20938,7 +20938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QComboBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20968,7 +20968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20987,7 +20987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QComboBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21017,7 +21017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::showEvent(QShowEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21036,7 +21036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::showPopup() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showPopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21055,7 +21055,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21074,7 +21074,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21093,7 +21093,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::wheelEvent(QWheelEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21492,7 +21492,7 @@ PythonQtShell_QCommandLinkButton::~PythonQtShell_QCommandLinkButton() { } void PythonQtShell_QCommandLinkButton::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21511,7 +21511,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21530,7 +21530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::checkStateSet() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21549,7 +21549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21568,7 +21568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21587,7 +21587,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21606,7 +21606,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21625,7 +21625,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCommandLinkButton::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21655,7 +21655,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21674,7 +21674,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21693,7 +21693,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21712,7 +21712,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21731,7 +21731,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21750,7 +21750,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCommandLinkButton::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21780,7 +21780,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCommandLinkButton::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21810,7 +21810,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21829,7 +21829,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCommandLinkButton::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21859,7 +21859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21878,7 +21878,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCommandLinkButton::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21908,7 +21908,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCommandLinkButton::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21938,7 +21938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21957,7 +21957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCommandLinkButton::hitButton(const QPoint& pos0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21987,7 +21987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22006,7 +22006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22025,7 +22025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QCommandLinkButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22055,7 +22055,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22074,7 +22074,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22093,7 +22093,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22112,7 +22112,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCommandLinkButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22142,7 +22142,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22161,7 +22161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22180,7 +22180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22199,7 +22199,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22218,7 +22218,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22237,7 +22237,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCommandLinkButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22267,7 +22267,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::nextCheckState() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22286,7 +22286,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QCommandLinkButton::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22316,7 +22316,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22335,7 +22335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QCommandLinkButton::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22365,7 +22365,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22384,7 +22384,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QCommandLinkButton::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22414,7 +22414,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22433,7 +22433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22452,7 +22452,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22471,7 +22471,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22543,7 +22543,7 @@ PythonQtShell_QCommonStyle::~PythonQtShell_QCommonStyle() { } void PythonQtShell_QCommonStyle::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22562,7 +22562,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22581,7 +22581,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::drawComplexControl(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QPainter* p2, const QWidget* w3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22600,7 +22600,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::drawControl(QStyle::ControlElement element0, const QStyleOption* opt1, QPainter* p2, const QWidget* w3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22619,7 +22619,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::drawItemPixmap(QPainter* painter0, const QRect& rect1, int alignment2, const QPixmap& pixmap3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawItemPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22638,7 +22638,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::drawItemText(QPainter* painter0, const QRect& rect1, int flags2, const QPalette& pal3, bool enabled4, const QString& text5, QPalette::ColorRole textRole6) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawItemText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22657,7 +22657,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::drawPrimitive(QStyle::PrimitiveElement pe0, const QStyleOption* opt1, QPainter* p2, const QWidget* w3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPrimitive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22676,7 +22676,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCommonStyle::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22706,7 +22706,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCommonStyle::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22736,7 +22736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPixmap PythonQtShell_QCommonStyle::generatedIconPixmap(QIcon::Mode iconMode0, const QPixmap& pixmap1, const QStyleOption* opt2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("generatedIconPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22766,7 +22766,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyle::SubControl PythonQtShell_QCommonStyle::hitTestComplexControl(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, const QPoint& pt2, const QWidget* w3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitTestComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22796,7 +22796,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QCommonStyle::itemPixmapRect(const QRect& r0, int flags1, const QPixmap& pixmap2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemPixmapRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22826,7 +22826,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCommonStyle::layoutSpacing(QSizePolicy::ControlType control10, QSizePolicy::ControlType control21, Qt::Orientation orientation2, const QStyleOption* option3, const QWidget* widget4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layoutSpacing"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22856,7 +22856,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCommonStyle::pixelMetric(QStyle::PixelMetric m0, const QStyleOption* opt1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pixelMetric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22886,7 +22886,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::polish(QApplication* app0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22905,7 +22905,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::polish(QPalette& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22924,7 +22924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::polish(QWidget* widget0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22943,7 +22943,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QCommonStyle::sizeFromContents(QStyle::ContentsType ct0, const QStyleOption* opt1, const QSize& contentsSize2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22973,7 +22973,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIcon PythonQtShell_QCommonStyle::standardIcon(QStyle::StandardPixmap standardIcon0, const QStyleOption* opt1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardIcon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23003,7 +23003,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPalette PythonQtShell_QCommonStyle::standardPalette() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardPalette"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23033,7 +23033,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPixmap PythonQtShell_QCommonStyle::standardPixmap(QStyle::StandardPixmap standardPixmap0, const QStyleOption* opt1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23063,7 +23063,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCommonStyle::styleHint(QStyle::StyleHint sh0, const QStyleOption* opt1, const QWidget* w2, QStyleHintReturn* shret3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("styleHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23093,7 +23093,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QCommonStyle::subControlRect(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QStyle::SubControl sc2, const QWidget* w3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("subControlRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23123,7 +23123,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QCommonStyle::subElementRect(QStyle::SubElement r0, const QStyleOption* opt1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("subElementRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23153,7 +23153,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23172,7 +23172,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::unpolish(QApplication* application0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23191,7 +23191,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::unpolish(QWidget* widget0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp index fb769a777..68d0b5cba 100644 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp +++ b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp @@ -83,7 +83,7 @@ PythonQtShell_QCompleter::~PythonQtShell_QCompleter() { } void PythonQtShell_QCompleter::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -102,7 +102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCompleter::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -121,7 +121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCompleter::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -151,7 +151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCompleter::eventFilter(QObject* o0, QEvent* e1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -181,7 +181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QCompleter::pathFromIndex(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pathFromIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -211,7 +211,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QCompleter::splitPath(const QString& path0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("splitPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -241,7 +241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCompleter::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -520,7 +520,7 @@ PythonQtShell_QDataWidgetMapper::~PythonQtShell_QDataWidgetMapper() { } void PythonQtShell_QDataWidgetMapper::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -539,7 +539,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDataWidgetMapper::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -558,7 +558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDataWidgetMapper::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -588,7 +588,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDataWidgetMapper::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -618,7 +618,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDataWidgetMapper::setCurrentIndex(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setCurrentIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -637,7 +637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDataWidgetMapper::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -761,7 +761,7 @@ PythonQtShell_QDateEdit::~PythonQtShell_QDateEdit() { } void PythonQtShell_QDateEdit::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -780,7 +780,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -799,7 +799,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -818,7 +818,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -837,7 +837,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -856,7 +856,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::contextMenuEvent(QContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -875,7 +875,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -894,7 +894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QDateTime PythonQtShell_QDateEdit::dateTimeFromText(const QString& text0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dateTimeFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -924,7 +924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDateEdit::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -954,7 +954,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -973,7 +973,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -992,7 +992,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1011,7 +1011,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1030,7 +1030,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1049,7 +1049,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateEdit::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1079,7 +1079,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1109,7 +1109,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::fixup(QString& input0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1128,7 +1128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1147,7 +1147,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateEdit::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1177,7 +1177,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1196,7 +1196,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateEdit::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1226,7 +1226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDateEdit::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1256,7 +1256,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1275,7 +1275,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1294,7 +1294,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1313,7 +1313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDateEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1343,7 +1343,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1362,7 +1362,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1381,7 +1381,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1400,7 +1400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDateEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1430,7 +1430,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1449,7 +1449,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1468,7 +1468,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1487,7 +1487,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1506,7 +1506,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1525,7 +1525,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1555,7 +1555,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QDateEdit::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1585,7 +1585,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1604,7 +1604,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QDateEdit::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1634,7 +1634,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1653,7 +1653,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QDateEdit::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1683,7 +1683,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1702,7 +1702,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::stepBy(int steps0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1721,7 +1721,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAbstractSpinBox::StepEnabled PythonQtShell_QDateEdit::stepEnabled() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1751,7 +1751,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1770,7 +1770,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QDateEdit::textFromDateTime(const QDateTime& dt0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("textFromDateTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1800,7 +1800,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1819,7 +1819,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QDateEdit::validate(QString& input0, int& pos1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1849,7 +1849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::wheelEvent(QWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1882,7 +1882,7 @@ PythonQtShell_QDateTimeEdit::~PythonQtShell_QDateTimeEdit() { } void PythonQtShell_QDateTimeEdit::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1901,7 +1901,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1920,7 +1920,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1939,7 +1939,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1958,7 +1958,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1977,7 +1977,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::contextMenuEvent(QContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1996,7 +1996,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2015,7 +2015,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QDateTime PythonQtShell_QDateTimeEdit::dateTimeFromText(const QString& text0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dateTimeFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2045,7 +2045,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDateTimeEdit::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2075,7 +2075,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2094,7 +2094,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2113,7 +2113,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2132,7 +2132,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2151,7 +2151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2170,7 +2170,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateTimeEdit::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2200,7 +2200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateTimeEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2230,7 +2230,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::fixup(QString& input0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2249,7 +2249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2268,7 +2268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateTimeEdit::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2298,7 +2298,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2317,7 +2317,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateTimeEdit::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2347,7 +2347,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDateTimeEdit::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2377,7 +2377,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2396,7 +2396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2415,7 +2415,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2434,7 +2434,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDateTimeEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2464,7 +2464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2483,7 +2483,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2502,7 +2502,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2521,7 +2521,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDateTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2551,7 +2551,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2570,7 +2570,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2589,7 +2589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2608,7 +2608,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2627,7 +2627,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2646,7 +2646,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateTimeEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2676,7 +2676,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QDateTimeEdit::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2706,7 +2706,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2725,7 +2725,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QDateTimeEdit::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2755,7 +2755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2774,7 +2774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QDateTimeEdit::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2804,7 +2804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2823,7 +2823,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::stepBy(int steps0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2842,7 +2842,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAbstractSpinBox::StepEnabled PythonQtShell_QDateTimeEdit::stepEnabled() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2872,7 +2872,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2891,7 +2891,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QDateTimeEdit::textFromDateTime(const QDateTime& dt0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("textFromDateTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2921,7 +2921,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2940,7 +2940,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QDateTimeEdit::validate(QString& input0, int& pos1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2970,7 +2970,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::wheelEvent(QWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3325,7 +3325,7 @@ PythonQtShell_QDesktopWidget::~PythonQtShell_QDesktopWidget() { } void PythonQtShell_QDesktopWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3344,7 +3344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3363,7 +3363,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3382,7 +3382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3401,7 +3401,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3420,7 +3420,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3439,7 +3439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDesktopWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3469,7 +3469,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3488,7 +3488,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3507,7 +3507,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3526,7 +3526,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3545,7 +3545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3564,7 +3564,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDesktopWidget::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3594,7 +3594,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDesktopWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3624,7 +3624,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3643,7 +3643,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDesktopWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3673,7 +3673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3692,7 +3692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDesktopWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3722,7 +3722,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDesktopWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3752,7 +3752,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3771,7 +3771,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3790,7 +3790,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3809,7 +3809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDesktopWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3839,7 +3839,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3858,7 +3858,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3877,7 +3877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3896,7 +3896,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDesktopWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3926,7 +3926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QDesktopWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3956,7 +3956,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3975,7 +3975,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3994,7 +3994,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4013,7 +4013,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4032,7 +4032,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4051,7 +4051,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDesktopWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4081,7 +4081,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QDesktopWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4111,7 +4111,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4130,7 +4130,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QDesktopWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4160,7 +4160,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4179,7 +4179,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QDesktopWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4209,7 +4209,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4228,7 +4228,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QDesktopWidget::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4258,7 +4258,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4277,7 +4277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4296,7 +4296,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4395,7 +4395,7 @@ PythonQtShell_QDial::~PythonQtShell_QDial() { } void PythonQtShell_QDial::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4414,7 +4414,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4433,7 +4433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4452,7 +4452,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4471,7 +4471,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4490,7 +4490,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4509,7 +4509,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDial::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4539,7 +4539,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4558,7 +4558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4577,7 +4577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4596,7 +4596,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4615,7 +4615,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4634,7 +4634,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDial::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4664,7 +4664,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDial::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4694,7 +4694,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4713,7 +4713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDial::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4743,7 +4743,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4762,7 +4762,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDial::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4792,7 +4792,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDial::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4822,7 +4822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4841,7 +4841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4860,7 +4860,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4879,7 +4879,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDial::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4909,7 +4909,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::keyPressEvent(QKeyEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4928,7 +4928,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4947,7 +4947,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4966,7 +4966,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDial::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4996,7 +4996,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5015,7 +5015,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::mouseMoveEvent(QMouseEvent* me0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5034,7 +5034,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::mousePressEvent(QMouseEvent* me0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5053,7 +5053,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::mouseReleaseEvent(QMouseEvent* me0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5072,7 +5072,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5091,7 +5091,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDial::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5121,7 +5121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QDial::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5151,7 +5151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::paintEvent(QPaintEvent* pe0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5170,7 +5170,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QDial::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5200,7 +5200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::resizeEvent(QResizeEvent* re0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5219,7 +5219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QDial::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5249,7 +5249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5268,7 +5268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5287,7 +5287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5306,7 +5306,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::wheelEvent(QWheelEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5410,7 +5410,7 @@ PythonQtShell_QDialog::~PythonQtShell_QDialog() { } void PythonQtShell_QDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5429,7 +5429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5448,7 +5448,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5467,7 +5467,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5486,7 +5486,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5505,7 +5505,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5524,7 +5524,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5543,7 +5543,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5573,7 +5573,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::done(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5592,7 +5592,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5611,7 +5611,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5630,7 +5630,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5649,7 +5649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5668,7 +5668,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5687,7 +5687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5717,7 +5717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5747,7 +5747,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5777,7 +5777,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5796,7 +5796,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5826,7 +5826,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5845,7 +5845,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5875,7 +5875,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5905,7 +5905,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5924,7 +5924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5943,7 +5943,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5962,7 +5962,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5992,7 +5992,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6011,7 +6011,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6030,7 +6030,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6049,7 +6049,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6079,7 +6079,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6098,7 +6098,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6117,7 +6117,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6136,7 +6136,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6155,7 +6155,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6174,7 +6174,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6204,7 +6204,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6223,7 +6223,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6253,7 +6253,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6272,7 +6272,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6302,7 +6302,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6321,7 +6321,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6340,7 +6340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6370,7 +6370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6389,7 +6389,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6408,7 +6408,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6427,7 +6427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6556,7 +6556,7 @@ PythonQtShell_QDialogButtonBox::~PythonQtShell_QDialogButtonBox() { } void PythonQtShell_QDialogButtonBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6575,7 +6575,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6594,7 +6594,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6613,7 +6613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6632,7 +6632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6651,7 +6651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6670,7 +6670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDialogButtonBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6700,7 +6700,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6719,7 +6719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6738,7 +6738,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6757,7 +6757,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6776,7 +6776,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6795,7 +6795,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialogButtonBox::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6825,7 +6825,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialogButtonBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6855,7 +6855,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6874,7 +6874,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialogButtonBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6904,7 +6904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6923,7 +6923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialogButtonBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6953,7 +6953,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDialogButtonBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6983,7 +6983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7002,7 +7002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7021,7 +7021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7040,7 +7040,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDialogButtonBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7070,7 +7070,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7089,7 +7089,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7108,7 +7108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7127,7 +7127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDialogButtonBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7157,7 +7157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QDialogButtonBox::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7187,7 +7187,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7206,7 +7206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7225,7 +7225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7244,7 +7244,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7263,7 +7263,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7282,7 +7282,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialogButtonBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7312,7 +7312,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QDialogButtonBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7342,7 +7342,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7361,7 +7361,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QDialogButtonBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7391,7 +7391,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7410,7 +7410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QDialogButtonBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7440,7 +7440,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7459,7 +7459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QDialogButtonBox::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7489,7 +7489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7508,7 +7508,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7527,7 +7527,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7649,7 +7649,7 @@ PythonQtShell_QDirModel::~PythonQtShell_QDirModel() { } QModelIndex PythonQtShell_QDirModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7679,7 +7679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7709,7 +7709,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7739,7 +7739,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDirModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7758,7 +7758,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDirModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7788,7 +7788,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDirModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7807,7 +7807,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDirModel::data(const QModelIndex& index0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7837,7 +7837,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7867,7 +7867,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7897,7 +7897,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7927,7 +7927,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDirModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7946,7 +7946,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QDirModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7976,7 +7976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::hasChildren(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8006,7 +8006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDirModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8036,7 +8036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QDirModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8066,7 +8066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8096,7 +8096,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8126,7 +8126,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QDirModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8156,7 +8156,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QDirModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8186,7 +8186,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QDirModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8216,7 +8216,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QDirModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8246,7 +8246,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8276,7 +8276,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8306,7 +8306,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QDirModel::parent(const QModelIndex& child0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8336,7 +8336,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8366,7 +8366,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8396,7 +8396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDirModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8415,7 +8415,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QDirModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8445,7 +8445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDirModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8475,7 +8475,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8505,7 +8505,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8535,7 +8535,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8565,7 +8565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QDirModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8595,7 +8595,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDirModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8614,7 +8614,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QDirModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8644,7 +8644,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8674,7 +8674,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QDirModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8704,7 +8704,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QDirModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8734,7 +8734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDirModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8952,7 +8952,7 @@ PythonQtShell_QDockWidget::~PythonQtShell_QDockWidget() { } void PythonQtShell_QDockWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8971,7 +8971,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8990,7 +8990,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9009,7 +9009,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9028,7 +9028,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9047,7 +9047,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9066,7 +9066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDockWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9096,7 +9096,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9115,7 +9115,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9134,7 +9134,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9153,7 +9153,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9172,7 +9172,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9191,7 +9191,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDockWidget::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9221,7 +9221,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDockWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9251,7 +9251,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9270,7 +9270,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDockWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9300,7 +9300,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9319,7 +9319,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDockWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9349,7 +9349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDockWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9379,7 +9379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9398,7 +9398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9417,7 +9417,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9436,7 +9436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDockWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9466,7 +9466,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9485,7 +9485,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9504,7 +9504,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9523,7 +9523,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDockWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9553,7 +9553,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QDockWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9583,7 +9583,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9602,7 +9602,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9621,7 +9621,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9640,7 +9640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9659,7 +9659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9678,7 +9678,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDockWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9708,7 +9708,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QDockWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9738,7 +9738,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9757,7 +9757,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QDockWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9787,7 +9787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9806,7 +9806,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QDockWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9836,7 +9836,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9855,7 +9855,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QDockWidget::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9885,7 +9885,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9904,7 +9904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9923,7 +9923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10041,7 +10041,7 @@ PythonQtShell_QDoubleSpinBox::~PythonQtShell_QDoubleSpinBox() { } void PythonQtShell_QDoubleSpinBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10060,7 +10060,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10079,7 +10079,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10098,7 +10098,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10117,7 +10117,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10136,7 +10136,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::contextMenuEvent(QContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10155,7 +10155,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10174,7 +10174,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDoubleSpinBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10204,7 +10204,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10223,7 +10223,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10242,7 +10242,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10261,7 +10261,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10280,7 +10280,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10299,7 +10299,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDoubleSpinBox::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10329,7 +10329,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDoubleSpinBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10359,7 +10359,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::fixup(QString& str0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10378,7 +10378,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10397,7 +10397,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDoubleSpinBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10427,7 +10427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10446,7 +10446,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDoubleSpinBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10476,7 +10476,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDoubleSpinBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10506,7 +10506,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10525,7 +10525,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10544,7 +10544,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10563,7 +10563,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDoubleSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10593,7 +10593,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10612,7 +10612,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10631,7 +10631,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10650,7 +10650,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDoubleSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10680,7 +10680,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10699,7 +10699,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10718,7 +10718,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10737,7 +10737,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10756,7 +10756,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10775,7 +10775,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDoubleSpinBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10805,7 +10805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QDoubleSpinBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10835,7 +10835,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10854,7 +10854,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QDoubleSpinBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10884,7 +10884,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10903,7 +10903,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QDoubleSpinBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10933,7 +10933,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10952,7 +10952,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::stepBy(int steps0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10971,7 +10971,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAbstractSpinBox::StepEnabled PythonQtShell_QDoubleSpinBox::stepEnabled() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11001,7 +11001,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11020,7 +11020,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QDoubleSpinBox::textFromValue(double val0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("textFromValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11050,7 +11050,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11069,7 +11069,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QDoubleSpinBox::validate(QString& input0, int& pos1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11099,7 +11099,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } double PythonQtShell_QDoubleSpinBox::valueFromText(const QString& text0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("valueFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11129,7 +11129,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::wheelEvent(QWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11253,7 +11253,7 @@ PythonQtShell_QDoubleValidator::~PythonQtShell_QDoubleValidator() { } void PythonQtShell_QDoubleValidator::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11272,7 +11272,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleValidator::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11291,7 +11291,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDoubleValidator::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11321,7 +11321,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDoubleValidator::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11351,7 +11351,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleValidator::fixup(QString& arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11370,7 +11370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleValidator::setRange(double bottom0, double top1, int decimals2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11389,7 +11389,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleValidator::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11408,7 +11408,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QDoubleValidator::validate(QString& arg__1, int& arg__2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11502,7 +11502,7 @@ PythonQtShell_QDrag::~PythonQtShell_QDrag() { } void PythonQtShell_QDrag::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11521,7 +11521,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDrag::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11540,7 +11540,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDrag::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11570,7 +11570,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDrag::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11600,7 +11600,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDrag::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11856,7 +11856,7 @@ PythonQtShell_QErrorMessage::~PythonQtShell_QErrorMessage() { } void PythonQtShell_QErrorMessage::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11875,7 +11875,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11894,7 +11894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11913,7 +11913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11932,7 +11932,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11951,7 +11951,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11970,7 +11970,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11989,7 +11989,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QErrorMessage::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12019,7 +12019,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::done(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12038,7 +12038,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12057,7 +12057,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12076,7 +12076,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12095,7 +12095,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12114,7 +12114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12133,7 +12133,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QErrorMessage::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12163,7 +12163,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QErrorMessage::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12193,7 +12193,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QErrorMessage::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12223,7 +12223,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12242,7 +12242,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QErrorMessage::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12272,7 +12272,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12291,7 +12291,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QErrorMessage::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12321,7 +12321,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QErrorMessage::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12351,7 +12351,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12370,7 +12370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12389,7 +12389,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12408,7 +12408,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QErrorMessage::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12438,7 +12438,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12457,7 +12457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12476,7 +12476,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12495,7 +12495,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QErrorMessage::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12525,7 +12525,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12544,7 +12544,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12563,7 +12563,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12582,7 +12582,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12601,7 +12601,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12620,7 +12620,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QErrorMessage::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12650,7 +12650,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12669,7 +12669,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QErrorMessage::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12699,7 +12699,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12718,7 +12718,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QErrorMessage::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12748,7 +12748,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12767,7 +12767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12786,7 +12786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QErrorMessage::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12816,7 +12816,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12835,7 +12835,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12854,7 +12854,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12873,7 +12873,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12932,7 +12932,7 @@ PythonQtShell_QFileDialog::~PythonQtShell_QFileDialog() { } void PythonQtShell_QFileDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12951,7 +12951,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12970,7 +12970,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12989,7 +12989,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13008,7 +13008,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13027,7 +13027,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13046,7 +13046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13065,7 +13065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFileDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13095,7 +13095,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::done(int result0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13114,7 +13114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13133,7 +13133,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13152,7 +13152,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13171,7 +13171,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13190,7 +13190,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13209,7 +13209,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13239,7 +13239,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13269,7 +13269,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFileDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13299,7 +13299,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13318,7 +13318,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13348,7 +13348,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13367,7 +13367,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13397,7 +13397,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFileDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13427,7 +13427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13446,7 +13446,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13465,7 +13465,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13484,7 +13484,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QFileDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13514,7 +13514,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13533,7 +13533,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13552,7 +13552,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13571,7 +13571,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFileDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13601,7 +13601,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13620,7 +13620,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13639,7 +13639,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13658,7 +13658,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13677,7 +13677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13696,7 +13696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13726,7 +13726,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13745,7 +13745,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QFileDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13775,7 +13775,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13794,7 +13794,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QFileDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13824,7 +13824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13843,7 +13843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13862,7 +13862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QFileDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13892,7 +13892,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13911,7 +13911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13930,7 +13930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13949,7 +13949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14262,7 +14262,7 @@ PythonQtShell_QFileIconProvider::~PythonQtShell_QFileIconProvider() { } QIcon PythonQtShell_QFileIconProvider::icon(QFileIconProvider::IconType type0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("icon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14292,7 +14292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIcon PythonQtShell_QFileIconProvider::icon(const QFileInfo& info0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("icon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14322,7 +14322,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QFileIconProvider::type(const QFileInfo& info0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14402,7 +14402,7 @@ PythonQtShell_QFileSystemModel::~PythonQtShell_QFileSystemModel() { } QModelIndex PythonQtShell_QFileSystemModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14432,7 +14432,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14462,7 +14462,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14492,7 +14492,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSystemModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14511,7 +14511,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFileSystemModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14541,7 +14541,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSystemModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14560,7 +14560,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QFileSystemModel::data(const QModelIndex& index0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14590,7 +14590,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14620,7 +14620,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14650,7 +14650,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14680,7 +14680,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSystemModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14699,7 +14699,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QFileSystemModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14729,7 +14729,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::hasChildren(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14759,7 +14759,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QFileSystemModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14789,7 +14789,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QFileSystemModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14819,7 +14819,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14849,7 +14849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14879,7 +14879,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QFileSystemModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14909,7 +14909,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QFileSystemModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14939,7 +14939,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QFileSystemModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14969,7 +14969,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QFileSystemModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14999,7 +14999,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15029,7 +15029,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15059,7 +15059,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QFileSystemModel::parent(const QModelIndex& child0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15089,7 +15089,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15119,7 +15119,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15149,7 +15149,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSystemModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15168,7 +15168,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QFileSystemModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15198,7 +15198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFileSystemModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15228,7 +15228,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15258,7 +15258,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15288,7 +15288,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15318,7 +15318,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QFileSystemModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15348,7 +15348,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSystemModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15367,7 +15367,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QFileSystemModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15397,7 +15397,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15427,7 +15427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QFileSystemModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15457,7 +15457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QFileSystemModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15487,7 +15487,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSystemModel::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15767,7 +15767,7 @@ PythonQtShell_QFocusFrame::~PythonQtShell_QFocusFrame() { } void PythonQtShell_QFocusFrame::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15786,7 +15786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15805,7 +15805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15824,7 +15824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15843,7 +15843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15862,7 +15862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15881,7 +15881,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFocusFrame::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15911,7 +15911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15930,7 +15930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15949,7 +15949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15968,7 +15968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15987,7 +15987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16006,7 +16006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFocusFrame::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16036,7 +16036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFocusFrame::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16066,7 +16066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16085,7 +16085,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFocusFrame::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16115,7 +16115,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16134,7 +16134,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFocusFrame::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16164,7 +16164,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFocusFrame::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16194,7 +16194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16213,7 +16213,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16232,7 +16232,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16251,7 +16251,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QFocusFrame::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16281,7 +16281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16300,7 +16300,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16319,7 +16319,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16338,7 +16338,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFocusFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16368,7 +16368,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QFocusFrame::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16398,7 +16398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16417,7 +16417,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16436,7 +16436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16455,7 +16455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16474,7 +16474,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16493,7 +16493,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFocusFrame::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16523,7 +16523,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QFocusFrame::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16553,7 +16553,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16572,7 +16572,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QFocusFrame::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16602,7 +16602,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16621,7 +16621,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QFocusFrame::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16651,7 +16651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16670,7 +16670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QFocusFrame::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16700,7 +16700,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16719,7 +16719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16738,7 +16738,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16797,7 +16797,7 @@ PythonQtShell_QFontComboBox::~PythonQtShell_QFontComboBox() { } void PythonQtShell_QFontComboBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16816,7 +16816,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16835,7 +16835,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16854,7 +16854,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16873,7 +16873,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::contextMenuEvent(QContextMenuEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16892,7 +16892,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16911,7 +16911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFontComboBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16941,7 +16941,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16960,7 +16960,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16979,7 +16979,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16998,7 +16998,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17017,7 +17017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17036,7 +17036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontComboBox::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17066,7 +17066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontComboBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17096,7 +17096,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17115,7 +17115,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontComboBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17145,7 +17145,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::focusOutEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17164,7 +17164,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontComboBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17194,7 +17194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFontComboBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17224,7 +17224,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::hideEvent(QHideEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17243,7 +17243,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::hidePopup() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hidePopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17262,7 +17262,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17281,7 +17281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17300,7 +17300,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QFontComboBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17330,7 +17330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::keyPressEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17349,7 +17349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17368,7 +17368,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17387,7 +17387,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFontComboBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17417,7 +17417,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17436,7 +17436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17455,7 +17455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17474,7 +17474,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17493,7 +17493,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17512,7 +17512,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontComboBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17542,7 +17542,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QFontComboBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17572,7 +17572,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17591,7 +17591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QFontComboBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17621,7 +17621,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17640,7 +17640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QFontComboBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17670,7 +17670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::showEvent(QShowEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17689,7 +17689,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::showPopup() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showPopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17708,7 +17708,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17727,7 +17727,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17746,7 +17746,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::wheelEvent(QWheelEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp index 505c94253..b12c043c2 100644 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp +++ b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp @@ -84,7 +84,7 @@ PythonQtShell_QTextBrowser::~PythonQtShell_QTextBrowser() { } void PythonQtShell_QTextBrowser::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -103,7 +103,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::backward() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("backward"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -122,7 +122,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBrowser::canInsertFromMimeData(const QMimeData* source0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canInsertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -152,7 +152,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -171,7 +171,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -190,7 +190,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -209,7 +209,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::contextMenuEvent(QContextMenuEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -228,7 +228,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QTextBrowser::createMimeDataFromSelection() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createMimeDataFromSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -258,7 +258,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -277,7 +277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTextBrowser::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -307,7 +307,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::doSetTextCursor(const QTextCursor& cursor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doSetTextCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -326,7 +326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::dragEnterEvent(QDragEnterEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -345,7 +345,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::dragLeaveEvent(QDragLeaveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -364,7 +364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::dragMoveEvent(QDragMoveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -383,7 +383,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::dropEvent(QDropEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -402,7 +402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -421,7 +421,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBrowser::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -451,7 +451,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBrowser::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -481,7 +481,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -500,7 +500,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBrowser::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -530,7 +530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::focusOutEvent(QFocusEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -549,7 +549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::forward() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("forward"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -568,7 +568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBrowser::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -598,7 +598,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTextBrowser::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -628,7 +628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -647,7 +647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::home() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("home"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -666,7 +666,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -685,7 +685,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -704,7 +704,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTextBrowser::inputMethodQuery(Qt::InputMethodQuery property0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -734,7 +734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::insertFromMimeData(const QMimeData* source0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -753,7 +753,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::keyPressEvent(QKeyEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -772,7 +772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -791,7 +791,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -810,7 +810,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTextBrowser::loadResource(int type0, const QUrl& name1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -840,7 +840,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTextBrowser::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -870,7 +870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::mouseDoubleClickEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -889,7 +889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::mouseMoveEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -908,7 +908,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::mousePressEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -927,7 +927,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::mouseReleaseEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -946,7 +946,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -965,7 +965,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBrowser::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -995,7 +995,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTextBrowser::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1025,7 +1025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1044,7 +1044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTextBrowser::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1074,7 +1074,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::reload() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reload"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1093,7 +1093,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1112,7 +1112,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1131,7 +1131,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::setSource(const QUrl& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1150,7 +1150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1169,7 +1169,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTextBrowser::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1199,7 +1199,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1218,7 +1218,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1237,7 +1237,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1256,7 +1256,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBrowser::viewportEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1286,7 +1286,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QTextBrowser::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1316,7 +1316,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::wheelEvent(QWheelEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2166,7 +2166,7 @@ PythonQtShell_QTextDocument::~PythonQtShell_QTextDocument() { } void PythonQtShell_QTextDocument::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2185,7 +2185,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextDocument::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2204,7 +2204,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QTextObject* PythonQtShell_QTextDocument::createObject(const QTextFormat& f0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2234,7 +2234,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextDocument::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2253,7 +2253,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextDocument::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2283,7 +2283,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextDocument::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2313,7 +2313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTextDocument::loadResource(int type0, const QUrl& name1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2343,7 +2343,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextDocument::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2858,7 +2858,7 @@ PythonQtShell_QTextEdit::~PythonQtShell_QTextEdit() { } void PythonQtShell_QTextEdit::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2877,7 +2877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextEdit::canInsertFromMimeData(const QMimeData* source0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canInsertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2907,7 +2907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2926,7 +2926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2945,7 +2945,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2964,7 +2964,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::contextMenuEvent(QContextMenuEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2983,7 +2983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QTextEdit::createMimeDataFromSelection() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createMimeDataFromSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3013,7 +3013,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3032,7 +3032,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTextEdit::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3062,7 +3062,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::doSetTextCursor(const QTextCursor& cursor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doSetTextCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3081,7 +3081,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::dragEnterEvent(QDragEnterEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3100,7 +3100,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3119,7 +3119,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::dragMoveEvent(QDragMoveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3138,7 +3138,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::dropEvent(QDropEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3157,7 +3157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3176,7 +3176,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextEdit::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3206,7 +3206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3236,7 +3236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3255,7 +3255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextEdit::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3285,7 +3285,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::focusOutEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3304,7 +3304,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextEdit::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3334,7 +3334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTextEdit::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3364,7 +3364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3383,7 +3383,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3402,7 +3402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3421,7 +3421,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTextEdit::inputMethodQuery(Qt::InputMethodQuery property0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3451,7 +3451,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::insertFromMimeData(const QMimeData* source0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3470,7 +3470,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::keyPressEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3489,7 +3489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3508,7 +3508,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3527,7 +3527,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTextEdit::loadResource(int type0, const QUrl& name1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3557,7 +3557,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3587,7 +3587,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3606,7 +3606,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3625,7 +3625,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3644,7 +3644,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3663,7 +3663,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3682,7 +3682,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3712,7 +3712,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTextEdit::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3742,7 +3742,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3761,7 +3761,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTextEdit::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3791,7 +3791,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3810,7 +3810,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3829,7 +3829,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3848,7 +3848,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTextEdit::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3878,7 +3878,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3897,7 +3897,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3916,7 +3916,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3935,7 +3935,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextEdit::viewportEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3965,7 +3965,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QTextEdit::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3995,7 +3995,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::wheelEvent(QWheelEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4533,7 +4533,7 @@ PythonQtShell_QTextFrame::~PythonQtShell_QTextFrame() { } void PythonQtShell_QTextFrame::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4552,7 +4552,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextFrame::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4571,7 +4571,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextFrame::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4601,7 +4601,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextFrame::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4631,7 +4631,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextFrame::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5388,7 +5388,7 @@ PythonQtShell_QTextList::~PythonQtShell_QTextList() { } void PythonQtShell_QTextList::blockFormatChanged(const QTextBlock& block0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("blockFormatChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5407,7 +5407,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextList::blockInserted(const QTextBlock& block0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("blockInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5426,7 +5426,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextList::blockRemoved(const QTextBlock& block0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("blockRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5445,7 +5445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextList::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5464,7 +5464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextList::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5483,7 +5483,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextList::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5513,7 +5513,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextList::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5543,7 +5543,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextList::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5676,7 +5676,7 @@ PythonQtShell_QTextObject::~PythonQtShell_QTextObject() { } void PythonQtShell_QTextObject::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5695,7 +5695,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextObject::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5714,7 +5714,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextObject::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5744,7 +5744,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextObject::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5774,7 +5774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextObject::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5946,7 +5946,7 @@ PythonQtShell_QTextTable::~PythonQtShell_QTextTable() { } void PythonQtShell_QTextTable::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5965,7 +5965,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextTable::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5984,7 +5984,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextTable::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6014,7 +6014,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextTable::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6044,7 +6044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextTable::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6420,7 +6420,7 @@ PythonQtShell_QTimeEdit::~PythonQtShell_QTimeEdit() { } void PythonQtShell_QTimeEdit::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6439,7 +6439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6458,7 +6458,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6477,7 +6477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6496,7 +6496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6515,7 +6515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::contextMenuEvent(QContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6534,7 +6534,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6553,7 +6553,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QDateTime PythonQtShell_QTimeEdit::dateTimeFromText(const QString& text0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dateTimeFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6583,7 +6583,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTimeEdit::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6613,7 +6613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6632,7 +6632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6651,7 +6651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6670,7 +6670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6689,7 +6689,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6708,7 +6708,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimeEdit::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6738,7 +6738,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimeEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6768,7 +6768,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::fixup(QString& input0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6787,7 +6787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6806,7 +6806,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimeEdit::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6836,7 +6836,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6855,7 +6855,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimeEdit::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6885,7 +6885,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTimeEdit::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6915,7 +6915,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6934,7 +6934,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6953,7 +6953,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6972,7 +6972,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTimeEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7002,7 +7002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7021,7 +7021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7040,7 +7040,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7059,7 +7059,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7089,7 +7089,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7108,7 +7108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7127,7 +7127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7146,7 +7146,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7165,7 +7165,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7184,7 +7184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimeEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7214,7 +7214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTimeEdit::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7244,7 +7244,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7263,7 +7263,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTimeEdit::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7293,7 +7293,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7312,7 +7312,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTimeEdit::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7342,7 +7342,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7361,7 +7361,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::stepBy(int steps0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7380,7 +7380,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAbstractSpinBox::StepEnabled PythonQtShell_QTimeEdit::stepEnabled() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7410,7 +7410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7429,7 +7429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QTimeEdit::textFromDateTime(const QDateTime& dt0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("textFromDateTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7459,7 +7459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7478,7 +7478,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QTimeEdit::validate(QString& input0, int& pos1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7508,7 +7508,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::wheelEvent(QWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7541,7 +7541,7 @@ PythonQtShell_QToolBar::~PythonQtShell_QToolBar() { } void PythonQtShell_QToolBar::actionEvent(QActionEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7560,7 +7560,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7579,7 +7579,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7598,7 +7598,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7617,7 +7617,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7636,7 +7636,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7655,7 +7655,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolBar::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7685,7 +7685,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7704,7 +7704,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7723,7 +7723,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7742,7 +7742,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7761,7 +7761,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7780,7 +7780,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBar::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7810,7 +7810,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBar::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7840,7 +7840,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7859,7 +7859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBar::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7889,7 +7889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7908,7 +7908,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBar::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7938,7 +7938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolBar::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7968,7 +7968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7987,7 +7987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8006,7 +8006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8025,7 +8025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QToolBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8055,7 +8055,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8074,7 +8074,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8093,7 +8093,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8112,7 +8112,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8142,7 +8142,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QToolBar::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8172,7 +8172,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8191,7 +8191,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8210,7 +8210,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8229,7 +8229,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8248,7 +8248,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8267,7 +8267,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8297,7 +8297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QToolBar::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8327,7 +8327,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8346,7 +8346,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QToolBar::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8376,7 +8376,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8395,7 +8395,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QToolBar::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8425,7 +8425,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8444,7 +8444,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QToolBar::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8474,7 +8474,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8493,7 +8493,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8512,7 +8512,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp index 4240b8f0c..262d79061 100644 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp +++ b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp @@ -83,7 +83,7 @@ PythonQtShell_QToolBox::~PythonQtShell_QToolBox() { } void PythonQtShell_QToolBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -102,7 +102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -121,7 +121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -140,7 +140,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -159,7 +159,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -178,7 +178,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -197,7 +197,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -227,7 +227,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -246,7 +246,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -265,7 +265,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -284,7 +284,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -303,7 +303,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -322,7 +322,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBox::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -352,7 +352,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -382,7 +382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -401,7 +401,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -431,7 +431,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -450,7 +450,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -480,7 +480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -510,7 +510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -529,7 +529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -548,7 +548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -567,7 +567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QToolBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -597,7 +597,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::itemInserted(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -616,7 +616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::itemRemoved(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -635,7 +635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -654,7 +654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -673,7 +673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -692,7 +692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -722,7 +722,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QToolBox::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -752,7 +752,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -771,7 +771,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -790,7 +790,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -809,7 +809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -828,7 +828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -847,7 +847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -877,7 +877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QToolBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -907,7 +907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -926,7 +926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QToolBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -956,7 +956,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -975,7 +975,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QToolBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1005,7 +1005,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::showEvent(QShowEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1024,7 +1024,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1043,7 +1043,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1062,7 +1062,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1206,7 +1206,7 @@ PythonQtShell_QToolButton::~PythonQtShell_QToolButton() { } void PythonQtShell_QToolButton::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1225,7 +1225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1244,7 +1244,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::checkStateSet() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1263,7 +1263,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1282,7 +1282,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1301,7 +1301,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1320,7 +1320,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1339,7 +1339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolButton::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1369,7 +1369,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1388,7 +1388,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1407,7 +1407,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1426,7 +1426,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1445,7 +1445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1464,7 +1464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolButton::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1494,7 +1494,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolButton::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1524,7 +1524,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1543,7 +1543,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolButton::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1573,7 +1573,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::focusOutEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1592,7 +1592,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolButton::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1622,7 +1622,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolButton::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1652,7 +1652,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1671,7 +1671,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolButton::hitButton(const QPoint& pos0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1701,7 +1701,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1720,7 +1720,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1739,7 +1739,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QToolButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1769,7 +1769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::keyPressEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1788,7 +1788,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1807,7 +1807,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1826,7 +1826,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1856,7 +1856,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1875,7 +1875,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1894,7 +1894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1913,7 +1913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1932,7 +1932,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1951,7 +1951,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1981,7 +1981,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::nextCheckState() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2000,7 +2000,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QToolButton::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2030,7 +2030,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2049,7 +2049,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QToolButton::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2079,7 +2079,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2098,7 +2098,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QToolButton::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2128,7 +2128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2147,7 +2147,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2166,7 +2166,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2185,7 +2185,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3042,7 +3042,7 @@ PythonQtShell_QTreeView::~PythonQtShell_QTreeView() { } void PythonQtShell_QTreeView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3061,7 +3061,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3080,7 +3080,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3099,7 +3099,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3118,7 +3118,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3137,7 +3137,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3156,7 +3156,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3175,7 +3175,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3194,7 +3194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3213,7 +3213,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3232,7 +3232,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3262,7 +3262,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3281,7 +3281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3300,7 +3300,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::dragLeaveEvent(QDragLeaveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3319,7 +3319,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::dragMoveEvent(QDragMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3338,7 +3338,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::drawBranches(QPainter* painter0, const QRect& rect1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawBranches"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3357,7 +3357,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::drawRow(QPainter* painter0, const QStyleOptionViewItem& options1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3376,7 +3376,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3395,7 +3395,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3425,7 +3425,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3444,7 +3444,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3463,7 +3463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeView::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3493,7 +3493,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3523,7 +3523,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3542,7 +3542,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3572,7 +3572,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3591,7 +3591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3621,7 +3621,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3651,7 +3651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3670,7 +3670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeView::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3700,7 +3700,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3719,7 +3719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3738,7 +3738,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QTreeView::indexAt(const QPoint& p0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3768,7 +3768,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3787,7 +3787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3806,7 +3806,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTreeView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3836,7 +3836,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeView::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3866,7 +3866,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3885,7 +3885,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3904,7 +3904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3923,7 +3923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3942,7 +3942,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3972,7 +3972,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3991,7 +3991,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4010,7 +4010,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4029,7 +4029,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4048,7 +4048,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4067,7 +4067,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4097,7 +4097,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTreeView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4127,7 +4127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4146,7 +4146,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTreeView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4176,7 +4176,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4195,7 +4195,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4214,7 +4214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4233,7 +4233,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4252,7 +4252,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4271,7 +4271,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4290,7 +4290,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4309,7 +4309,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QTreeView::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4339,7 +4339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4358,7 +4358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QTreeView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4388,7 +4388,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::setModel(QAbstractItemModel* model0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4407,7 +4407,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4426,7 +4426,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4445,7 +4445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4464,7 +4464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4483,7 +4483,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTreeView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4513,7 +4513,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4532,7 +4532,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeView::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4562,7 +4562,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeView::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4592,7 +4592,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4611,7 +4611,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4630,7 +4630,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4649,7 +4649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4668,7 +4668,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4687,7 +4687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4706,7 +4706,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeView::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4736,7 +4736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4755,7 +4755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4774,7 +4774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QTreeView::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4804,7 +4804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeView::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4834,7 +4834,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QTreeView::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4864,7 +4864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QTreeView::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4894,7 +4894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QTreeView::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4924,7 +4924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5348,7 +5348,7 @@ PythonQtShell_QTreeWidget::~PythonQtShell_QTreeWidget() { } void PythonQtShell_QTreeWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5367,7 +5367,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5386,7 +5386,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5405,7 +5405,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5424,7 +5424,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5443,7 +5443,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5462,7 +5462,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5481,7 +5481,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5500,7 +5500,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5519,7 +5519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5538,7 +5538,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5568,7 +5568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5587,7 +5587,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5606,7 +5606,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::dragLeaveEvent(QDragLeaveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5625,7 +5625,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::dragMoveEvent(QDragMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5644,7 +5644,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::drawBranches(QPainter* painter0, const QRect& rect1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawBranches"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5663,7 +5663,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::drawRow(QPainter* painter0, const QStyleOptionViewItem& options1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5682,7 +5682,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5701,7 +5701,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::dropMimeData(QTreeWidgetItem* parent0, int index1, const QMimeData* data2, Qt::DropAction action3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5731,7 +5731,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5761,7 +5761,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5780,7 +5780,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5799,7 +5799,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5829,7 +5829,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5859,7 +5859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5878,7 +5878,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5908,7 +5908,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5927,7 +5927,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5957,7 +5957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5987,7 +5987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6006,7 +6006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeWidget::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6036,7 +6036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6055,7 +6055,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6074,7 +6074,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QTreeWidget::indexAt(const QPoint& p0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6104,7 +6104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6123,7 +6123,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6142,7 +6142,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTreeWidget::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6172,7 +6172,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6202,7 +6202,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6221,7 +6221,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6240,7 +6240,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6259,7 +6259,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6278,7 +6278,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6308,7 +6308,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QTreeWidget::mimeData(const QList items0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6338,7 +6338,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QTreeWidget::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6368,7 +6368,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6387,7 +6387,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6406,7 +6406,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6425,7 +6425,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6444,7 +6444,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6463,7 +6463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6493,7 +6493,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTreeWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6523,7 +6523,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6542,7 +6542,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTreeWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6572,7 +6572,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6591,7 +6591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6610,7 +6610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6629,7 +6629,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6648,7 +6648,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6667,7 +6667,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6686,7 +6686,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6705,7 +6705,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QTreeWidget::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6735,7 +6735,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6754,7 +6754,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QTreeWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6784,7 +6784,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6803,7 +6803,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6822,7 +6822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6841,7 +6841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6860,7 +6860,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTreeWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6890,7 +6890,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6909,7 +6909,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeWidget::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6939,7 +6939,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeWidget::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6969,7 +6969,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6988,7 +6988,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QTreeWidget::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7018,7 +7018,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7037,7 +7037,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7056,7 +7056,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7075,7 +7075,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7094,7 +7094,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7113,7 +7113,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeWidget::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7143,7 +7143,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7162,7 +7162,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7181,7 +7181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QTreeWidget::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7211,7 +7211,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7241,7 +7241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QTreeWidget::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7271,7 +7271,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QTreeWidget::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7301,7 +7301,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QTreeWidget::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7331,7 +7331,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7585,7 +7585,7 @@ PythonQtShell_QTreeWidgetItem::~PythonQtShell_QTreeWidgetItem() { } QTreeWidgetItem* PythonQtShell_QTreeWidgetItem::clone() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7615,7 +7615,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTreeWidgetItem::data(int column0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7645,7 +7645,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidgetItem::__lt__(const QTreeWidgetItem& other0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("__lt__"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7675,7 +7675,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidgetItem::read(QDataStream& in0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7694,7 +7694,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidgetItem::setData(int column0, int role1, const QVariant& value2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7713,7 +7713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidgetItem::write(QDataStream& out0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8055,7 +8055,7 @@ PythonQtShell_QUndoCommand::~PythonQtShell_QUndoCommand() { } int PythonQtShell_QUndoCommand::id() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("id"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8085,7 +8085,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoCommand::mergeWith(const QUndoCommand* other0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mergeWith"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8115,7 +8115,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoCommand::redo() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8134,7 +8134,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoCommand::undo() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("undo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8212,7 +8212,7 @@ PythonQtShell_QUndoGroup::~PythonQtShell_QUndoGroup() { } void PythonQtShell_QUndoGroup::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8231,7 +8231,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoGroup::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8250,7 +8250,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoGroup::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8280,7 +8280,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoGroup::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8310,7 +8310,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoGroup::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8394,7 +8394,7 @@ PythonQtShell_QUndoStack::~PythonQtShell_QUndoStack() { } void PythonQtShell_QUndoStack::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8413,7 +8413,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoStack::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8432,7 +8432,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoStack::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8462,7 +8462,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoStack::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8492,7 +8492,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoStack::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8616,7 +8616,7 @@ PythonQtShell_QUndoView::~PythonQtShell_QUndoView() { } void PythonQtShell_QUndoView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8635,7 +8635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8654,7 +8654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8673,7 +8673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8692,7 +8692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8711,7 +8711,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8730,7 +8730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8749,7 +8749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8768,7 +8768,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8787,7 +8787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8806,7 +8806,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QUndoView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8836,7 +8836,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8855,7 +8855,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8874,7 +8874,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::dragLeaveEvent(QDragLeaveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8893,7 +8893,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::dragMoveEvent(QDragMoveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8912,7 +8912,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::dropEvent(QDropEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8931,7 +8931,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8961,7 +8961,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8980,7 +8980,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8999,7 +8999,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoView::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9029,7 +9029,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9059,7 +9059,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9078,7 +9078,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9108,7 +9108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9127,7 +9127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9157,7 +9157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QUndoView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9187,7 +9187,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9206,7 +9206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QUndoView::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9236,7 +9236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9255,7 +9255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9274,7 +9274,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QUndoView::indexAt(const QPoint& p0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9304,7 +9304,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9323,7 +9323,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9342,7 +9342,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QUndoView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9372,7 +9372,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoView::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9402,7 +9402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9421,7 +9421,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9440,7 +9440,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9459,7 +9459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9478,7 +9478,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QUndoView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9508,7 +9508,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9527,7 +9527,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9546,7 +9546,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9565,7 +9565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9584,7 +9584,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9603,7 +9603,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9633,7 +9633,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QUndoView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9663,7 +9663,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9682,7 +9682,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QUndoView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9712,7 +9712,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9731,7 +9731,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9750,7 +9750,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9769,7 +9769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9788,7 +9788,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9807,7 +9807,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9826,7 +9826,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9845,7 +9845,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QUndoView::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9875,7 +9875,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9894,7 +9894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QUndoView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9924,7 +9924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::setModel(QAbstractItemModel* model0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9943,7 +9943,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9962,7 +9962,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9981,7 +9981,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10000,7 +10000,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10019,7 +10019,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QUndoView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10049,7 +10049,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10068,7 +10068,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QUndoView::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10098,7 +10098,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QUndoView::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10128,7 +10128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10147,7 +10147,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10166,7 +10166,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10185,7 +10185,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10204,7 +10204,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10223,7 +10223,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10242,7 +10242,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QUndoView::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10272,7 +10272,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10291,7 +10291,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10310,7 +10310,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QUndoView::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10340,7 +10340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoView::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10370,7 +10370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QUndoView::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10400,7 +10400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QUndoView::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10430,7 +10430,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QUndoView::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10460,7 +10460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10527,7 +10527,7 @@ PythonQtShell_QVBoxLayout::~PythonQtShell_QVBoxLayout() { } void PythonQtShell_QVBoxLayout::addItem(QLayoutItem* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10546,7 +10546,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVBoxLayout::childEvent(QChildEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10565,7 +10565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizePolicy::ControlTypes PythonQtShell_QVBoxLayout::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10595,7 +10595,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QVBoxLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10625,7 +10625,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVBoxLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10644,7 +10644,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVBoxLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10674,7 +10674,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVBoxLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10704,7 +10704,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QVBoxLayout::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10734,7 +10734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QVBoxLayout::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10764,7 +10764,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QVBoxLayout::indexOf(QWidget* arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10794,7 +10794,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVBoxLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10813,7 +10813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVBoxLayout::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10843,7 +10843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QVBoxLayout::itemAt(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10873,7 +10873,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QVBoxLayout::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10903,7 +10903,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QVBoxLayout::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10933,7 +10933,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QVBoxLayout::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10963,7 +10963,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVBoxLayout::setGeometry(const QRect& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10982,7 +10982,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QVBoxLayout::takeAt(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11012,7 +11012,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVBoxLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11045,7 +11045,7 @@ PythonQtShell_QValidator::~PythonQtShell_QValidator() { } void PythonQtShell_QValidator::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11064,7 +11064,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QValidator::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11083,7 +11083,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QValidator::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11113,7 +11113,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QValidator::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11143,7 +11143,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QValidator::fixup(QString& arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11162,7 +11162,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QValidator::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11181,7 +11181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QValidator::validate(QString& arg__1, int& arg__2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11963,7 +11963,7 @@ PythonQtShell_QWidget::~PythonQtShell_QWidget() { } void PythonQtShell_QWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11982,7 +11982,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12001,7 +12001,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12020,7 +12020,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12039,7 +12039,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12058,7 +12058,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12077,7 +12077,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12107,7 +12107,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12126,7 +12126,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12145,7 +12145,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12164,7 +12164,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12183,7 +12183,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12202,7 +12202,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidget::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12232,7 +12232,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12262,7 +12262,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12281,7 +12281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12311,7 +12311,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12330,7 +12330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12360,7 +12360,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12390,7 +12390,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12409,7 +12409,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12428,7 +12428,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12447,7 +12447,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12477,7 +12477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12496,7 +12496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12515,7 +12515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12534,7 +12534,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12564,7 +12564,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12594,7 +12594,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12613,7 +12613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12632,7 +12632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12651,7 +12651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12670,7 +12670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12689,7 +12689,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12719,7 +12719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12749,7 +12749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12768,7 +12768,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12798,7 +12798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12817,7 +12817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::setVisible(bool visible0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12836,7 +12836,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12866,7 +12866,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12885,7 +12885,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWidget::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12915,7 +12915,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12934,7 +12934,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12953,7 +12953,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14227,7 +14227,7 @@ PythonQtShell_QWidgetAction::~PythonQtShell_QWidgetAction() { } void PythonQtShell_QWidgetAction::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14246,7 +14246,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QWidgetAction::createWidget(QWidget* parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14276,7 +14276,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidgetAction::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14295,7 +14295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidgetAction::deleteWidget(QWidget* widget0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("deleteWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14314,7 +14314,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidgetAction::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14344,7 +14344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidgetAction::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14374,7 +14374,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidgetAction::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14448,7 +14448,7 @@ PythonQtShell_QWidgetItem::~PythonQtShell_QWidgetItem() { } QSizePolicy::ControlTypes PythonQtShell_QWidgetItem::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14478,7 +14478,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QWidgetItem::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14508,7 +14508,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QWidgetItem::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14538,7 +14538,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidgetItem::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14568,7 +14568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWidgetItem::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14598,7 +14598,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidgetItem::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14617,7 +14617,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidgetItem::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14647,7 +14647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QWidgetItem::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14677,7 +14677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWidgetItem::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14707,7 +14707,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWidgetItem::minimumHeightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14737,7 +14737,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWidgetItem::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14767,7 +14767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidgetItem::setGeometry(const QRect& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14786,7 +14786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWidgetItem::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14816,7 +14816,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSpacerItem* PythonQtShell_QWidgetItem::spacerItem() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14846,7 +14846,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QWidgetItem::widget() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14941,7 +14941,7 @@ PythonQtShell_QWindow::~PythonQtShell_QWindow() { } void PythonQtShell_QWindow::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14960,7 +14960,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14979,7 +14979,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWindow::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15009,7 +15009,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWindow::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15039,7 +15039,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::exposeEvent(QExposeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exposeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15058,7 +15058,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15077,7 +15077,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QObject* PythonQtShell_QWindow::focusObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15107,7 +15107,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15126,7 +15126,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSurfaceFormat PythonQtShell_QWindow::format() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15156,7 +15156,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15175,7 +15175,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15194,7 +15194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15213,7 +15213,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15232,7 +15232,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15251,7 +15251,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15270,7 +15270,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15289,7 +15289,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15308,7 +15308,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15338,7 +15338,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15357,7 +15357,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15376,7 +15376,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWindow::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15406,7 +15406,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSurface::SurfaceType PythonQtShell_QWindow::surfaceType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15436,7 +15436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15455,7 +15455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15474,7 +15474,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::touchEvent(QTouchEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15493,7 +15493,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16002,7 +16002,7 @@ PythonQtShell_QWizard::~PythonQtShell_QWizard() { } void PythonQtShell_QWizard::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16021,7 +16021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16040,7 +16040,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16059,7 +16059,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16078,7 +16078,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::cleanupPage(int id0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("cleanupPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16097,7 +16097,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16116,7 +16116,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16135,7 +16135,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16154,7 +16154,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizard::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16184,7 +16184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::done(int result0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16203,7 +16203,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16222,7 +16222,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16241,7 +16241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16260,7 +16260,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16279,7 +16279,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16298,7 +16298,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizard::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16328,7 +16328,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizard::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16358,7 +16358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizard::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16388,7 +16388,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16407,7 +16407,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizard::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16437,7 +16437,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16456,7 +16456,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizard::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16486,7 +16486,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizard::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16516,7 +16516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16535,7 +16535,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16554,7 +16554,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::initializePage(int id0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initializePage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16573,7 +16573,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16592,7 +16592,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QWizard::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16622,7 +16622,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16641,7 +16641,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16660,7 +16660,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16679,7 +16679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizard::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16709,7 +16709,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16728,7 +16728,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16747,7 +16747,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16766,7 +16766,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16785,7 +16785,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16804,7 +16804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizard::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16834,7 +16834,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizard::nextId() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16864,7 +16864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16883,7 +16883,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QWizard::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16913,7 +16913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16932,7 +16932,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QWizard::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16962,7 +16962,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16981,7 +16981,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17000,7 +17000,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QWizard::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17030,7 +17030,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17049,7 +17049,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17068,7 +17068,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17087,7 +17087,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizard::validateCurrentPage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validateCurrentPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17117,7 +17117,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17356,7 +17356,7 @@ PythonQtShell_QWizardPage::~PythonQtShell_QWizardPage() { } void PythonQtShell_QWizardPage::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17375,7 +17375,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17394,7 +17394,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17413,7 +17413,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::cleanupPage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("cleanupPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17432,7 +17432,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17451,7 +17451,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17470,7 +17470,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17489,7 +17489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizardPage::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17519,7 +17519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17538,7 +17538,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17557,7 +17557,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17576,7 +17576,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17595,7 +17595,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17614,7 +17614,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizardPage::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17644,7 +17644,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizardPage::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17674,7 +17674,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17693,7 +17693,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizardPage::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17723,7 +17723,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17742,7 +17742,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizardPage::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17772,7 +17772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizardPage::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17802,7 +17802,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17821,7 +17821,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17840,7 +17840,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::initializePage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initializePage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17859,7 +17859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17878,7 +17878,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QWizardPage::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17908,7 +17908,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizardPage::isComplete() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isComplete"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17938,7 +17938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17957,7 +17957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17976,7 +17976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17995,7 +17995,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizardPage::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18025,7 +18025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWizardPage::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18055,7 +18055,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18074,7 +18074,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18093,7 +18093,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18112,7 +18112,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18131,7 +18131,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18150,7 +18150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizardPage::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18180,7 +18180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizardPage::nextId() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18210,7 +18210,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QWizardPage::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18240,7 +18240,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18259,7 +18259,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QWizardPage::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18289,7 +18289,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18308,7 +18308,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QWizardPage::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18338,7 +18338,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18357,7 +18357,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWizardPage::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18387,7 +18387,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18406,7 +18406,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18425,7 +18425,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizardPage::validatePage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validatePage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18455,7 +18455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp index f6bfe137d..9909e6b16 100644 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp +++ b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp @@ -212,7 +212,7 @@ PythonQtShell_QFontDialog::~PythonQtShell_QFontDialog() { } void PythonQtShell_QFontDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -231,7 +231,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -250,7 +250,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -269,7 +269,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -288,7 +288,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -307,7 +307,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -326,7 +326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -345,7 +345,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFontDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -375,7 +375,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::done(int result0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -394,7 +394,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -413,7 +413,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -432,7 +432,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -451,7 +451,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -470,7 +470,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -489,7 +489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -519,7 +519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontDialog::eventFilter(QObject* object0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -549,7 +549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFontDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -579,7 +579,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -598,7 +598,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -628,7 +628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -647,7 +647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -677,7 +677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFontDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -707,7 +707,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -726,7 +726,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -745,7 +745,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -764,7 +764,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QFontDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -794,7 +794,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -813,7 +813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -832,7 +832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -851,7 +851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFontDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -881,7 +881,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -900,7 +900,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -919,7 +919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -938,7 +938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -957,7 +957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -976,7 +976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1006,7 +1006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1025,7 +1025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QFontDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1055,7 +1055,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1074,7 +1074,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QFontDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1104,7 +1104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1123,7 +1123,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1142,7 +1142,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QFontDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1172,7 +1172,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1191,7 +1191,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1210,7 +1210,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1229,7 +1229,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1737,7 +1737,7 @@ PythonQtShell_QFormLayout::~PythonQtShell_QFormLayout() { } void PythonQtShell_QFormLayout::addItem(QLayoutItem* item0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1756,7 +1756,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFormLayout::childEvent(QChildEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1775,7 +1775,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizePolicy::ControlTypes PythonQtShell_QFormLayout::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1805,7 +1805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFormLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1835,7 +1835,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFormLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1854,7 +1854,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFormLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1884,7 +1884,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFormLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1914,7 +1914,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QFormLayout::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1944,7 +1944,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QFormLayout::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1974,7 +1974,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFormLayout::indexOf(QWidget* arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2004,7 +2004,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFormLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2023,7 +2023,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFormLayout::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2053,7 +2053,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QFormLayout::itemAt(int index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2083,7 +2083,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QFormLayout::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2113,7 +2113,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QFormLayout::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2143,7 +2143,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QFormLayout::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2173,7 +2173,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFormLayout::setGeometry(const QRect& rect0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2192,7 +2192,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QFormLayout::takeAt(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2222,7 +2222,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFormLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2486,7 +2486,7 @@ PythonQtShell_QFrame::~PythonQtShell_QFrame() { } void PythonQtShell_QFrame::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2505,7 +2505,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2524,7 +2524,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2543,7 +2543,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2562,7 +2562,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2581,7 +2581,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2600,7 +2600,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFrame::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2630,7 +2630,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2649,7 +2649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2668,7 +2668,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2687,7 +2687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2706,7 +2706,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2725,7 +2725,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFrame::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2755,7 +2755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFrame::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2785,7 +2785,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2804,7 +2804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFrame::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2834,7 +2834,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2853,7 +2853,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFrame::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2883,7 +2883,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFrame::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2913,7 +2913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2932,7 +2932,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2951,7 +2951,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2970,7 +2970,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QFrame::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3000,7 +3000,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3019,7 +3019,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3038,7 +3038,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3057,7 +3057,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3087,7 +3087,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QFrame::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3117,7 +3117,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3136,7 +3136,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3155,7 +3155,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3174,7 +3174,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3193,7 +3193,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3212,7 +3212,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFrame::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3242,7 +3242,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QFrame::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3272,7 +3272,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3291,7 +3291,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QFrame::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3321,7 +3321,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3340,7 +3340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QFrame::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3370,7 +3370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3389,7 +3389,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3408,7 +3408,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3427,7 +3427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3546,7 +3546,7 @@ PythonQtShell_QGesture::~PythonQtShell_QGesture() { } void PythonQtShell_QGesture::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3565,7 +3565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGesture::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3584,7 +3584,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGesture::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3614,7 +3614,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGesture::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3644,7 +3644,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGesture::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3814,7 +3814,7 @@ PythonQtShell_QGestureRecognizer::~PythonQtShell_QGestureRecognizer() { } QGesture* PythonQtShell_QGestureRecognizer::create(QObject* target0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3844,7 +3844,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QGestureRecognizer::Result PythonQtShell_QGestureRecognizer::recognize(QGesture* state0, QObject* watched1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("recognize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3874,7 +3874,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGestureRecognizer::reset(QGesture* state0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4151,7 +4151,7 @@ PythonQtShell_QGraphicsAnchorLayout::~PythonQtShell_QGraphicsAnchorLayout() { } int PythonQtShell_QGraphicsAnchorLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4181,7 +4181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsAnchorLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4200,7 +4200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsAnchorLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4219,7 +4219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QGraphicsLayoutItem* PythonQtShell_QGraphicsAnchorLayout::itemAt(int index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4249,7 +4249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsAnchorLayout::removeAt(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4268,7 +4268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsAnchorLayout::updateGeometry() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4287,7 +4287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsAnchorLayout::widgetEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4391,7 +4391,7 @@ PythonQtShell_QGraphicsBlurEffect::~PythonQtShell_QGraphicsBlurEffect() { } QRectF PythonQtShell_QGraphicsBlurEffect::boundingRectFor(const QRectF& rect0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4421,7 +4421,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsBlurEffect::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4440,7 +4440,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsBlurEffect::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4459,7 +4459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsBlurEffect::draw(QPainter* painter0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4478,7 +4478,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsBlurEffect::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4508,7 +4508,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsBlurEffect::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4538,7 +4538,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsBlurEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4557,7 +4557,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsBlurEffect::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4606,7 +4606,7 @@ PythonQtShell_QGraphicsColorizeEffect::~PythonQtShell_QGraphicsColorizeEffect() } QRectF PythonQtShell_QGraphicsColorizeEffect::boundingRectFor(const QRectF& sourceRect0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4636,7 +4636,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsColorizeEffect::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4655,7 +4655,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsColorizeEffect::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4674,7 +4674,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsColorizeEffect::draw(QPainter* painter0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4693,7 +4693,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsColorizeEffect::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4723,7 +4723,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsColorizeEffect::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4753,7 +4753,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsColorizeEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4772,7 +4772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsColorizeEffect::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4816,7 +4816,7 @@ PythonQtShell_QGraphicsDropShadowEffect::~PythonQtShell_QGraphicsDropShadowEffec } QRectF PythonQtShell_QGraphicsDropShadowEffect::boundingRectFor(const QRectF& rect0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4846,7 +4846,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsDropShadowEffect::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4865,7 +4865,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsDropShadowEffect::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4884,7 +4884,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsDropShadowEffect::draw(QPainter* painter0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4903,7 +4903,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsDropShadowEffect::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4933,7 +4933,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsDropShadowEffect::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4963,7 +4963,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsDropShadowEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4982,7 +4982,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsDropShadowEffect::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5046,7 +5046,7 @@ PythonQtShell_QGraphicsEffect::~PythonQtShell_QGraphicsEffect() { } QRectF PythonQtShell_QGraphicsEffect::boundingRectFor(const QRectF& sourceRect0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5076,7 +5076,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsEffect::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5095,7 +5095,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsEffect::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5114,7 +5114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsEffect::draw(QPainter* painter0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5133,7 +5133,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsEffect::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5163,7 +5163,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsEffect::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5193,7 +5193,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5212,7 +5212,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsEffect::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5291,7 +5291,7 @@ PythonQtShell_QGraphicsEllipseItem::~PythonQtShell_QGraphicsEllipseItem() { } bool PythonQtShell_QGraphicsEllipseItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5321,7 +5321,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsEllipseItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5454,7 +5454,7 @@ PythonQtShell_QGraphicsGridLayout::~PythonQtShell_QGraphicsGridLayout() { } int PythonQtShell_QGraphicsGridLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5484,7 +5484,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsGridLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5503,7 +5503,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsGridLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5522,7 +5522,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QGraphicsLayoutItem* PythonQtShell_QGraphicsGridLayout::itemAt(int index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5552,7 +5552,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsGridLayout::removeAt(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5571,7 +5571,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsGridLayout::updateGeometry() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5590,7 +5590,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsGridLayout::widgetEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5844,7 +5844,7 @@ PythonQtShell_QGraphicsItem::~PythonQtShell_QGraphicsItem() { } void PythonQtShell_QGraphicsItem::advance(int phase0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5863,7 +5863,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRectF PythonQtShell_QGraphicsItem::boundingRect() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5893,7 +5893,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5923,7 +5923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5953,7 +5953,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItem::contains(const QPointF& point0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5983,7 +5983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6002,7 +6002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6021,7 +6021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6040,7 +6040,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6059,7 +6059,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6078,7 +6078,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsItem::extension(const QVariant& variant0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6108,7 +6108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6127,7 +6127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6146,7 +6146,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6165,7 +6165,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6184,7 +6184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6203,7 +6203,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6222,7 +6222,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsItem::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6252,7 +6252,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6282,7 +6282,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6315,7 +6315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6334,7 +6334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6353,7 +6353,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6372,7 +6372,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6391,7 +6391,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6410,7 +6410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6429,7 +6429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6459,7 +6459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6478,7 +6478,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItem::sceneEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6508,7 +6508,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6538,7 +6538,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6557,7 +6557,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsItem::shape() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6587,7 +6587,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItem::supportsExtension(QGraphicsItem::Extension extension0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6617,7 +6617,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsItem::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6647,7 +6647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7718,7 +7718,7 @@ PythonQtShell_QGraphicsItemAnimation::~PythonQtShell_QGraphicsItemAnimation() { } void PythonQtShell_QGraphicsItemAnimation::afterAnimationStep(qreal step0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("afterAnimationStep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7737,7 +7737,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemAnimation::beforeAnimationStep(qreal step0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("beforeAnimationStep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7756,7 +7756,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemAnimation::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7775,7 +7775,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemAnimation::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7794,7 +7794,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemAnimation::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7824,7 +7824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7854,7 +7854,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemAnimation::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8013,7 +8013,7 @@ PythonQtShell_QGraphicsItemGroup::~PythonQtShell_QGraphicsItemGroup() { } void PythonQtShell_QGraphicsItemGroup::advance(int phase0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8032,7 +8032,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRectF PythonQtShell_QGraphicsItemGroup::boundingRect() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8062,7 +8062,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemGroup::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8092,7 +8092,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemGroup::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8122,7 +8122,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemGroup::contains(const QPointF& point0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8152,7 +8152,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8171,7 +8171,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8190,7 +8190,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8209,7 +8209,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8228,7 +8228,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::dropEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8247,7 +8247,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsItemGroup::extension(const QVariant& variant0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8277,7 +8277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8296,7 +8296,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8315,7 +8315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8334,7 +8334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8353,7 +8353,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8372,7 +8372,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8391,7 +8391,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsItemGroup::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8421,7 +8421,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemGroup::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8451,7 +8451,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsItemGroup::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8484,7 +8484,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8503,7 +8503,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8522,7 +8522,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8541,7 +8541,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8560,7 +8560,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::mousePressEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8579,7 +8579,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8598,7 +8598,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsItemGroup::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8628,7 +8628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8647,7 +8647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemGroup::sceneEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8677,7 +8677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemGroup::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8707,7 +8707,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8726,7 +8726,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsItemGroup::shape() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8756,7 +8756,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemGroup::supportsExtension(QGraphicsItem::Extension extension0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8786,7 +8786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsItemGroup::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8816,7 +8816,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::wheelEvent(QGraphicsSceneWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8880,7 +8880,7 @@ PythonQtShell_QGraphicsLayout::~PythonQtShell_QGraphicsLayout() { } int PythonQtShell_QGraphicsLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8910,7 +8910,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8929,7 +8929,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8948,7 +8948,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QGraphicsLayoutItem* PythonQtShell_QGraphicsLayout::itemAt(int i0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8978,7 +8978,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLayout::removeAt(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8997,7 +8997,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLayout::setGeometry(const QRectF& rect0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9016,7 +9016,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizeF PythonQtShell_QGraphicsLayout::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9046,7 +9046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLayout::updateGeometry() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9065,7 +9065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLayout::widgetEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9159,7 +9159,7 @@ PythonQtShell_QGraphicsLayoutItem::~PythonQtShell_QGraphicsLayoutItem() { } void PythonQtShell_QGraphicsLayoutItem::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9178,7 +9178,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLayoutItem::setGeometry(const QRectF& rect0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9197,7 +9197,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizeF PythonQtShell_QGraphicsLayoutItem::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9227,7 +9227,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLayoutItem::updateGeometry() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9446,7 +9446,7 @@ PythonQtShell_QGraphicsLineItem::~PythonQtShell_QGraphicsLineItem() { } void PythonQtShell_QGraphicsLineItem::advance(int phase0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9465,7 +9465,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRectF PythonQtShell_QGraphicsLineItem::boundingRect() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9495,7 +9495,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsLineItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9525,7 +9525,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsLineItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9555,7 +9555,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsLineItem::contains(const QPointF& point0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9585,7 +9585,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9604,7 +9604,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9623,7 +9623,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9642,7 +9642,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9661,7 +9661,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9680,7 +9680,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsLineItem::extension(const QVariant& variant0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9710,7 +9710,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9729,7 +9729,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9748,7 +9748,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9767,7 +9767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9786,7 +9786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9805,7 +9805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9824,7 +9824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsLineItem::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9854,7 +9854,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsLineItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9884,7 +9884,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsLineItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9917,7 +9917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9936,7 +9936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9955,7 +9955,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9974,7 +9974,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9993,7 +9993,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10012,7 +10012,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10031,7 +10031,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsLineItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10061,7 +10061,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10080,7 +10080,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsLineItem::sceneEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10110,7 +10110,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsLineItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10140,7 +10140,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10159,7 +10159,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsLineItem::shape() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10189,7 +10189,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsLineItem::supportsExtension(QGraphicsItem::Extension extension0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10219,7 +10219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsLineItem::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10249,7 +10249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10361,7 +10361,7 @@ PythonQtShell_QGraphicsLinearLayout::~PythonQtShell_QGraphicsLinearLayout() { } int PythonQtShell_QGraphicsLinearLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10391,7 +10391,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLinearLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10410,7 +10410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLinearLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10429,7 +10429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QGraphicsLayoutItem* PythonQtShell_QGraphicsLinearLayout::itemAt(int index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10459,7 +10459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLinearLayout::removeAt(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10478,7 +10478,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLinearLayout::updateGeometry() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10497,7 +10497,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLinearLayout::widgetEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10640,7 +10640,7 @@ PythonQtShell_QGraphicsObject::~PythonQtShell_QGraphicsObject() { } void PythonQtShell_QGraphicsObject::advance(int phase0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10659,7 +10659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRectF PythonQtShell_QGraphicsObject::boundingRect() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10689,7 +10689,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10708,7 +10708,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10738,7 +10738,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10768,7 +10768,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::contains(const QPointF& point0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10798,7 +10798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10817,7 +10817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10836,7 +10836,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10855,7 +10855,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10874,7 +10874,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10893,7 +10893,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::dropEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10912,7 +10912,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::event(QEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10942,7 +10942,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10972,7 +10972,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsObject::extension(const QVariant& variant0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11002,7 +11002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11021,7 +11021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11040,7 +11040,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11059,7 +11059,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11078,7 +11078,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11097,7 +11097,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11116,7 +11116,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsObject::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11146,7 +11146,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11176,7 +11176,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsObject::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11209,7 +11209,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11228,7 +11228,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11247,7 +11247,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11266,7 +11266,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11285,7 +11285,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::mousePressEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11304,7 +11304,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11323,7 +11323,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsObject::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11353,7 +11353,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11372,7 +11372,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::sceneEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11402,7 +11402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11432,7 +11432,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11451,7 +11451,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsObject::shape() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11481,7 +11481,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::supportsExtension(QGraphicsItem::Extension extension0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11511,7 +11511,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11530,7 +11530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsObject::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11560,7 +11560,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::wheelEvent(QGraphicsSceneWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11611,7 +11611,7 @@ PythonQtShell_QGraphicsOpacityEffect::~PythonQtShell_QGraphicsOpacityEffect() { } QRectF PythonQtShell_QGraphicsOpacityEffect::boundingRectFor(const QRectF& sourceRect0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11641,7 +11641,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsOpacityEffect::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11660,7 +11660,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsOpacityEffect::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11679,7 +11679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsOpacityEffect::draw(QPainter* painter0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11698,7 +11698,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsOpacityEffect::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11728,7 +11728,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsOpacityEffect::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11758,7 +11758,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsOpacityEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11777,7 +11777,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsOpacityEffect::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11821,7 +11821,7 @@ PythonQtShell_QGraphicsPathItem::~PythonQtShell_QGraphicsPathItem() { } bool PythonQtShell_QGraphicsPathItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11851,7 +11851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsPathItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp index 516363add..c663810d8 100644 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp +++ b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp @@ -85,7 +85,7 @@ PythonQtShell_QGraphicsPixmapItem::~PythonQtShell_QGraphicsPixmapItem() { } void PythonQtShell_QGraphicsPixmapItem::advance(int phase0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -104,7 +104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRectF PythonQtShell_QGraphicsPixmapItem::boundingRect() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -134,7 +134,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsPixmapItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -164,7 +164,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsPixmapItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -194,7 +194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsPixmapItem::contains(const QPointF& point0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -224,7 +224,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -243,7 +243,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -262,7 +262,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -281,7 +281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -300,7 +300,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -319,7 +319,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsPixmapItem::extension(const QVariant& variant0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -349,7 +349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -368,7 +368,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -387,7 +387,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -406,7 +406,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -425,7 +425,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -444,7 +444,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -463,7 +463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsPixmapItem::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -493,7 +493,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsPixmapItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -523,7 +523,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsPixmapItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -556,7 +556,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -575,7 +575,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -594,7 +594,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -613,7 +613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -632,7 +632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -651,7 +651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -670,7 +670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsPixmapItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -700,7 +700,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -719,7 +719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsPixmapItem::sceneEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -749,7 +749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsPixmapItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -779,7 +779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -798,7 +798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsPixmapItem::shape() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -828,7 +828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsPixmapItem::supportsExtension(QGraphicsItem::Extension extension0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -858,7 +858,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsPixmapItem::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -888,7 +888,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1016,7 +1016,7 @@ PythonQtShell_QGraphicsPolygonItem::~PythonQtShell_QGraphicsPolygonItem() { } bool PythonQtShell_QGraphicsPolygonItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1046,7 +1046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsPolygonItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1160,7 +1160,7 @@ PythonQtShell_QGraphicsProxyWidget::~PythonQtShell_QGraphicsProxyWidget() { } void PythonQtShell_QGraphicsProxyWidget::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1179,7 +1179,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1198,7 +1198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1217,7 +1217,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1236,7 +1236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsProxyWidget::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1266,7 +1266,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsProxyWidget::eventFilter(QObject* object0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1296,7 +1296,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsProxyWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1326,7 +1326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1345,7 +1345,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::grabKeyboardEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("grabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1364,7 +1364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::grabMouseEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("grabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1383,7 +1383,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1402,7 +1402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1421,7 +1421,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1440,7 +1440,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::initStyleOption(QStyleOption* option0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1459,7 +1459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::moveEvent(QGraphicsSceneMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1478,7 +1478,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::paintWindowFrame(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintWindowFrame"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1497,7 +1497,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::polishEvent() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polishEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1516,7 +1516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsProxyWidget::propertyChange(const QString& propertyName0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("propertyChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1546,7 +1546,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::resizeEvent(QGraphicsSceneResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1565,7 +1565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::setGeometry(const QRectF& rect0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1584,7 +1584,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1603,7 +1603,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizeF PythonQtShell_QGraphicsProxyWidget::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1633,7 +1633,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1652,7 +1652,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::ungrabKeyboardEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1671,7 +1671,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::ungrabMouseEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ungrabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1690,7 +1690,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::updateGeometry() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1709,7 +1709,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsProxyWidget::windowFrameEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("windowFrameEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1739,7 +1739,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::WindowFrameSection PythonQtShell_QGraphicsProxyWidget::windowFrameSectionAt(const QPointF& pos0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("windowFrameSectionAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1959,7 +1959,7 @@ PythonQtShell_QGraphicsRectItem::~PythonQtShell_QGraphicsRectItem() { } bool PythonQtShell_QGraphicsRectItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1989,7 +1989,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsRectItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2102,7 +2102,7 @@ PythonQtShell_QGraphicsRotation::~PythonQtShell_QGraphicsRotation() { } void PythonQtShell_QGraphicsRotation::applyTo(QMatrix4x4* matrix0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2121,7 +2121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsRotation::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2140,7 +2140,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsRotation::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2159,7 +2159,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsRotation::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2189,7 +2189,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsRotation::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2219,7 +2219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsRotation::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2288,7 +2288,7 @@ PythonQtShell_QGraphicsScale::~PythonQtShell_QGraphicsScale() { } void PythonQtShell_QGraphicsScale::applyTo(QMatrix4x4* matrix0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2307,7 +2307,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScale::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2326,7 +2326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScale::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2345,7 +2345,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsScale::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2375,7 +2375,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsScale::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2405,7 +2405,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScale::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2479,7 +2479,7 @@ PythonQtShell_QGraphicsScene::~PythonQtShell_QGraphicsScene() { } void PythonQtShell_QGraphicsScene::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2498,7 +2498,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2517,7 +2517,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2536,7 +2536,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2555,7 +2555,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2574,7 +2574,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2593,7 +2593,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::drawBackground(QPainter* painter0, const QRectF& rect1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawBackground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2612,7 +2612,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::drawForeground(QPainter* painter0, const QRectF& rect1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawForeground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2631,7 +2631,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::drawItems(QPainter* painter0, int numItems1, QGraphicsItem** items2, const QStyleOptionGraphicsItem* options3, QWidget* widget4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawItems"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2650,7 +2650,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::dropEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2669,7 +2669,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsScene::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2699,7 +2699,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsScene::eventFilter(QObject* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2729,7 +2729,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2748,7 +2748,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2767,7 +2767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::helpEvent(QGraphicsSceneHelpEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2786,7 +2786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2805,7 +2805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsScene::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2835,7 +2835,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2854,7 +2854,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2873,7 +2873,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2892,7 +2892,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2911,7 +2911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2930,7 +2930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2949,7 +2949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2968,7 +2968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::wheelEvent(QGraphicsSceneWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3984,7 +3984,7 @@ PythonQtShell_QGraphicsSimpleTextItem::~PythonQtShell_QGraphicsSimpleTextItem() } bool PythonQtShell_QGraphicsSimpleTextItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4014,7 +4014,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsSimpleTextItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4128,7 +4128,7 @@ PythonQtShell_QGraphicsTextItem::~PythonQtShell_QGraphicsTextItem() { } void PythonQtShell_QGraphicsTextItem::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4147,7 +4147,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsTextItem::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4166,7 +4166,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsTextItem::event(QEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4196,7 +4196,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsTextItem::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4226,7 +4226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsTextItem::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4509,7 +4509,7 @@ PythonQtShell_QGraphicsTransform::~PythonQtShell_QGraphicsTransform() { } void PythonQtShell_QGraphicsTransform::applyTo(QMatrix4x4* matrix0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4528,7 +4528,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsTransform::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4547,7 +4547,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsTransform::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4566,7 +4566,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsTransform::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4596,7 +4596,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsTransform::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4626,7 +4626,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsTransform::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4660,7 +4660,7 @@ PythonQtShell_QGraphicsView::~PythonQtShell_QGraphicsView() { } void PythonQtShell_QGraphicsView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4679,7 +4679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4698,7 +4698,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4717,7 +4717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4736,7 +4736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::contextMenuEvent(QContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4755,7 +4755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4774,7 +4774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4804,7 +4804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4823,7 +4823,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::dragLeaveEvent(QDragLeaveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4842,7 +4842,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::dragMoveEvent(QDragMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4861,7 +4861,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::drawBackground(QPainter* painter0, const QRectF& rect1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawBackground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4880,7 +4880,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::drawForeground(QPainter* painter0, const QRectF& rect1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawForeground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4899,7 +4899,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::drawItems(QPainter* painter0, int numItems1, QGraphicsItem** items2, const QStyleOptionGraphicsItem* options3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawItems"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4918,7 +4918,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4937,7 +4937,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4956,7 +4956,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsView::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4986,7 +4986,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5016,7 +5016,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5035,7 +5035,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5065,7 +5065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5084,7 +5084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5114,7 +5114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5144,7 +5144,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5163,7 +5163,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5182,7 +5182,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5201,7 +5201,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5231,7 +5231,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5250,7 +5250,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5269,7 +5269,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5288,7 +5288,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5318,7 +5318,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5337,7 +5337,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5356,7 +5356,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5375,7 +5375,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5394,7 +5394,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5413,7 +5413,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5443,7 +5443,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QGraphicsView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5473,7 +5473,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5492,7 +5492,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QGraphicsView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5522,7 +5522,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5541,7 +5541,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5560,7 +5560,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::setupViewport(QWidget* widget0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5579,7 +5579,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QGraphicsView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5609,7 +5609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5628,7 +5628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5647,7 +5647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5666,7 +5666,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsView::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5696,7 +5696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QGraphicsView::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5726,7 +5726,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::wheelEvent(QWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6274,7 +6274,7 @@ PythonQtShell_QGraphicsWidget::~PythonQtShell_QGraphicsWidget() { } void PythonQtShell_QGraphicsWidget::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6293,7 +6293,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6312,7 +6312,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6331,7 +6331,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6350,7 +6350,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWidget::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6380,7 +6380,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6410,7 +6410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6440,7 +6440,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6459,7 +6459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::grabKeyboardEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("grabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6478,7 +6478,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::grabMouseEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("grabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6497,7 +6497,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6516,7 +6516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6535,7 +6535,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6554,7 +6554,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::initStyleOption(QStyleOption* option0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6573,7 +6573,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::moveEvent(QGraphicsSceneMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6592,7 +6592,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::paintWindowFrame(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintWindowFrame"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6611,7 +6611,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::polishEvent() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polishEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6630,7 +6630,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsWidget::propertyChange(const QString& propertyName0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("propertyChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6660,7 +6660,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::resizeEvent(QGraphicsSceneResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6679,7 +6679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::setGeometry(const QRectF& rect0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6698,7 +6698,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6717,7 +6717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizeF PythonQtShell_QGraphicsWidget::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6747,7 +6747,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6766,7 +6766,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::ungrabKeyboardEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6785,7 +6785,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::ungrabMouseEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ungrabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6804,7 +6804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::updateGeometry() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6823,7 +6823,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWidget::windowFrameEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("windowFrameEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6853,7 +6853,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::WindowFrameSection PythonQtShell_QGraphicsWidget::windowFrameSectionAt(const QPointF& pos0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("windowFrameSectionAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7288,7 +7288,7 @@ PythonQtShell_QGridLayout::~PythonQtShell_QGridLayout() { } void PythonQtShell_QGridLayout::addItem(QLayoutItem* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7307,7 +7307,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGridLayout::childEvent(QChildEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7326,7 +7326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizePolicy::ControlTypes PythonQtShell_QGridLayout::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7356,7 +7356,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGridLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7386,7 +7386,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGridLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7405,7 +7405,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGridLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7435,7 +7435,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGridLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7465,7 +7465,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QGridLayout::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7495,7 +7495,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QGridLayout::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7525,7 +7525,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGridLayout::indexOf(QWidget* arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7555,7 +7555,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGridLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7574,7 +7574,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGridLayout::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7604,7 +7604,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QGridLayout::itemAt(int index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7634,7 +7634,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QGridLayout::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7664,7 +7664,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QGridLayout::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7694,7 +7694,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QGridLayout::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7724,7 +7724,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGridLayout::setGeometry(const QRect& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7743,7 +7743,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QGridLayout::takeAt(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7773,7 +7773,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGridLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8006,7 +8006,7 @@ PythonQtShell_QGroupBox::~PythonQtShell_QGroupBox() { } void PythonQtShell_QGroupBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8025,7 +8025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8044,7 +8044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::childEvent(QChildEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8063,7 +8063,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8082,7 +8082,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8101,7 +8101,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8120,7 +8120,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGroupBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8150,7 +8150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8169,7 +8169,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8188,7 +8188,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8207,7 +8207,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8226,7 +8226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8245,7 +8245,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGroupBox::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8275,7 +8275,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGroupBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8305,7 +8305,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8324,7 +8324,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGroupBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8354,7 +8354,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8373,7 +8373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGroupBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8403,7 +8403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGroupBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8433,7 +8433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8452,7 +8452,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8471,7 +8471,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8490,7 +8490,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGroupBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8520,7 +8520,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8539,7 +8539,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8558,7 +8558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8577,7 +8577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGroupBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8607,7 +8607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8626,7 +8626,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8645,7 +8645,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8664,7 +8664,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8683,7 +8683,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8702,7 +8702,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGroupBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8732,7 +8732,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QGroupBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8762,7 +8762,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8781,7 +8781,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QGroupBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8811,7 +8811,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8830,7 +8830,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QGroupBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8860,7 +8860,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8879,7 +8879,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QGroupBox::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8909,7 +8909,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8928,7 +8928,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8947,7 +8947,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9287,7 +9287,7 @@ PythonQtShell_QHBoxLayout::~PythonQtShell_QHBoxLayout() { } void PythonQtShell_QHBoxLayout::addItem(QLayoutItem* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9306,7 +9306,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHBoxLayout::childEvent(QChildEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9325,7 +9325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizePolicy::ControlTypes PythonQtShell_QHBoxLayout::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9355,7 +9355,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHBoxLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9385,7 +9385,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHBoxLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9404,7 +9404,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHBoxLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9434,7 +9434,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHBoxLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9464,7 +9464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QHBoxLayout::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9494,7 +9494,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QHBoxLayout::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9524,7 +9524,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHBoxLayout::indexOf(QWidget* arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9554,7 +9554,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHBoxLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9573,7 +9573,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHBoxLayout::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9603,7 +9603,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QHBoxLayout::itemAt(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9633,7 +9633,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QHBoxLayout::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9663,7 +9663,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QHBoxLayout::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9693,7 +9693,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QHBoxLayout::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9723,7 +9723,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHBoxLayout::setGeometry(const QRect& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9742,7 +9742,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QHBoxLayout::takeAt(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9772,7 +9772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHBoxLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9805,7 +9805,7 @@ PythonQtShell_QHeaderView::~PythonQtShell_QHeaderView() { } void PythonQtShell_QHeaderView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9824,7 +9824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9843,7 +9843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9862,7 +9862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9881,7 +9881,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9900,7 +9900,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9919,7 +9919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9938,7 +9938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::currentChanged(const QModelIndex& current0, const QModelIndex& old1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9957,7 +9957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9976,7 +9976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9995,7 +9995,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHeaderView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10025,7 +10025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10044,7 +10044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10063,7 +10063,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::dragLeaveEvent(QDragLeaveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10082,7 +10082,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::dragMoveEvent(QDragMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10101,7 +10101,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10120,7 +10120,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHeaderView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10150,7 +10150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10169,7 +10169,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10188,7 +10188,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHeaderView::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10218,7 +10218,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHeaderView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10248,7 +10248,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10267,7 +10267,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHeaderView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10297,7 +10297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10316,7 +10316,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHeaderView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10346,7 +10346,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHeaderView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10376,7 +10376,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10395,7 +10395,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHeaderView::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10425,7 +10425,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10444,7 +10444,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10463,7 +10463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QHeaderView::indexAt(const QPoint& p0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10493,7 +10493,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10512,7 +10512,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10531,7 +10531,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QHeaderView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10561,7 +10561,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHeaderView::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10591,7 +10591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10610,7 +10610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10629,7 +10629,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10648,7 +10648,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10667,7 +10667,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHeaderView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10697,7 +10697,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::mouseDoubleClickEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10716,7 +10716,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10735,7 +10735,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10754,7 +10754,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10773,7 +10773,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10792,7 +10792,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHeaderView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10822,7 +10822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QHeaderView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10852,7 +10852,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10871,7 +10871,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::paintSection(QPainter* painter0, const QRect& rect1, int logicalIndex2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintSection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10890,7 +10890,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QHeaderView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10920,7 +10920,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10939,7 +10939,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10958,7 +10958,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10977,7 +10977,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10996,7 +10996,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11015,7 +11015,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11034,7 +11034,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QHeaderView::sectionSizeFromContents(int logicalIndex0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sectionSizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11064,7 +11064,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11083,7 +11083,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QHeaderView::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11113,7 +11113,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11132,7 +11132,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QHeaderView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11162,7 +11162,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::setModel(QAbstractItemModel* model0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11181,7 +11181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11200,7 +11200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags flags1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11219,7 +11219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11238,7 +11238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11257,7 +11257,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QHeaderView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11287,7 +11287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11306,7 +11306,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHeaderView::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11336,7 +11336,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHeaderView::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11366,7 +11366,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11385,7 +11385,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11404,7 +11404,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11423,7 +11423,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11442,7 +11442,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11461,7 +11461,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11480,7 +11480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHeaderView::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11510,7 +11510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11529,7 +11529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11548,7 +11548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QHeaderView::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11578,7 +11578,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHeaderView::viewportEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11608,7 +11608,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QHeaderView::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11638,7 +11638,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QHeaderView::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11668,7 +11668,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QHeaderView::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11698,7 +11698,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp index 676fe0752..3024947f2 100644 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp +++ b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp @@ -91,7 +91,7 @@ PythonQtShell_QIconEngine::~PythonQtShell_QIconEngine() { } QSize PythonQtShell_QIconEngine::actualSize(const QSize& size0, QIcon::Mode mode1, QIcon::State state2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actualSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -121,7 +121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIconEngine::addFile(const QString& fileName0, const QSize& size1, QIcon::Mode mode2, QIcon::State state3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addFile"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -140,7 +140,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIconEngine::addPixmap(const QPixmap& pixmap0, QIcon::Mode mode1, QIcon::State state2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -159,7 +159,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QIconEngine::availableSizes(QIcon::Mode mode0, QIcon::State state1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("availableSizes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -189,7 +189,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIconEngine* PythonQtShell_QIconEngine::clone() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -219,7 +219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QIconEngine::iconName() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("iconName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -249,7 +249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QIconEngine::key() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("key"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -279,7 +279,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIconEngine::paint(QPainter* painter0, const QRect& rect1, QIcon::Mode mode2, QIcon::State state3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -298,7 +298,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPixmap PythonQtShell_QIconEngine::pixmap(const QSize& size0, QIcon::Mode mode1, QIcon::State state2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -328,7 +328,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIconEngine::read(QDataStream& in0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -358,7 +358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIconEngine::virtual_hook(int id0, void* data1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("virtual_hook"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -377,7 +377,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIconEngine::write(QDataStream& out0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -477,7 +477,7 @@ PythonQtShell_QImageIOHandler::~PythonQtShell_QImageIOHandler() { } bool PythonQtShell_QImageIOHandler::canRead() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -507,7 +507,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QImageIOHandler::currentImageNumber() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentImageNumber"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -537,7 +537,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QImageIOHandler::currentImageRect() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentImageRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -567,7 +567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QImageIOHandler::imageCount() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("imageCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -597,7 +597,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QImageIOHandler::jumpToImage(int imageNumber0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("jumpToImage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -627,7 +627,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QImageIOHandler::jumpToNextImage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("jumpToNextImage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -657,7 +657,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QImageIOHandler::loopCount() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("loopCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -687,7 +687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QByteArray PythonQtShell_QImageIOHandler::name() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("name"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -717,7 +717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QImageIOHandler::nextImageDelay() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextImageDelay"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -747,7 +747,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QImageIOHandler::option(QImageIOHandler::ImageOption option0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("option"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -777,7 +777,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QImageIOHandler::read(QImage* image0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -807,7 +807,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QImageIOHandler::setOption(QImageIOHandler::ImageOption option0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -826,7 +826,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QImageIOHandler::supportsOption(QImageIOHandler::ImageOption option0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -856,7 +856,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QImageIOHandler::write(const QImage& image0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -981,7 +981,7 @@ PythonQtShell_QImageIOPlugin::~PythonQtShell_QImageIOPlugin() { } QImageIOPlugin::Capabilities PythonQtShell_QImageIOPlugin::capabilities(QIODevice* device0, const QByteArray& format1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("capabilities"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1011,7 +1011,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QImageIOPlugin::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1030,7 +1030,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QImageIOHandler* PythonQtShell_QImageIOPlugin::create(QIODevice* device0, const QByteArray& format1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1060,7 +1060,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QImageIOPlugin::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1079,7 +1079,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QImageIOPlugin::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1109,7 +1109,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QImageIOPlugin::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1139,7 +1139,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QImageIOPlugin::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1501,7 +1501,7 @@ PythonQtShell_QInputDialog::~PythonQtShell_QInputDialog() { } void PythonQtShell_QInputDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1520,7 +1520,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1539,7 +1539,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1558,7 +1558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1577,7 +1577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1596,7 +1596,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1615,7 +1615,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1634,7 +1634,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QInputDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1664,7 +1664,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::done(int result0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1683,7 +1683,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1702,7 +1702,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1721,7 +1721,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1740,7 +1740,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1759,7 +1759,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1778,7 +1778,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QInputDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1808,7 +1808,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QInputDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1838,7 +1838,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QInputDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1868,7 +1868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1887,7 +1887,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QInputDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1917,7 +1917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1936,7 +1936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QInputDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1966,7 +1966,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QInputDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1996,7 +1996,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2015,7 +2015,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2034,7 +2034,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2053,7 +2053,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QInputDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2083,7 +2083,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2102,7 +2102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2121,7 +2121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2140,7 +2140,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QInputDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2170,7 +2170,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2189,7 +2189,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2208,7 +2208,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2227,7 +2227,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2246,7 +2246,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2265,7 +2265,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QInputDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2295,7 +2295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2314,7 +2314,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QInputDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2344,7 +2344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2363,7 +2363,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QInputDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2393,7 +2393,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2412,7 +2412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2431,7 +2431,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QInputDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2461,7 +2461,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2480,7 +2480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2499,7 +2499,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2518,7 +2518,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2939,7 +2939,7 @@ PythonQtShell_QIntValidator::~PythonQtShell_QIntValidator() { } void PythonQtShell_QIntValidator::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2958,7 +2958,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIntValidator::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2977,7 +2977,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIntValidator::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3007,7 +3007,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIntValidator::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3037,7 +3037,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIntValidator::fixup(QString& input0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3056,7 +3056,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIntValidator::setRange(int bottom0, int top1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3075,7 +3075,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIntValidator::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3094,7 +3094,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QIntValidator::validate(QString& arg__1, int& arg__2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3173,7 +3173,7 @@ PythonQtShell_QItemDelegate::~PythonQtShell_QItemDelegate() { } void PythonQtShell_QItemDelegate::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3192,7 +3192,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QItemDelegate::createEditor(QWidget* parent0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3222,7 +3222,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3241,7 +3241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::destroyEditor(QWidget* editor0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("destroyEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3260,7 +3260,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::drawCheck(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, Qt::CheckState state3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawCheck"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3279,7 +3279,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::drawDecoration(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, const QPixmap& pixmap3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawDecoration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3298,7 +3298,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::drawDisplay(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, const QString& text3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawDisplay"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3317,7 +3317,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::drawFocus(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawFocus"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3336,7 +3336,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QItemDelegate::editorEvent(QEvent* event0, QAbstractItemModel* model1, const QStyleOptionViewItem& option2, const QModelIndex& index3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3366,7 +3366,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QItemDelegate::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3396,7 +3396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QItemDelegate::eventFilter(QObject* object0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3426,7 +3426,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemView* view1, const QStyleOptionViewItem& option2, const QModelIndex& index3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3456,7 +3456,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::paint(QPainter* painter0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3475,7 +3475,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVector PythonQtShell_QItemDelegate::paintingRoles() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintingRoles"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3505,7 +3505,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::setEditorData(QWidget* editor0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3524,7 +3524,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::setModelData(QWidget* editor0, QAbstractItemModel* model1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModelData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3543,7 +3543,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QItemDelegate::sizeHint(const QStyleOptionViewItem& option0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3573,7 +3573,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3592,7 +3592,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::updateEditorGeometry(QWidget* editor0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3731,7 +3731,7 @@ PythonQtShell_QItemEditorCreatorBase::~PythonQtShell_QItemEditorCreatorBase() { } QWidget* PythonQtShell_QItemEditorCreatorBase::createWidget(QWidget* parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3761,7 +3761,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QByteArray PythonQtShell_QItemEditorCreatorBase::valuePropertyName() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("valuePropertyName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3811,7 +3811,7 @@ PythonQtShell_QItemEditorFactory::~PythonQtShell_QItemEditorFactory() { } QWidget* PythonQtShell_QItemEditorFactory::createEditor(int userType0, QWidget* parent1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3841,7 +3841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QByteArray PythonQtShell_QItemEditorFactory::valuePropertyName(int userType0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("valuePropertyName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4171,7 +4171,7 @@ PythonQtShell_QItemSelectionModel::~PythonQtShell_QItemSelectionModel() { } void PythonQtShell_QItemSelectionModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4190,7 +4190,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemSelectionModel::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4209,7 +4209,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemSelectionModel::clearCurrentIndex() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clearCurrentIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4228,7 +4228,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemSelectionModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4247,7 +4247,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QItemSelectionModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4277,7 +4277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QItemSelectionModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4307,7 +4307,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemSelectionModel::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4326,7 +4326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemSelectionModel::select(const QItemSelection& selection0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4345,7 +4345,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemSelectionModel::select(const QModelIndex& index0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4364,7 +4364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemSelectionModel::setCurrentIndex(const QModelIndex& index0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setCurrentIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4383,7 +4383,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemSelectionModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4695,7 +4695,7 @@ PythonQtShell_QKeyEventTransition::~PythonQtShell_QKeyEventTransition() { } void PythonQtShell_QKeyEventTransition::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4714,7 +4714,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QKeyEventTransition::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4733,7 +4733,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QKeyEventTransition::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4763,7 +4763,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QKeyEventTransition::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4793,7 +4793,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QKeyEventTransition::eventTest(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4823,7 +4823,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QKeyEventTransition::onTransition(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4842,7 +4842,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QKeyEventTransition::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4905,7 +4905,7 @@ PythonQtShell_QLCDNumber::~PythonQtShell_QLCDNumber() { } void PythonQtShell_QLCDNumber::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4924,7 +4924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4943,7 +4943,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4962,7 +4962,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4981,7 +4981,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5000,7 +5000,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5019,7 +5019,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLCDNumber::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5049,7 +5049,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5068,7 +5068,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5087,7 +5087,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5106,7 +5106,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5125,7 +5125,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5144,7 +5144,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLCDNumber::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5174,7 +5174,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLCDNumber::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5204,7 +5204,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5223,7 +5223,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLCDNumber::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5253,7 +5253,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5272,7 +5272,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLCDNumber::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5302,7 +5302,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLCDNumber::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5332,7 +5332,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5351,7 +5351,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5370,7 +5370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5389,7 +5389,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QLCDNumber::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5419,7 +5419,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5438,7 +5438,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5457,7 +5457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5476,7 +5476,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLCDNumber::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5506,7 +5506,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QLCDNumber::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5536,7 +5536,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5555,7 +5555,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5574,7 +5574,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5593,7 +5593,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5612,7 +5612,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5631,7 +5631,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLCDNumber::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5661,7 +5661,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QLCDNumber::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5691,7 +5691,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5710,7 +5710,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QLCDNumber::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5740,7 +5740,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5759,7 +5759,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QLCDNumber::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5789,7 +5789,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5808,7 +5808,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5827,7 +5827,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5846,7 +5846,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5949,7 +5949,7 @@ PythonQtShell_QLabel::~PythonQtShell_QLabel() { } void PythonQtShell_QLabel::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5968,7 +5968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5987,7 +5987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6006,7 +6006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6025,7 +6025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::contextMenuEvent(QContextMenuEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6044,7 +6044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6063,7 +6063,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLabel::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6093,7 +6093,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6112,7 +6112,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6131,7 +6131,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6150,7 +6150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6169,7 +6169,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6188,7 +6188,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLabel::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6218,7 +6218,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLabel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6248,7 +6248,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::focusInEvent(QFocusEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6267,7 +6267,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLabel::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6297,7 +6297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::focusOutEvent(QFocusEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6316,7 +6316,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLabel::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6346,7 +6346,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLabel::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6376,7 +6376,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6395,7 +6395,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6414,7 +6414,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6433,7 +6433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QLabel::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6463,7 +6463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::keyPressEvent(QKeyEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6482,7 +6482,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6501,7 +6501,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6520,7 +6520,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLabel::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6550,7 +6550,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6569,7 +6569,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::mouseMoveEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6588,7 +6588,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::mousePressEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6607,7 +6607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::mouseReleaseEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6626,7 +6626,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6645,7 +6645,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLabel::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6675,7 +6675,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QLabel::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6705,7 +6705,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6724,7 +6724,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QLabel::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6754,7 +6754,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6773,7 +6773,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QLabel::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6803,7 +6803,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6822,7 +6822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6841,7 +6841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6860,7 +6860,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7093,7 +7093,7 @@ PythonQtShell_QLayout::~PythonQtShell_QLayout() { } void PythonQtShell_QLayout::addItem(QLayoutItem* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7112,7 +7112,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLayout::childEvent(QChildEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7131,7 +7131,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizePolicy::ControlTypes PythonQtShell_QLayout::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7161,7 +7161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7191,7 +7191,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7210,7 +7210,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7240,7 +7240,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7270,7 +7270,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QLayout::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7300,7 +7300,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QLayout::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7330,7 +7330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLayout::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7360,7 +7360,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLayout::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7390,7 +7390,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLayout::indexOf(QWidget* arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7420,7 +7420,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7439,7 +7439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLayout::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7469,7 +7469,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QLayout::itemAt(int index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7499,7 +7499,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QLayout::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7529,7 +7529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QLayout::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7559,7 +7559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLayout::minimumHeightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7589,7 +7589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QLayout::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7619,7 +7619,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLayout::setGeometry(const QRect& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7638,7 +7638,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QLayout::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7668,7 +7668,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSpacerItem* PythonQtShell_QLayout::spacerItem() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7698,7 +7698,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QLayout::takeAt(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7728,7 +7728,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7747,7 +7747,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QLayout::widget() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8021,7 +8021,7 @@ PythonQtShell_QLayoutItem::~PythonQtShell_QLayoutItem() { } QSizePolicy::ControlTypes PythonQtShell_QLayoutItem::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8051,7 +8051,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QLayoutItem::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8081,7 +8081,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QLayoutItem::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8111,7 +8111,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLayoutItem::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8141,7 +8141,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLayoutItem::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8171,7 +8171,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLayoutItem::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8190,7 +8190,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLayoutItem::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8220,7 +8220,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QLayoutItem::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8250,7 +8250,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QLayoutItem::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8280,7 +8280,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLayoutItem::minimumHeightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8310,7 +8310,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QLayoutItem::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8340,7 +8340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLayoutItem::setGeometry(const QRect& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8359,7 +8359,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QLayoutItem::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8389,7 +8389,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSpacerItem* PythonQtShell_QLayoutItem::spacerItem() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8419,7 +8419,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QLayoutItem::widget() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8544,7 +8544,7 @@ PythonQtShell_QLineEdit::~PythonQtShell_QLineEdit() { } void PythonQtShell_QLineEdit::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8563,7 +8563,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8582,7 +8582,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8601,7 +8601,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8620,7 +8620,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8639,7 +8639,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8658,7 +8658,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLineEdit::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8688,7 +8688,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8707,7 +8707,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::dragLeaveEvent(QDragLeaveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8726,7 +8726,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::dragMoveEvent(QDragMoveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8745,7 +8745,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8764,7 +8764,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8783,7 +8783,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLineEdit::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8813,7 +8813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLineEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8843,7 +8843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8862,7 +8862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLineEdit::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8892,7 +8892,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8911,7 +8911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLineEdit::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8941,7 +8941,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLineEdit::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8971,7 +8971,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8990,7 +8990,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9009,7 +9009,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9028,7 +9028,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QLineEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9058,7 +9058,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9077,7 +9077,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9096,7 +9096,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9115,7 +9115,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLineEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9145,7 +9145,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9164,7 +9164,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9183,7 +9183,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9202,7 +9202,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9221,7 +9221,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9240,7 +9240,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLineEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9270,7 +9270,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QLineEdit::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9300,7 +9300,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9319,7 +9319,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QLineEdit::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9349,7 +9349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9368,7 +9368,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QLineEdit::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9398,7 +9398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9417,7 +9417,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9436,7 +9436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9455,7 +9455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9892,7 +9892,7 @@ PythonQtShell_QListView::~PythonQtShell_QListView() { } void PythonQtShell_QListView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9911,7 +9911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9930,7 +9930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9949,7 +9949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9968,7 +9968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9987,7 +9987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10006,7 +10006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10025,7 +10025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10044,7 +10044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10063,7 +10063,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10082,7 +10082,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10112,7 +10112,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10131,7 +10131,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10150,7 +10150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::dragLeaveEvent(QDragLeaveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10169,7 +10169,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::dragMoveEvent(QDragMoveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10188,7 +10188,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::dropEvent(QDropEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10207,7 +10207,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10237,7 +10237,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10256,7 +10256,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10275,7 +10275,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListView::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10305,7 +10305,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10335,7 +10335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10354,7 +10354,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10384,7 +10384,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10403,7 +10403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10433,7 +10433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10463,7 +10463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10482,7 +10482,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListView::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10512,7 +10512,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10531,7 +10531,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10550,7 +10550,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QListView::indexAt(const QPoint& p0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10580,7 +10580,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10599,7 +10599,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10618,7 +10618,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QListView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10648,7 +10648,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListView::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10678,7 +10678,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10697,7 +10697,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10716,7 +10716,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10735,7 +10735,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10754,7 +10754,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10784,7 +10784,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10803,7 +10803,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10822,7 +10822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10841,7 +10841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10860,7 +10860,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10879,7 +10879,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10909,7 +10909,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QListView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10939,7 +10939,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10958,7 +10958,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QListView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10988,7 +10988,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11007,7 +11007,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11026,7 +11026,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11045,7 +11045,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11064,7 +11064,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11083,7 +11083,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11102,7 +11102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11121,7 +11121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QListView::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11151,7 +11151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11170,7 +11170,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QListView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11200,7 +11200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::setModel(QAbstractItemModel* model0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11219,7 +11219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11238,7 +11238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11257,7 +11257,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11276,7 +11276,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11295,7 +11295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QListView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11325,7 +11325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11344,7 +11344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListView::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11374,7 +11374,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListView::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11404,7 +11404,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11423,7 +11423,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11442,7 +11442,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11461,7 +11461,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11480,7 +11480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11499,7 +11499,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11518,7 +11518,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListView::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11548,7 +11548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11567,7 +11567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11586,7 +11586,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QListView::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11616,7 +11616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListView::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11646,7 +11646,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QListView::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11676,7 +11676,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QListView::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11706,7 +11706,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QListView::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11736,7 +11736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12085,7 +12085,7 @@ PythonQtShell_QListWidget::~PythonQtShell_QListWidget() { } void PythonQtShell_QListWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12104,7 +12104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12123,7 +12123,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12142,7 +12142,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12161,7 +12161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12180,7 +12180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12199,7 +12199,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12218,7 +12218,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12237,7 +12237,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12256,7 +12256,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12275,7 +12275,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12305,7 +12305,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12324,7 +12324,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12343,7 +12343,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::dragLeaveEvent(QDragLeaveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12362,7 +12362,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::dragMoveEvent(QDragMoveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12381,7 +12381,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12400,7 +12400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::dropMimeData(int index0, const QMimeData* data1, Qt::DropAction action2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12430,7 +12430,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12460,7 +12460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12479,7 +12479,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12498,7 +12498,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12528,7 +12528,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12558,7 +12558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12577,7 +12577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12607,7 +12607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12626,7 +12626,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12656,7 +12656,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12686,7 +12686,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12705,7 +12705,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListWidget::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12735,7 +12735,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12754,7 +12754,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12773,7 +12773,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QListWidget::indexAt(const QPoint& p0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12803,7 +12803,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12822,7 +12822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12841,7 +12841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QListWidget::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12871,7 +12871,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12901,7 +12901,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12920,7 +12920,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12939,7 +12939,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12958,7 +12958,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12977,7 +12977,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13007,7 +13007,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QListWidget::mimeData(const QList items0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13037,7 +13037,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QListWidget::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13067,7 +13067,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13086,7 +13086,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13105,7 +13105,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13124,7 +13124,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13143,7 +13143,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13162,7 +13162,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13192,7 +13192,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QListWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13222,7 +13222,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13241,7 +13241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QListWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13271,7 +13271,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13290,7 +13290,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13309,7 +13309,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13328,7 +13328,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13347,7 +13347,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13366,7 +13366,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13385,7 +13385,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13404,7 +13404,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QListWidget::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13434,7 +13434,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13453,7 +13453,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QListWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13483,7 +13483,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13502,7 +13502,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13521,7 +13521,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13540,7 +13540,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13559,7 +13559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QListWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13589,7 +13589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13608,7 +13608,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListWidget::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13638,7 +13638,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListWidget::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13668,7 +13668,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13687,7 +13687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QListWidget::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13717,7 +13717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13736,7 +13736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13755,7 +13755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13774,7 +13774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13793,7 +13793,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13812,7 +13812,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListWidget::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13842,7 +13842,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13861,7 +13861,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13880,7 +13880,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QListWidget::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13910,7 +13910,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13940,7 +13940,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QListWidget::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13970,7 +13970,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QListWidget::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14000,7 +14000,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QListWidget::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14030,7 +14030,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14249,7 +14249,7 @@ PythonQtShell_QListWidgetItem::~PythonQtShell_QListWidgetItem() { } QListWidgetItem* PythonQtShell_QListWidgetItem::clone() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14279,7 +14279,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QListWidgetItem::data(int role0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14309,7 +14309,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidgetItem::__lt__(const QListWidgetItem& other0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("__lt__"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14339,7 +14339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidgetItem::read(QDataStream& in0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14358,7 +14358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidgetItem::setBackgroundColor(const QColor& color0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setBackgroundColor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14377,7 +14377,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidgetItem::setData(int role0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14396,7 +14396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidgetItem::write(QDataStream& out0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14608,7 +14608,7 @@ PythonQtShell_QMainWindow::~PythonQtShell_QMainWindow() { } void PythonQtShell_QMainWindow::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14627,7 +14627,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14646,7 +14646,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14665,7 +14665,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14684,7 +14684,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::contextMenuEvent(QContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14703,7 +14703,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMenu* PythonQtShell_QMainWindow::createPopupMenu() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createPopupMenu"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14733,7 +14733,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14752,7 +14752,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMainWindow::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14782,7 +14782,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14801,7 +14801,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14820,7 +14820,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14839,7 +14839,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14858,7 +14858,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14877,7 +14877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMainWindow::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14907,7 +14907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMainWindow::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14937,7 +14937,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14956,7 +14956,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMainWindow::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14986,7 +14986,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15005,7 +15005,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMainWindow::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15035,7 +15035,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMainWindow::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15065,7 +15065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15084,7 +15084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15103,7 +15103,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15122,7 +15122,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QMainWindow::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15152,7 +15152,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15171,7 +15171,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15190,7 +15190,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15209,7 +15209,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMainWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15239,7 +15239,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QMainWindow::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15269,7 +15269,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15288,7 +15288,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15307,7 +15307,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15326,7 +15326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15345,7 +15345,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15364,7 +15364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMainWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15394,7 +15394,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QMainWindow::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15424,7 +15424,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15443,7 +15443,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QMainWindow::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15473,7 +15473,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15492,7 +15492,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QMainWindow::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15522,7 +15522,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15541,7 +15541,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QMainWindow::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15571,7 +15571,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15590,7 +15590,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15609,7 +15609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp index f5e5c550f..19bb21947 100644 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp +++ b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp @@ -508,7 +508,7 @@ PythonQtShell_QMdiArea::~PythonQtShell_QMdiArea() { } void PythonQtShell_QMdiArea::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -527,7 +527,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -546,7 +546,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::childEvent(QChildEvent* childEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -565,7 +565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -584,7 +584,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -603,7 +603,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -622,7 +622,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMdiArea::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -652,7 +652,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -671,7 +671,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -690,7 +690,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -709,7 +709,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -728,7 +728,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -747,7 +747,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiArea::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -777,7 +777,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiArea::eventFilter(QObject* object0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -807,7 +807,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -826,7 +826,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiArea::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -856,7 +856,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -875,7 +875,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiArea::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -905,7 +905,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMdiArea::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -935,7 +935,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -954,7 +954,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -973,7 +973,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -992,7 +992,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QMdiArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1022,7 +1022,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1041,7 +1041,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1060,7 +1060,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1079,7 +1079,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMdiArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1109,7 +1109,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1128,7 +1128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1147,7 +1147,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1166,7 +1166,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1185,7 +1185,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1204,7 +1204,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1234,7 +1234,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QMdiArea::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1264,7 +1264,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::paintEvent(QPaintEvent* paintEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1283,7 +1283,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QMdiArea::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1313,7 +1313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::resizeEvent(QResizeEvent* resizeEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1332,7 +1332,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1351,7 +1351,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1370,7 +1370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QMdiArea::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1400,7 +1400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::showEvent(QShowEvent* showEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1419,7 +1419,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1438,7 +1438,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::timerEvent(QTimerEvent* timerEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1457,7 +1457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiArea::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1487,7 +1487,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QMdiArea::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1517,7 +1517,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1721,7 +1721,7 @@ PythonQtShell_QMdiSubWindow::~PythonQtShell_QMdiSubWindow() { } void PythonQtShell_QMdiSubWindow::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1740,7 +1740,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::changeEvent(QEvent* changeEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1759,7 +1759,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::childEvent(QChildEvent* childEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1778,7 +1778,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::closeEvent(QCloseEvent* closeEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1797,7 +1797,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::contextMenuEvent(QContextMenuEvent* contextMenuEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1816,7 +1816,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1835,7 +1835,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMdiSubWindow::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1865,7 +1865,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1884,7 +1884,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1903,7 +1903,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1922,7 +1922,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1941,7 +1941,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1960,7 +1960,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiSubWindow::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1990,7 +1990,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiSubWindow::eventFilter(QObject* object0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2020,7 +2020,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::focusInEvent(QFocusEvent* focusInEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2039,7 +2039,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiSubWindow::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2069,7 +2069,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::focusOutEvent(QFocusEvent* focusOutEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2088,7 +2088,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiSubWindow::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2118,7 +2118,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMdiSubWindow::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2148,7 +2148,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::hideEvent(QHideEvent* hideEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2167,7 +2167,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2186,7 +2186,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2205,7 +2205,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QMdiSubWindow::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2235,7 +2235,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::keyPressEvent(QKeyEvent* keyEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2254,7 +2254,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2273,7 +2273,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::leaveEvent(QEvent* leaveEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2292,7 +2292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMdiSubWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2322,7 +2322,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::mouseDoubleClickEvent(QMouseEvent* mouseEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2341,7 +2341,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::mouseMoveEvent(QMouseEvent* mouseEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2360,7 +2360,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::mousePressEvent(QMouseEvent* mouseEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2379,7 +2379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::mouseReleaseEvent(QMouseEvent* mouseEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2398,7 +2398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::moveEvent(QMoveEvent* moveEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2417,7 +2417,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiSubWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2447,7 +2447,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QMdiSubWindow::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2477,7 +2477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::paintEvent(QPaintEvent* paintEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2496,7 +2496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QMdiSubWindow::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2526,7 +2526,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::resizeEvent(QResizeEvent* resizeEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2545,7 +2545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QMdiSubWindow::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2575,7 +2575,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::showEvent(QShowEvent* showEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2594,7 +2594,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2613,7 +2613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::timerEvent(QTimerEvent* timerEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2632,7 +2632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2841,7 +2841,7 @@ PythonQtShell_QMenu::~PythonQtShell_QMenu() { } void PythonQtShell_QMenu::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2860,7 +2860,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2879,7 +2879,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2898,7 +2898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2917,7 +2917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2936,7 +2936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2955,7 +2955,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMenu::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2985,7 +2985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3004,7 +3004,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3023,7 +3023,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3042,7 +3042,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3061,7 +3061,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3080,7 +3080,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenu::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3110,7 +3110,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenu::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3140,7 +3140,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3159,7 +3159,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenu::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3189,7 +3189,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3208,7 +3208,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenu::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3238,7 +3238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMenu::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3268,7 +3268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3287,7 +3287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3306,7 +3306,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3325,7 +3325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QMenu::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3355,7 +3355,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3374,7 +3374,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3393,7 +3393,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3412,7 +3412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMenu::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3442,7 +3442,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QMenu::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3472,7 +3472,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3491,7 +3491,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3510,7 +3510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3529,7 +3529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3548,7 +3548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3567,7 +3567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenu::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3597,7 +3597,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QMenu::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3627,7 +3627,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3646,7 +3646,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QMenu::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3676,7 +3676,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3695,7 +3695,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QMenu::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3725,7 +3725,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3744,7 +3744,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3763,7 +3763,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3782,7 +3782,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4070,7 +4070,7 @@ PythonQtShell_QMenuBar::~PythonQtShell_QMenuBar() { } void PythonQtShell_QMenuBar::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4089,7 +4089,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4108,7 +4108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4127,7 +4127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4146,7 +4146,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4165,7 +4165,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4184,7 +4184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMenuBar::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4214,7 +4214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4233,7 +4233,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4252,7 +4252,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4271,7 +4271,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4290,7 +4290,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4309,7 +4309,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenuBar::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4339,7 +4339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenuBar::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4369,7 +4369,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4388,7 +4388,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenuBar::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4418,7 +4418,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4437,7 +4437,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenuBar::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4467,7 +4467,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMenuBar::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4497,7 +4497,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4516,7 +4516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4535,7 +4535,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4554,7 +4554,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QMenuBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4584,7 +4584,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4603,7 +4603,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4622,7 +4622,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4641,7 +4641,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMenuBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4671,7 +4671,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4690,7 +4690,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4709,7 +4709,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4728,7 +4728,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4747,7 +4747,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4766,7 +4766,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenuBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4796,7 +4796,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QMenuBar::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4826,7 +4826,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4845,7 +4845,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QMenuBar::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4875,7 +4875,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4894,7 +4894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::setVisible(bool visible0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4913,7 +4913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QMenuBar::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4943,7 +4943,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4962,7 +4962,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4981,7 +4981,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5000,7 +5000,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5224,7 +5224,7 @@ PythonQtShell_QMessageBox::~PythonQtShell_QMessageBox() { } void PythonQtShell_QMessageBox::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5243,7 +5243,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5262,7 +5262,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5281,7 +5281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5300,7 +5300,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5319,7 +5319,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5338,7 +5338,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5357,7 +5357,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMessageBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5387,7 +5387,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::done(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5406,7 +5406,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5425,7 +5425,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5444,7 +5444,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5463,7 +5463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5482,7 +5482,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5501,7 +5501,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMessageBox::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5531,7 +5531,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMessageBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5561,7 +5561,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMessageBox::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5591,7 +5591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5610,7 +5610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMessageBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5640,7 +5640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5659,7 +5659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMessageBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5689,7 +5689,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMessageBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5719,7 +5719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5738,7 +5738,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5757,7 +5757,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5776,7 +5776,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QMessageBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5806,7 +5806,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5825,7 +5825,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5844,7 +5844,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5863,7 +5863,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMessageBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5893,7 +5893,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5912,7 +5912,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5931,7 +5931,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5950,7 +5950,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5969,7 +5969,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5988,7 +5988,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMessageBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6018,7 +6018,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6037,7 +6037,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QMessageBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6067,7 +6067,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6086,7 +6086,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QMessageBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6116,7 +6116,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6135,7 +6135,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6154,7 +6154,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QMessageBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6184,7 +6184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6203,7 +6203,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6222,7 +6222,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6241,7 +6241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6582,7 +6582,7 @@ PythonQtShell_QMouseEventTransition::~PythonQtShell_QMouseEventTransition() { } void PythonQtShell_QMouseEventTransition::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6601,7 +6601,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMouseEventTransition::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6620,7 +6620,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMouseEventTransition::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6650,7 +6650,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMouseEventTransition::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6680,7 +6680,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMouseEventTransition::eventTest(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6710,7 +6710,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMouseEventTransition::onTransition(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6729,7 +6729,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMouseEventTransition::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6822,7 +6822,7 @@ PythonQtShell_QMovie::~PythonQtShell_QMovie() { } void PythonQtShell_QMovie::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6841,7 +6841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMovie::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6860,7 +6860,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMovie::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6890,7 +6890,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMovie::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6920,7 +6920,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMovie::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7181,7 +7181,7 @@ PythonQtShell_QOpenGLContext::~PythonQtShell_QOpenGLContext() { } void PythonQtShell_QOpenGLContext::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7200,7 +7200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLContext::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7219,7 +7219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLContext::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7249,7 +7249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLContext::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7279,7 +7279,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLContext::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8110,7 +8110,7 @@ PythonQtShell_QOpenGLPaintDevice::~PythonQtShell_QOpenGLPaintDevice() { } int PythonQtShell_QOpenGLPaintDevice::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8140,7 +8140,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLPaintDevice::ensureActiveTarget() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ensureActiveTarget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8159,7 +8159,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLPaintDevice::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8178,7 +8178,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QOpenGLPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8208,7 +8208,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QOpenGLPaintDevice::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8238,7 +8238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QOpenGLPaintDevice::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8268,7 +8268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QOpenGLPaintDevice::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8381,7 +8381,7 @@ PythonQtShell_QOpenGLShader::~PythonQtShell_QOpenGLShader() { } void PythonQtShell_QOpenGLShader::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8400,7 +8400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLShader::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8419,7 +8419,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLShader::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8449,7 +8449,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLShader::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8479,7 +8479,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLShader::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8558,7 +8558,7 @@ PythonQtShell_QOpenGLShaderProgram::~PythonQtShell_QOpenGLShaderProgram() { } void PythonQtShell_QOpenGLShaderProgram::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8577,7 +8577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLShaderProgram::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8596,7 +8596,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLShaderProgram::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8626,7 +8626,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLShaderProgram::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8656,7 +8656,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLShaderProgram::link() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("link"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8686,7 +8686,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLShaderProgram::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9235,7 +9235,7 @@ PythonQtShell_QPageSetupDialog::~PythonQtShell_QPageSetupDialog() { } void PythonQtShell_QPageSetupDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9254,7 +9254,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9273,7 +9273,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9292,7 +9292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9311,7 +9311,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9330,7 +9330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9349,7 +9349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9368,7 +9368,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPageSetupDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9398,7 +9398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::done(int result0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9417,7 +9417,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9436,7 +9436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9455,7 +9455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9474,7 +9474,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9493,7 +9493,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9512,7 +9512,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPageSetupDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9542,7 +9542,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPageSetupDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9572,7 +9572,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPageSetupDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9602,7 +9602,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9621,7 +9621,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPageSetupDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9651,7 +9651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9670,7 +9670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPageSetupDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9700,7 +9700,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPageSetupDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9730,7 +9730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9749,7 +9749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9768,7 +9768,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9787,7 +9787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QPageSetupDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9817,7 +9817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9836,7 +9836,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9855,7 +9855,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9874,7 +9874,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPageSetupDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9904,7 +9904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9923,7 +9923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9942,7 +9942,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9961,7 +9961,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9980,7 +9980,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9999,7 +9999,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPageSetupDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10029,7 +10029,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10048,7 +10048,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPageSetupDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10078,7 +10078,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10097,7 +10097,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPageSetupDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10127,7 +10127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10146,7 +10146,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10165,7 +10165,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPageSetupDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10195,7 +10195,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10214,7 +10214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10233,7 +10233,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10252,7 +10252,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10310,7 +10310,7 @@ PythonQtShell_QPagedPaintDevice::~PythonQtShell_QPagedPaintDevice() { } int PythonQtShell_QPagedPaintDevice::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10340,7 +10340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPagedPaintDevice::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10359,7 +10359,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPagedPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10389,7 +10389,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPagedPaintDevice::newPage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10419,7 +10419,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPagedPaintDevice::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10449,7 +10449,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPagedPaintDevice::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10479,7 +10479,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPagedPaintDevice::setMargins(const QPagedPaintDevice::Margins& margins0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10498,7 +10498,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPagedPaintDevice::setPageSize(QPagedPaintDevice::PageSize size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPageSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10517,7 +10517,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPagedPaintDevice::setPageSizeMM(const QSizeF& size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPageSizeMM"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10536,7 +10536,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPagedPaintDevice::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10621,7 +10621,7 @@ PythonQtShell_QPaintDevice::~PythonQtShell_QPaintDevice() { } int PythonQtShell_QPaintDevice::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10651,7 +10651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintDevice::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10670,7 +10670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10700,7 +10700,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPaintDevice::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10730,7 +10730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPaintDevice::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10760,7 +10760,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPaintDevice::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10885,7 +10885,7 @@ PythonQtShell_QPaintEngine::~PythonQtShell_QPaintEngine() { } bool PythonQtShell_QPaintEngine::begin(QPaintDevice* pdev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("begin"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10915,7 +10915,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPoint PythonQtShell_QPaintEngine::coordinateOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("coordinateOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10945,7 +10945,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawEllipse(const QRect& r0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawEllipse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10964,7 +10964,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawEllipse(const QRectF& r0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawEllipse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10983,7 +10983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawImage(const QRectF& r0, const QImage& pm1, const QRectF& sr2, Qt::ImageConversionFlags flags3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawImage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11002,7 +11002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawLines(const QLine* lines0, int lineCount1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawLines"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11021,7 +11021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawLines(const QLineF* lines0, int lineCount1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawLines"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11040,7 +11040,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawPath(const QPainterPath& path0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11059,7 +11059,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawPixmap(const QRectF& r0, const QPixmap& pm1, const QRectF& sr2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11078,7 +11078,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawPoints(const QPoint* points0, int pointCount1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPoints"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11097,7 +11097,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawPoints(const QPointF* points0, int pointCount1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPoints"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11116,7 +11116,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawPolygon(const QPoint* points0, int pointCount1, QPaintEngine::PolygonDrawMode mode2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPolygon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11135,7 +11135,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawPolygon(const QPointF* points0, int pointCount1, QPaintEngine::PolygonDrawMode mode2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPolygon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11154,7 +11154,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawRects(const QRect* rects0, int rectCount1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawRects"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11173,7 +11173,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawRects(const QRectF* rects0, int rectCount1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawRects"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11192,7 +11192,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawTextItem(const QPointF& p0, const QTextItem& textItem1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawTextItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11211,7 +11211,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawTiledPixmap(const QRectF& r0, const QPixmap& pixmap1, const QPointF& s2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawTiledPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11230,7 +11230,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPaintEngine::end() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("end"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11260,7 +11260,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine::Type PythonQtShell_QPaintEngine::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11290,7 +11290,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::updateState(const QPaintEngineState& state0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp index 5a46209b5..d3243dfd6 100644 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp +++ b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp @@ -146,7 +146,7 @@ PythonQtShell_QPanGesture::~PythonQtShell_QPanGesture() { } void PythonQtShell_QPanGesture::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -165,7 +165,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPanGesture::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -184,7 +184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPanGesture::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -214,7 +214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPanGesture::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -244,7 +244,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPanGesture::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -308,7 +308,7 @@ PythonQtShell_QPdfWriter::~PythonQtShell_QPdfWriter() { } void PythonQtShell_QPdfWriter::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -327,7 +327,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPdfWriter::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -346,7 +346,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPdfWriter::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -376,7 +376,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPdfWriter::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -406,7 +406,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPdfWriter::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -436,7 +436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPdfWriter::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -455,7 +455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPdfWriter::metric(QPaintDevice::PaintDeviceMetric id0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -485,7 +485,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPdfWriter::newPage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -515,7 +515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPdfWriter::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -545,7 +545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPdfWriter::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -575,7 +575,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPdfWriter::setMargins(const QPagedPaintDevice::Margins& m0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -594,7 +594,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPdfWriter::setPageSize(QPagedPaintDevice::PageSize size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPageSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -613,7 +613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPdfWriter::setPageSizeMM(const QSizeF& size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPageSizeMM"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -632,7 +632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPdfWriter::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -662,7 +662,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPdfWriter::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -745,7 +745,7 @@ PythonQtShell_QPicture::~PythonQtShell_QPicture() { } int PythonQtShell_QPicture::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -775,7 +775,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPicture::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -794,7 +794,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPicture::metric(QPaintDevice::PaintDeviceMetric m0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -824,7 +824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPicture::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -854,7 +854,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPicture::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -884,7 +884,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPicture::setData(const char* data0, uint size1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -903,7 +903,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPicture::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1027,7 +1027,7 @@ PythonQtShell_QPictureFormatPlugin::~PythonQtShell_QPictureFormatPlugin() { } void PythonQtShell_QPictureFormatPlugin::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1046,7 +1046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPictureFormatPlugin::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1065,7 +1065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPictureFormatPlugin::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1095,7 +1095,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPictureFormatPlugin::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1125,7 +1125,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPictureFormatPlugin::installIOHandler(const QString& format0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("installIOHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1155,7 +1155,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPictureFormatPlugin::loadPicture(const QString& format0, const QString& filename1, QPicture* pic2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("loadPicture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1185,7 +1185,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPictureFormatPlugin::savePicture(const QString& format0, const QString& filename1, const QPicture& pic2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("savePicture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1215,7 +1215,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPictureFormatPlugin::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1393,7 +1393,7 @@ PythonQtShell_QPinchGesture::~PythonQtShell_QPinchGesture() { } void PythonQtShell_QPinchGesture::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1412,7 +1412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPinchGesture::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1431,7 +1431,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPinchGesture::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1461,7 +1461,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPinchGesture::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1491,7 +1491,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPinchGesture::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1715,7 +1715,7 @@ PythonQtShell_QPlainTextDocumentLayout::~PythonQtShell_QPlainTextDocumentLayout( } QRectF PythonQtShell_QPlainTextDocumentLayout::blockBoundingRect(const QTextBlock& block0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("blockBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1745,7 +1745,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextDocumentLayout::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1764,7 +1764,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextDocumentLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1783,7 +1783,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextDocumentLayout::documentChanged(int from0, int arg__2, int charsAdded2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("documentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1802,7 +1802,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizeF PythonQtShell_QPlainTextDocumentLayout::documentSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("documentSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1832,7 +1832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextDocumentLayout::draw(QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1851,7 +1851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextDocumentLayout::drawInlineObject(QPainter* painter0, const QRectF& rect1, QTextInlineObject object2, int posInDocument3, const QTextFormat& format4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1870,7 +1870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextDocumentLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1900,7 +1900,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextDocumentLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1930,7 +1930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRectF PythonQtShell_QPlainTextDocumentLayout::frameBoundingRect(QTextFrame* arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("frameBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1960,7 +1960,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPlainTextDocumentLayout::hitTest(const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1990,7 +1990,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPlainTextDocumentLayout::pageCount() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pageCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2020,7 +2020,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextDocumentLayout::positionInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("positionInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2039,7 +2039,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextDocumentLayout::resizeInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2058,7 +2058,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextDocumentLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2142,7 +2142,7 @@ PythonQtShell_QPlainTextEdit::~PythonQtShell_QPlainTextEdit() { } void PythonQtShell_QPlainTextEdit::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2161,7 +2161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextEdit::canInsertFromMimeData(const QMimeData* source0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canInsertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2191,7 +2191,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2210,7 +2210,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2229,7 +2229,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2248,7 +2248,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::contextMenuEvent(QContextMenuEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2267,7 +2267,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QPlainTextEdit::createMimeDataFromSelection() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createMimeDataFromSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2297,7 +2297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2316,7 +2316,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPlainTextEdit::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2346,7 +2346,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::doSetTextCursor(const QTextCursor& cursor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doSetTextCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2365,7 +2365,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::dragEnterEvent(QDragEnterEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2384,7 +2384,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2403,7 +2403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::dragMoveEvent(QDragMoveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2422,7 +2422,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::dropEvent(QDropEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2441,7 +2441,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2460,7 +2460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextEdit::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2490,7 +2490,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2520,7 +2520,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2539,7 +2539,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextEdit::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2569,7 +2569,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::focusOutEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2588,7 +2588,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextEdit::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2618,7 +2618,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPlainTextEdit::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2648,7 +2648,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2667,7 +2667,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2686,7 +2686,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2705,7 +2705,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QPlainTextEdit::inputMethodQuery(Qt::InputMethodQuery property0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2735,7 +2735,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::insertFromMimeData(const QMimeData* source0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2754,7 +2754,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::keyPressEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2773,7 +2773,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2792,7 +2792,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2811,7 +2811,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QPlainTextEdit::loadResource(int type0, const QUrl& name1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2841,7 +2841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPlainTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2871,7 +2871,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2890,7 +2890,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2909,7 +2909,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2928,7 +2928,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2947,7 +2947,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2966,7 +2966,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2996,7 +2996,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPlainTextEdit::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3026,7 +3026,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3045,7 +3045,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPlainTextEdit::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3075,7 +3075,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3094,7 +3094,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3113,7 +3113,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3132,7 +3132,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPlainTextEdit::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3162,7 +3162,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3181,7 +3181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3200,7 +3200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3219,7 +3219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextEdit::viewportEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3249,7 +3249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QPlainTextEdit::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3279,7 +3279,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::wheelEvent(QWheelEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4015,7 +4015,7 @@ PythonQtShell_QPrintDialog::~PythonQtShell_QPrintDialog() { } void PythonQtShell_QPrintDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4034,7 +4034,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4053,7 +4053,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4072,7 +4072,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4091,7 +4091,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4110,7 +4110,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4129,7 +4129,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4148,7 +4148,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrintDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4178,7 +4178,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::done(int result0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4197,7 +4197,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4216,7 +4216,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4235,7 +4235,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4254,7 +4254,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4273,7 +4273,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4292,7 +4292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4322,7 +4322,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4352,7 +4352,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrintDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4382,7 +4382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4401,7 +4401,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4431,7 +4431,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4450,7 +4450,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4480,7 +4480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrintDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4510,7 +4510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4529,7 +4529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4548,7 +4548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4567,7 +4567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QPrintDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4597,7 +4597,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4616,7 +4616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4635,7 +4635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4654,7 +4654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrintDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4684,7 +4684,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4703,7 +4703,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4722,7 +4722,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4741,7 +4741,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4760,7 +4760,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4779,7 +4779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4809,7 +4809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4828,7 +4828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPrintDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4858,7 +4858,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4877,7 +4877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPrintDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4907,7 +4907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4926,7 +4926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4945,7 +4945,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPrintDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4975,7 +4975,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4994,7 +4994,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5013,7 +5013,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5032,7 +5032,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5120,7 +5120,7 @@ PythonQtShell_QPrintEngine::~PythonQtShell_QPrintEngine() { } bool PythonQtShell_QPrintEngine::abort() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("abort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5150,7 +5150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrintEngine::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5180,7 +5180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintEngine::newPage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5210,7 +5210,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPrinter::PrinterState PythonQtShell_QPrintEngine::printerState() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("printerState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5240,7 +5240,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QPrintEngine::property(QPrintEngine::PrintEnginePropertyKey key0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("property"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5270,7 +5270,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintEngine::setProperty(QPrintEngine::PrintEnginePropertyKey key0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5329,7 +5329,7 @@ PythonQtShell_QPrintPreviewDialog::~PythonQtShell_QPrintPreviewDialog() { } void PythonQtShell_QPrintPreviewDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5348,7 +5348,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5367,7 +5367,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5386,7 +5386,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5405,7 +5405,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5424,7 +5424,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5443,7 +5443,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5462,7 +5462,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrintPreviewDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5492,7 +5492,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::done(int result0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5511,7 +5511,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5530,7 +5530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5549,7 +5549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5568,7 +5568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5587,7 +5587,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5606,7 +5606,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintPreviewDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5636,7 +5636,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintPreviewDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5666,7 +5666,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrintPreviewDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5696,7 +5696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5715,7 +5715,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintPreviewDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5745,7 +5745,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5764,7 +5764,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintPreviewDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5794,7 +5794,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrintPreviewDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5824,7 +5824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5843,7 +5843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5862,7 +5862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5881,7 +5881,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QPrintPreviewDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5911,7 +5911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5930,7 +5930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5949,7 +5949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5968,7 +5968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrintPreviewDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5998,7 +5998,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6017,7 +6017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6036,7 +6036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6055,7 +6055,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6074,7 +6074,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6093,7 +6093,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintPreviewDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6123,7 +6123,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6142,7 +6142,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPrintPreviewDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6172,7 +6172,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6191,7 +6191,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPrintPreviewDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6221,7 +6221,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6240,7 +6240,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6259,7 +6259,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPrintPreviewDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6289,7 +6289,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6308,7 +6308,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6327,7 +6327,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6346,7 +6346,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6404,7 +6404,7 @@ PythonQtShell_QPrintPreviewWidget::~PythonQtShell_QPrintPreviewWidget() { } void PythonQtShell_QPrintPreviewWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6423,7 +6423,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6442,7 +6442,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6461,7 +6461,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6480,7 +6480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6499,7 +6499,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6518,7 +6518,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrintPreviewWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6548,7 +6548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6567,7 +6567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6586,7 +6586,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6605,7 +6605,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6624,7 +6624,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6643,7 +6643,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintPreviewWidget::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6673,7 +6673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintPreviewWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6703,7 +6703,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6722,7 +6722,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintPreviewWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6752,7 +6752,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6771,7 +6771,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintPreviewWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6801,7 +6801,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrintPreviewWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6831,7 +6831,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6850,7 +6850,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6869,7 +6869,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6888,7 +6888,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QPrintPreviewWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6918,7 +6918,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6937,7 +6937,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6956,7 +6956,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6975,7 +6975,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrintPreviewWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7005,7 +7005,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QPrintPreviewWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7035,7 +7035,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7054,7 +7054,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7073,7 +7073,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7092,7 +7092,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7111,7 +7111,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7130,7 +7130,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintPreviewWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7160,7 +7160,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPrintPreviewWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7190,7 +7190,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7209,7 +7209,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPrintPreviewWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7239,7 +7239,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7258,7 +7258,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPrintPreviewWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7288,7 +7288,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7307,7 +7307,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QPrintPreviewWidget::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7337,7 +7337,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7356,7 +7356,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7375,7 +7375,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7443,7 +7443,7 @@ PythonQtShell_QPrinter::~PythonQtShell_QPrinter() { } int PythonQtShell_QPrinter::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7473,7 +7473,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrinter::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7492,7 +7492,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrinter::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7522,7 +7522,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrinter::newPage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7552,7 +7552,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPrinter::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7582,7 +7582,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPrinter::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7612,7 +7612,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrinter::setMargins(const QPagedPaintDevice::Margins& m0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7631,7 +7631,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrinter::setPageSize(QPagedPaintDevice::PageSize arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPageSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7650,7 +7650,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrinter::setPageSizeMM(const QSizeF& size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPageSizeMM"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7669,7 +7669,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPrinter::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8112,7 +8112,7 @@ PythonQtShell_QProgressBar::~PythonQtShell_QProgressBar() { } void PythonQtShell_QProgressBar::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8131,7 +8131,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8150,7 +8150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8169,7 +8169,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8188,7 +8188,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8207,7 +8207,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8226,7 +8226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProgressBar::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8256,7 +8256,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8275,7 +8275,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8294,7 +8294,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8313,7 +8313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8332,7 +8332,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8351,7 +8351,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressBar::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8381,7 +8381,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressBar::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8411,7 +8411,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8430,7 +8430,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressBar::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8460,7 +8460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8479,7 +8479,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressBar::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8509,7 +8509,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProgressBar::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8539,7 +8539,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8558,7 +8558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8577,7 +8577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8596,7 +8596,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QProgressBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8626,7 +8626,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8645,7 +8645,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8664,7 +8664,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8683,7 +8683,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProgressBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8713,7 +8713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8732,7 +8732,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8751,7 +8751,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8770,7 +8770,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8789,7 +8789,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8808,7 +8808,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8838,7 +8838,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QProgressBar::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8868,7 +8868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8887,7 +8887,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QProgressBar::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8917,7 +8917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8936,7 +8936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QProgressBar::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8966,7 +8966,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8985,7 +8985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9004,7 +9004,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QProgressBar::text() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("text"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9034,7 +9034,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9053,7 +9053,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9182,7 +9182,7 @@ PythonQtShell_QProgressDialog::~PythonQtShell_QProgressDialog() { } void PythonQtShell_QProgressDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9201,7 +9201,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9220,7 +9220,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9239,7 +9239,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9258,7 +9258,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9277,7 +9277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9296,7 +9296,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9315,7 +9315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProgressDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9345,7 +9345,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::done(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9364,7 +9364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9383,7 +9383,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9402,7 +9402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9421,7 +9421,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9440,7 +9440,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9459,7 +9459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9489,7 +9489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9519,7 +9519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProgressDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9549,7 +9549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9568,7 +9568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9598,7 +9598,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9617,7 +9617,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9647,7 +9647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProgressDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9677,7 +9677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9696,7 +9696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9715,7 +9715,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9734,7 +9734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QProgressDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9764,7 +9764,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9783,7 +9783,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9802,7 +9802,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9821,7 +9821,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProgressDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9851,7 +9851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9870,7 +9870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9889,7 +9889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9908,7 +9908,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9927,7 +9927,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9946,7 +9946,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9976,7 +9976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9995,7 +9995,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QProgressDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10025,7 +10025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10044,7 +10044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QProgressDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10074,7 +10074,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10093,7 +10093,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10112,7 +10112,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QProgressDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10142,7 +10142,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10161,7 +10161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10180,7 +10180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10199,7 +10199,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10332,7 +10332,7 @@ PythonQtShell_QProxyStyle::~PythonQtShell_QProxyStyle() { } void PythonQtShell_QProxyStyle::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10351,7 +10351,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10370,7 +10370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::drawComplexControl(QStyle::ComplexControl control0, const QStyleOptionComplex* option1, QPainter* painter2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10389,7 +10389,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::drawControl(QStyle::ControlElement element0, const QStyleOption* option1, QPainter* painter2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10408,7 +10408,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::drawItemPixmap(QPainter* painter0, const QRect& rect1, int alignment2, const QPixmap& pixmap3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawItemPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10427,7 +10427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::drawItemText(QPainter* painter0, const QRect& rect1, int flags2, const QPalette& pal3, bool enabled4, const QString& text5, QPalette::ColorRole textRole6) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawItemText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10446,7 +10446,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::drawPrimitive(QStyle::PrimitiveElement element0, const QStyleOption* option1, QPainter* painter2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPrimitive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10465,7 +10465,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProxyStyle::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10495,7 +10495,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProxyStyle::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10525,7 +10525,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPixmap PythonQtShell_QProxyStyle::generatedIconPixmap(QIcon::Mode iconMode0, const QPixmap& pixmap1, const QStyleOption* opt2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("generatedIconPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10555,7 +10555,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyle::SubControl PythonQtShell_QProxyStyle::hitTestComplexControl(QStyle::ComplexControl control0, const QStyleOptionComplex* option1, const QPoint& pos2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitTestComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10585,7 +10585,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QProxyStyle::itemPixmapRect(const QRect& r0, int flags1, const QPixmap& pixmap2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemPixmapRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10615,7 +10615,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProxyStyle::layoutSpacing(QSizePolicy::ControlType control10, QSizePolicy::ControlType control21, Qt::Orientation orientation2, const QStyleOption* option3, const QWidget* widget4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layoutSpacing"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10645,7 +10645,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProxyStyle::pixelMetric(QStyle::PixelMetric metric0, const QStyleOption* option1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pixelMetric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10675,7 +10675,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::polish(QApplication* app0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10694,7 +10694,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::polish(QPalette& pal0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10713,7 +10713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::polish(QWidget* widget0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10732,7 +10732,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QProxyStyle::sizeFromContents(QStyle::ContentsType type0, const QStyleOption* option1, const QSize& size2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10762,7 +10762,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIcon PythonQtShell_QProxyStyle::standardIcon(QStyle::StandardPixmap standardIcon0, const QStyleOption* option1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardIcon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10792,7 +10792,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPalette PythonQtShell_QProxyStyle::standardPalette() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardPalette"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10822,7 +10822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPixmap PythonQtShell_QProxyStyle::standardPixmap(QStyle::StandardPixmap standardPixmap0, const QStyleOption* opt1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10852,7 +10852,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProxyStyle::styleHint(QStyle::StyleHint hint0, const QStyleOption* option1, const QWidget* widget2, QStyleHintReturn* returnData3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("styleHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10882,7 +10882,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QProxyStyle::subControlRect(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QStyle::SubControl sc2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("subControlRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10912,7 +10912,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QProxyStyle::subElementRect(QStyle::SubElement element0, const QStyleOption* option1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("subElementRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10942,7 +10942,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10961,7 +10961,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::unpolish(QApplication* app0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10980,7 +10980,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::unpolish(QWidget* widget0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11139,7 +11139,7 @@ PythonQtShell_QPushButton::~PythonQtShell_QPushButton() { } void PythonQtShell_QPushButton::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11158,7 +11158,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11177,7 +11177,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::checkStateSet() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11196,7 +11196,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11215,7 +11215,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11234,7 +11234,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11253,7 +11253,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11272,7 +11272,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPushButton::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11302,7 +11302,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11321,7 +11321,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11340,7 +11340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11359,7 +11359,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11378,7 +11378,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11397,7 +11397,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPushButton::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11427,7 +11427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPushButton::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11457,7 +11457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11476,7 +11476,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPushButton::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11506,7 +11506,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11525,7 +11525,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPushButton::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11555,7 +11555,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPushButton::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11585,7 +11585,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11604,7 +11604,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPushButton::hitButton(const QPoint& pos0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11634,7 +11634,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11653,7 +11653,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11672,7 +11672,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QPushButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11702,7 +11702,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11721,7 +11721,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11740,7 +11740,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11759,7 +11759,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPushButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11789,7 +11789,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11808,7 +11808,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11827,7 +11827,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11846,7 +11846,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11865,7 +11865,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11884,7 +11884,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPushButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11914,7 +11914,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::nextCheckState() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11933,7 +11933,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPushButton::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11963,7 +11963,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11982,7 +11982,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPushButton::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12012,7 +12012,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12031,7 +12031,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPushButton::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12061,7 +12061,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12080,7 +12080,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12099,7 +12099,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12118,7 +12118,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12535,7 +12535,7 @@ PythonQtShell_QRadioButton::~PythonQtShell_QRadioButton() { } void PythonQtShell_QRadioButton::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12554,7 +12554,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12573,7 +12573,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::checkStateSet() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12592,7 +12592,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12611,7 +12611,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12630,7 +12630,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12649,7 +12649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12668,7 +12668,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QRadioButton::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12698,7 +12698,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12717,7 +12717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12736,7 +12736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12755,7 +12755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12774,7 +12774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12793,7 +12793,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioButton::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12823,7 +12823,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioButton::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12853,7 +12853,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12872,7 +12872,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioButton::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12902,7 +12902,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::focusOutEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12921,7 +12921,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioButton::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12951,7 +12951,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QRadioButton::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12981,7 +12981,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13000,7 +13000,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioButton::hitButton(const QPoint& arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13030,7 +13030,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13049,7 +13049,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13068,7 +13068,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QRadioButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13098,7 +13098,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::keyPressEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13117,7 +13117,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13136,7 +13136,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13155,7 +13155,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QRadioButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13185,7 +13185,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13204,7 +13204,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13223,7 +13223,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13242,7 +13242,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13261,7 +13261,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13280,7 +13280,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13310,7 +13310,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::nextCheckState() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13329,7 +13329,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QRadioButton::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13359,7 +13359,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13378,7 +13378,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QRadioButton::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13408,7 +13408,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13427,7 +13427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QRadioButton::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13457,7 +13457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13476,7 +13476,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13495,7 +13495,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13514,7 +13514,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13775,7 +13775,7 @@ PythonQtShell_QRegExpValidator::~PythonQtShell_QRegExpValidator() { } void PythonQtShell_QRegExpValidator::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13794,7 +13794,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRegExpValidator::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13813,7 +13813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRegExpValidator::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13843,7 +13843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRegExpValidator::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13873,7 +13873,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRegExpValidator::fixup(QString& arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13892,7 +13892,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRegExpValidator::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13911,7 +13911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QRegExpValidator::validate(QString& input0, int& pos1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13990,7 +13990,7 @@ PythonQtShell_QRubberBand::~PythonQtShell_QRubberBand() { } void PythonQtShell_QRubberBand::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14009,7 +14009,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14028,7 +14028,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14047,7 +14047,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14066,7 +14066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14085,7 +14085,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14104,7 +14104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QRubberBand::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14134,7 +14134,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14153,7 +14153,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14172,7 +14172,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14191,7 +14191,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14210,7 +14210,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14229,7 +14229,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRubberBand::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14259,7 +14259,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRubberBand::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14289,7 +14289,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14308,7 +14308,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRubberBand::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14338,7 +14338,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14357,7 +14357,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRubberBand::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14387,7 +14387,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QRubberBand::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14417,7 +14417,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14436,7 +14436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14455,7 +14455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14474,7 +14474,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QRubberBand::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14504,7 +14504,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14523,7 +14523,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14542,7 +14542,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14561,7 +14561,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QRubberBand::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14591,7 +14591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QRubberBand::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14621,7 +14621,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14640,7 +14640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14659,7 +14659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14678,7 +14678,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14697,7 +14697,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14716,7 +14716,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRubberBand::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14746,7 +14746,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QRubberBand::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14776,7 +14776,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14795,7 +14795,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QRubberBand::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14825,7 +14825,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14844,7 +14844,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QRubberBand::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14874,7 +14874,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14893,7 +14893,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QRubberBand::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14923,7 +14923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14942,7 +14942,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14961,7 +14961,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp index 2e0b8eb73..e1b5f0295 100644 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp +++ b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp @@ -229,7 +229,7 @@ PythonQtShell_QScrollArea::~PythonQtShell_QScrollArea() { } void PythonQtShell_QScrollArea::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -248,7 +248,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -267,7 +267,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -286,7 +286,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -305,7 +305,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -324,7 +324,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -343,7 +343,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QScrollArea::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -373,7 +373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -392,7 +392,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -411,7 +411,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -430,7 +430,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -449,7 +449,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -468,7 +468,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollArea::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -498,7 +498,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollArea::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -528,7 +528,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -547,7 +547,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollArea::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -577,7 +577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -596,7 +596,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollArea::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -626,7 +626,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QScrollArea::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -656,7 +656,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -675,7 +675,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -694,7 +694,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -713,7 +713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QScrollArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -743,7 +743,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -762,7 +762,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -781,7 +781,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -800,7 +800,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QScrollArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -830,7 +830,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -849,7 +849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -868,7 +868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -887,7 +887,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -906,7 +906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -925,7 +925,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -955,7 +955,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QScrollArea::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -985,7 +985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1004,7 +1004,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QScrollArea::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1034,7 +1034,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1053,7 +1053,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1072,7 +1072,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1091,7 +1091,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QScrollArea::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1121,7 +1121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1140,7 +1140,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1159,7 +1159,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1178,7 +1178,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollArea::viewportEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1208,7 +1208,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QScrollArea::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1238,7 +1238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1342,7 +1342,7 @@ PythonQtShell_QScrollBar::~PythonQtShell_QScrollBar() { } void PythonQtShell_QScrollBar::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1361,7 +1361,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1380,7 +1380,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1399,7 +1399,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1418,7 +1418,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1437,7 +1437,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1456,7 +1456,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QScrollBar::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1486,7 +1486,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1505,7 +1505,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1524,7 +1524,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1543,7 +1543,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1562,7 +1562,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1581,7 +1581,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollBar::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1611,7 +1611,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollBar::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1641,7 +1641,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1660,7 +1660,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollBar::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1690,7 +1690,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1709,7 +1709,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollBar::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1739,7 +1739,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QScrollBar::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1769,7 +1769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1788,7 +1788,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1807,7 +1807,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1826,7 +1826,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QScrollBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1856,7 +1856,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::keyPressEvent(QKeyEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1875,7 +1875,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1894,7 +1894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1913,7 +1913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QScrollBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1943,7 +1943,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QScrollBar::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1973,7 +1973,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1992,7 +1992,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2011,7 +2011,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2030,7 +2030,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2049,7 +2049,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2068,7 +2068,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2098,7 +2098,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QScrollBar::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2128,7 +2128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2147,7 +2147,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QScrollBar::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2177,7 +2177,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2196,7 +2196,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QScrollBar::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2226,7 +2226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2245,7 +2245,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2264,7 +2264,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2283,7 +2283,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2661,7 +2661,7 @@ PythonQtShell_QShortcut::~PythonQtShell_QShortcut() { } void PythonQtShell_QShortcut::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2680,7 +2680,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QShortcut::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2699,7 +2699,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QShortcut::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2729,7 +2729,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QShortcut::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2759,7 +2759,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QShortcut::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2888,7 +2888,7 @@ PythonQtShell_QSizeGrip::~PythonQtShell_QSizeGrip() { } void PythonQtShell_QSizeGrip::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2907,7 +2907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2926,7 +2926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2945,7 +2945,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2964,7 +2964,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2983,7 +2983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3002,7 +3002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSizeGrip::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3032,7 +3032,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3051,7 +3051,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3070,7 +3070,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3089,7 +3089,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3108,7 +3108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3127,7 +3127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSizeGrip::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3157,7 +3157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSizeGrip::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3187,7 +3187,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3206,7 +3206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSizeGrip::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3236,7 +3236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3255,7 +3255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSizeGrip::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3285,7 +3285,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSizeGrip::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3315,7 +3315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::hideEvent(QHideEvent* hideEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3334,7 +3334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3353,7 +3353,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3372,7 +3372,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSizeGrip::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3402,7 +3402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3421,7 +3421,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3440,7 +3440,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3459,7 +3459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSizeGrip::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3489,7 +3489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSizeGrip::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3519,7 +3519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3538,7 +3538,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3557,7 +3557,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3576,7 +3576,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::mouseReleaseEvent(QMouseEvent* mouseEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3595,7 +3595,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::moveEvent(QMoveEvent* moveEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3614,7 +3614,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSizeGrip::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3644,7 +3644,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QSizeGrip::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3674,7 +3674,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3693,7 +3693,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QSizeGrip::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3723,7 +3723,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3742,7 +3742,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QSizeGrip::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3772,7 +3772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::showEvent(QShowEvent* showEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3791,7 +3791,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3810,7 +3810,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3829,7 +3829,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3913,7 +3913,7 @@ PythonQtShell_QSlider::~PythonQtShell_QSlider() { } void PythonQtShell_QSlider::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3932,7 +3932,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3951,7 +3951,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3970,7 +3970,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3989,7 +3989,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4008,7 +4008,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4027,7 +4027,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSlider::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4057,7 +4057,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4076,7 +4076,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4095,7 +4095,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4114,7 +4114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4133,7 +4133,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4152,7 +4152,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSlider::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4182,7 +4182,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSlider::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4212,7 +4212,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4231,7 +4231,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSlider::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4261,7 +4261,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4280,7 +4280,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSlider::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4310,7 +4310,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSlider::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4340,7 +4340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4359,7 +4359,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4378,7 +4378,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4397,7 +4397,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSlider::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4427,7 +4427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::keyPressEvent(QKeyEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4446,7 +4446,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4465,7 +4465,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4484,7 +4484,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSlider::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4514,7 +4514,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4533,7 +4533,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::mouseMoveEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4552,7 +4552,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::mousePressEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4571,7 +4571,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::mouseReleaseEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4590,7 +4590,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4609,7 +4609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSlider::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4639,7 +4639,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QSlider::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4669,7 +4669,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::paintEvent(QPaintEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4688,7 +4688,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QSlider::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4718,7 +4718,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4737,7 +4737,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QSlider::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4767,7 +4767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4786,7 +4786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4805,7 +4805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4824,7 +4824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::wheelEvent(QWheelEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4917,7 +4917,7 @@ PythonQtShell_QSortFilterProxyModel::~PythonQtShell_QSortFilterProxyModel() { } QModelIndex PythonQtShell_QSortFilterProxyModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4947,7 +4947,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4977,7 +4977,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5007,7 +5007,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSortFilterProxyModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5026,7 +5026,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSortFilterProxyModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5056,7 +5056,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSortFilterProxyModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5075,7 +5075,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSortFilterProxyModel::data(const QModelIndex& index0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5105,7 +5105,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5135,7 +5135,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5165,7 +5165,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5195,7 +5195,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSortFilterProxyModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5214,7 +5214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::filterAcceptsColumn(int source_column0, const QModelIndex& source_parent1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("filterAcceptsColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5244,7 +5244,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::filterAcceptsRow(int source_row0, const QModelIndex& source_parent1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("filterAcceptsRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5274,7 +5274,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QSortFilterProxyModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5304,7 +5304,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::hasChildren(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5334,7 +5334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSortFilterProxyModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5364,7 +5364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSortFilterProxyModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5394,7 +5394,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5424,7 +5424,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5454,7 +5454,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QSortFilterProxyModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5484,7 +5484,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::lessThan(const QModelIndex& left0, const QModelIndex& right1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("lessThan"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5514,7 +5514,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSortFilterProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5544,7 +5544,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelection PythonQtShell_QSortFilterProxyModel::mapSelectionFromSource(const QItemSelection& sourceSelection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapSelectionFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5574,7 +5574,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelection PythonQtShell_QSortFilterProxyModel::mapSelectionToSource(const QItemSelection& proxySelection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapSelectionToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5604,7 +5604,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSortFilterProxyModel::mapToSource(const QModelIndex& proxyIndex0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5634,7 +5634,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QSortFilterProxyModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5664,7 +5664,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QSortFilterProxyModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5694,7 +5694,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QSortFilterProxyModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5724,7 +5724,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5754,7 +5754,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5784,7 +5784,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSortFilterProxyModel::parent(const QModelIndex& child0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5814,7 +5814,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5844,7 +5844,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5874,7 +5874,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSortFilterProxyModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5893,7 +5893,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QSortFilterProxyModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5923,7 +5923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSortFilterProxyModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5953,7 +5953,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5983,7 +5983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6013,7 +6013,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6043,7 +6043,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSortFilterProxyModel::setSourceModel(QAbstractItemModel* sourceModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSourceModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6062,7 +6062,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSortFilterProxyModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6092,7 +6092,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSortFilterProxyModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6111,7 +6111,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSortFilterProxyModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6141,7 +6141,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6171,7 +6171,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QSortFilterProxyModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6201,7 +6201,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QSortFilterProxyModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6231,7 +6231,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSortFilterProxyModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6520,7 +6520,7 @@ PythonQtShell_QSound::~PythonQtShell_QSound() { } void PythonQtShell_QSound::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6539,7 +6539,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSound::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6558,7 +6558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSound::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6588,7 +6588,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSound::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6618,7 +6618,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSound::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6677,7 +6677,7 @@ PythonQtShell_QSpacerItem::~PythonQtShell_QSpacerItem() { } QSizePolicy::ControlTypes PythonQtShell_QSpacerItem::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6707,7 +6707,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QSpacerItem::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6737,7 +6737,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QSpacerItem::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6767,7 +6767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSpacerItem::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6797,7 +6797,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSpacerItem::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6827,7 +6827,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpacerItem::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6846,7 +6846,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSpacerItem::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6876,7 +6876,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QSpacerItem::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6906,7 +6906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSpacerItem::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6936,7 +6936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSpacerItem::minimumHeightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6966,7 +6966,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSpacerItem::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6996,7 +6996,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpacerItem::setGeometry(const QRect& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7015,7 +7015,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSpacerItem::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7045,7 +7045,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSpacerItem* PythonQtShell_QSpacerItem::spacerItem() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7075,7 +7075,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QSpacerItem::widget() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7160,7 +7160,7 @@ PythonQtShell_QSpinBox::~PythonQtShell_QSpinBox() { } void PythonQtShell_QSpinBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7179,7 +7179,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7198,7 +7198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7217,7 +7217,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7236,7 +7236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7255,7 +7255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::contextMenuEvent(QContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7274,7 +7274,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7293,7 +7293,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSpinBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7323,7 +7323,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7342,7 +7342,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7361,7 +7361,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7380,7 +7380,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7399,7 +7399,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7418,7 +7418,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSpinBox::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7448,7 +7448,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSpinBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7478,7 +7478,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::fixup(QString& str0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7497,7 +7497,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7516,7 +7516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSpinBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7546,7 +7546,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7565,7 +7565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSpinBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7595,7 +7595,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSpinBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7625,7 +7625,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7644,7 +7644,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7663,7 +7663,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7682,7 +7682,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7712,7 +7712,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7731,7 +7731,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7750,7 +7750,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7769,7 +7769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7799,7 +7799,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7818,7 +7818,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7837,7 +7837,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7856,7 +7856,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7875,7 +7875,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7894,7 +7894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSpinBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7924,7 +7924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QSpinBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7954,7 +7954,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7973,7 +7973,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QSpinBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8003,7 +8003,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8022,7 +8022,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QSpinBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8052,7 +8052,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8071,7 +8071,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::stepBy(int steps0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8090,7 +8090,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAbstractSpinBox::StepEnabled PythonQtShell_QSpinBox::stepEnabled() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8120,7 +8120,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8139,7 +8139,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSpinBox::textFromValue(int val0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("textFromValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8169,7 +8169,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8188,7 +8188,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QSpinBox::validate(QString& input0, int& pos1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8218,7 +8218,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSpinBox::valueFromText(const QString& text0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("valueFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8248,7 +8248,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::wheelEvent(QWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8367,7 +8367,7 @@ PythonQtShell_QSplashScreen::~PythonQtShell_QSplashScreen() { } void PythonQtShell_QSplashScreen::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8386,7 +8386,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8405,7 +8405,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8424,7 +8424,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8443,7 +8443,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8462,7 +8462,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8481,7 +8481,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplashScreen::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8511,7 +8511,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8530,7 +8530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8549,7 +8549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8568,7 +8568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::drawContents(QPainter* painter0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8587,7 +8587,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8606,7 +8606,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8625,7 +8625,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplashScreen::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8655,7 +8655,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplashScreen::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8685,7 +8685,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8704,7 +8704,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplashScreen::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8734,7 +8734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8753,7 +8753,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplashScreen::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8783,7 +8783,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplashScreen::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8813,7 +8813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8832,7 +8832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8851,7 +8851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8870,7 +8870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSplashScreen::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8900,7 +8900,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8919,7 +8919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8938,7 +8938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8957,7 +8957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplashScreen::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8987,7 +8987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSplashScreen::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9017,7 +9017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9036,7 +9036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9055,7 +9055,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9074,7 +9074,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9093,7 +9093,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9112,7 +9112,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplashScreen::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9142,7 +9142,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QSplashScreen::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9172,7 +9172,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9191,7 +9191,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QSplashScreen::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9221,7 +9221,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9240,7 +9240,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QSplashScreen::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9270,7 +9270,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9289,7 +9289,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSplashScreen::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9319,7 +9319,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9338,7 +9338,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9357,7 +9357,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9420,7 +9420,7 @@ PythonQtShell_QSplitter::~PythonQtShell_QSplitter() { } void PythonQtShell_QSplitter::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9439,7 +9439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9458,7 +9458,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9477,7 +9477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9496,7 +9496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9515,7 +9515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSplitterHandle* PythonQtShell_QSplitter::createHandle() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createHandle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9545,7 +9545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9564,7 +9564,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplitter::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9594,7 +9594,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9613,7 +9613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9632,7 +9632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9651,7 +9651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9670,7 +9670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9689,7 +9689,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitter::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9719,7 +9719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitter::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9749,7 +9749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9768,7 +9768,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitter::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9798,7 +9798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9817,7 +9817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitter::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9847,7 +9847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplitter::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9877,7 +9877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9896,7 +9896,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9915,7 +9915,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9934,7 +9934,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSplitter::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9964,7 +9964,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9983,7 +9983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10002,7 +10002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10021,7 +10021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplitter::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10051,7 +10051,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10070,7 +10070,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10089,7 +10089,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10108,7 +10108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10127,7 +10127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10146,7 +10146,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitter::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10176,7 +10176,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QSplitter::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10206,7 +10206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10225,7 +10225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QSplitter::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10255,7 +10255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10274,7 +10274,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QSplitter::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10304,7 +10304,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10323,7 +10323,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10342,7 +10342,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10361,7 +10361,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10564,7 +10564,7 @@ PythonQtShell_QSplitterHandle::~PythonQtShell_QSplitterHandle() { } void PythonQtShell_QSplitterHandle::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10583,7 +10583,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10602,7 +10602,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10621,7 +10621,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10640,7 +10640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10659,7 +10659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10678,7 +10678,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplitterHandle::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10708,7 +10708,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10727,7 +10727,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10746,7 +10746,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10765,7 +10765,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10784,7 +10784,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10803,7 +10803,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitterHandle::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10833,7 +10833,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitterHandle::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10863,7 +10863,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10882,7 +10882,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitterHandle::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10912,7 +10912,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10931,7 +10931,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitterHandle::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10961,7 +10961,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplitterHandle::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10991,7 +10991,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11010,7 +11010,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11029,7 +11029,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11048,7 +11048,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSplitterHandle::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11078,7 +11078,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11097,7 +11097,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11116,7 +11116,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11135,7 +11135,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplitterHandle::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11165,7 +11165,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSplitterHandle::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11195,7 +11195,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11214,7 +11214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11233,7 +11233,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11252,7 +11252,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11271,7 +11271,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11290,7 +11290,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitterHandle::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11320,7 +11320,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QSplitterHandle::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11350,7 +11350,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11369,7 +11369,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QSplitterHandle::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11399,7 +11399,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11418,7 +11418,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QSplitterHandle::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11448,7 +11448,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11467,7 +11467,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11486,7 +11486,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11505,7 +11505,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11599,7 +11599,7 @@ PythonQtShell_QStackedLayout::~PythonQtShell_QStackedLayout() { } void PythonQtShell_QStackedLayout::addItem(QLayoutItem* item0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11618,7 +11618,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedLayout::childEvent(QChildEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11637,7 +11637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizePolicy::ControlTypes PythonQtShell_QStackedLayout::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11667,7 +11667,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStackedLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11697,7 +11697,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11716,7 +11716,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStackedLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11746,7 +11746,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStackedLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11776,7 +11776,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QStackedLayout::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11806,7 +11806,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QStackedLayout::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11836,7 +11836,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStackedLayout::indexOf(QWidget* arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11866,7 +11866,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11885,7 +11885,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStackedLayout::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11915,7 +11915,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QStackedLayout::itemAt(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11945,7 +11945,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QStackedLayout::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11975,7 +11975,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStackedLayout::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12005,7 +12005,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStackedLayout::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12035,7 +12035,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedLayout::setGeometry(const QRect& rect0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12054,7 +12054,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QStackedLayout::takeAt(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12084,7 +12084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12206,7 +12206,7 @@ PythonQtShell_QStackedWidget::~PythonQtShell_QStackedWidget() { } void PythonQtShell_QStackedWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12225,7 +12225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12244,7 +12244,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12263,7 +12263,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12282,7 +12282,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12301,7 +12301,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12320,7 +12320,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStackedWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12350,7 +12350,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12369,7 +12369,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12388,7 +12388,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12407,7 +12407,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12426,7 +12426,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12445,7 +12445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStackedWidget::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12475,7 +12475,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStackedWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12505,7 +12505,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12524,7 +12524,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStackedWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12554,7 +12554,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12573,7 +12573,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStackedWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12603,7 +12603,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStackedWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12633,7 +12633,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12652,7 +12652,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12671,7 +12671,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12690,7 +12690,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QStackedWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12720,7 +12720,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12739,7 +12739,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12758,7 +12758,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12777,7 +12777,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStackedWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12807,7 +12807,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStackedWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12837,7 +12837,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12856,7 +12856,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12875,7 +12875,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12894,7 +12894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12913,7 +12913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12932,7 +12932,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStackedWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12962,7 +12962,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QStackedWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12992,7 +12992,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13011,7 +13011,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QStackedWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13041,7 +13041,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13060,7 +13060,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QStackedWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13090,7 +13090,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13109,7 +13109,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13128,7 +13128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13147,7 +13147,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13221,7 +13221,7 @@ PythonQtShell_QStandardItem::~PythonQtShell_QStandardItem() { } QStandardItem* PythonQtShell_QStandardItem::clone() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13251,7 +13251,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QStandardItem::data(int role0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13281,7 +13281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItem::__lt__(const QStandardItem& other0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("__lt__"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13311,7 +13311,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItem::read(QDataStream& in0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13330,7 +13330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItem::setData(const QVariant& value0, int role1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13349,7 +13349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStandardItem::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13379,7 +13379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItem::write(QDataStream& out0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13824,7 +13824,7 @@ PythonQtShell_QStandardItemModel::~PythonQtShell_QStandardItemModel() { } QModelIndex PythonQtShell_QStandardItemModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13854,7 +13854,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13884,7 +13884,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13914,7 +13914,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItemModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13933,7 +13933,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStandardItemModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13963,7 +13963,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItemModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13982,7 +13982,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QStandardItemModel::data(const QModelIndex& index0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14012,7 +14012,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14042,7 +14042,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14072,7 +14072,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14102,7 +14102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItemModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14121,7 +14121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QStandardItemModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14151,7 +14151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::hasChildren(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14181,7 +14181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QStandardItemModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14211,7 +14211,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QStandardItemModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14241,7 +14241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14271,7 +14271,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14301,7 +14301,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QStandardItemModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14331,7 +14331,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QStandardItemModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14361,7 +14361,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QStandardItemModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14391,7 +14391,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QStandardItemModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14421,7 +14421,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14451,7 +14451,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14481,7 +14481,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QStandardItemModel::parent(const QModelIndex& child0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14511,7 +14511,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14541,7 +14541,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14571,7 +14571,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItemModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14590,7 +14590,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QStandardItemModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14620,7 +14620,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStandardItemModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14650,7 +14650,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14680,7 +14680,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14710,7 +14710,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14740,7 +14740,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QStandardItemModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14770,7 +14770,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItemModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14789,7 +14789,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStandardItemModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14819,7 +14819,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14849,7 +14849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QStandardItemModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14879,7 +14879,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QStandardItemModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14909,7 +14909,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItemModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15306,7 +15306,7 @@ PythonQtShell_QStatusBar::~PythonQtShell_QStatusBar() { } void PythonQtShell_QStatusBar::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15325,7 +15325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15344,7 +15344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15363,7 +15363,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15382,7 +15382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15401,7 +15401,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15420,7 +15420,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStatusBar::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15450,7 +15450,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15469,7 +15469,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15488,7 +15488,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15507,7 +15507,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15526,7 +15526,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15545,7 +15545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStatusBar::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15575,7 +15575,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStatusBar::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15605,7 +15605,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15624,7 +15624,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStatusBar::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15654,7 +15654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15673,7 +15673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStatusBar::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15703,7 +15703,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStatusBar::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15733,7 +15733,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15752,7 +15752,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15771,7 +15771,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15790,7 +15790,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QStatusBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15820,7 +15820,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15839,7 +15839,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15858,7 +15858,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15877,7 +15877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStatusBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15907,7 +15907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStatusBar::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15937,7 +15937,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15956,7 +15956,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15975,7 +15975,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15994,7 +15994,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16013,7 +16013,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16032,7 +16032,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStatusBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16062,7 +16062,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QStatusBar::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16092,7 +16092,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16111,7 +16111,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QStatusBar::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16141,7 +16141,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16160,7 +16160,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QStatusBar::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16190,7 +16190,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16209,7 +16209,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStatusBar::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16239,7 +16239,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16258,7 +16258,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16277,7 +16277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16387,7 +16387,7 @@ PythonQtShell_QStringListModel::~PythonQtShell_QStringListModel() { } QModelIndex PythonQtShell_QStringListModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16417,7 +16417,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16447,7 +16447,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16477,7 +16477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStringListModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16496,7 +16496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStringListModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16515,7 +16515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QStringListModel::data(const QModelIndex& index0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16545,7 +16545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16575,7 +16575,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16605,7 +16605,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16635,7 +16635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStringListModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16654,7 +16654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QStringListModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16684,7 +16684,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QStringListModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16714,7 +16714,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QStringListModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16744,7 +16744,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16774,7 +16774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16804,7 +16804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QStringListModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16834,7 +16834,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QStringListModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16864,7 +16864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QStringListModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16894,7 +16894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QStringListModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16924,7 +16924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16954,7 +16954,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16984,7 +16984,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17014,7 +17014,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17044,7 +17044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStringListModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17063,7 +17063,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QStringListModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17093,7 +17093,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStringListModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17123,7 +17123,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17153,7 +17153,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17183,7 +17183,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17213,7 +17213,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QStringListModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17243,7 +17243,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStringListModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17262,7 +17262,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStringListModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17292,7 +17292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17322,7 +17322,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QStringListModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17352,7 +17352,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QStringListModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17382,7 +17382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStringListModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17470,7 +17470,7 @@ PythonQtShell_QStyle::~PythonQtShell_QStyle() { } void PythonQtShell_QStyle::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17489,7 +17489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17508,7 +17508,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::drawComplexControl(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QPainter* p2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17527,7 +17527,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::drawControl(QStyle::ControlElement element0, const QStyleOption* opt1, QPainter* p2, const QWidget* w3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17546,7 +17546,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::drawItemPixmap(QPainter* painter0, const QRect& rect1, int alignment2, const QPixmap& pixmap3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawItemPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17565,7 +17565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::drawItemText(QPainter* painter0, const QRect& rect1, int flags2, const QPalette& pal3, bool enabled4, const QString& text5, QPalette::ColorRole textRole6) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawItemText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17584,7 +17584,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::drawPrimitive(QStyle::PrimitiveElement pe0, const QStyleOption* opt1, QPainter* p2, const QWidget* w3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPrimitive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17603,7 +17603,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStyle::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17633,7 +17633,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStyle::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17663,7 +17663,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPixmap PythonQtShell_QStyle::generatedIconPixmap(QIcon::Mode iconMode0, const QPixmap& pixmap1, const QStyleOption* opt2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("generatedIconPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17693,7 +17693,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyle::SubControl PythonQtShell_QStyle::hitTestComplexControl(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, const QPoint& pt2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitTestComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17723,7 +17723,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QStyle::itemPixmapRect(const QRect& r0, int flags1, const QPixmap& pixmap2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemPixmapRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17753,7 +17753,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QStyle::itemTextRect(const QFontMetrics& fm0, const QRect& r1, int flags2, bool enabled3, const QString& text4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemTextRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17783,7 +17783,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStyle::layoutSpacing(QSizePolicy::ControlType control10, QSizePolicy::ControlType control21, Qt::Orientation orientation2, const QStyleOption* option3, const QWidget* widget4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layoutSpacing"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17813,7 +17813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStyle::pixelMetric(QStyle::PixelMetric metric0, const QStyleOption* option1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pixelMetric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17843,7 +17843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::polish(QApplication* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17862,7 +17862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::polish(QPalette& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17881,7 +17881,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::polish(QWidget* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17900,7 +17900,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStyle::sizeFromContents(QStyle::ContentsType ct0, const QStyleOption* opt1, const QSize& contentsSize2, const QWidget* w3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17930,7 +17930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIcon PythonQtShell_QStyle::standardIcon(QStyle::StandardPixmap standardIcon0, const QStyleOption* option1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardIcon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17960,7 +17960,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPalette PythonQtShell_QStyle::standardPalette() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardPalette"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17990,7 +17990,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPixmap PythonQtShell_QStyle::standardPixmap(QStyle::StandardPixmap standardPixmap0, const QStyleOption* opt1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18020,7 +18020,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStyle::styleHint(QStyle::StyleHint stylehint0, const QStyleOption* opt1, const QWidget* widget2, QStyleHintReturn* returnData3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("styleHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18050,7 +18050,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QStyle::subControlRect(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QStyle::SubControl sc2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("subControlRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18080,7 +18080,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QStyle::subElementRect(QStyle::SubElement subElement0, const QStyleOption* option1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("subElementRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18110,7 +18110,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18129,7 +18129,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::unpolish(QApplication* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18148,7 +18148,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::unpolish(QWidget* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp index 668292eac..270bde0ff 100644 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp +++ b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp @@ -269,7 +269,7 @@ PythonQtShell_QStylePlugin::~PythonQtShell_QStylePlugin() { } void PythonQtShell_QStylePlugin::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -288,7 +288,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyle* PythonQtShell_QStylePlugin::create(const QString& key0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -318,7 +318,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStylePlugin::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -337,7 +337,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStylePlugin::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -367,7 +367,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStylePlugin::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -397,7 +397,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStylePlugin::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -431,7 +431,7 @@ PythonQtShell_QStyledItemDelegate::~PythonQtShell_QStyledItemDelegate() { } void PythonQtShell_QStyledItemDelegate::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -450,7 +450,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QStyledItemDelegate::createEditor(QWidget* parent0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -480,7 +480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyledItemDelegate::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -499,7 +499,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyledItemDelegate::destroyEditor(QWidget* editor0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("destroyEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -518,7 +518,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QStyledItemDelegate::displayText(const QVariant& value0, const QLocale& locale1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("displayText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -548,7 +548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStyledItemDelegate::editorEvent(QEvent* event0, QAbstractItemModel* model1, const QStyleOptionViewItem& option2, const QModelIndex& index3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -578,7 +578,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStyledItemDelegate::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -608,7 +608,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStyledItemDelegate::eventFilter(QObject* object0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -638,7 +638,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStyledItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemView* view1, const QStyleOptionViewItem& option2, const QModelIndex& index3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -668,7 +668,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyledItemDelegate::initStyleOption(QStyleOptionViewItem* option0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -687,7 +687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyledItemDelegate::paint(QPainter* painter0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -706,7 +706,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVector PythonQtShell_QStyledItemDelegate::paintingRoles() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintingRoles"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -736,7 +736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyledItemDelegate::setEditorData(QWidget* editor0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -755,7 +755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyledItemDelegate::setModelData(QWidget* editor0, QAbstractItemModel* model1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModelData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -774,7 +774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStyledItemDelegate::sizeHint(const QStyleOptionViewItem& option0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -804,7 +804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyledItemDelegate::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -823,7 +823,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyledItemDelegate::updateEditorGeometry(QWidget* editor0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -912,7 +912,7 @@ PythonQtShell_QSurface::~PythonQtShell_QSurface() { } QSurfaceFormat PythonQtShell_QSurface::format() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -942,7 +942,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSurface::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -972,7 +972,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPlatformSurface* PythonQtShell_QSurface::surfaceHandle() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("surfaceHandle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1002,7 +1002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSurface::SurfaceType PythonQtShell_QSurface::surfaceType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1243,7 +1243,7 @@ PythonQtShell_QSwipeGesture::~PythonQtShell_QSwipeGesture() { } void PythonQtShell_QSwipeGesture::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1262,7 +1262,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSwipeGesture::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1281,7 +1281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSwipeGesture::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1311,7 +1311,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSwipeGesture::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1341,7 +1341,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSwipeGesture::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1390,7 +1390,7 @@ PythonQtShell_QSyntaxHighlighter::~PythonQtShell_QSyntaxHighlighter() { } void PythonQtShell_QSyntaxHighlighter::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1409,7 +1409,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSyntaxHighlighter::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1428,7 +1428,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSyntaxHighlighter::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1458,7 +1458,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSyntaxHighlighter::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1488,7 +1488,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSyntaxHighlighter::highlightBlock(const QString& text0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("highlightBlock"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1507,7 +1507,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSyntaxHighlighter::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1605,7 +1605,7 @@ PythonQtShell_QSystemTrayIcon::~PythonQtShell_QSystemTrayIcon() { } void PythonQtShell_QSystemTrayIcon::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1624,7 +1624,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSystemTrayIcon::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1643,7 +1643,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSystemTrayIcon::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1673,7 +1673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSystemTrayIcon::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1703,7 +1703,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSystemTrayIcon::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1796,7 +1796,7 @@ PythonQtShell_QTabBar::~PythonQtShell_QTabBar() { } void PythonQtShell_QTabBar::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1815,7 +1815,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1834,7 +1834,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1853,7 +1853,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1872,7 +1872,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1891,7 +1891,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1910,7 +1910,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTabBar::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1940,7 +1940,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1959,7 +1959,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1978,7 +1978,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1997,7 +1997,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2016,7 +2016,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2035,7 +2035,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabBar::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2065,7 +2065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabBar::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2095,7 +2095,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2114,7 +2114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabBar::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2144,7 +2144,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2163,7 +2163,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabBar::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2193,7 +2193,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTabBar::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2223,7 +2223,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2242,7 +2242,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2261,7 +2261,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2280,7 +2280,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTabBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2310,7 +2310,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2329,7 +2329,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2348,7 +2348,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2367,7 +2367,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTabBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2397,7 +2397,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QTabBar::minimumTabSizeHint(int index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumTabSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2427,7 +2427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2446,7 +2446,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2465,7 +2465,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2484,7 +2484,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2503,7 +2503,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2522,7 +2522,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2552,7 +2552,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTabBar::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2582,7 +2582,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2601,7 +2601,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTabBar::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2631,7 +2631,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2650,7 +2650,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTabBar::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2680,7 +2680,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2699,7 +2699,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::tabInserted(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2718,7 +2718,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::tabLayoutChange() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabLayoutChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2737,7 +2737,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::tabRemoved(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2756,7 +2756,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QTabBar::tabSizeHint(int index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2786,7 +2786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2805,7 +2805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2824,7 +2824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::wheelEvent(QWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3178,7 +3178,7 @@ PythonQtShell_QTabWidget::~PythonQtShell_QTabWidget() { } void PythonQtShell_QTabWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3197,7 +3197,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3216,7 +3216,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3235,7 +3235,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3254,7 +3254,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3273,7 +3273,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3292,7 +3292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTabWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3322,7 +3322,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3341,7 +3341,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3360,7 +3360,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3379,7 +3379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3398,7 +3398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3417,7 +3417,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabWidget::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3447,7 +3447,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3477,7 +3477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3496,7 +3496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3526,7 +3526,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3545,7 +3545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3575,7 +3575,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTabWidget::heightForWidth(int width0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3605,7 +3605,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3624,7 +3624,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3643,7 +3643,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3662,7 +3662,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTabWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3692,7 +3692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3711,7 +3711,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3730,7 +3730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3749,7 +3749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTabWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3779,7 +3779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3798,7 +3798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3817,7 +3817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3836,7 +3836,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3855,7 +3855,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3874,7 +3874,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3904,7 +3904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTabWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3934,7 +3934,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3953,7 +3953,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTabWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3983,7 +3983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4002,7 +4002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTabWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4032,7 +4032,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4051,7 +4051,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::tabInserted(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4070,7 +4070,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::tabRemoved(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4089,7 +4089,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4108,7 +4108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4127,7 +4127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4426,7 +4426,7 @@ PythonQtShell_QTableView::~PythonQtShell_QTableView() { } void PythonQtShell_QTableView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4445,7 +4445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4464,7 +4464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4483,7 +4483,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4502,7 +4502,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4521,7 +4521,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4540,7 +4540,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4559,7 +4559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4578,7 +4578,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4597,7 +4597,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4616,7 +4616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4646,7 +4646,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4665,7 +4665,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4684,7 +4684,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::dragLeaveEvent(QDragLeaveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4703,7 +4703,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::dragMoveEvent(QDragMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4722,7 +4722,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4741,7 +4741,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4771,7 +4771,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4790,7 +4790,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4809,7 +4809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableView::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4839,7 +4839,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4869,7 +4869,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4888,7 +4888,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4918,7 +4918,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4937,7 +4937,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4967,7 +4967,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4997,7 +4997,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5016,7 +5016,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableView::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5046,7 +5046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5065,7 +5065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5084,7 +5084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QTableView::indexAt(const QPoint& p0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5114,7 +5114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5133,7 +5133,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5152,7 +5152,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTableView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5182,7 +5182,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableView::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5212,7 +5212,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5231,7 +5231,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5250,7 +5250,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5269,7 +5269,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5288,7 +5288,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5318,7 +5318,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5337,7 +5337,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5356,7 +5356,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5375,7 +5375,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5394,7 +5394,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5413,7 +5413,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5443,7 +5443,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTableView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5473,7 +5473,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5492,7 +5492,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTableView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5522,7 +5522,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5541,7 +5541,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5560,7 +5560,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5579,7 +5579,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5598,7 +5598,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5617,7 +5617,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5636,7 +5636,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5655,7 +5655,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QTableView::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5685,7 +5685,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5704,7 +5704,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QTableView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5734,7 +5734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::setModel(QAbstractItemModel* model0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5753,7 +5753,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5772,7 +5772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5791,7 +5791,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5810,7 +5810,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5829,7 +5829,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTableView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5859,7 +5859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5878,7 +5878,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableView::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5908,7 +5908,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableView::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5938,7 +5938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5957,7 +5957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5976,7 +5976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5995,7 +5995,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6014,7 +6014,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6033,7 +6033,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6052,7 +6052,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableView::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6082,7 +6082,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6101,7 +6101,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6120,7 +6120,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QTableView::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6150,7 +6150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableView::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6180,7 +6180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QTableView::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6210,7 +6210,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QTableView::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6240,7 +6240,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QTableView::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6270,7 +6270,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6574,7 +6574,7 @@ PythonQtShell_QTableWidget::~PythonQtShell_QTableWidget() { } void PythonQtShell_QTableWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6593,7 +6593,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6612,7 +6612,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6631,7 +6631,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6650,7 +6650,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6669,7 +6669,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6688,7 +6688,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6707,7 +6707,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6726,7 +6726,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6745,7 +6745,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6764,7 +6764,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6794,7 +6794,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6813,7 +6813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6832,7 +6832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::dragLeaveEvent(QDragLeaveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6851,7 +6851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::dragMoveEvent(QDragMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6870,7 +6870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6889,7 +6889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::dropMimeData(int row0, int column1, const QMimeData* data2, Qt::DropAction action3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6919,7 +6919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6949,7 +6949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6968,7 +6968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6987,7 +6987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7017,7 +7017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7047,7 +7047,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7066,7 +7066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7096,7 +7096,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7115,7 +7115,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7145,7 +7145,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7175,7 +7175,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7194,7 +7194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableWidget::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7224,7 +7224,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7243,7 +7243,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7262,7 +7262,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QTableWidget::indexAt(const QPoint& p0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7292,7 +7292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7311,7 +7311,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7330,7 +7330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTableWidget::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7360,7 +7360,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7390,7 +7390,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7409,7 +7409,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7428,7 +7428,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7447,7 +7447,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7466,7 +7466,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7496,7 +7496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QTableWidget::mimeData(const QList items0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7526,7 +7526,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QTableWidget::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7556,7 +7556,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7575,7 +7575,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7594,7 +7594,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7613,7 +7613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7632,7 +7632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7651,7 +7651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7681,7 +7681,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTableWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7711,7 +7711,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7730,7 +7730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTableWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7760,7 +7760,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7779,7 +7779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7798,7 +7798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7817,7 +7817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7836,7 +7836,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7855,7 +7855,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7874,7 +7874,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7893,7 +7893,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QTableWidget::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7923,7 +7923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7942,7 +7942,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QTableWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7972,7 +7972,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7991,7 +7991,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8010,7 +8010,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8029,7 +8029,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8048,7 +8048,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTableWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8078,7 +8078,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8097,7 +8097,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableWidget::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8127,7 +8127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableWidget::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8157,7 +8157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8176,7 +8176,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QTableWidget::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8206,7 +8206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8225,7 +8225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8244,7 +8244,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8263,7 +8263,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8282,7 +8282,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8301,7 +8301,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableWidget::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8331,7 +8331,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8350,7 +8350,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8369,7 +8369,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QTableWidget::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8399,7 +8399,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8429,7 +8429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QTableWidget::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8459,7 +8459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QTableWidget::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8489,7 +8489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QTableWidget::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8519,7 +8519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8802,7 +8802,7 @@ PythonQtShell_QTableWidgetItem::~PythonQtShell_QTableWidgetItem() { } QTableWidgetItem* PythonQtShell_QTableWidgetItem::clone() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8832,7 +8832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTableWidgetItem::data(int role0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8862,7 +8862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidgetItem::__lt__(const QTableWidgetItem& other0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("__lt__"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8892,7 +8892,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidgetItem::read(QDataStream& in0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8911,7 +8911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidgetItem::setData(int role0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8930,7 +8930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidgetItem::write(QDataStream& out0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9291,7 +9291,7 @@ PythonQtShell_QTapAndHoldGesture::~PythonQtShell_QTapAndHoldGesture() { } void PythonQtShell_QTapAndHoldGesture::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9310,7 +9310,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTapAndHoldGesture::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9329,7 +9329,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTapAndHoldGesture::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9359,7 +9359,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTapAndHoldGesture::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9389,7 +9389,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTapAndHoldGesture::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9438,7 +9438,7 @@ PythonQtShell_QTapGesture::~PythonQtShell_QTapGesture() { } void PythonQtShell_QTapGesture::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9457,7 +9457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTapGesture::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9476,7 +9476,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTapGesture::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9506,7 +9506,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTapGesture::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9536,7 +9536,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTapGesture::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9894,7 +9894,7 @@ PythonQtShell_QTextBlockGroup::~PythonQtShell_QTextBlockGroup() { } void PythonQtShell_QTextBlockGroup::blockFormatChanged(const QTextBlock& block0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("blockFormatChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9913,7 +9913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBlockGroup::blockInserted(const QTextBlock& block0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("blockInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9932,7 +9932,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBlockGroup::blockRemoved(const QTextBlock& block0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("blockRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9951,7 +9951,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBlockGroup::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9970,7 +9970,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBlockGroup::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9989,7 +9989,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBlockGroup::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10019,7 +10019,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBlockGroup::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10049,7 +10049,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBlockGroup::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp b/generated_cpp_50/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp index fbfd94b34..59d39a40a 100644 --- a/generated_cpp_50/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp +++ b/generated_cpp_50/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp @@ -51,7 +51,7 @@ PythonQtShell_QBitmap::~PythonQtShell_QBitmap() { } int PythonQtShell_QBitmap::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -81,7 +81,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QBitmap::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -111,7 +111,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QBitmap::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1392,7 +1392,7 @@ PythonQtShell_QImage::~PythonQtShell_QImage() { } int PythonQtShell_QImage::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1422,7 +1422,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QImage::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1441,7 +1441,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QImage::metric(QPaintDevice::PaintDeviceMetric metric0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1471,7 +1471,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QImage::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1501,7 +1501,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QImage::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1531,7 +1531,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QImage::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2675,7 +2675,7 @@ PythonQtShell_QPixmap::~PythonQtShell_QPixmap() { } int PythonQtShell_QPixmap::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2705,7 +2705,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPixmap::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2724,7 +2724,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPixmap::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2754,7 +2754,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPixmap::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2784,7 +2784,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPixmap::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2814,7 +2814,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPixmap::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp b/generated_cpp_50/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp index 184512438..b4e76e7ea 100644 --- a/generated_cpp_50/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp +++ b/generated_cpp_50/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp @@ -77,7 +77,7 @@ PythonQtShell_QAbstractVideoBuffer::~PythonQtShell_QAbstractVideoBuffer() { } QVariant PythonQtShell_QAbstractVideoBuffer::handle() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("handle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -107,7 +107,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } uchar* PythonQtShell_QAbstractVideoBuffer::map(QAbstractVideoBuffer::MapMode mode0, int* numBytes1, int* bytesPerLine2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("map"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -137,7 +137,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAbstractVideoBuffer::MapMode PythonQtShell_QAbstractVideoBuffer::mapMode() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -167,7 +167,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractVideoBuffer::release() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("release"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -186,7 +186,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractVideoBuffer::unmap() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -245,7 +245,7 @@ PythonQtShell_QAbstractVideoSurface::~PythonQtShell_QAbstractVideoSurface() { } void PythonQtShell_QAbstractVideoSurface::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -264,7 +264,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractVideoSurface::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -283,7 +283,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractVideoSurface::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -313,7 +313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractVideoSurface::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -343,7 +343,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractVideoSurface::isFormatSupported(const QVideoSurfaceFormat& format0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isFormatSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -373,7 +373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVideoSurfaceFormat PythonQtShell_QAbstractVideoSurface::nearestFormat(const QVideoSurfaceFormat& format0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nearestFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -403,7 +403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractVideoSurface::present(const QVideoFrame& frame0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("present"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -433,7 +433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractVideoSurface::start(const QVideoSurfaceFormat& format0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("start"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -463,7 +463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractVideoSurface::stop() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stop"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -482,7 +482,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QAbstractVideoSurface::supportedPixelFormats(QAbstractVideoBuffer::HandleType handleType0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedPixelFormats"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -512,7 +512,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractVideoSurface::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -676,7 +676,7 @@ PythonQtShell_QAudioDecoder::~PythonQtShell_QAudioDecoder() { } QMultimedia::AvailabilityStatus PythonQtShell_QAudioDecoder::availability() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -706,7 +706,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioDecoder::bind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -736,7 +736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioDecoder::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -755,7 +755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioDecoder::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -774,7 +774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioDecoder::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -804,7 +804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioDecoder::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -834,7 +834,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioDecoder::isAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -864,7 +864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaService* PythonQtShell_QAudioDecoder::service() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -894,7 +894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioDecoder::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -913,7 +913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioDecoder::unbind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1359,7 +1359,7 @@ PythonQtShell_QAudioInput::~PythonQtShell_QAudioInput() { } void PythonQtShell_QAudioInput::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1378,7 +1378,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioInput::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1397,7 +1397,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioInput::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1427,7 +1427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioInput::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1457,7 +1457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioInput::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1585,7 +1585,7 @@ PythonQtShell_QAudioOutput::~PythonQtShell_QAudioOutput() { } void PythonQtShell_QAudioOutput::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1604,7 +1604,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioOutput::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1623,7 +1623,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioOutput::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1653,7 +1653,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioOutput::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1683,7 +1683,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioOutput::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1821,7 +1821,7 @@ PythonQtShell_QAudioProbe::~PythonQtShell_QAudioProbe() { } void PythonQtShell_QAudioProbe::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1840,7 +1840,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioProbe::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1859,7 +1859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioProbe::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1889,7 +1889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioProbe::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1919,7 +1919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioProbe::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1963,7 +1963,7 @@ PythonQtShell_QAudioRecorder::~PythonQtShell_QAudioRecorder() { } void PythonQtShell_QAudioRecorder::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1982,7 +1982,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioRecorder::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2001,7 +2001,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioRecorder::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2031,7 +2031,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioRecorder::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2061,7 +2061,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaObject* PythonQtShell_QAudioRecorder::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2091,7 +2091,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioRecorder::setMediaObject(QMediaObject* object0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2121,7 +2121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioRecorder::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2170,7 +2170,7 @@ PythonQtShell_QCamera::~PythonQtShell_QCamera() { } QMultimedia::AvailabilityStatus PythonQtShell_QCamera::availability() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2200,7 +2200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCamera::bind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2230,7 +2230,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCamera::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2249,7 +2249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCamera::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2268,7 +2268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCamera::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2298,7 +2298,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCamera::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2328,7 +2328,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCamera::isAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2358,7 +2358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaService* PythonQtShell_QCamera::service() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2388,7 +2388,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCamera::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2407,7 +2407,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCamera::unbind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2763,7 +2763,7 @@ PythonQtShell_QCameraImageCapture::~PythonQtShell_QCameraImageCapture() { } void PythonQtShell_QCameraImageCapture::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2782,7 +2782,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraImageCapture::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2801,7 +2801,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraImageCapture::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2831,7 +2831,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraImageCapture::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2861,7 +2861,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaObject* PythonQtShell_QCameraImageCapture::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2891,7 +2891,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraImageCapture::setMediaObject(QMediaObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2921,7 +2921,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraImageCapture::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3112,7 +3112,7 @@ PythonQtShell_QCameraViewfinder::~PythonQtShell_QCameraViewfinder() { } void PythonQtShell_QCameraViewfinder::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3131,7 +3131,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3150,7 +3150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3169,7 +3169,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3188,7 +3188,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3207,7 +3207,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3226,7 +3226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCameraViewfinder::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3256,7 +3256,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3275,7 +3275,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3294,7 +3294,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3313,7 +3313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3332,7 +3332,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3351,7 +3351,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraViewfinder::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3381,7 +3381,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraViewfinder::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3411,7 +3411,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3430,7 +3430,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraViewfinder::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3460,7 +3460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3479,7 +3479,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraViewfinder::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3509,7 +3509,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCameraViewfinder::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3539,7 +3539,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3558,7 +3558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3577,7 +3577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3596,7 +3596,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QCameraViewfinder::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3626,7 +3626,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3645,7 +3645,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3664,7 +3664,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3683,7 +3683,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaObject* PythonQtShell_QCameraViewfinder::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3713,7 +3713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCameraViewfinder::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3743,7 +3743,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QCameraViewfinder::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3773,7 +3773,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3792,7 +3792,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3811,7 +3811,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3830,7 +3830,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3849,7 +3849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::moveEvent(QMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3868,7 +3868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraViewfinder::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3898,7 +3898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QCameraViewfinder::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3928,7 +3928,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3947,7 +3947,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QCameraViewfinder::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3977,7 +3977,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3996,7 +3996,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraViewfinder::setMediaObject(QMediaObject* object0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4026,7 +4026,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QCameraViewfinder::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4056,7 +4056,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4075,7 +4075,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4094,7 +4094,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4113,7 +4113,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4152,7 +4152,7 @@ PythonQtShell_QGraphicsVideoItem::~PythonQtShell_QGraphicsVideoItem() { } void PythonQtShell_QGraphicsVideoItem::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4171,7 +4171,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsVideoItem::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4190,7 +4190,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsVideoItem::event(QEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4220,7 +4220,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsVideoItem::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4250,7 +4250,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaObject* PythonQtShell_QGraphicsVideoItem::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4280,7 +4280,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsVideoItem::setMediaObject(QMediaObject* object0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4310,7 +4310,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsVideoItem::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4489,7 +4489,7 @@ PythonQtShell_QMediaBindableInterface::~PythonQtShell_QMediaBindableInterface() } QMediaObject* PythonQtShell_QMediaBindableInterface::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4519,7 +4519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaBindableInterface::setMediaObject(QMediaObject* object0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4644,7 +4644,7 @@ PythonQtShell_QMediaControl::~PythonQtShell_QMediaControl() { } void PythonQtShell_QMediaControl::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4663,7 +4663,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaControl::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4682,7 +4682,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaControl::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4712,7 +4712,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaControl::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4742,7 +4742,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaControl::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4771,7 +4771,7 @@ PythonQtShell_QMediaObject::~PythonQtShell_QMediaObject() { } QMultimedia::AvailabilityStatus PythonQtShell_QMediaObject::availability() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4801,7 +4801,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaObject::bind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4831,7 +4831,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaObject::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4850,7 +4850,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaObject::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4869,7 +4869,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaObject::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4899,7 +4899,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaObject::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4929,7 +4929,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaObject::isAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4959,7 +4959,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaService* PythonQtShell_QMediaObject::service() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4989,7 +4989,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaObject::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5008,7 +5008,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaObject::unbind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5097,7 +5097,7 @@ PythonQtShell_QMediaPlayer::~PythonQtShell_QMediaPlayer() { } QMultimedia::AvailabilityStatus PythonQtShell_QMediaPlayer::availability() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5127,7 +5127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaPlayer::bind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5157,7 +5157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaPlayer::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5176,7 +5176,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaPlayer::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5195,7 +5195,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaPlayer::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5225,7 +5225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaPlayer::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5255,7 +5255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaPlayer::isAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5285,7 +5285,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaService* PythonQtShell_QMediaPlayer::service() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5315,7 +5315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaPlayer::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5334,7 +5334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaPlayer::unbind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5493,7 +5493,7 @@ PythonQtShell_QMediaPlaylist::~PythonQtShell_QMediaPlaylist() { } void PythonQtShell_QMediaPlaylist::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5512,7 +5512,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaPlaylist::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5531,7 +5531,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaPlaylist::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5561,7 +5561,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaPlaylist::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5591,7 +5591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaObject* PythonQtShell_QMediaPlaylist::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5621,7 +5621,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaPlaylist::setMediaObject(QMediaObject* object0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5651,7 +5651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaPlaylist::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5810,7 +5810,7 @@ PythonQtShell_QMediaRecorder::~PythonQtShell_QMediaRecorder() { } void PythonQtShell_QMediaRecorder::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5829,7 +5829,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaRecorder::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5848,7 +5848,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaRecorder::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5878,7 +5878,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaRecorder::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5908,7 +5908,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaObject* PythonQtShell_QMediaRecorder::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5938,7 +5938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaRecorder::setMediaObject(QMediaObject* object0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5968,7 +5968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaRecorder::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6320,7 +6320,7 @@ PythonQtShell_QMediaService::~PythonQtShell_QMediaService() { } void PythonQtShell_QMediaService::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6339,7 +6339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaService::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6358,7 +6358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaService::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6388,7 +6388,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaService::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6418,7 +6418,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaService::releaseControl(QMediaControl* control0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("releaseControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6437,7 +6437,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaControl* PythonQtShell_QMediaService::requestControl(const char* name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("requestControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6467,7 +6467,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaService::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp b/generated_cpp_50/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp index 02093e940..ce4eaeb69 100644 --- a/generated_cpp_50/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp +++ b/generated_cpp_50/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp @@ -242,7 +242,7 @@ PythonQtShell_QRadioData::~PythonQtShell_QRadioData() { } void PythonQtShell_QRadioData::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -261,7 +261,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioData::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -280,7 +280,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioData::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -310,7 +310,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioData::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -340,7 +340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaObject* PythonQtShell_QRadioData::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -370,7 +370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioData::setMediaObject(QMediaObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -400,7 +400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioData::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -484,7 +484,7 @@ PythonQtShell_QRadioTuner::~PythonQtShell_QRadioTuner() { } QMultimedia::AvailabilityStatus PythonQtShell_QRadioTuner::availability() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -514,7 +514,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioTuner::bind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -544,7 +544,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioTuner::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -563,7 +563,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioTuner::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -582,7 +582,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioTuner::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -612,7 +612,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioTuner::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -642,7 +642,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioTuner::isAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -672,7 +672,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaService* PythonQtShell_QRadioTuner::service() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -702,7 +702,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioTuner::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -721,7 +721,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioTuner::unbind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -840,7 +840,7 @@ PythonQtShell_QSoundEffect::~PythonQtShell_QSoundEffect() { } void PythonQtShell_QSoundEffect::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -859,7 +859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSoundEffect::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -878,7 +878,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSoundEffect::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -908,7 +908,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSoundEffect::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -938,7 +938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSoundEffect::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1331,7 +1331,7 @@ PythonQtShell_QVideoProbe::~PythonQtShell_QVideoProbe() { } void PythonQtShell_QVideoProbe::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1350,7 +1350,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoProbe::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1369,7 +1369,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVideoProbe::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1399,7 +1399,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVideoProbe::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1429,7 +1429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoProbe::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1624,7 +1624,7 @@ PythonQtShell_QVideoWidget::~PythonQtShell_QVideoWidget() { } void PythonQtShell_QVideoWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1643,7 +1643,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1662,7 +1662,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1681,7 +1681,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1700,7 +1700,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1719,7 +1719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1738,7 +1738,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QVideoWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1768,7 +1768,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1787,7 +1787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1806,7 +1806,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1825,7 +1825,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1844,7 +1844,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1863,7 +1863,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVideoWidget::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1893,7 +1893,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVideoWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1923,7 +1923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1942,7 +1942,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVideoWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1972,7 +1972,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1991,7 +1991,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVideoWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2021,7 +2021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QVideoWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2051,7 +2051,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2070,7 +2070,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2089,7 +2089,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2108,7 +2108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QVideoWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2138,7 +2138,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2157,7 +2157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2176,7 +2176,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2195,7 +2195,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaObject* PythonQtShell_QVideoWidget::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2225,7 +2225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QVideoWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2255,7 +2255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QVideoWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2285,7 +2285,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2304,7 +2304,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2323,7 +2323,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2342,7 +2342,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2361,7 +2361,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::moveEvent(QMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2380,7 +2380,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVideoWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2410,7 +2410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QVideoWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2440,7 +2440,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2459,7 +2459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QVideoWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2489,7 +2489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2508,7 +2508,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVideoWidget::setMediaObject(QMediaObject* object0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2538,7 +2538,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QVideoWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2568,7 +2568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2587,7 +2587,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2606,7 +2606,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2625,7 +2625,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_network/com_trolltech_qt_network0.cpp b/generated_cpp_50/com_trolltech_qt_network/com_trolltech_qt_network0.cpp index 4b059fa84..43180d083 100644 --- a/generated_cpp_50/com_trolltech_qt_network/com_trolltech_qt_network0.cpp +++ b/generated_cpp_50/com_trolltech_qt_network/com_trolltech_qt_network0.cpp @@ -46,7 +46,7 @@ PythonQtShell_QAbstractNetworkCache::~PythonQtShell_QAbstractNetworkCache() { } qint64 PythonQtShell_QAbstractNetworkCache::cacheSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("cacheSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -76,7 +76,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractNetworkCache::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -95,7 +95,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractNetworkCache::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -114,7 +114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractNetworkCache::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -133,7 +133,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIODevice* PythonQtShell_QAbstractNetworkCache::data(const QUrl& url0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -163,7 +163,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractNetworkCache::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -193,7 +193,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractNetworkCache::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -223,7 +223,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractNetworkCache::insert(QIODevice* device0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -242,7 +242,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QNetworkCacheMetaData PythonQtShell_QAbstractNetworkCache::metaData(const QUrl& url0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -272,7 +272,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIODevice* PythonQtShell_QAbstractNetworkCache::prepare(const QNetworkCacheMetaData& metaData0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("prepare"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -302,7 +302,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractNetworkCache::remove(const QUrl& url0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("remove"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -332,7 +332,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractNetworkCache::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -351,7 +351,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractNetworkCache::updateMetaData(const QNetworkCacheMetaData& metaData0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateMetaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -420,7 +420,7 @@ PythonQtShell_QAbstractSocket::~PythonQtShell_QAbstractSocket() { } bool PythonQtShell_QAbstractSocket::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -450,7 +450,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QAbstractSocket::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -480,7 +480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QAbstractSocket::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -510,7 +510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -540,7 +540,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -559,7 +559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -578,7 +578,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::connectToHost(const QHostAddress& address0, unsigned short port1, QIODevice::OpenMode mode2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -597,7 +597,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::connectToHost(const QString& hostName0, unsigned short port1, QIODevice::OpenMode mode2, QAbstractSocket::NetworkLayerProtocol protocol3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -616,7 +616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -635,7 +635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::disconnectFromHost() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("disconnectFromHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -654,7 +654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -684,7 +684,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -714,7 +714,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -744,7 +744,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -774,7 +774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QAbstractSocket::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -804,7 +804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QAbstractSocket::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -834,7 +834,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QAbstractSocket::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -864,7 +864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -894,7 +894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::resume() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -913,7 +913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::seek(qint64 pos0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -943,7 +943,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::setReadBufferSize(qint64 size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -962,7 +962,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::setSocketOption(QAbstractSocket::SocketOption option0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSocketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -981,7 +981,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QAbstractSocket::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1011,7 +1011,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractSocket::socketOption(QAbstractSocket::SocketOption option0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("socketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1041,7 +1041,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1060,7 +1060,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1090,7 +1090,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::waitForConnected(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1120,7 +1120,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::waitForDisconnected(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForDisconnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1150,7 +1150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1180,7 +1180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QAbstractSocket::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1727,7 +1727,7 @@ PythonQtShell_QHttpMultiPart::~PythonQtShell_QHttpMultiPart() { } void PythonQtShell_QHttpMultiPart::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1746,7 +1746,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHttpMultiPart::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1765,7 +1765,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHttpMultiPart::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1795,7 +1795,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHttpMultiPart::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1825,7 +1825,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHttpMultiPart::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1938,7 +1938,7 @@ PythonQtShell_QLocalServer::~PythonQtShell_QLocalServer() { } void PythonQtShell_QLocalServer::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1957,7 +1957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLocalServer::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1976,7 +1976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalServer::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2006,7 +2006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalServer::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2036,7 +2036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalServer::hasPendingConnections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasPendingConnections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2066,7 +2066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLocalServer::incomingConnection(quintptr socketDescriptor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("incomingConnection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2085,7 +2085,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLocalSocket* PythonQtShell_QLocalServer::nextPendingConnection() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextPendingConnection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2115,7 +2115,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLocalServer::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2224,7 +2224,7 @@ PythonQtShell_QLocalSocket::~PythonQtShell_QLocalSocket() { } bool PythonQtShell_QLocalSocket::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2254,7 +2254,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QLocalSocket::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2284,7 +2284,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QLocalSocket::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2314,7 +2314,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2344,7 +2344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLocalSocket::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2363,7 +2363,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLocalSocket::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2382,7 +2382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLocalSocket::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2401,7 +2401,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2431,7 +2431,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2461,7 +2461,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2491,7 +2491,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2521,7 +2521,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QLocalSocket::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2551,7 +2551,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QLocalSocket::readData(char* arg__1, qint64 arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2581,7 +2581,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QLocalSocket::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2611,7 +2611,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2641,7 +2641,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::seek(qint64 pos0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2671,7 +2671,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QLocalSocket::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2701,7 +2701,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLocalSocket::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2720,7 +2720,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2750,7 +2750,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2780,7 +2780,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QLocalSocket::writeData(const char* arg__1, qint64 arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2930,7 +2930,7 @@ PythonQtShell_QNetworkAccessManager::~PythonQtShell_QNetworkAccessManager() { } void PythonQtShell_QNetworkAccessManager::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2949,7 +2949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QNetworkReply* PythonQtShell_QNetworkAccessManager::createRequest(QNetworkAccessManager::Operation op0, const QNetworkRequest& request1, QIODevice* outgoingData2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createRequest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2979,7 +2979,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkAccessManager::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2998,7 +2998,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkAccessManager::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3028,7 +3028,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkAccessManager::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3058,7 +3058,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkAccessManager::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3457,7 +3457,7 @@ PythonQtShell_QNetworkConfigurationManager::~PythonQtShell_QNetworkConfiguration } void PythonQtShell_QNetworkConfigurationManager::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3476,7 +3476,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkConfigurationManager::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3495,7 +3495,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkConfigurationManager::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3525,7 +3525,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkConfigurationManager::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3555,7 +3555,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkConfigurationManager::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3736,7 +3736,7 @@ PythonQtShell_QNetworkCookieJar::~PythonQtShell_QNetworkCookieJar() { } void PythonQtShell_QNetworkCookieJar::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3755,7 +3755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QNetworkCookieJar::cookiesForUrl(const QUrl& url0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("cookiesForUrl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3785,7 +3785,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkCookieJar::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3804,7 +3804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkCookieJar::deleteCookie(const QNetworkCookie& cookie0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("deleteCookie"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3834,7 +3834,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkCookieJar::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3864,7 +3864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkCookieJar::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3894,7 +3894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkCookieJar::insertCookie(const QNetworkCookie& cookie0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertCookie"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3924,7 +3924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkCookieJar::setCookiesFromUrl(const QList& cookieList0, const QUrl& url1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setCookiesFromUrl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3954,7 +3954,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkCookieJar::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3973,7 +3973,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkCookieJar::updateCookie(const QNetworkCookie& cookie0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCookie"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4003,7 +4003,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkCookieJar::validateCookie(const QNetworkCookie& cookie0, const QUrl& url1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validateCookie"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4083,7 +4083,7 @@ PythonQtShell_QNetworkDiskCache::~PythonQtShell_QNetworkDiskCache() { } qint64 PythonQtShell_QNetworkDiskCache::cacheSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("cacheSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4113,7 +4113,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkDiskCache::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4132,7 +4132,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkDiskCache::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4151,7 +4151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkDiskCache::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4170,7 +4170,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIODevice* PythonQtShell_QNetworkDiskCache::data(const QUrl& url0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4200,7 +4200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkDiskCache::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4230,7 +4230,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkDiskCache::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4260,7 +4260,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QNetworkDiskCache::expire() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expire"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4290,7 +4290,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkDiskCache::insert(QIODevice* device0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4309,7 +4309,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QNetworkCacheMetaData PythonQtShell_QNetworkDiskCache::metaData(const QUrl& url0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4339,7 +4339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIODevice* PythonQtShell_QNetworkDiskCache::prepare(const QNetworkCacheMetaData& metaData0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("prepare"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4369,7 +4369,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkDiskCache::remove(const QUrl& url0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("remove"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4399,7 +4399,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkDiskCache::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4418,7 +4418,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkDiskCache::updateMetaData(const QNetworkCacheMetaData& metaData0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateMetaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4740,7 +4740,7 @@ PythonQtShell_QNetworkProxyFactory::~PythonQtShell_QNetworkProxyFactory() { } QList PythonQtShell_QNetworkProxyFactory::queryProxy(const QNetworkProxyQuery& query0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("queryProxy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4924,7 +4924,7 @@ PythonQtShell_QNetworkReply::~PythonQtShell_QNetworkReply() { } void PythonQtShell_QNetworkReply::abort() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("abort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4943,7 +4943,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4973,7 +4973,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QNetworkReply::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5003,7 +5003,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QNetworkReply::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5033,7 +5033,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5063,7 +5063,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5082,7 +5082,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5101,7 +5101,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5120,7 +5120,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5150,7 +5150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5180,7 +5180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::ignoreSslErrors() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ignoreSslErrors"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5199,7 +5199,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::ignoreSslErrorsImplementation(const QList& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ignoreSslErrorsImplementation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5218,7 +5218,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5248,7 +5248,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5278,7 +5278,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QNetworkReply::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5308,7 +5308,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QNetworkReply::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5338,7 +5338,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QNetworkReply::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5368,7 +5368,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5398,7 +5398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::seek(qint64 pos0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5428,7 +5428,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::setReadBufferSize(qint64 size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5447,7 +5447,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::setSslConfigurationImplementation(const QSslConfiguration& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSslConfigurationImplementation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5466,7 +5466,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QNetworkReply::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5496,7 +5496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::sslConfigurationImplementation(QSslConfiguration& arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sslConfigurationImplementation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5515,7 +5515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5534,7 +5534,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5564,7 +5564,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5594,7 +5594,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QNetworkReply::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5884,7 +5884,7 @@ PythonQtShell_QNetworkSession::~PythonQtShell_QNetworkSession() { } void PythonQtShell_QNetworkSession::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5903,7 +5903,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkSession::connectNotify(const QMetaMethod& signal0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("connectNotify"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5922,7 +5922,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkSession::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5941,7 +5941,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkSession::disconnectNotify(const QMetaMethod& signal0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("disconnectNotify"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5960,7 +5960,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkSession::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5990,7 +5990,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkSession::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6020,7 +6020,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkSession::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_network/com_trolltech_qt_network1.cpp b/generated_cpp_50/com_trolltech_qt_network/com_trolltech_qt_network1.cpp index 2250fc86d..f67a83964 100644 --- a/generated_cpp_50/com_trolltech_qt_network/com_trolltech_qt_network1.cpp +++ b/generated_cpp_50/com_trolltech_qt_network/com_trolltech_qt_network1.cpp @@ -121,7 +121,7 @@ PythonQtShell_QSslSocket::~PythonQtShell_QSslSocket() { } bool PythonQtShell_QSslSocket::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -151,7 +151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSslSocket::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -181,7 +181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSslSocket::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -211,7 +211,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -241,7 +241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -260,7 +260,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -279,7 +279,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::connectToHost(const QString& hostName0, unsigned short port1, QIODevice::OpenMode openMode2, QAbstractSocket::NetworkLayerProtocol protocol3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -298,7 +298,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -317,7 +317,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::disconnectFromHost() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("disconnectFromHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -336,7 +336,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -366,7 +366,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -396,7 +396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -426,7 +426,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -456,7 +456,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSslSocket::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -486,7 +486,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSslSocket::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -516,7 +516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSslSocket::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -546,7 +546,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -576,7 +576,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::resume() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -595,7 +595,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::seek(qint64 pos0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -625,7 +625,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::setReadBufferSize(qint64 size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -644,7 +644,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::setSocketOption(QAbstractSocket::SocketOption option0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSocketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -663,7 +663,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSslSocket::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -693,7 +693,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSslSocket::socketOption(QAbstractSocket::SocketOption option0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("socketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -723,7 +723,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -742,7 +742,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -772,7 +772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::waitForConnected(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -802,7 +802,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::waitForDisconnected(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForDisconnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -832,7 +832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -862,7 +862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSslSocket::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1238,7 +1238,7 @@ PythonQtShell_QTcpServer::~PythonQtShell_QTcpServer() { } void PythonQtShell_QTcpServer::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1257,7 +1257,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpServer::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1276,7 +1276,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpServer::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1306,7 +1306,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpServer::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1336,7 +1336,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpServer::hasPendingConnections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasPendingConnections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1366,7 +1366,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QTcpSocket* PythonQtShell_QTcpServer::nextPendingConnection() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextPendingConnection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1396,7 +1396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpServer::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1510,7 +1510,7 @@ PythonQtShell_QTcpSocket::~PythonQtShell_QTcpSocket() { } bool PythonQtShell_QTcpSocket::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1540,7 +1540,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTcpSocket::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1570,7 +1570,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTcpSocket::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1600,7 +1600,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1630,7 +1630,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1649,7 +1649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1668,7 +1668,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::connectToHost(const QHostAddress& address0, unsigned short port1, QIODevice::OpenMode mode2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1687,7 +1687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::connectToHost(const QString& hostName0, unsigned short port1, QIODevice::OpenMode mode2, QAbstractSocket::NetworkLayerProtocol protocol3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1706,7 +1706,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1725,7 +1725,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::disconnectFromHost() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("disconnectFromHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1744,7 +1744,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1774,7 +1774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1804,7 +1804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1834,7 +1834,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1864,7 +1864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTcpSocket::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1894,7 +1894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTcpSocket::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1924,7 +1924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTcpSocket::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1954,7 +1954,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1984,7 +1984,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::resume() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2003,7 +2003,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::seek(qint64 pos0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2033,7 +2033,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::setReadBufferSize(qint64 size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2052,7 +2052,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::setSocketOption(QAbstractSocket::SocketOption option0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSocketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2071,7 +2071,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTcpSocket::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2101,7 +2101,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTcpSocket::socketOption(QAbstractSocket::SocketOption option0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("socketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2131,7 +2131,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2150,7 +2150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2180,7 +2180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::waitForConnected(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2210,7 +2210,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::waitForDisconnected(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForDisconnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2240,7 +2240,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2270,7 +2270,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTcpSocket::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2310,7 +2310,7 @@ PythonQtShell_QUdpSocket::~PythonQtShell_QUdpSocket() { } bool PythonQtShell_QUdpSocket::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2340,7 +2340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QUdpSocket::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2370,7 +2370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QUdpSocket::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2400,7 +2400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2430,7 +2430,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2449,7 +2449,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2468,7 +2468,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::connectToHost(const QHostAddress& address0, unsigned short port1, QIODevice::OpenMode mode2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2487,7 +2487,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::connectToHost(const QString& hostName0, unsigned short port1, QIODevice::OpenMode mode2, QAbstractSocket::NetworkLayerProtocol protocol3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2506,7 +2506,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2525,7 +2525,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::disconnectFromHost() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("disconnectFromHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2544,7 +2544,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2574,7 +2574,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2604,7 +2604,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2634,7 +2634,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2664,7 +2664,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QUdpSocket::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2694,7 +2694,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QUdpSocket::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2724,7 +2724,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QUdpSocket::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2754,7 +2754,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2784,7 +2784,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::resume() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2803,7 +2803,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::seek(qint64 pos0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2833,7 +2833,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::setReadBufferSize(qint64 size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2852,7 +2852,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::setSocketOption(QAbstractSocket::SocketOption option0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSocketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2871,7 +2871,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QUdpSocket::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2901,7 +2901,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QUdpSocket::socketOption(QAbstractSocket::SocketOption option0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("socketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2931,7 +2931,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2950,7 +2950,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2980,7 +2980,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::waitForConnected(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3010,7 +3010,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::waitForDisconnected(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForDisconnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3040,7 +3040,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3070,7 +3070,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QUdpSocket::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp b/generated_cpp_50/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp index a2809ea81..92192afaa 100644 --- a/generated_cpp_50/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp +++ b/generated_cpp_50/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp @@ -227,7 +227,7 @@ PythonQtShell_QGLContext::~PythonQtShell_QGLContext() { } bool PythonQtShell_QGLContext::chooseContext(const QGLContext* shareContext0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("chooseContext"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -257,7 +257,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLContext::create(const QGLContext* shareContext0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -287,7 +287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLContext::doneCurrent() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doneCurrent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -306,7 +306,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLContext::makeCurrent() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("makeCurrent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -325,7 +325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLContext::swapBuffers() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("swapBuffers"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -844,7 +844,7 @@ PythonQtShell_QGLFramebufferObject::~PythonQtShell_QGLFramebufferObject() { } int PythonQtShell_QGLFramebufferObject::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -874,7 +874,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLFramebufferObject::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -893,7 +893,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGLFramebufferObject::metric(QPaintDevice::PaintDeviceMetric metric0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -923,7 +923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QGLFramebufferObject::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -953,7 +953,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QGLFramebufferObject::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -983,7 +983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QGLFramebufferObject::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1713,7 +1713,7 @@ PythonQtShell_QGLPixelBuffer::~PythonQtShell_QGLPixelBuffer() { } int PythonQtShell_QGLPixelBuffer::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1743,7 +1743,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLPixelBuffer::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1762,7 +1762,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGLPixelBuffer::metric(QPaintDevice::PaintDeviceMetric metric0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1792,7 +1792,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QGLPixelBuffer::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1822,7 +1822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QGLPixelBuffer::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1852,7 +1852,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QGLPixelBuffer::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2006,7 +2006,7 @@ PythonQtShell_QGLShader::~PythonQtShell_QGLShader() { } void PythonQtShell_QGLShader::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2025,7 +2025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLShader::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2044,7 +2044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLShader::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2074,7 +2074,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLShader::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2104,7 +2104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLShader::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2187,7 +2187,7 @@ PythonQtShell_QGLShaderProgram::~PythonQtShell_QGLShaderProgram() { } void PythonQtShell_QGLShaderProgram::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2206,7 +2206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLShaderProgram::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2225,7 +2225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLShaderProgram::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2255,7 +2255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLShaderProgram::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2285,7 +2285,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLShaderProgram::link() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("link"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2315,7 +2315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLShaderProgram::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2888,7 +2888,7 @@ PythonQtShell_QGLWidget::~PythonQtShell_QGLWidget() { } void PythonQtShell_QGLWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2907,7 +2907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2926,7 +2926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2945,7 +2945,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2964,7 +2964,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2983,7 +2983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3002,7 +3002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGLWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3032,7 +3032,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3051,7 +3051,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3070,7 +3070,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3089,7 +3089,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3108,7 +3108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3127,7 +3127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLWidget::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3157,7 +3157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3187,7 +3187,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3206,7 +3206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3236,7 +3236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3255,7 +3255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::glDraw() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("glDraw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3274,7 +3274,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::glInit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("glInit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3293,7 +3293,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3323,7 +3323,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGLWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3353,7 +3353,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3372,7 +3372,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3391,7 +3391,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::initializeGL() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initializeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3410,7 +3410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::initializeOverlayGL() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initializeOverlayGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3429,7 +3429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3448,7 +3448,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGLWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3478,7 +3478,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3497,7 +3497,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3516,7 +3516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3535,7 +3535,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGLWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3565,7 +3565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QGLWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3595,7 +3595,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3614,7 +3614,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3633,7 +3633,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3652,7 +3652,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3671,7 +3671,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3690,7 +3690,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3720,7 +3720,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QGLWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3750,7 +3750,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3769,7 +3769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::paintGL() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3788,7 +3788,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::paintOverlayGL() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintOverlayGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3807,7 +3807,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QGLWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3837,7 +3837,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3856,7 +3856,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::resizeGL(int w0, int h1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3875,7 +3875,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::resizeOverlayGL(int w0, int h1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeOverlayGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3894,7 +3894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QGLWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3924,7 +3924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3943,7 +3943,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QGLWidget::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3973,7 +3973,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3992,7 +3992,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4011,7 +4011,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::updateGL() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4030,7 +4030,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::updateOverlayGL() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateOverlayGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4049,7 +4049,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp b/generated_cpp_50/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp index 43248aa38..671b9602d 100644 --- a/generated_cpp_50/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp +++ b/generated_cpp_50/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp @@ -275,7 +275,7 @@ PythonQtShell_QSqlDriver::~PythonQtShell_QSqlDriver() { } bool PythonQtShell_QSqlDriver::beginTransaction() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("beginTransaction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -305,7 +305,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::cancelQuery() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("cancelQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -335,7 +335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlDriver::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -354,7 +354,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlDriver::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -373,7 +373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::commitTransaction() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitTransaction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -403,7 +403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSqlResult* PythonQtShell_QSqlDriver::createResult() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createResult"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -433,7 +433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlDriver::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -452,7 +452,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSqlDriver::escapeIdentifier(const QString& identifier0, QSqlDriver::IdentifierType type1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("escapeIdentifier"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -482,7 +482,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -512,7 +512,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -542,7 +542,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSqlDriver::formatValue(const QSqlField& field0, bool trimStrings1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("formatValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -572,7 +572,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlDriver::handle() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("handle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -602,7 +602,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::hasFeature(QSqlDriver::DriverFeature f0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -632,7 +632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::isIdentifierEscaped(const QString& identifier0, QSqlDriver::IdentifierType type1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIdentifierEscaped"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -662,7 +662,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::isOpen() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isOpen"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -692,7 +692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::open(const QString& db0, const QString& user1, const QString& password2, const QString& host3, int port4, const QString& connOpts5) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -722,7 +722,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSqlIndex PythonQtShell_QSqlDriver::primaryIndex(const QString& tableName0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("primaryIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -752,7 +752,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSqlRecord PythonQtShell_QSqlDriver::record(const QString& tableName0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("record"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -782,7 +782,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::rollbackTransaction() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rollbackTransaction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -812,7 +812,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlDriver::setLastError(const QSqlError& e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setLastError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -831,7 +831,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlDriver::setOpen(bool o0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setOpen"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -850,7 +850,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlDriver::setOpenError(bool e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setOpenError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -869,7 +869,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSqlDriver::sqlStatement(QSqlDriver::StatementType type0, const QString& tableName1, const QSqlRecord& rec2, bool preparedStatement3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sqlStatement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -899,7 +899,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSqlDriver::stripDelimiters(const QString& identifier0, QSqlDriver::IdentifierType type1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stripDelimiters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -929,7 +929,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::subscribeToNotification(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("subscribeToNotification"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -959,7 +959,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QSqlDriver::subscribedToNotifications() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("subscribedToNotifications"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -989,7 +989,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QSqlDriver::tables(QSql::TableType tableType0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tables"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1019,7 +1019,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlDriver::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1038,7 +1038,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::unsubscribeFromNotification(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unsubscribeFromNotification"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1218,7 +1218,7 @@ PythonQtShell_QSqlDriverCreatorBase::~PythonQtShell_QSqlDriverCreatorBase() { } QSqlDriver* PythonQtShell_QSqlDriverCreatorBase::createObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1755,7 +1755,7 @@ PythonQtShell_QSqlQueryModel::~PythonQtShell_QSqlQueryModel() { } QModelIndex PythonQtShell_QSqlQueryModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1785,7 +1785,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1815,7 +1815,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1845,7 +1845,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlQueryModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1864,7 +1864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlQueryModel::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1883,7 +1883,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSqlQueryModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1913,7 +1913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlQueryModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1932,7 +1932,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlQueryModel::data(const QModelIndex& item0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1962,7 +1962,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1992,7 +1992,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2022,7 +2022,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2052,7 +2052,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlQueryModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2071,7 +2071,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QSqlQueryModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2101,7 +2101,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlQueryModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2131,7 +2131,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlQueryModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2161,7 +2161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlQueryModel::indexInQuery(const QModelIndex& item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexInQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2191,7 +2191,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2221,7 +2221,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2251,7 +2251,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QSqlQueryModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2281,7 +2281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QSqlQueryModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2311,7 +2311,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QSqlQueryModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2341,7 +2341,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QSqlQueryModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2371,7 +2371,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2401,7 +2401,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2431,7 +2431,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlQueryModel::queryChange() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("queryChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2450,7 +2450,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2480,7 +2480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2510,7 +2510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlQueryModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2529,7 +2529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QSqlQueryModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2559,7 +2559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSqlQueryModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2589,7 +2589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2619,7 +2619,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2649,7 +2649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2679,7 +2679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlQueryModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2709,7 +2709,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlQueryModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2728,7 +2728,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSqlQueryModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2758,7 +2758,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2788,7 +2788,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QSqlQueryModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2818,7 +2818,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QSqlQueryModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2848,7 +2848,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlQueryModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3204,7 +3204,7 @@ PythonQtShell_QSqlRelationalTableModel::~PythonQtShell_QSqlRelationalTableModel( } QModelIndex PythonQtShell_QSqlRelationalTableModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3234,7 +3234,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3264,7 +3264,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3294,7 +3294,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3313,7 +3313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3332,7 +3332,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSqlRelationalTableModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3362,7 +3362,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3381,7 +3381,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlRelationalTableModel::data(const QModelIndex& item0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3411,7 +3411,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::deleteRowFromTable(int row0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("deleteRowFromTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3441,7 +3441,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3471,7 +3471,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3501,7 +3501,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3531,7 +3531,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3550,7 +3550,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QSqlRelationalTableModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3580,7 +3580,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlRelationalTableModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3610,7 +3610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlRelationalTableModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3640,7 +3640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlRelationalTableModel::indexInQuery(const QModelIndex& item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexInQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3670,7 +3670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3700,7 +3700,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::insertRowIntoTable(const QSqlRecord& values0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRowIntoTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3730,7 +3730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3760,7 +3760,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QSqlRelationalTableModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3790,7 +3790,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QSqlRelationalTableModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3820,7 +3820,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QSqlRelationalTableModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3850,7 +3850,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QSqlRelationalTableModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3880,7 +3880,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3910,7 +3910,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3940,7 +3940,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSqlRelationalTableModel::orderByClause() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("orderByClause"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3970,7 +3970,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::queryChange() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("queryChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3989,7 +3989,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSqlTableModel* PythonQtShell_QSqlRelationalTableModel::relationModel(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("relationModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4019,7 +4019,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4049,7 +4049,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4079,7 +4079,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4098,7 +4098,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::revertRow(int row0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revertRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4117,7 +4117,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QSqlRelationalTableModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4147,7 +4147,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSqlRelationalTableModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4177,7 +4177,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::select() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4207,7 +4207,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::selectRow(int row0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4237,7 +4237,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSqlRelationalTableModel::selectStatement() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectStatement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4267,7 +4267,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::setData(const QModelIndex& item0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4297,7 +4297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::setEditStrategy(QSqlTableModel::EditStrategy strategy0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setEditStrategy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4316,7 +4316,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::setFilter(const QString& filter0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4335,7 +4335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4365,7 +4365,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4395,7 +4395,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::setRelation(int column0, const QSqlRelation& relation1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRelation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4414,7 +4414,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::setSort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4433,7 +4433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::setTable(const QString& tableName0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4452,7 +4452,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlRelationalTableModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4482,7 +4482,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4501,7 +4501,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSqlRelationalTableModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4531,7 +4531,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4561,7 +4561,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QSqlRelationalTableModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4591,7 +4591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QSqlRelationalTableModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4621,7 +4621,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4640,7 +4640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::updateRowInTable(int row0, const QSqlRecord& values1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateRowInTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4755,7 +4755,7 @@ PythonQtShell_QSqlResult::~PythonQtShell_QSqlResult() { } void PythonQtShell_QSqlResult::bindValue(const QString& placeholder0, const QVariant& val1, QSql::ParamType type2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bindValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4774,7 +4774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::bindValue(int pos0, const QVariant& val1, QSql::ParamType type2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bindValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4793,7 +4793,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlResult::data(int i0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4823,7 +4823,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::detachFromResultSet() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("detachFromResultSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4842,7 +4842,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4872,7 +4872,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::execBatch(bool arrayBind0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("execBatch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4902,7 +4902,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::fetch(int i0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4932,7 +4932,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::fetchFirst() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchFirst"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4962,7 +4962,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::fetchLast() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchLast"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4992,7 +4992,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::fetchNext() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchNext"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5022,7 +5022,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::fetchPrevious() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchPrevious"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5052,7 +5052,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlResult::handle() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("handle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5082,7 +5082,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::isNull(int i0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isNull"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5112,7 +5112,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlResult::lastInsertId() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("lastInsertId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5142,7 +5142,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::nextResult() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextResult"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5172,7 +5172,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSqlResult::numRowsAffected() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("numRowsAffected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5202,7 +5202,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::prepare(const QString& query0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("prepare"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5232,7 +5232,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSqlRecord PythonQtShell_QSqlResult::record() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("record"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5262,7 +5262,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::reset(const QString& sqlquery0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5292,7 +5292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::savePrepare(const QString& sqlquery0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("savePrepare"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5322,7 +5322,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::setActive(bool a0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setActive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5341,7 +5341,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::setAt(int at0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5360,7 +5360,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::setForwardOnly(bool forward0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setForwardOnly"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5379,7 +5379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::setLastError(const QSqlError& e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setLastError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5398,7 +5398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy policy0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setNumericalPrecisionPolicy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5417,7 +5417,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::setQuery(const QString& query0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5436,7 +5436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::setSelect(bool s0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5455,7 +5455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSqlResult::size() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5485,7 +5485,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::virtual_hook(int id0, void* data1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("virtual_hook"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5764,7 +5764,7 @@ PythonQtShell_QSqlTableModel::~PythonQtShell_QSqlTableModel() { } QModelIndex PythonQtShell_QSqlTableModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5794,7 +5794,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5824,7 +5824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5854,7 +5854,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5873,7 +5873,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5892,7 +5892,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSqlTableModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5922,7 +5922,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5941,7 +5941,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlTableModel::data(const QModelIndex& idx0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5971,7 +5971,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::deleteRowFromTable(int row0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("deleteRowFromTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6001,7 +6001,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6031,7 +6031,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6061,7 +6061,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6091,7 +6091,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6110,7 +6110,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QSqlTableModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6140,7 +6140,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlTableModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6170,7 +6170,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlTableModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6200,7 +6200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlTableModel::indexInQuery(const QModelIndex& item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexInQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6230,7 +6230,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6260,7 +6260,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::insertRowIntoTable(const QSqlRecord& values0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRowIntoTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6290,7 +6290,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6320,7 +6320,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QSqlTableModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6350,7 +6350,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QSqlTableModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6380,7 +6380,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QSqlTableModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6410,7 +6410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QSqlTableModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6440,7 +6440,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6470,7 +6470,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6500,7 +6500,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSqlTableModel::orderByClause() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("orderByClause"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6530,7 +6530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::queryChange() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("queryChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6549,7 +6549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6579,7 +6579,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6609,7 +6609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6628,7 +6628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::revertRow(int row0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revertRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6647,7 +6647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QSqlTableModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6677,7 +6677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSqlTableModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6707,7 +6707,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::select() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6737,7 +6737,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::selectRow(int row0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6767,7 +6767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSqlTableModel::selectStatement() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectStatement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6797,7 +6797,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6827,7 +6827,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::setEditStrategy(QSqlTableModel::EditStrategy strategy0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setEditStrategy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6846,7 +6846,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::setFilter(const QString& filter0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6865,7 +6865,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6895,7 +6895,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6925,7 +6925,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::setSort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6944,7 +6944,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::setTable(const QString& tableName0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6963,7 +6963,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlTableModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6993,7 +6993,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7012,7 +7012,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSqlTableModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7042,7 +7042,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7072,7 +7072,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QSqlTableModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7102,7 +7102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QSqlTableModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7132,7 +7132,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7151,7 +7151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::updateRowInTable(int row0, const QSqlRecord& values1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateRowInTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp b/generated_cpp_50/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp index 34bc75312..c1d75b588 100644 --- a/generated_cpp_50/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp +++ b/generated_cpp_50/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp @@ -55,7 +55,7 @@ PythonQtShell_QGraphicsSvgItem::~PythonQtShell_QGraphicsSvgItem() { } QRectF PythonQtShell_QGraphicsSvgItem::boundingRect() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -85,7 +85,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsSvgItem::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -104,7 +104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsSvgItem::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -123,7 +123,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsSvgItem::event(QEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -153,7 +153,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsSvgItem::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -183,7 +183,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsSvgItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -202,7 +202,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsSvgItem::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -221,7 +221,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsSvgItem::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -320,7 +320,7 @@ PythonQtShell_QSvgGenerator::~PythonQtShell_QSvgGenerator() { } int PythonQtShell_QSvgGenerator::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -350,7 +350,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgGenerator::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -369,7 +369,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSvgGenerator::metric(QPaintDevice::PaintDeviceMetric metric0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -399,7 +399,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QSvgGenerator::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -429,7 +429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QSvgGenerator::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -459,7 +459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QSvgGenerator::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -589,7 +589,7 @@ PythonQtShell_QSvgRenderer::~PythonQtShell_QSvgRenderer() { } void PythonQtShell_QSvgRenderer::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -608,7 +608,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgRenderer::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -627,7 +627,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSvgRenderer::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -657,7 +657,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSvgRenderer::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -687,7 +687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgRenderer::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -803,7 +803,7 @@ PythonQtShell_QSvgWidget::~PythonQtShell_QSvgWidget() { } void PythonQtShell_QSvgWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -822,7 +822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -841,7 +841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -860,7 +860,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -879,7 +879,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -898,7 +898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -917,7 +917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSvgWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -947,7 +947,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -966,7 +966,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -985,7 +985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1004,7 +1004,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1023,7 +1023,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1042,7 +1042,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSvgWidget::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1072,7 +1072,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSvgWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1102,7 +1102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1121,7 +1121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSvgWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1151,7 +1151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1170,7 +1170,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSvgWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1200,7 +1200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSvgWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1230,7 +1230,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1249,7 +1249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1268,7 +1268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1287,7 +1287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSvgWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1317,7 +1317,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1336,7 +1336,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1355,7 +1355,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1374,7 +1374,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSvgWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1404,7 +1404,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSvgWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1434,7 +1434,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1453,7 +1453,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1472,7 +1472,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1491,7 +1491,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1510,7 +1510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1529,7 +1529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSvgWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1559,7 +1559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QSvgWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1589,7 +1589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1608,7 +1608,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QSvgWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1638,7 +1638,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1657,7 +1657,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QSvgWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1687,7 +1687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1706,7 +1706,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1725,7 +1725,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1744,7 +1744,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp b/generated_cpp_50/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp index 47a75051f..dc615eb2a 100644 --- a/generated_cpp_50/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp +++ b/generated_cpp_50/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp @@ -23,7 +23,7 @@ PythonQtShell_QUiLoader::~PythonQtShell_QUiLoader() { } void PythonQtShell_QUiLoader::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -42,7 +42,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAction* PythonQtShell_QUiLoader::createAction(QObject* parent0, const QString& name1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -72,7 +72,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QActionGroup* PythonQtShell_QUiLoader::createActionGroup(QObject* parent0, const QString& name1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createActionGroup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -102,7 +102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QUiLoader::createLayout(const QString& className0, QObject* parent1, const QString& name2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -132,7 +132,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QUiLoader::createWidget(const QString& className0, QWidget* parent1, const QString& name2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -162,7 +162,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUiLoader::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -181,7 +181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUiLoader::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -211,7 +211,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUiLoader::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -241,7 +241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUiLoader::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp b/generated_cpp_50/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp index 2a313450a..e38132d32 100644 --- a/generated_cpp_50/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp +++ b/generated_cpp_50/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp @@ -68,7 +68,7 @@ PythonQtShell_QGraphicsWebView::~PythonQtShell_QGraphicsWebView() { } void PythonQtShell_QGraphicsWebView::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -87,7 +87,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -106,7 +106,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -125,7 +125,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::contextMenuEvent(QGraphicsSceneContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -144,7 +144,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -163,7 +163,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::dragEnterEvent(QGraphicsSceneDragDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -182,7 +182,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::dragLeaveEvent(QGraphicsSceneDragDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -201,7 +201,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::dragMoveEvent(QGraphicsSceneDragDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -220,7 +220,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::dropEvent(QGraphicsSceneDragDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -239,7 +239,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWebView::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -269,7 +269,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWebView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -299,7 +299,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -318,7 +318,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWebView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -348,7 +348,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -367,7 +367,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -386,7 +386,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::grabKeyboardEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("grabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -405,7 +405,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::grabMouseEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("grabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -424,7 +424,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -443,7 +443,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::hoverLeaveEvent(QGraphicsSceneHoverEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -462,7 +462,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::hoverMoveEvent(QGraphicsSceneHoverEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -481,7 +481,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::initStyleOption(QStyleOption* option0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -500,7 +500,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -519,7 +519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsWebView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -549,7 +549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsWebView::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -582,7 +582,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -601,7 +601,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -620,7 +620,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -639,7 +639,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::mouseMoveEvent(QGraphicsSceneMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -658,7 +658,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::mousePressEvent(QGraphicsSceneMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -677,7 +677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::mouseReleaseEvent(QGraphicsSceneMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -696,7 +696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::moveEvent(QGraphicsSceneMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -715,7 +715,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::paint(QPainter* arg__1, const QStyleOptionGraphicsItem* options1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -734,7 +734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::paintWindowFrame(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintWindowFrame"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -753,7 +753,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::polishEvent() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polishEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -772,7 +772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsWebView::propertyChange(const QString& propertyName0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("propertyChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -802,7 +802,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::resizeEvent(QGraphicsSceneResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -821,7 +821,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWebView::sceneEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -851,7 +851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::setGeometry(const QRectF& rect0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -870,7 +870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -889,7 +889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizeF PythonQtShell_QGraphicsWebView::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -919,7 +919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -938,7 +938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::ungrabKeyboardEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -957,7 +957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::ungrabMouseEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ungrabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -976,7 +976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::updateGeometry() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -995,7 +995,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::wheelEvent(QGraphicsSceneWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1014,7 +1014,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWebView::windowFrameEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("windowFrameEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1044,7 +1044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::WindowFrameSection PythonQtShell_QGraphicsWebView::windowFrameSectionAt(const QPointF& pos0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("windowFrameSectionAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2108,7 +2108,7 @@ PythonQtShell_QWebHistoryInterface::~PythonQtShell_QWebHistoryInterface() { } void PythonQtShell_QWebHistoryInterface::addHistoryEntry(const QString& url0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addHistoryEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2127,7 +2127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebHistoryInterface::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2146,7 +2146,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebHistoryInterface::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2165,7 +2165,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebHistoryInterface::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2195,7 +2195,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebHistoryInterface::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2225,7 +2225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebHistoryInterface::historyContains(const QString& url0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("historyContains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2255,7 +2255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebHistoryInterface::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2445,7 +2445,7 @@ PythonQtShell_QWebInspector::~PythonQtShell_QWebInspector() { } void PythonQtShell_QWebInspector::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2464,7 +2464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2483,7 +2483,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2502,7 +2502,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2521,7 +2521,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2540,7 +2540,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2559,7 +2559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWebInspector::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2589,7 +2589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2608,7 +2608,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2627,7 +2627,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2646,7 +2646,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2665,7 +2665,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2684,7 +2684,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebInspector::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2714,7 +2714,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebInspector::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2744,7 +2744,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2763,7 +2763,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebInspector::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2793,7 +2793,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2812,7 +2812,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebInspector::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2842,7 +2842,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWebInspector::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2872,7 +2872,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2891,7 +2891,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2910,7 +2910,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2929,7 +2929,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QWebInspector::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2959,7 +2959,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2978,7 +2978,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2997,7 +2997,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3016,7 +3016,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWebInspector::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3046,7 +3046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWebInspector::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3076,7 +3076,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3095,7 +3095,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3114,7 +3114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3133,7 +3133,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3152,7 +3152,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3171,7 +3171,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebInspector::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3201,7 +3201,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QWebInspector::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3231,7 +3231,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3250,7 +3250,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QWebInspector::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3280,7 +3280,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3299,7 +3299,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QWebInspector::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3329,7 +3329,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3348,7 +3348,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3367,7 +3367,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3386,7 +3386,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3455,7 +3455,7 @@ PythonQtShell_QWebPage::~PythonQtShell_QWebPage() { } bool PythonQtShell_QWebPage::acceptNavigationRequest(QWebFrame* frame0, const QNetworkRequest& request1, QWebPage::NavigationType type2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("acceptNavigationRequest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3485,7 +3485,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPage::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3504,7 +3504,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QWebPage::chooseFile(QWebFrame* originatingFrame0, const QString& oldFile1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("chooseFile"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3534,7 +3534,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QObject* PythonQtShell_QWebPage::createPlugin(const QString& classid0, const QUrl& url1, const QStringList& paramNames2, const QStringList& paramValues3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createPlugin"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3564,7 +3564,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWebPage* PythonQtShell_QWebPage::createWindow(QWebPage::WebWindowType type0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createWindow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3594,7 +3594,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPage::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3613,7 +3613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPage::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3643,7 +3643,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPage::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3673,7 +3673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPage::extension(QWebPage::Extension extension0, const QWebPage::ExtensionOption* option1, QWebPage::ExtensionReturn* output2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3703,7 +3703,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPage::javaScriptAlert(QWebFrame* originatingFrame0, const QString& msg1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("javaScriptAlert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3722,7 +3722,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPage::javaScriptConfirm(QWebFrame* originatingFrame0, const QString& msg1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("javaScriptConfirm"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3752,7 +3752,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPage::javaScriptConsoleMessage(const QString& message0, int lineNumber1, const QString& sourceID2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("javaScriptConsoleMessage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3771,7 +3771,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPage::javaScriptPrompt(QWebFrame* originatingFrame0, const QString& msg1, const QString& defaultValue2, QString* result3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("javaScriptPrompt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3801,7 +3801,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPage::shouldInterruptJavaScript() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("shouldInterruptJavaScript"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3831,7 +3831,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPage::supportsExtension(QWebPage::Extension extension0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3861,7 +3861,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPage::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3880,7 +3880,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPage::triggerAction(QWebPage::WebAction action0, bool checked1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("triggerAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3899,7 +3899,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QWebPage::userAgentForUrl(const QUrl& url0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("userAgentForUrl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4274,7 +4274,7 @@ PythonQtShell_QWebPluginFactory::~PythonQtShell_QWebPluginFactory() { } void PythonQtShell_QWebPluginFactory::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4293,7 +4293,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QObject* PythonQtShell_QWebPluginFactory::create(const QString& mimeType0, const QUrl& arg__2, const QStringList& argumentNames2, const QStringList& argumentValues3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4323,7 +4323,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPluginFactory::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4342,7 +4342,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPluginFactory::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4372,7 +4372,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPluginFactory::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4402,7 +4402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPluginFactory::extension(QWebPluginFactory::Extension extension0, const QWebPluginFactory::ExtensionOption* option1, QWebPluginFactory::ExtensionReturn* output2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4432,7 +4432,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QWebPluginFactory::plugins() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("plugins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4462,7 +4462,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPluginFactory::refreshPlugins() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("refreshPlugins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4481,7 +4481,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPluginFactory::supportsExtension(QWebPluginFactory::Extension extension0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4511,7 +4511,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPluginFactory::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4873,7 +4873,7 @@ PythonQtShell_QWebView::~PythonQtShell_QWebView() { } void PythonQtShell_QWebView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4892,7 +4892,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4911,7 +4911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4930,7 +4930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4949,7 +4949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4968,7 +4968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWebView* PythonQtShell_QWebView::createWindow(QWebPage::WebWindowType type0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createWindow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4998,7 +4998,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5017,7 +5017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWebView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5047,7 +5047,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5066,7 +5066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5085,7 +5085,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5104,7 +5104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5123,7 +5123,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5142,7 +5142,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebView::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5172,7 +5172,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5202,7 +5202,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5221,7 +5221,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5251,7 +5251,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5270,7 +5270,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5300,7 +5300,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWebView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5330,7 +5330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5349,7 +5349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5368,7 +5368,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5387,7 +5387,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QWebView::inputMethodQuery(Qt::InputMethodQuery property0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5417,7 +5417,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5436,7 +5436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5455,7 +5455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5474,7 +5474,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWebView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5504,7 +5504,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWebView::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5534,7 +5534,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5553,7 +5553,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5572,7 +5572,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5591,7 +5591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5610,7 +5610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5629,7 +5629,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5659,7 +5659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QWebView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5689,7 +5689,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5708,7 +5708,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QWebView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5738,7 +5738,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5757,7 +5757,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QWebView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5787,7 +5787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5806,7 +5806,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5825,7 +5825,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5844,7 +5844,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp b/generated_cpp_50/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp index 6150a88e7..35c6945c1 100644 --- a/generated_cpp_50/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp +++ b/generated_cpp_50/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp @@ -1154,7 +1154,7 @@ PythonQtShell_QXmlContentHandler::~PythonQtShell_QXmlContentHandler() { } bool PythonQtShell_QXmlContentHandler::characters(const QString& ch0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1184,7 +1184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::endDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1214,7 +1214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::endElement(const QString& namespaceURI0, const QString& localName1, const QString& qName2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1244,7 +1244,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::endPrefixMapping(const QString& prefix0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endPrefixMapping"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1274,7 +1274,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QXmlContentHandler::errorString() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1304,7 +1304,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::ignorableWhitespace(const QString& ch0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ignorableWhitespace"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1334,7 +1334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::processingInstruction(const QString& target0, const QString& data1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1364,7 +1364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlContentHandler::setDocumentLocator(QXmlLocator* locator0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setDocumentLocator"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1383,7 +1383,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::skippedEntity(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("skippedEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1413,7 +1413,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::startDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1443,7 +1443,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::startElement(const QString& namespaceURI0, const QString& localName1, const QString& qName2, const QXmlAttributes& atts3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1473,7 +1473,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::startPrefixMapping(const QString& prefix0, const QString& uri1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startPrefixMapping"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1573,7 +1573,7 @@ PythonQtShell_QXmlDTDHandler::~PythonQtShell_QXmlDTDHandler() { } QString PythonQtShell_QXmlDTDHandler::errorString() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1603,7 +1603,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDTDHandler::notationDecl(const QString& name0, const QString& publicId1, const QString& systemId2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("notationDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1633,7 +1633,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDTDHandler::unparsedEntityDecl(const QString& name0, const QString& publicId1, const QString& systemId2, const QString& notationName3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unparsedEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1688,7 +1688,7 @@ PythonQtShell_QXmlDeclHandler::~PythonQtShell_QXmlDeclHandler() { } bool PythonQtShell_QXmlDeclHandler::attributeDecl(const QString& eName0, const QString& aName1, const QString& type2, const QString& valueDefault3, const QString& value4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("attributeDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1718,7 +1718,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QXmlDeclHandler::errorString() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1748,7 +1748,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDeclHandler::externalEntityDecl(const QString& name0, const QString& publicId1, const QString& systemId2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("externalEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1778,7 +1778,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDeclHandler::internalEntityDecl(const QString& name0, const QString& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("internalEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1838,7 +1838,7 @@ PythonQtShell_QXmlDefaultHandler::~PythonQtShell_QXmlDefaultHandler() { } bool PythonQtShell_QXmlDefaultHandler::attributeDecl(const QString& eName0, const QString& aName1, const QString& type2, const QString& valueDefault3, const QString& value4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("attributeDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1868,7 +1868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::characters(const QString& ch0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1898,7 +1898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::comment(const QString& ch0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1928,7 +1928,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::endCDATA() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endCDATA"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1958,7 +1958,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::endDTD() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endDTD"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1988,7 +1988,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::endDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2018,7 +2018,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::endElement(const QString& namespaceURI0, const QString& localName1, const QString& qName2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2048,7 +2048,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::endEntity(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2078,7 +2078,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::endPrefixMapping(const QString& prefix0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endPrefixMapping"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2108,7 +2108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::error(const QXmlParseException& exception0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("error"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2138,7 +2138,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QXmlDefaultHandler::errorString() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2168,7 +2168,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::externalEntityDecl(const QString& name0, const QString& publicId1, const QString& systemId2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("externalEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2198,7 +2198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::fatalError(const QXmlParseException& exception0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fatalError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2228,7 +2228,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::ignorableWhitespace(const QString& ch0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ignorableWhitespace"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2258,7 +2258,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::internalEntityDecl(const QString& name0, const QString& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("internalEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2288,7 +2288,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::notationDecl(const QString& name0, const QString& publicId1, const QString& systemId2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("notationDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2318,7 +2318,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::processingInstruction(const QString& target0, const QString& data1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2348,7 +2348,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::resolveEntity(const QString& publicId0, const QString& systemId1, QXmlInputSource*& ret2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resolveEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2378,7 +2378,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlDefaultHandler::setDocumentLocator(QXmlLocator* locator0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setDocumentLocator"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2397,7 +2397,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::skippedEntity(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("skippedEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2427,7 +2427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::startCDATA() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startCDATA"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2457,7 +2457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::startDTD(const QString& name0, const QString& publicId1, const QString& systemId2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDTD"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2487,7 +2487,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::startDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2517,7 +2517,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::startElement(const QString& namespaceURI0, const QString& localName1, const QString& qName2, const QXmlAttributes& atts3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2547,7 +2547,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::startEntity(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2577,7 +2577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::startPrefixMapping(const QString& prefix0, const QString& uri1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startPrefixMapping"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2607,7 +2607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::unparsedEntityDecl(const QString& name0, const QString& publicId1, const QString& systemId2, const QString& notationName3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unparsedEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2637,7 +2637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::warning(const QXmlParseException& exception0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("warning"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2817,7 +2817,7 @@ PythonQtShell_QXmlEntityResolver::~PythonQtShell_QXmlEntityResolver() { } QString PythonQtShell_QXmlEntityResolver::errorString() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2847,7 +2847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlEntityResolver::resolveEntity(const QString& publicId0, const QString& systemId1, QXmlInputSource*& ret2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resolveEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2897,7 +2897,7 @@ PythonQtShell_QXmlErrorHandler::~PythonQtShell_QXmlErrorHandler() { } bool PythonQtShell_QXmlErrorHandler::error(const QXmlParseException& exception0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("error"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2927,7 +2927,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QXmlErrorHandler::errorString() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2957,7 +2957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlErrorHandler::fatalError(const QXmlParseException& exception0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fatalError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2987,7 +2987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlErrorHandler::warning(const QXmlParseException& exception0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("warning"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3047,7 +3047,7 @@ PythonQtShell_QXmlInputSource::~PythonQtShell_QXmlInputSource() { } QString PythonQtShell_QXmlInputSource::data() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3077,7 +3077,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlInputSource::fetchData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3096,7 +3096,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QXmlInputSource::fromRawData(const QByteArray& data0, bool beginning1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fromRawData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3126,7 +3126,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QChar PythonQtShell_QXmlInputSource::next() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("next"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3156,7 +3156,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlInputSource::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3175,7 +3175,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlInputSource::setData(const QByteArray& dat0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3194,7 +3194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlInputSource::setData(const QString& dat0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3262,7 +3262,7 @@ PythonQtShell_QXmlLexicalHandler::~PythonQtShell_QXmlLexicalHandler() { } bool PythonQtShell_QXmlLexicalHandler::comment(const QString& ch0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3292,7 +3292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlLexicalHandler::endCDATA() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endCDATA"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3322,7 +3322,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlLexicalHandler::endDTD() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endDTD"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3352,7 +3352,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlLexicalHandler::endEntity(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3382,7 +3382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QXmlLexicalHandler::errorString() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3412,7 +3412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlLexicalHandler::startCDATA() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startCDATA"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3442,7 +3442,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlLexicalHandler::startDTD(const QString& name0, const QString& publicId1, const QString& systemId2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDTD"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3472,7 +3472,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlLexicalHandler::startEntity(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3552,7 +3552,7 @@ PythonQtShell_QXmlLocator::~PythonQtShell_QXmlLocator() { } int PythonQtShell_QXmlLocator::columnNumber() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnNumber"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3582,7 +3582,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QXmlLocator::lineNumber() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("lineNumber"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3667,7 +3667,7 @@ PythonQtShell_QXmlReader::~PythonQtShell_QXmlReader() { } QXmlDTDHandler* PythonQtShell_QXmlReader::DTDHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("DTDHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3697,7 +3697,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlContentHandler* PythonQtShell_QXmlReader::contentHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contentHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3727,7 +3727,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlDeclHandler* PythonQtShell_QXmlReader::declHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("declHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3757,7 +3757,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlEntityResolver* PythonQtShell_QXmlReader::entityResolver() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("entityResolver"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3787,7 +3787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlErrorHandler* PythonQtShell_QXmlReader::errorHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3817,7 +3817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlReader::feature(const QString& name0, bool* ok1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("feature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3847,7 +3847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlReader::hasFeature(const QString& name0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3877,7 +3877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlReader::hasProperty(const QString& name0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3907,7 +3907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlLexicalHandler* PythonQtShell_QXmlReader::lexicalHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("lexicalHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3937,7 +3937,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlReader::parse(const QXmlInputSource& input0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3967,7 +3967,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlReader::parse(const QXmlInputSource* input0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3997,7 +3997,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void* PythonQtShell_QXmlReader::property(const QString& name0, bool* ok1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("property"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4027,7 +4027,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlReader::setContentHandler(QXmlContentHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setContentHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4046,7 +4046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlReader::setDTDHandler(QXmlDTDHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setDTDHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4065,7 +4065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlReader::setDeclHandler(QXmlDeclHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setDeclHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4084,7 +4084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlReader::setEntityResolver(QXmlEntityResolver* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setEntityResolver"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4103,7 +4103,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlReader::setErrorHandler(QXmlErrorHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setErrorHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4122,7 +4122,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlReader::setFeature(const QString& name0, bool value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4141,7 +4141,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlReader::setLexicalHandler(QXmlLexicalHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setLexicalHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4160,7 +4160,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlReader::setProperty(const QString& name0, void* value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4289,7 +4289,7 @@ PythonQtShell_QXmlSimpleReader::~PythonQtShell_QXmlSimpleReader() { } QXmlDTDHandler* PythonQtShell_QXmlSimpleReader::DTDHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("DTDHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4319,7 +4319,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlContentHandler* PythonQtShell_QXmlSimpleReader::contentHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contentHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4349,7 +4349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlDeclHandler* PythonQtShell_QXmlSimpleReader::declHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("declHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4379,7 +4379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlEntityResolver* PythonQtShell_QXmlSimpleReader::entityResolver() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("entityResolver"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4409,7 +4409,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlErrorHandler* PythonQtShell_QXmlSimpleReader::errorHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4439,7 +4439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlSimpleReader::feature(const QString& name0, bool* ok1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("feature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4469,7 +4469,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlSimpleReader::hasFeature(const QString& name0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4499,7 +4499,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlSimpleReader::hasProperty(const QString& name0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4529,7 +4529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlLexicalHandler* PythonQtShell_QXmlSimpleReader::lexicalHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("lexicalHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4559,7 +4559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource& input0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4589,7 +4589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource* input0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4619,7 +4619,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource* input0, bool incremental1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4649,7 +4649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlSimpleReader::parseContinue() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parseContinue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4679,7 +4679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void* PythonQtShell_QXmlSimpleReader::property(const QString& name0, bool* ok1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("property"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4709,7 +4709,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSimpleReader::setContentHandler(QXmlContentHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setContentHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4728,7 +4728,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSimpleReader::setDTDHandler(QXmlDTDHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setDTDHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4747,7 +4747,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSimpleReader::setDeclHandler(QXmlDeclHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setDeclHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4766,7 +4766,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSimpleReader::setEntityResolver(QXmlEntityResolver* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setEntityResolver"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4785,7 +4785,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSimpleReader::setErrorHandler(QXmlErrorHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setErrorHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4804,7 +4804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSimpleReader::setFeature(const QString& name0, bool value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4823,7 +4823,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSimpleReader::setLexicalHandler(QXmlLexicalHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setLexicalHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4842,7 +4842,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSimpleReader::setProperty(const QString& name0, void* value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_50/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp b/generated_cpp_50/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp index e080b0b85..213033aa9 100644 --- a/generated_cpp_50/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp +++ b/generated_cpp_50/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp @@ -31,7 +31,7 @@ PythonQtShell_QAbstractMessageHandler::~PythonQtShell_QAbstractMessageHandler() } void PythonQtShell_QAbstractMessageHandler::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -50,7 +50,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractMessageHandler::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -69,7 +69,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractMessageHandler::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -99,7 +99,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractMessageHandler::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -129,7 +129,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractMessageHandler::handleMessage(QtMsgType type0, const QString& description1, const QUrl& identifier2, const QSourceLocation& sourceLocation3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("handleMessage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -148,7 +148,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractMessageHandler::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -187,7 +187,7 @@ PythonQtShell_QAbstractUriResolver::~PythonQtShell_QAbstractUriResolver() { } void PythonQtShell_QAbstractUriResolver::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -206,7 +206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractUriResolver::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -225,7 +225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractUriResolver::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -255,7 +255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractUriResolver::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -285,7 +285,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QUrl PythonQtShell_QAbstractUriResolver::resolve(const QUrl& relative0, const QUrl& baseURI1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resolve"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -315,7 +315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractUriResolver::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -349,7 +349,7 @@ PythonQtShell_QAbstractXmlNodeModel::~PythonQtShell_QAbstractXmlNodeModel() { } QVector PythonQtShell_QAbstractXmlNodeModel::attributes(const QXmlNodeModelIndex& element0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("attributes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -379,7 +379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QUrl PythonQtShell_QAbstractXmlNodeModel::baseUri(const QXmlNodeModelIndex& ni0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("baseUri"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -409,7 +409,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex::DocumentOrder PythonQtShell_QAbstractXmlNodeModel::compareOrder(const QXmlNodeModelIndex& ni10, const QXmlNodeModelIndex& ni21) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("compareOrder"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -439,7 +439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QUrl PythonQtShell_QAbstractXmlNodeModel::documentUri(const QXmlNodeModelIndex& ni0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("documentUri"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -469,7 +469,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::elementById(const QXmlName& NCName0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("elementById"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -499,7 +499,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractXmlNodeModel::isDeepEqual(const QXmlNodeModelIndex& ni10, const QXmlNodeModelIndex& ni21) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isDeepEqual"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -529,7 +529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex::NodeKind PythonQtShell_QAbstractXmlNodeModel::kind(const QXmlNodeModelIndex& ni0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("kind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -559,7 +559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlName PythonQtShell_QAbstractXmlNodeModel::name(const QXmlNodeModelIndex& ni0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("name"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -589,7 +589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVector PythonQtShell_QAbstractXmlNodeModel::namespaceBindings(const QXmlNodeModelIndex& n0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("namespaceBindings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -619,7 +619,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } short PythonQtShell_QAbstractXmlNodeModel::namespaceForPrefix(const QXmlNodeModelIndex& ni0, const short prefix1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("namespaceForPrefix"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -649,7 +649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis0, const QXmlNodeModelIndex& origin1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextFromSimpleAxis"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -679,7 +679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVector PythonQtShell_QAbstractXmlNodeModel::nodesByIdref(const QXmlName& NCName0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nodesByIdref"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -709,7 +709,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::root(const QXmlNodeModelIndex& n0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("root"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -739,7 +739,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QAbstractXmlNodeModel::stringValue(const QXmlNodeModelIndex& n0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stringValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -769,7 +769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractXmlNodeModel::typedValue(const QXmlNodeModelIndex& n0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("typedValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -894,7 +894,7 @@ PythonQtShell_QAbstractXmlReceiver::~PythonQtShell_QAbstractXmlReceiver() { } void PythonQtShell_QAbstractXmlReceiver::atomicValue(const QVariant& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atomicValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -913,7 +913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::attribute(const QXmlName& name0, const QStringRef& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("attribute"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -932,7 +932,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::characters(const QStringRef& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -951,7 +951,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::comment(const QString& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -970,7 +970,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::endDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -989,7 +989,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::endElement() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1008,7 +1008,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::endOfSequence() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1027,7 +1027,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::namespaceBinding(const QXmlName& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("namespaceBinding"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1046,7 +1046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::processingInstruction(const QXmlName& target0, const QString& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1065,7 +1065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::startDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1084,7 +1084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::startElement(const QXmlName& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1103,7 +1103,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::startOfSequence() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1122,7 +1122,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::whitespaceOnly(const QStringRef& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("whitespaceOnly"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1220,7 +1220,7 @@ PythonQtShell_QSimpleXmlNodeModel::~PythonQtShell_QSimpleXmlNodeModel() { } QVector PythonQtShell_QSimpleXmlNodeModel::attributes(const QXmlNodeModelIndex& element0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("attributes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1250,7 +1250,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QUrl PythonQtShell_QSimpleXmlNodeModel::baseUri(const QXmlNodeModelIndex& node0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("baseUri"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1280,7 +1280,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex::DocumentOrder PythonQtShell_QSimpleXmlNodeModel::compareOrder(const QXmlNodeModelIndex& ni10, const QXmlNodeModelIndex& ni21) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("compareOrder"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1310,7 +1310,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QUrl PythonQtShell_QSimpleXmlNodeModel::documentUri(const QXmlNodeModelIndex& ni0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("documentUri"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1340,7 +1340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::elementById(const QXmlName& id0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("elementById"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1370,7 +1370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex::NodeKind PythonQtShell_QSimpleXmlNodeModel::kind(const QXmlNodeModelIndex& ni0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("kind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1400,7 +1400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlName PythonQtShell_QSimpleXmlNodeModel::name(const QXmlNodeModelIndex& ni0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("name"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1430,7 +1430,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVector PythonQtShell_QSimpleXmlNodeModel::namespaceBindings(const QXmlNodeModelIndex& arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("namespaceBindings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1460,7 +1460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis0, const QXmlNodeModelIndex& origin1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextFromSimpleAxis"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1490,7 +1490,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVector PythonQtShell_QSimpleXmlNodeModel::nodesByIdref(const QXmlName& idref0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nodesByIdref"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1520,7 +1520,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::root(const QXmlNodeModelIndex& n0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("root"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1550,7 +1550,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSimpleXmlNodeModel::stringValue(const QXmlNodeModelIndex& node0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stringValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1580,7 +1580,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSimpleXmlNodeModel::typedValue(const QXmlNodeModelIndex& n0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("typedValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1716,7 +1716,7 @@ PythonQtShell_QXmlFormatter::~PythonQtShell_QXmlFormatter() { } void PythonQtShell_QXmlFormatter::atomicValue(const QVariant& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atomicValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1735,7 +1735,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::attribute(const QXmlName& name0, const QStringRef& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("attribute"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1754,7 +1754,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::characters(const QStringRef& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1773,7 +1773,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::comment(const QString& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1792,7 +1792,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::endDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1811,7 +1811,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::endElement() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1830,7 +1830,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::endOfSequence() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1849,7 +1849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::namespaceBinding(const QXmlName& nb0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("namespaceBinding"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1868,7 +1868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::processingInstruction(const QXmlName& name0, const QString& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1887,7 +1887,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::startDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1906,7 +1906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::startElement(const QXmlName& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1925,7 +1925,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::startOfSequence() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1944,7 +1944,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::whitespaceOnly(const QStringRef& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("whitespaceOnly"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2509,7 +2509,7 @@ PythonQtShell_QXmlSerializer::~PythonQtShell_QXmlSerializer() { } void PythonQtShell_QXmlSerializer::atomicValue(const QVariant& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atomicValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2528,7 +2528,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::attribute(const QXmlName& name0, const QStringRef& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("attribute"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2547,7 +2547,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::characters(const QStringRef& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2566,7 +2566,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::comment(const QString& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2585,7 +2585,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::endDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2604,7 +2604,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::endElement() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2623,7 +2623,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::endOfSequence() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2642,7 +2642,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::namespaceBinding(const QXmlName& nb0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("namespaceBinding"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2661,7 +2661,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::processingInstruction(const QXmlName& name0, const QString& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2680,7 +2680,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::startDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2699,7 +2699,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::startElement(const QXmlName& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2718,7 +2718,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::startOfSequence() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2737,7 +2737,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::whitespaceOnly(const QStringRef& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("whitespaceOnly"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core0.cpp b/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core0.cpp index 1a4f1cc8e..1a388d383 100644 --- a/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core0.cpp +++ b/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core0.cpp @@ -49,7 +49,7 @@ void PythonQtShell_QAbstractAnimation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -71,7 +71,7 @@ void PythonQtShell_QAbstractAnimation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -93,7 +93,7 @@ int PythonQtShell_QAbstractAnimation::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -126,7 +126,7 @@ bool PythonQtShell_QAbstractAnimation::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -159,7 +159,7 @@ bool PythonQtShell_QAbstractAnimation::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -192,7 +192,7 @@ void PythonQtShell_QAbstractAnimation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -214,7 +214,7 @@ void PythonQtShell_QAbstractAnimation::updateCurrentTime(int currentTime0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -236,7 +236,7 @@ void PythonQtShell_QAbstractAnimation::updateDirection(QAbstractAnimation::Direc { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -258,7 +258,7 @@ void PythonQtShell_QAbstractAnimation::updateState(QAbstractAnimation::State ne { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -373,7 +373,7 @@ QModelIndex PythonQtShell_QAbstractItemModel::buddy(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -406,7 +406,7 @@ bool PythonQtShell_QAbstractItemModel::canDropMimeData(const QMimeData* data0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -439,7 +439,7 @@ bool PythonQtShell_QAbstractItemModel::canFetchMore(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -472,7 +472,7 @@ void PythonQtShell_QAbstractItemModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -494,7 +494,7 @@ int PythonQtShell_QAbstractItemModel::columnCount(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -527,7 +527,7 @@ void PythonQtShell_QAbstractItemModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -549,7 +549,7 @@ QVariant PythonQtShell_QAbstractItemModel::data(const QModelIndex& index0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -582,7 +582,7 @@ bool PythonQtShell_QAbstractItemModel::dropMimeData(const QMimeData* data0, Qt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -615,7 +615,7 @@ bool PythonQtShell_QAbstractItemModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -648,7 +648,7 @@ bool PythonQtShell_QAbstractItemModel::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -681,7 +681,7 @@ void PythonQtShell_QAbstractItemModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -703,7 +703,7 @@ Qt::ItemFlags PythonQtShell_QAbstractItemModel::flags(const QModelIndex& index { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -736,7 +736,7 @@ bool PythonQtShell_QAbstractItemModel::hasChildren(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -769,7 +769,7 @@ QVariant PythonQtShell_QAbstractItemModel::headerData(int section0, Qt::Orient { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -802,7 +802,7 @@ QModelIndex PythonQtShell_QAbstractItemModel::index(int row0, int column1, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -835,7 +835,7 @@ bool PythonQtShell_QAbstractItemModel::insertColumns(int column0, int count1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -868,7 +868,7 @@ bool PythonQtShell_QAbstractItemModel::insertRows(int row0, int count1, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -901,7 +901,7 @@ QMap PythonQtShell_QAbstractItemModel::itemData(const QModelIn { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -934,7 +934,7 @@ QList PythonQtShell_QAbstractItemModel::match(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -967,7 +967,7 @@ QMimeData* PythonQtShell_QAbstractItemModel::mimeData(const QList { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1000,7 +1000,7 @@ QStringList PythonQtShell_QAbstractItemModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1033,7 +1033,7 @@ bool PythonQtShell_QAbstractItemModel::moveColumns(const QModelIndex& sourcePa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1066,7 +1066,7 @@ bool PythonQtShell_QAbstractItemModel::moveRows(const QModelIndex& sourceParen { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1099,7 +1099,7 @@ QModelIndex PythonQtShell_QAbstractItemModel::parent(const QModelIndex& child0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1132,7 +1132,7 @@ bool PythonQtShell_QAbstractItemModel::removeColumns(int column0, int count1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1165,7 +1165,7 @@ bool PythonQtShell_QAbstractItemModel::removeRows(int row0, int count1, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1198,7 +1198,7 @@ void PythonQtShell_QAbstractItemModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1220,7 +1220,7 @@ QHash PythonQtShell_QAbstractItemModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1253,7 +1253,7 @@ int PythonQtShell_QAbstractItemModel::rowCount(const QModelIndex& parent0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1286,7 +1286,7 @@ bool PythonQtShell_QAbstractItemModel::setData(const QModelIndex& index0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1319,7 +1319,7 @@ bool PythonQtShell_QAbstractItemModel::setHeaderData(int section0, Qt::Orienta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1352,7 +1352,7 @@ bool PythonQtShell_QAbstractItemModel::setItemData(const QModelIndex& index0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1385,7 +1385,7 @@ QModelIndex PythonQtShell_QAbstractItemModel::sibling(int row0, int column1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1418,7 +1418,7 @@ void PythonQtShell_QAbstractItemModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1440,7 +1440,7 @@ QSize PythonQtShell_QAbstractItemModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1473,7 +1473,7 @@ bool PythonQtShell_QAbstractItemModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1506,7 +1506,7 @@ Qt::DropActions PythonQtShell_QAbstractItemModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1539,7 +1539,7 @@ Qt::DropActions PythonQtShell_QAbstractItemModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1572,7 +1572,7 @@ void PythonQtShell_QAbstractItemModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1917,7 +1917,7 @@ QModelIndex PythonQtShell_QAbstractListModel::buddy(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1950,7 +1950,7 @@ bool PythonQtShell_QAbstractListModel::canDropMimeData(const QMimeData* data0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1983,7 +1983,7 @@ bool PythonQtShell_QAbstractListModel::canFetchMore(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2016,7 +2016,7 @@ void PythonQtShell_QAbstractListModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2038,7 +2038,7 @@ void PythonQtShell_QAbstractListModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2060,7 +2060,7 @@ QVariant PythonQtShell_QAbstractListModel::data(const QModelIndex& index0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2093,7 +2093,7 @@ bool PythonQtShell_QAbstractListModel::dropMimeData(const QMimeData* data0, Qt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2126,7 +2126,7 @@ bool PythonQtShell_QAbstractListModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2159,7 +2159,7 @@ bool PythonQtShell_QAbstractListModel::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2192,7 +2192,7 @@ void PythonQtShell_QAbstractListModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2214,7 +2214,7 @@ Qt::ItemFlags PythonQtShell_QAbstractListModel::flags(const QModelIndex& index { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2247,7 +2247,7 @@ QVariant PythonQtShell_QAbstractListModel::headerData(int section0, Qt::Orient { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2280,7 +2280,7 @@ QModelIndex PythonQtShell_QAbstractListModel::index(int row0, int column1, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2313,7 +2313,7 @@ bool PythonQtShell_QAbstractListModel::insertColumns(int column0, int count1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2346,7 +2346,7 @@ bool PythonQtShell_QAbstractListModel::insertRows(int row0, int count1, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2379,7 +2379,7 @@ QMap PythonQtShell_QAbstractListModel::itemData(const QModelIn { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2412,7 +2412,7 @@ QList PythonQtShell_QAbstractListModel::match(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2445,7 +2445,7 @@ QMimeData* PythonQtShell_QAbstractListModel::mimeData(const QList { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2478,7 +2478,7 @@ QStringList PythonQtShell_QAbstractListModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2511,7 +2511,7 @@ bool PythonQtShell_QAbstractListModel::moveColumns(const QModelIndex& sourcePa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2544,7 +2544,7 @@ bool PythonQtShell_QAbstractListModel::moveRows(const QModelIndex& sourceParen { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2577,7 +2577,7 @@ bool PythonQtShell_QAbstractListModel::removeColumns(int column0, int count1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2610,7 +2610,7 @@ bool PythonQtShell_QAbstractListModel::removeRows(int row0, int count1, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2643,7 +2643,7 @@ void PythonQtShell_QAbstractListModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2665,7 +2665,7 @@ QHash PythonQtShell_QAbstractListModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2698,7 +2698,7 @@ int PythonQtShell_QAbstractListModel::rowCount(const QModelIndex& parent0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2731,7 +2731,7 @@ bool PythonQtShell_QAbstractListModel::setData(const QModelIndex& index0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2764,7 +2764,7 @@ bool PythonQtShell_QAbstractListModel::setHeaderData(int section0, Qt::Orienta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2797,7 +2797,7 @@ bool PythonQtShell_QAbstractListModel::setItemData(const QModelIndex& index0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2830,7 +2830,7 @@ QModelIndex PythonQtShell_QAbstractListModel::sibling(int row0, int column1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2863,7 +2863,7 @@ void PythonQtShell_QAbstractListModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2885,7 +2885,7 @@ QSize PythonQtShell_QAbstractListModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2918,7 +2918,7 @@ bool PythonQtShell_QAbstractListModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2951,7 +2951,7 @@ Qt::DropActions PythonQtShell_QAbstractListModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2984,7 +2984,7 @@ Qt::DropActions PythonQtShell_QAbstractListModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3017,7 +3017,7 @@ void PythonQtShell_QAbstractListModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3062,7 +3062,7 @@ void PythonQtShell_QAbstractState::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3084,7 +3084,7 @@ void PythonQtShell_QAbstractState::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3106,7 +3106,7 @@ bool PythonQtShell_QAbstractState::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3139,7 +3139,7 @@ bool PythonQtShell_QAbstractState::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3172,7 +3172,7 @@ void PythonQtShell_QAbstractState::onEntry(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3194,7 +3194,7 @@ void PythonQtShell_QAbstractState::onExit(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3216,7 +3216,7 @@ void PythonQtShell_QAbstractState::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3286,7 +3286,7 @@ void PythonQtShell_QAbstractTransition::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3308,7 +3308,7 @@ void PythonQtShell_QAbstractTransition::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3330,7 +3330,7 @@ bool PythonQtShell_QAbstractTransition::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3363,7 +3363,7 @@ bool PythonQtShell_QAbstractTransition::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3396,7 +3396,7 @@ bool PythonQtShell_QAbstractTransition::eventTest(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3429,7 +3429,7 @@ void PythonQtShell_QAbstractTransition::onTransition(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3451,7 +3451,7 @@ void PythonQtShell_QAbstractTransition::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3561,7 +3561,7 @@ void PythonQtShell_QAnimationGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3583,7 +3583,7 @@ void PythonQtShell_QAnimationGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3605,7 +3605,7 @@ int PythonQtShell_QAnimationGroup::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3638,7 +3638,7 @@ bool PythonQtShell_QAnimationGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3671,7 +3671,7 @@ bool PythonQtShell_QAnimationGroup::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3704,7 +3704,7 @@ void PythonQtShell_QAnimationGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3726,7 +3726,7 @@ void PythonQtShell_QAnimationGroup::updateCurrentTime(int currentTime0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3748,7 +3748,7 @@ void PythonQtShell_QAnimationGroup::updateDirection(QAbstractAnimation::Directio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3770,7 +3770,7 @@ void PythonQtShell_QAnimationGroup::updateState(QAbstractAnimation::State newSt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3937,7 +3937,7 @@ bool PythonQtShell_QBuffer::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3970,7 +3970,7 @@ qint64 PythonQtShell_QBuffer::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4003,7 +4003,7 @@ qint64 PythonQtShell_QBuffer::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4036,7 +4036,7 @@ bool PythonQtShell_QBuffer::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4069,7 +4069,7 @@ void PythonQtShell_QBuffer::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4091,7 +4091,7 @@ void PythonQtShell_QBuffer::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4113,7 +4113,7 @@ void PythonQtShell_QBuffer::connectNotify(const QMetaMethod& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectNotify"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4135,7 +4135,7 @@ void PythonQtShell_QBuffer::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4157,7 +4157,7 @@ void PythonQtShell_QBuffer::disconnectNotify(const QMetaMethod& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("disconnectNotify"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4179,7 +4179,7 @@ bool PythonQtShell_QBuffer::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4212,7 +4212,7 @@ bool PythonQtShell_QBuffer::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4245,7 +4245,7 @@ bool PythonQtShell_QBuffer::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4278,7 +4278,7 @@ bool PythonQtShell_QBuffer::open(QIODevice::OpenMode openMode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4311,7 +4311,7 @@ qint64 PythonQtShell_QBuffer::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4344,7 +4344,7 @@ qint64 PythonQtShell_QBuffer::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4377,7 +4377,7 @@ qint64 PythonQtShell_QBuffer::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4410,7 +4410,7 @@ bool PythonQtShell_QBuffer::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4443,7 +4443,7 @@ bool PythonQtShell_QBuffer::seek(qint64 off0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4476,7 +4476,7 @@ qint64 PythonQtShell_QBuffer::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4509,7 +4509,7 @@ void PythonQtShell_QBuffer::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4531,7 +4531,7 @@ bool PythonQtShell_QBuffer::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4564,7 +4564,7 @@ bool PythonQtShell_QBuffer::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4597,7 +4597,7 @@ qint64 PythonQtShell_QBuffer::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6194,7 +6194,7 @@ void PythonQtShell_QEventLoop::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6216,7 +6216,7 @@ void PythonQtShell_QEventLoop::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6238,7 +6238,7 @@ bool PythonQtShell_QEventLoop::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6271,7 +6271,7 @@ bool PythonQtShell_QEventLoop::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6304,7 +6304,7 @@ void PythonQtShell_QEventLoop::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6379,7 +6379,7 @@ void PythonQtShell_QEventTransition::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6401,7 +6401,7 @@ void PythonQtShell_QEventTransition::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6423,7 +6423,7 @@ bool PythonQtShell_QEventTransition::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6456,7 +6456,7 @@ bool PythonQtShell_QEventTransition::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6489,7 +6489,7 @@ bool PythonQtShell_QEventTransition::eventTest(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6522,7 +6522,7 @@ void PythonQtShell_QEventTransition::onTransition(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6544,7 +6544,7 @@ void PythonQtShell_QEventTransition::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6613,7 +6613,7 @@ QStringList PythonQtShell_QFactoryInterface::keys() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keys"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core1.cpp b/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core1.cpp index fe3bf079c..a2a8257b0 100644 --- a/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core1.cpp +++ b/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core1.cpp @@ -55,7 +55,7 @@ bool PythonQtShell_QFile::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -88,7 +88,7 @@ qint64 PythonQtShell_QFile::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -121,7 +121,7 @@ qint64 PythonQtShell_QFile::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -154,7 +154,7 @@ bool PythonQtShell_QFile::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -187,7 +187,7 @@ void PythonQtShell_QFile::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -209,7 +209,7 @@ void PythonQtShell_QFile::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -231,7 +231,7 @@ void PythonQtShell_QFile::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -253,7 +253,7 @@ bool PythonQtShell_QFile::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -286,7 +286,7 @@ bool PythonQtShell_QFile::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -319,7 +319,7 @@ QString PythonQtShell_QFile::fileName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fileName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -352,7 +352,7 @@ bool PythonQtShell_QFile::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -385,7 +385,7 @@ bool PythonQtShell_QFile::open(QIODevice::OpenMode flags0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -418,7 +418,7 @@ QFileDevice::Permissions PythonQtShell_QFile::permissions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("permissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -451,7 +451,7 @@ qint64 PythonQtShell_QFile::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -484,7 +484,7 @@ qint64 PythonQtShell_QFile::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -517,7 +517,7 @@ qint64 PythonQtShell_QFile::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -550,7 +550,7 @@ bool PythonQtShell_QFile::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -583,7 +583,7 @@ bool PythonQtShell_QFile::resize(qint64 sz0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -616,7 +616,7 @@ bool PythonQtShell_QFile::seek(qint64 offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -649,7 +649,7 @@ bool PythonQtShell_QFile::setPermissions(QFileDevice::Permissions permissionSp { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -682,7 +682,7 @@ qint64 PythonQtShell_QFile::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -715,7 +715,7 @@ void PythonQtShell_QFile::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -737,7 +737,7 @@ bool PythonQtShell_QFile::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -770,7 +770,7 @@ bool PythonQtShell_QFile::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -803,7 +803,7 @@ qint64 PythonQtShell_QFile::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -966,7 +966,7 @@ bool PythonQtShell_QFileDevice::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -999,7 +999,7 @@ qint64 PythonQtShell_QFileDevice::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1032,7 +1032,7 @@ qint64 PythonQtShell_QFileDevice::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1065,7 +1065,7 @@ bool PythonQtShell_QFileDevice::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1098,7 +1098,7 @@ void PythonQtShell_QFileDevice::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1120,7 +1120,7 @@ void PythonQtShell_QFileDevice::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1142,7 +1142,7 @@ void PythonQtShell_QFileDevice::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1164,7 +1164,7 @@ bool PythonQtShell_QFileDevice::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1197,7 +1197,7 @@ bool PythonQtShell_QFileDevice::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1230,7 +1230,7 @@ QString PythonQtShell_QFileDevice::fileName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fileName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1263,7 +1263,7 @@ bool PythonQtShell_QFileDevice::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1296,7 +1296,7 @@ bool PythonQtShell_QFileDevice::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1329,7 +1329,7 @@ QFileDevice::Permissions PythonQtShell_QFileDevice::permissions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("permissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1362,7 +1362,7 @@ qint64 PythonQtShell_QFileDevice::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1395,7 +1395,7 @@ qint64 PythonQtShell_QFileDevice::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1428,7 +1428,7 @@ qint64 PythonQtShell_QFileDevice::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1461,7 +1461,7 @@ bool PythonQtShell_QFileDevice::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1494,7 +1494,7 @@ bool PythonQtShell_QFileDevice::resize(qint64 sz0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1527,7 +1527,7 @@ bool PythonQtShell_QFileDevice::seek(qint64 offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1560,7 +1560,7 @@ bool PythonQtShell_QFileDevice::setPermissions(QFileDevice::Permissions permis { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1593,7 +1593,7 @@ qint64 PythonQtShell_QFileDevice::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1626,7 +1626,7 @@ void PythonQtShell_QFileDevice::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1648,7 +1648,7 @@ bool PythonQtShell_QFileDevice::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1681,7 +1681,7 @@ bool PythonQtShell_QFileDevice::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1714,7 +1714,7 @@ qint64 PythonQtShell_QFileDevice::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2108,7 +2108,7 @@ void PythonQtShell_QFileSelector::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2130,7 +2130,7 @@ void PythonQtShell_QFileSelector::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2152,7 +2152,7 @@ bool PythonQtShell_QFileSelector::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2185,7 +2185,7 @@ bool PythonQtShell_QFileSelector::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2218,7 +2218,7 @@ void PythonQtShell_QFileSelector::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2288,7 +2288,7 @@ void PythonQtShell_QFileSystemWatcher::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2310,7 +2310,7 @@ void PythonQtShell_QFileSystemWatcher::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2332,7 +2332,7 @@ bool PythonQtShell_QFileSystemWatcher::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2365,7 +2365,7 @@ bool PythonQtShell_QFileSystemWatcher::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2398,7 +2398,7 @@ void PythonQtShell_QFileSystemWatcher::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2477,7 +2477,7 @@ void PythonQtShell_QFinalState::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2499,7 +2499,7 @@ void PythonQtShell_QFinalState::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2521,7 +2521,7 @@ bool PythonQtShell_QFinalState::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2554,7 +2554,7 @@ bool PythonQtShell_QFinalState::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2587,7 +2587,7 @@ void PythonQtShell_QFinalState::onEntry(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2609,7 +2609,7 @@ void PythonQtShell_QFinalState::onExit(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2631,7 +2631,7 @@ void PythonQtShell_QFinalState::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2676,7 +2676,7 @@ void PythonQtShell_QHistoryState::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2698,7 +2698,7 @@ void PythonQtShell_QHistoryState::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2720,7 +2720,7 @@ bool PythonQtShell_QHistoryState::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2753,7 +2753,7 @@ bool PythonQtShell_QHistoryState::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2786,7 +2786,7 @@ void PythonQtShell_QHistoryState::onEntry(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2808,7 +2808,7 @@ void PythonQtShell_QHistoryState::onExit(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2830,7 +2830,7 @@ void PythonQtShell_QHistoryState::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2909,7 +2909,7 @@ bool PythonQtShell_QIODevice::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2942,7 +2942,7 @@ qint64 PythonQtShell_QIODevice::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2975,7 +2975,7 @@ qint64 PythonQtShell_QIODevice::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3008,7 +3008,7 @@ bool PythonQtShell_QIODevice::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3041,7 +3041,7 @@ void PythonQtShell_QIODevice::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3063,7 +3063,7 @@ void PythonQtShell_QIODevice::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3085,7 +3085,7 @@ void PythonQtShell_QIODevice::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3107,7 +3107,7 @@ bool PythonQtShell_QIODevice::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3140,7 +3140,7 @@ bool PythonQtShell_QIODevice::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3173,7 +3173,7 @@ bool PythonQtShell_QIODevice::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3206,7 +3206,7 @@ bool PythonQtShell_QIODevice::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3239,7 +3239,7 @@ qint64 PythonQtShell_QIODevice::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3272,7 +3272,7 @@ qint64 PythonQtShell_QIODevice::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3305,7 +3305,7 @@ qint64 PythonQtShell_QIODevice::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3338,7 +3338,7 @@ bool PythonQtShell_QIODevice::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3371,7 +3371,7 @@ bool PythonQtShell_QIODevice::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3404,7 +3404,7 @@ qint64 PythonQtShell_QIODevice::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3437,7 +3437,7 @@ void PythonQtShell_QIODevice::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3459,7 +3459,7 @@ bool PythonQtShell_QIODevice::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3492,7 +3492,7 @@ bool PythonQtShell_QIODevice::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3525,7 +3525,7 @@ qint64 PythonQtShell_QIODevice::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3810,7 +3810,7 @@ QModelIndex PythonQtShell_QIdentityProxyModel::buddy(const QModelIndex& index0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3843,7 +3843,7 @@ bool PythonQtShell_QIdentityProxyModel::canDropMimeData(const QMimeData* data0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3876,7 +3876,7 @@ bool PythonQtShell_QIdentityProxyModel::canFetchMore(const QModelIndex& parent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3909,7 +3909,7 @@ void PythonQtShell_QIdentityProxyModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3931,7 +3931,7 @@ int PythonQtShell_QIdentityProxyModel::columnCount(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3964,7 +3964,7 @@ void PythonQtShell_QIdentityProxyModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3986,7 +3986,7 @@ QVariant PythonQtShell_QIdentityProxyModel::data(const QModelIndex& proxyIndex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4019,7 +4019,7 @@ bool PythonQtShell_QIdentityProxyModel::dropMimeData(const QMimeData* data0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4052,7 +4052,7 @@ bool PythonQtShell_QIdentityProxyModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4085,7 +4085,7 @@ bool PythonQtShell_QIdentityProxyModel::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4118,7 +4118,7 @@ void PythonQtShell_QIdentityProxyModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4140,7 +4140,7 @@ Qt::ItemFlags PythonQtShell_QIdentityProxyModel::flags(const QModelIndex& inde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4173,7 +4173,7 @@ bool PythonQtShell_QIdentityProxyModel::hasChildren(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4206,7 +4206,7 @@ QVariant PythonQtShell_QIdentityProxyModel::headerData(int section0, Qt::Orien { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4239,7 +4239,7 @@ QModelIndex PythonQtShell_QIdentityProxyModel::index(int row0, int column1, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4272,7 +4272,7 @@ bool PythonQtShell_QIdentityProxyModel::insertColumns(int column0, int count1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4305,7 +4305,7 @@ bool PythonQtShell_QIdentityProxyModel::insertRows(int row0, int count1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4338,7 +4338,7 @@ QMap PythonQtShell_QIdentityProxyModel::itemData(const QModelI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4371,7 +4371,7 @@ QModelIndex PythonQtShell_QIdentityProxyModel::mapFromSource(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4404,7 +4404,7 @@ QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionFromSource(const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapSelectionFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4437,7 +4437,7 @@ QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionToSource(const QI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapSelectionToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4470,7 +4470,7 @@ QModelIndex PythonQtShell_QIdentityProxyModel::mapToSource(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4503,7 +4503,7 @@ QList PythonQtShell_QIdentityProxyModel::match(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4536,7 +4536,7 @@ QMimeData* PythonQtShell_QIdentityProxyModel::mimeData(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4569,7 +4569,7 @@ QStringList PythonQtShell_QIdentityProxyModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4602,7 +4602,7 @@ bool PythonQtShell_QIdentityProxyModel::moveColumns(const QModelIndex& sourceP { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4635,7 +4635,7 @@ bool PythonQtShell_QIdentityProxyModel::moveRows(const QModelIndex& sourcePare { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4668,7 +4668,7 @@ QModelIndex PythonQtShell_QIdentityProxyModel::parent(const QModelIndex& child { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4701,7 +4701,7 @@ bool PythonQtShell_QIdentityProxyModel::removeColumns(int column0, int count1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4734,7 +4734,7 @@ bool PythonQtShell_QIdentityProxyModel::removeRows(int row0, int count1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4767,7 +4767,7 @@ void PythonQtShell_QIdentityProxyModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4789,7 +4789,7 @@ QHash PythonQtShell_QIdentityProxyModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4822,7 +4822,7 @@ int PythonQtShell_QIdentityProxyModel::rowCount(const QModelIndex& parent0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4855,7 +4855,7 @@ bool PythonQtShell_QIdentityProxyModel::setData(const QModelIndex& index0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4888,7 +4888,7 @@ bool PythonQtShell_QIdentityProxyModel::setHeaderData(int section0, Qt::Orient { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4921,7 +4921,7 @@ bool PythonQtShell_QIdentityProxyModel::setItemData(const QModelIndex& index0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4954,7 +4954,7 @@ void PythonQtShell_QIdentityProxyModel::setSourceModel(QAbstractItemModel* sour { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSourceModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4976,7 +4976,7 @@ QModelIndex PythonQtShell_QIdentityProxyModel::sibling(int row0, int column1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5009,7 +5009,7 @@ void PythonQtShell_QIdentityProxyModel::sort(int column0, Qt::SortOrder order1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5031,7 +5031,7 @@ QSize PythonQtShell_QIdentityProxyModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5064,7 +5064,7 @@ bool PythonQtShell_QIdentityProxyModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5097,7 +5097,7 @@ Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5130,7 +5130,7 @@ Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5163,7 +5163,7 @@ void PythonQtShell_QIdentityProxyModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5848,7 +5848,7 @@ void PythonQtShell_QLibrary::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5870,7 +5870,7 @@ void PythonQtShell_QLibrary::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5892,7 +5892,7 @@ bool PythonQtShell_QLibrary::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5925,7 +5925,7 @@ bool PythonQtShell_QLibrary::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5958,7 +5958,7 @@ void PythonQtShell_QLibrary::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6888,7 +6888,7 @@ void PythonQtShell_QMimeData::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6910,7 +6910,7 @@ void PythonQtShell_QMimeData::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6932,7 +6932,7 @@ bool PythonQtShell_QMimeData::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6965,7 +6965,7 @@ bool PythonQtShell_QMimeData::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6998,7 +6998,7 @@ QStringList PythonQtShell_QMimeData::formats() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("formats"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7031,7 +7031,7 @@ bool PythonQtShell_QMimeData::hasFormat(const QString& mimetype0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7064,7 +7064,7 @@ QVariant PythonQtShell_QMimeData::retrieveData(const QString& mimetype0, QVari { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("retrieveData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7097,7 +7097,7 @@ void PythonQtShell_QMimeData::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core2.cpp b/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core2.cpp index 6589caf80..5ab1781b7 100644 --- a/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core2.cpp +++ b/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core2.cpp @@ -83,7 +83,7 @@ void PythonQtShell_QObject::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -105,7 +105,7 @@ void PythonQtShell_QObject::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -127,7 +127,7 @@ bool PythonQtShell_QObject::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -160,7 +160,7 @@ bool PythonQtShell_QObject::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -193,7 +193,7 @@ void PythonQtShell_QObject::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -425,7 +425,7 @@ void PythonQtShell_QParallelAnimationGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -447,7 +447,7 @@ void PythonQtShell_QParallelAnimationGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -469,7 +469,7 @@ int PythonQtShell_QParallelAnimationGroup::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -502,7 +502,7 @@ bool PythonQtShell_QParallelAnimationGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -535,7 +535,7 @@ bool PythonQtShell_QParallelAnimationGroup::eventFilter(QObject* watched0, QEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -568,7 +568,7 @@ void PythonQtShell_QParallelAnimationGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -590,7 +590,7 @@ void PythonQtShell_QParallelAnimationGroup::updateCurrentTime(int currentTime0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -612,7 +612,7 @@ void PythonQtShell_QParallelAnimationGroup::updateDirection(QAbstractAnimation:: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -634,7 +634,7 @@ void PythonQtShell_QParallelAnimationGroup::updateState(QAbstractAnimation::Stat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -679,7 +679,7 @@ void PythonQtShell_QPauseAnimation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -701,7 +701,7 @@ void PythonQtShell_QPauseAnimation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -723,7 +723,7 @@ int PythonQtShell_QPauseAnimation::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -756,7 +756,7 @@ bool PythonQtShell_QPauseAnimation::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -789,7 +789,7 @@ bool PythonQtShell_QPauseAnimation::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -822,7 +822,7 @@ void PythonQtShell_QPauseAnimation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -844,7 +844,7 @@ void PythonQtShell_QPauseAnimation::updateCurrentTime(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -866,7 +866,7 @@ void PythonQtShell_QPauseAnimation::updateDirection(QAbstractAnimation::Directio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -888,7 +888,7 @@ void PythonQtShell_QPauseAnimation::updateState(QAbstractAnimation::State newSt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1048,7 +1048,7 @@ bool PythonQtShell_QProcess::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1081,7 +1081,7 @@ qint64 PythonQtShell_QProcess::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1114,7 +1114,7 @@ qint64 PythonQtShell_QProcess::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1147,7 +1147,7 @@ bool PythonQtShell_QProcess::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1180,7 +1180,7 @@ void PythonQtShell_QProcess::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1202,7 +1202,7 @@ void PythonQtShell_QProcess::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1224,7 +1224,7 @@ void PythonQtShell_QProcess::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1246,7 +1246,7 @@ bool PythonQtShell_QProcess::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1279,7 +1279,7 @@ bool PythonQtShell_QProcess::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1312,7 +1312,7 @@ bool PythonQtShell_QProcess::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1345,7 +1345,7 @@ bool PythonQtShell_QProcess::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1378,7 +1378,7 @@ qint64 PythonQtShell_QProcess::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1411,7 +1411,7 @@ qint64 PythonQtShell_QProcess::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1444,7 +1444,7 @@ qint64 PythonQtShell_QProcess::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1477,7 +1477,7 @@ bool PythonQtShell_QProcess::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1510,7 +1510,7 @@ bool PythonQtShell_QProcess::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1543,7 +1543,7 @@ void PythonQtShell_QProcess::setupChildProcess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupChildProcess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1565,7 +1565,7 @@ qint64 PythonQtShell_QProcess::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1598,7 +1598,7 @@ void PythonQtShell_QProcess::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1620,7 +1620,7 @@ bool PythonQtShell_QProcess::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1653,7 +1653,7 @@ bool PythonQtShell_QProcess::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1686,7 +1686,7 @@ qint64 PythonQtShell_QProcess::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2042,7 +2042,7 @@ void PythonQtShell_QPropertyAnimation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2064,7 +2064,7 @@ void PythonQtShell_QPropertyAnimation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2086,7 +2086,7 @@ int PythonQtShell_QPropertyAnimation::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2119,7 +2119,7 @@ bool PythonQtShell_QPropertyAnimation::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2152,7 +2152,7 @@ bool PythonQtShell_QPropertyAnimation::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2185,7 +2185,7 @@ QVariant PythonQtShell_QPropertyAnimation::interpolated(const QVariant& from0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("interpolated"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2218,7 +2218,7 @@ void PythonQtShell_QPropertyAnimation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2240,7 +2240,7 @@ void PythonQtShell_QPropertyAnimation::updateCurrentTime(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2262,7 +2262,7 @@ void PythonQtShell_QPropertyAnimation::updateCurrentValue(const QVariant& value { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2284,7 +2284,7 @@ void PythonQtShell_QPropertyAnimation::updateDirection(QAbstractAnimation::Direc { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2306,7 +2306,7 @@ void PythonQtShell_QPropertyAnimation::updateState(QAbstractAnimation::State ne { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2977,7 +2977,7 @@ void PythonQtShell_QRunnable::run() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("run"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3024,7 +3024,7 @@ bool PythonQtShell_QSaveFile::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3057,7 +3057,7 @@ qint64 PythonQtShell_QSaveFile::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3090,7 +3090,7 @@ qint64 PythonQtShell_QSaveFile::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3123,7 +3123,7 @@ bool PythonQtShell_QSaveFile::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3156,7 +3156,7 @@ void PythonQtShell_QSaveFile::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3178,7 +3178,7 @@ void PythonQtShell_QSaveFile::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3200,7 +3200,7 @@ bool PythonQtShell_QSaveFile::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3233,7 +3233,7 @@ bool PythonQtShell_QSaveFile::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3266,7 +3266,7 @@ QString PythonQtShell_QSaveFile::fileName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fileName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3299,7 +3299,7 @@ bool PythonQtShell_QSaveFile::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3332,7 +3332,7 @@ bool PythonQtShell_QSaveFile::open(QIODevice::OpenMode flags0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3365,7 +3365,7 @@ QFileDevice::Permissions PythonQtShell_QSaveFile::permissions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("permissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3398,7 +3398,7 @@ qint64 PythonQtShell_QSaveFile::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3431,7 +3431,7 @@ qint64 PythonQtShell_QSaveFile::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3464,7 +3464,7 @@ qint64 PythonQtShell_QSaveFile::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3497,7 +3497,7 @@ bool PythonQtShell_QSaveFile::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3530,7 +3530,7 @@ bool PythonQtShell_QSaveFile::resize(qint64 sz0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3563,7 +3563,7 @@ bool PythonQtShell_QSaveFile::seek(qint64 offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3596,7 +3596,7 @@ bool PythonQtShell_QSaveFile::setPermissions(QFileDevice::Permissions permissi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3629,7 +3629,7 @@ qint64 PythonQtShell_QSaveFile::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3662,7 +3662,7 @@ void PythonQtShell_QSaveFile::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3684,7 +3684,7 @@ bool PythonQtShell_QSaveFile::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3717,7 +3717,7 @@ bool PythonQtShell_QSaveFile::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3750,7 +3750,7 @@ qint64 PythonQtShell_QSaveFile::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3870,7 +3870,7 @@ void PythonQtShell_QSequentialAnimationGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3892,7 +3892,7 @@ void PythonQtShell_QSequentialAnimationGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3914,7 +3914,7 @@ int PythonQtShell_QSequentialAnimationGroup::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3947,7 +3947,7 @@ bool PythonQtShell_QSequentialAnimationGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3980,7 +3980,7 @@ bool PythonQtShell_QSequentialAnimationGroup::eventFilter(QObject* watched0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4013,7 +4013,7 @@ void PythonQtShell_QSequentialAnimationGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4035,7 +4035,7 @@ void PythonQtShell_QSequentialAnimationGroup::updateCurrentTime(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4057,7 +4057,7 @@ void PythonQtShell_QSequentialAnimationGroup::updateDirection(QAbstractAnimation { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4079,7 +4079,7 @@ void PythonQtShell_QSequentialAnimationGroup::updateState(QAbstractAnimation::St { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4139,7 +4139,7 @@ void PythonQtShell_QSettings::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4161,7 +4161,7 @@ void PythonQtShell_QSettings::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4183,7 +4183,7 @@ bool PythonQtShell_QSettings::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4216,7 +4216,7 @@ bool PythonQtShell_QSettings::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4249,7 +4249,7 @@ void PythonQtShell_QSettings::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4475,7 +4475,7 @@ void PythonQtShell_QSharedMemory::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4497,7 +4497,7 @@ void PythonQtShell_QSharedMemory::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4519,7 +4519,7 @@ bool PythonQtShell_QSharedMemory::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4552,7 +4552,7 @@ bool PythonQtShell_QSharedMemory::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4585,7 +4585,7 @@ void PythonQtShell_QSharedMemory::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4729,7 +4729,7 @@ void PythonQtShell_QSignalMapper::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4751,7 +4751,7 @@ void PythonQtShell_QSignalMapper::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4773,7 +4773,7 @@ bool PythonQtShell_QSignalMapper::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4806,7 +4806,7 @@ bool PythonQtShell_QSignalMapper::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4839,7 +4839,7 @@ void PythonQtShell_QSignalMapper::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4929,7 +4929,7 @@ void PythonQtShell_QSignalTransition::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4951,7 +4951,7 @@ void PythonQtShell_QSignalTransition::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4973,7 +4973,7 @@ bool PythonQtShell_QSignalTransition::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5006,7 +5006,7 @@ bool PythonQtShell_QSignalTransition::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5039,7 +5039,7 @@ bool PythonQtShell_QSignalTransition::eventTest(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5072,7 +5072,7 @@ void PythonQtShell_QSignalTransition::onTransition(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5094,7 +5094,7 @@ void PythonQtShell_QSignalTransition::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5163,7 +5163,7 @@ void PythonQtShell_QSocketNotifier::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5185,7 +5185,7 @@ void PythonQtShell_QSocketNotifier::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5207,7 +5207,7 @@ bool PythonQtShell_QSocketNotifier::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5240,7 +5240,7 @@ bool PythonQtShell_QSocketNotifier::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5273,7 +5273,7 @@ void PythonQtShell_QSocketNotifier::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5380,7 +5380,7 @@ void PythonQtShell_QState::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5402,7 +5402,7 @@ void PythonQtShell_QState::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5424,7 +5424,7 @@ bool PythonQtShell_QState::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5457,7 +5457,7 @@ bool PythonQtShell_QState::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5490,7 +5490,7 @@ void PythonQtShell_QState::onEntry(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5512,7 +5512,7 @@ void PythonQtShell_QState::onExit(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5534,7 +5534,7 @@ void PythonQtShell_QState::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5643,7 +5643,7 @@ void PythonQtShell_QStateMachine::beginMicrostep(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("beginMicrostep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5665,7 +5665,7 @@ void PythonQtShell_QStateMachine::beginSelectTransitions(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("beginSelectTransitions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5687,7 +5687,7 @@ void PythonQtShell_QStateMachine::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5709,7 +5709,7 @@ void PythonQtShell_QStateMachine::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5731,7 +5731,7 @@ void PythonQtShell_QStateMachine::endMicrostep(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endMicrostep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5753,7 +5753,7 @@ void PythonQtShell_QStateMachine::endSelectTransitions(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endSelectTransitions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5775,7 +5775,7 @@ bool PythonQtShell_QStateMachine::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5808,7 +5808,7 @@ bool PythonQtShell_QStateMachine::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5841,7 +5841,7 @@ void PythonQtShell_QStateMachine::onEntry(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5863,7 +5863,7 @@ void PythonQtShell_QStateMachine::onExit(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5885,7 +5885,7 @@ void PythonQtShell_QStateMachine::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core3.cpp b/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core3.cpp index 5b06e72a9..1edd9ea10 100644 --- a/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core3.cpp +++ b/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core3.cpp @@ -381,7 +381,7 @@ bool PythonQtShell_QTemporaryFile::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -414,7 +414,7 @@ qint64 PythonQtShell_QTemporaryFile::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -447,7 +447,7 @@ qint64 PythonQtShell_QTemporaryFile::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -480,7 +480,7 @@ bool PythonQtShell_QTemporaryFile::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -513,7 +513,7 @@ void PythonQtShell_QTemporaryFile::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -535,7 +535,7 @@ void PythonQtShell_QTemporaryFile::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -557,7 +557,7 @@ void PythonQtShell_QTemporaryFile::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -579,7 +579,7 @@ bool PythonQtShell_QTemporaryFile::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -612,7 +612,7 @@ bool PythonQtShell_QTemporaryFile::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -645,7 +645,7 @@ QString PythonQtShell_QTemporaryFile::fileName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("uniqueFilename"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -678,7 +678,7 @@ bool PythonQtShell_QTemporaryFile::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -711,7 +711,7 @@ bool PythonQtShell_QTemporaryFile::open(QIODevice::OpenMode flags0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -744,7 +744,7 @@ QFileDevice::Permissions PythonQtShell_QTemporaryFile::permissions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("permissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -777,7 +777,7 @@ qint64 PythonQtShell_QTemporaryFile::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -810,7 +810,7 @@ qint64 PythonQtShell_QTemporaryFile::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -843,7 +843,7 @@ qint64 PythonQtShell_QTemporaryFile::readLineData(char* data0, qint64 maxlen1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -876,7 +876,7 @@ bool PythonQtShell_QTemporaryFile::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -909,7 +909,7 @@ bool PythonQtShell_QTemporaryFile::resize(qint64 sz0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -942,7 +942,7 @@ bool PythonQtShell_QTemporaryFile::seek(qint64 offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -975,7 +975,7 @@ bool PythonQtShell_QTemporaryFile::setPermissions(QFileDevice::Permissions per { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1008,7 +1008,7 @@ qint64 PythonQtShell_QTemporaryFile::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1041,7 +1041,7 @@ void PythonQtShell_QTemporaryFile::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1063,7 +1063,7 @@ bool PythonQtShell_QTemporaryFile::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1096,7 +1096,7 @@ bool PythonQtShell_QTemporaryFile::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1129,7 +1129,7 @@ qint64 PythonQtShell_QTemporaryFile::writeData(const char* data0, qint64 len1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1321,7 +1321,7 @@ QList PythonQtShell_QTextCodec::aliases() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("aliases"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1354,7 +1354,7 @@ QByteArray PythonQtShell_QTextCodec::convertFromUnicode(const QChar* in0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("convertFromUnicode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1387,7 +1387,7 @@ QString PythonQtShell_QTextCodec::convertToUnicode(const char* in0, int lengt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("convertToUnicode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1420,7 +1420,7 @@ int PythonQtShell_QTextCodec::mibEnum() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mibEnum"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1453,7 +1453,7 @@ QByteArray PythonQtShell_QTextCodec::name() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("name"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1924,7 +1924,7 @@ void PythonQtShell_QThreadPool::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1946,7 +1946,7 @@ void PythonQtShell_QThreadPool::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1968,7 +1968,7 @@ bool PythonQtShell_QThreadPool::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2001,7 +2001,7 @@ bool PythonQtShell_QThreadPool::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2034,7 +2034,7 @@ void PythonQtShell_QThreadPool::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2159,7 +2159,7 @@ void PythonQtShell_QTimeLine::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2181,7 +2181,7 @@ void PythonQtShell_QTimeLine::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2203,7 +2203,7 @@ bool PythonQtShell_QTimeLine::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2236,7 +2236,7 @@ bool PythonQtShell_QTimeLine::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2269,7 +2269,7 @@ void PythonQtShell_QTimeLine::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2291,7 +2291,7 @@ qreal PythonQtShell_QTimeLine::valueForTime(int msec0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("valueForTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2646,7 +2646,7 @@ void PythonQtShell_QTimer::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2668,7 +2668,7 @@ void PythonQtShell_QTimer::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2690,7 +2690,7 @@ bool PythonQtShell_QTimer::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2723,7 +2723,7 @@ bool PythonQtShell_QTimer::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2756,7 +2756,7 @@ void PythonQtShell_QTimer::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2871,7 +2871,7 @@ void PythonQtShell_QTranslator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2893,7 +2893,7 @@ void PythonQtShell_QTranslator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2915,7 +2915,7 @@ bool PythonQtShell_QTranslator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2948,7 +2948,7 @@ bool PythonQtShell_QTranslator::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2981,7 +2981,7 @@ bool PythonQtShell_QTranslator::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3014,7 +3014,7 @@ void PythonQtShell_QTranslator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3036,7 +3036,7 @@ QString PythonQtShell_QTranslator::translate(const char* context0, const char* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("translate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3384,7 +3384,7 @@ void PythonQtShell_QVariantAnimation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3406,7 +3406,7 @@ void PythonQtShell_QVariantAnimation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3428,7 +3428,7 @@ int PythonQtShell_QVariantAnimation::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3461,7 +3461,7 @@ bool PythonQtShell_QVariantAnimation::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3494,7 +3494,7 @@ bool PythonQtShell_QVariantAnimation::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3527,7 +3527,7 @@ QVariant PythonQtShell_QVariantAnimation::interpolated(const QVariant& from0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("interpolated"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3560,7 +3560,7 @@ void PythonQtShell_QVariantAnimation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3582,7 +3582,7 @@ void PythonQtShell_QVariantAnimation::updateCurrentTime(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3604,7 +3604,7 @@ void PythonQtShell_QVariantAnimation::updateCurrentValue(const QVariant& value0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3626,7 +3626,7 @@ void PythonQtShell_QVariantAnimation::updateDirection(QAbstractAnimation::Direct { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3648,7 +3648,7 @@ void PythonQtShell_QVariantAnimation::updateState(QAbstractAnimation::State new { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3799,7 +3799,7 @@ QString PythonQtShell_QXmlStreamEntityResolver::resolveEntity(const QString& p { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resolveEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3832,7 +3832,7 @@ QString PythonQtShell_QXmlStreamEntityResolver::resolveUndeclaredEntity(const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resolveUndeclaredEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp index e2fc1a59c..0c5370945 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp @@ -117,7 +117,7 @@ void PythonQtShell_QAbstractButton::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -139,7 +139,7 @@ void PythonQtShell_QAbstractButton::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -161,7 +161,7 @@ void PythonQtShell_QAbstractButton::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -183,7 +183,7 @@ void PythonQtShell_QAbstractButton::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -205,7 +205,7 @@ void PythonQtShell_QAbstractButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -227,7 +227,7 @@ void PythonQtShell_QAbstractButton::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -249,7 +249,7 @@ void PythonQtShell_QAbstractButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -271,7 +271,7 @@ int PythonQtShell_QAbstractButton::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -304,7 +304,7 @@ void PythonQtShell_QAbstractButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -326,7 +326,7 @@ void PythonQtShell_QAbstractButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -348,7 +348,7 @@ void PythonQtShell_QAbstractButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -370,7 +370,7 @@ void PythonQtShell_QAbstractButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -392,7 +392,7 @@ void PythonQtShell_QAbstractButton::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -414,7 +414,7 @@ bool PythonQtShell_QAbstractButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -447,7 +447,7 @@ bool PythonQtShell_QAbstractButton::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -480,7 +480,7 @@ void PythonQtShell_QAbstractButton::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -502,7 +502,7 @@ bool PythonQtShell_QAbstractButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -535,7 +535,7 @@ void PythonQtShell_QAbstractButton::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -557,7 +557,7 @@ bool PythonQtShell_QAbstractButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -590,7 +590,7 @@ int PythonQtShell_QAbstractButton::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -623,7 +623,7 @@ void PythonQtShell_QAbstractButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -645,7 +645,7 @@ bool PythonQtShell_QAbstractButton::hitButton(const QPoint& pos0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -678,7 +678,7 @@ void PythonQtShell_QAbstractButton::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -700,7 +700,7 @@ void PythonQtShell_QAbstractButton::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -722,7 +722,7 @@ QVariant PythonQtShell_QAbstractButton::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -755,7 +755,7 @@ void PythonQtShell_QAbstractButton::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -777,7 +777,7 @@ void PythonQtShell_QAbstractButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -799,7 +799,7 @@ void PythonQtShell_QAbstractButton::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -821,7 +821,7 @@ int PythonQtShell_QAbstractButton::metric(QPaintDevice::PaintDeviceMetric arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -854,7 +854,7 @@ QSize PythonQtShell_QAbstractButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -887,7 +887,7 @@ void PythonQtShell_QAbstractButton::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -909,7 +909,7 @@ void PythonQtShell_QAbstractButton::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -931,7 +931,7 @@ void PythonQtShell_QAbstractButton::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -953,7 +953,7 @@ void PythonQtShell_QAbstractButton::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -975,7 +975,7 @@ void PythonQtShell_QAbstractButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -997,7 +997,7 @@ bool PythonQtShell_QAbstractButton::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1030,7 +1030,7 @@ void PythonQtShell_QAbstractButton::nextCheckState() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1052,7 +1052,7 @@ QPaintEngine* PythonQtShell_QAbstractButton::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1085,7 +1085,7 @@ void PythonQtShell_QAbstractButton::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1107,7 +1107,7 @@ QPaintDevice* PythonQtShell_QAbstractButton::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1140,7 +1140,7 @@ void PythonQtShell_QAbstractButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1162,7 +1162,7 @@ void PythonQtShell_QAbstractButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1184,7 +1184,7 @@ QPainter* PythonQtShell_QAbstractButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1217,7 +1217,7 @@ void PythonQtShell_QAbstractButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1239,7 +1239,7 @@ QSize PythonQtShell_QAbstractButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1272,7 +1272,7 @@ void PythonQtShell_QAbstractButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1294,7 +1294,7 @@ void PythonQtShell_QAbstractButton::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1316,7 +1316,7 @@ void PythonQtShell_QAbstractButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1481,7 +1481,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1503,7 +1503,7 @@ QRectF PythonQtShell_QAbstractGraphicsShapeItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1536,7 +1536,7 @@ bool PythonQtShell_QAbstractGraphicsShapeItem::collidesWithItem(const QGraphics { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1569,7 +1569,7 @@ bool PythonQtShell_QAbstractGraphicsShapeItem::collidesWithPath(const QPainterP { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1602,7 +1602,7 @@ bool PythonQtShell_QAbstractGraphicsShapeItem::contains(const QPointF& point0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1635,7 +1635,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::contextMenuEvent(QGraphicsSceneCo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1657,7 +1657,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::dragEnterEvent(QGraphicsSceneDrag { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1679,7 +1679,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::dragLeaveEvent(QGraphicsSceneDrag { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1701,7 +1701,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::dragMoveEvent(QGraphicsSceneDragD { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1723,7 +1723,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::dropEvent(QGraphicsSceneDragDropE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1745,7 +1745,7 @@ QVariant PythonQtShell_QAbstractGraphicsShapeItem::extension(const QVariant& v { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1778,7 +1778,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::focusInEvent(QFocusEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1800,7 +1800,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::focusOutEvent(QFocusEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1822,7 +1822,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::hoverEnterEvent(QGraphicsSceneHov { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1844,7 +1844,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::hoverLeaveEvent(QGraphicsSceneHov { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1866,7 +1866,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::hoverMoveEvent(QGraphicsSceneHove { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1888,7 +1888,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::inputMethodEvent(QInputMethodEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1910,7 +1910,7 @@ QVariant PythonQtShell_QAbstractGraphicsShapeItem::inputMethodQuery(Qt::InputMe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1943,7 +1943,7 @@ bool PythonQtShell_QAbstractGraphicsShapeItem::isObscuredBy(const QGraphicsItem { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1976,7 +1976,7 @@ QVariant PythonQtShell_QAbstractGraphicsShapeItem::itemChange(QGraphicsItem::Gr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2012,7 +2012,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2034,7 +2034,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::keyReleaseEvent(QKeyEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2056,7 +2056,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::mouseDoubleClickEvent(QGraphicsSc { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2078,7 +2078,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::mouseMoveEvent(QGraphicsSceneMous { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2100,7 +2100,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::mousePressEvent(QGraphicsSceneMou { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2122,7 +2122,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::mouseReleaseEvent(QGraphicsSceneM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2144,7 +2144,7 @@ QPainterPath PythonQtShell_QAbstractGraphicsShapeItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2177,7 +2177,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::paint(QPainter* painter0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2199,7 +2199,7 @@ bool PythonQtShell_QAbstractGraphicsShapeItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2232,7 +2232,7 @@ bool PythonQtShell_QAbstractGraphicsShapeItem::sceneEventFilter(QGraphicsItem* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2265,7 +2265,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::setExtension(QGraphicsItem::Exten { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2287,7 +2287,7 @@ QPainterPath PythonQtShell_QAbstractGraphicsShapeItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2320,7 +2320,7 @@ bool PythonQtShell_QAbstractGraphicsShapeItem::supportsExtension(QGraphicsItem: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2353,7 +2353,7 @@ int PythonQtShell_QAbstractGraphicsShapeItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2386,7 +2386,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::wheelEvent(QGraphicsSceneWheelEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2438,7 +2438,7 @@ void PythonQtShell_QAbstractItemDelegate::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2460,7 +2460,7 @@ QWidget* PythonQtShell_QAbstractItemDelegate::createEditor(QWidget* parent0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2493,7 +2493,7 @@ void PythonQtShell_QAbstractItemDelegate::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2515,7 +2515,7 @@ void PythonQtShell_QAbstractItemDelegate::destroyEditor(QWidget* editor0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("destroyEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2537,7 +2537,7 @@ bool PythonQtShell_QAbstractItemDelegate::editorEvent(QEvent* event0, QAbstrac { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2570,7 +2570,7 @@ bool PythonQtShell_QAbstractItemDelegate::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2603,7 +2603,7 @@ bool PythonQtShell_QAbstractItemDelegate::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2636,7 +2636,7 @@ bool PythonQtShell_QAbstractItemDelegate::helpEvent(QHelpEvent* event0, QAbstr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2669,7 +2669,7 @@ void PythonQtShell_QAbstractItemDelegate::paint(QPainter* painter0, const QStyl { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2691,7 +2691,7 @@ QVector PythonQtShell_QAbstractItemDelegate::paintingRoles() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintingRoles"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2724,7 +2724,7 @@ void PythonQtShell_QAbstractItemDelegate::setEditorData(QWidget* editor0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2746,7 +2746,7 @@ void PythonQtShell_QAbstractItemDelegate::setModelData(QWidget* editor0, QAbstr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModelData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2768,7 +2768,7 @@ QSize PythonQtShell_QAbstractItemDelegate::sizeHint(const QStyleOptionViewItem& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2801,7 +2801,7 @@ void PythonQtShell_QAbstractItemDelegate::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2823,7 +2823,7 @@ void PythonQtShell_QAbstractItemDelegate::updateEditorGeometry(QWidget* editor0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2918,7 +2918,7 @@ void PythonQtShell_QAbstractItemView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2940,7 +2940,7 @@ void PythonQtShell_QAbstractItemView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2962,7 +2962,7 @@ void PythonQtShell_QAbstractItemView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2984,7 +2984,7 @@ void PythonQtShell_QAbstractItemView::closeEditor(QWidget* editor0, QAbstractIt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3006,7 +3006,7 @@ void PythonQtShell_QAbstractItemView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3028,7 +3028,7 @@ void PythonQtShell_QAbstractItemView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3050,7 +3050,7 @@ void PythonQtShell_QAbstractItemView::contextMenuEvent(QContextMenuEvent* arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3072,7 +3072,7 @@ void PythonQtShell_QAbstractItemView::currentChanged(const QModelIndex& current { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3094,7 +3094,7 @@ void PythonQtShell_QAbstractItemView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3116,7 +3116,7 @@ void PythonQtShell_QAbstractItemView::dataChanged(const QModelIndex& topLeft0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3138,7 +3138,7 @@ int PythonQtShell_QAbstractItemView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3171,7 +3171,7 @@ void PythonQtShell_QAbstractItemView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3193,7 +3193,7 @@ void PythonQtShell_QAbstractItemView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3215,7 +3215,7 @@ void PythonQtShell_QAbstractItemView::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3237,7 +3237,7 @@ void PythonQtShell_QAbstractItemView::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3259,7 +3259,7 @@ void PythonQtShell_QAbstractItemView::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3281,7 +3281,7 @@ bool PythonQtShell_QAbstractItemView::edit(const QModelIndex& index0, QAbstrac { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3314,7 +3314,7 @@ void PythonQtShell_QAbstractItemView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3336,7 +3336,7 @@ void PythonQtShell_QAbstractItemView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3358,7 +3358,7 @@ bool PythonQtShell_QAbstractItemView::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3391,7 +3391,7 @@ bool PythonQtShell_QAbstractItemView::eventFilter(QObject* object0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3424,7 +3424,7 @@ void PythonQtShell_QAbstractItemView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3446,7 +3446,7 @@ bool PythonQtShell_QAbstractItemView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3479,7 +3479,7 @@ void PythonQtShell_QAbstractItemView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3501,7 +3501,7 @@ bool PythonQtShell_QAbstractItemView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3534,7 +3534,7 @@ int PythonQtShell_QAbstractItemView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3567,7 +3567,7 @@ void PythonQtShell_QAbstractItemView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3589,7 +3589,7 @@ int PythonQtShell_QAbstractItemView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3622,7 +3622,7 @@ void PythonQtShell_QAbstractItemView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3644,7 +3644,7 @@ void PythonQtShell_QAbstractItemView::horizontalScrollbarValueChanged(int value { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3666,7 +3666,7 @@ QModelIndex PythonQtShell_QAbstractItemView::indexAt(const QPoint& point0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3699,7 +3699,7 @@ void PythonQtShell_QAbstractItemView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3721,7 +3721,7 @@ void PythonQtShell_QAbstractItemView::inputMethodEvent(QInputMethodEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3743,7 +3743,7 @@ QVariant PythonQtShell_QAbstractItemView::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3776,7 +3776,7 @@ bool PythonQtShell_QAbstractItemView::isIndexHidden(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3809,7 +3809,7 @@ void PythonQtShell_QAbstractItemView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3831,7 +3831,7 @@ void PythonQtShell_QAbstractItemView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3853,7 +3853,7 @@ void PythonQtShell_QAbstractItemView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3875,7 +3875,7 @@ void PythonQtShell_QAbstractItemView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3897,7 +3897,7 @@ int PythonQtShell_QAbstractItemView::metric(QPaintDevice::PaintDeviceMetric ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3930,7 +3930,7 @@ QSize PythonQtShell_QAbstractItemView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3963,7 +3963,7 @@ void PythonQtShell_QAbstractItemView::mouseDoubleClickEvent(QMouseEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3985,7 +3985,7 @@ void PythonQtShell_QAbstractItemView::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4007,7 +4007,7 @@ void PythonQtShell_QAbstractItemView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4029,7 +4029,7 @@ void PythonQtShell_QAbstractItemView::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4051,7 +4051,7 @@ QModelIndex PythonQtShell_QAbstractItemView::moveCursor(QAbstractItemView::Curs { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4084,7 +4084,7 @@ void PythonQtShell_QAbstractItemView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4106,7 +4106,7 @@ bool PythonQtShell_QAbstractItemView::nativeEvent(const QByteArray& eventType0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4139,7 +4139,7 @@ QPaintEngine* PythonQtShell_QAbstractItemView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4172,7 +4172,7 @@ void PythonQtShell_QAbstractItemView::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4194,7 +4194,7 @@ QPaintDevice* PythonQtShell_QAbstractItemView::redirected(QPoint* offset0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4227,7 +4227,7 @@ void PythonQtShell_QAbstractItemView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4249,7 +4249,7 @@ void PythonQtShell_QAbstractItemView::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4271,7 +4271,7 @@ void PythonQtShell_QAbstractItemView::rowsAboutToBeRemoved(const QModelIndex& p { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4293,7 +4293,7 @@ void PythonQtShell_QAbstractItemView::rowsInserted(const QModelIndex& parent0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4315,7 +4315,7 @@ void PythonQtShell_QAbstractItemView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4337,7 +4337,7 @@ void PythonQtShell_QAbstractItemView::scrollTo(const QModelIndex& index0, QAbst { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4359,7 +4359,7 @@ void PythonQtShell_QAbstractItemView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4381,7 +4381,7 @@ QList PythonQtShell_QAbstractItemView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4414,7 +4414,7 @@ void PythonQtShell_QAbstractItemView::selectionChanged(const QItemSelection& se { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4436,7 +4436,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QAbstractItemView::selectionC { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4469,7 +4469,7 @@ void PythonQtShell_QAbstractItemView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4491,7 +4491,7 @@ void PythonQtShell_QAbstractItemView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4513,7 +4513,7 @@ void PythonQtShell_QAbstractItemView::setSelection(const QRect& rect0, QItemSel { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4535,7 +4535,7 @@ void PythonQtShell_QAbstractItemView::setSelectionModel(QItemSelectionModel* se { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4557,7 +4557,7 @@ void PythonQtShell_QAbstractItemView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4579,7 +4579,7 @@ void PythonQtShell_QAbstractItemView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4601,7 +4601,7 @@ QPainter* PythonQtShell_QAbstractItemView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4634,7 +4634,7 @@ void PythonQtShell_QAbstractItemView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4656,7 +4656,7 @@ QSize PythonQtShell_QAbstractItemView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4689,7 +4689,7 @@ int PythonQtShell_QAbstractItemView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4722,7 +4722,7 @@ int PythonQtShell_QAbstractItemView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4755,7 +4755,7 @@ void PythonQtShell_QAbstractItemView::startDrag(Qt::DropActions supportedAction { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4777,7 +4777,7 @@ void PythonQtShell_QAbstractItemView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4799,7 +4799,7 @@ void PythonQtShell_QAbstractItemView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4821,7 +4821,7 @@ void PythonQtShell_QAbstractItemView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4843,7 +4843,7 @@ void PythonQtShell_QAbstractItemView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4865,7 +4865,7 @@ void PythonQtShell_QAbstractItemView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4887,7 +4887,7 @@ int PythonQtShell_QAbstractItemView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4920,7 +4920,7 @@ void PythonQtShell_QAbstractItemView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4942,7 +4942,7 @@ void PythonQtShell_QAbstractItemView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4964,7 +4964,7 @@ QStyleOptionViewItem PythonQtShell_QAbstractItemView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4997,7 +4997,7 @@ bool PythonQtShell_QAbstractItemView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5030,7 +5030,7 @@ QSize PythonQtShell_QAbstractItemView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5063,7 +5063,7 @@ QRect PythonQtShell_QAbstractItemView::visualRect(const QModelIndex& index0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5096,7 +5096,7 @@ QRegion PythonQtShell_QAbstractItemView::visualRegionForSelection(const QItemSe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5129,7 +5129,7 @@ void PythonQtShell_QAbstractItemView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5579,7 +5579,7 @@ void PythonQtShell_QAbstractPrintDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5601,7 +5601,7 @@ void PythonQtShell_QAbstractPrintDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5623,7 +5623,7 @@ void PythonQtShell_QAbstractPrintDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5645,7 +5645,7 @@ void PythonQtShell_QAbstractPrintDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5667,7 +5667,7 @@ void PythonQtShell_QAbstractPrintDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5689,7 +5689,7 @@ void PythonQtShell_QAbstractPrintDialog::contextMenuEvent(QContextMenuEvent* ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5711,7 +5711,7 @@ void PythonQtShell_QAbstractPrintDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5733,7 +5733,7 @@ int PythonQtShell_QAbstractPrintDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5766,7 +5766,7 @@ void PythonQtShell_QAbstractPrintDialog::done(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5788,7 +5788,7 @@ void PythonQtShell_QAbstractPrintDialog::dragEnterEvent(QDragEnterEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5810,7 +5810,7 @@ void PythonQtShell_QAbstractPrintDialog::dragLeaveEvent(QDragLeaveEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5832,7 +5832,7 @@ void PythonQtShell_QAbstractPrintDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5854,7 +5854,7 @@ void PythonQtShell_QAbstractPrintDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5876,7 +5876,7 @@ void PythonQtShell_QAbstractPrintDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5898,7 +5898,7 @@ bool PythonQtShell_QAbstractPrintDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5931,7 +5931,7 @@ bool PythonQtShell_QAbstractPrintDialog::eventFilter(QObject* arg__1, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5964,7 +5964,7 @@ int PythonQtShell_QAbstractPrintDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5997,7 +5997,7 @@ void PythonQtShell_QAbstractPrintDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6019,7 +6019,7 @@ bool PythonQtShell_QAbstractPrintDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6052,7 +6052,7 @@ void PythonQtShell_QAbstractPrintDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6074,7 +6074,7 @@ bool PythonQtShell_QAbstractPrintDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6107,7 +6107,7 @@ int PythonQtShell_QAbstractPrintDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6140,7 +6140,7 @@ void PythonQtShell_QAbstractPrintDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6162,7 +6162,7 @@ void PythonQtShell_QAbstractPrintDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6184,7 +6184,7 @@ void PythonQtShell_QAbstractPrintDialog::inputMethodEvent(QInputMethodEvent* ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6206,7 +6206,7 @@ QVariant PythonQtShell_QAbstractPrintDialog::inputMethodQuery(Qt::InputMethodQu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6239,7 +6239,7 @@ void PythonQtShell_QAbstractPrintDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6261,7 +6261,7 @@ void PythonQtShell_QAbstractPrintDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6283,7 +6283,7 @@ void PythonQtShell_QAbstractPrintDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6305,7 +6305,7 @@ int PythonQtShell_QAbstractPrintDialog::metric(QPaintDevice::PaintDeviceMetric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6338,7 +6338,7 @@ QSize PythonQtShell_QAbstractPrintDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6371,7 +6371,7 @@ void PythonQtShell_QAbstractPrintDialog::mouseDoubleClickEvent(QMouseEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6393,7 +6393,7 @@ void PythonQtShell_QAbstractPrintDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6415,7 +6415,7 @@ void PythonQtShell_QAbstractPrintDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6437,7 +6437,7 @@ void PythonQtShell_QAbstractPrintDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6459,7 +6459,7 @@ void PythonQtShell_QAbstractPrintDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6481,7 +6481,7 @@ bool PythonQtShell_QAbstractPrintDialog::nativeEvent(const QByteArray& eventTy { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6514,7 +6514,7 @@ void PythonQtShell_QAbstractPrintDialog::open() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6536,7 +6536,7 @@ QPaintEngine* PythonQtShell_QAbstractPrintDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6569,7 +6569,7 @@ void PythonQtShell_QAbstractPrintDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6591,7 +6591,7 @@ QPaintDevice* PythonQtShell_QAbstractPrintDialog::redirected(QPoint* offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6624,7 +6624,7 @@ void PythonQtShell_QAbstractPrintDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6646,7 +6646,7 @@ void PythonQtShell_QAbstractPrintDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6668,7 +6668,7 @@ void PythonQtShell_QAbstractPrintDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6690,7 +6690,7 @@ QPainter* PythonQtShell_QAbstractPrintDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6723,7 +6723,7 @@ void PythonQtShell_QAbstractPrintDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6745,7 +6745,7 @@ QSize PythonQtShell_QAbstractPrintDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6778,7 +6778,7 @@ void PythonQtShell_QAbstractPrintDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6800,7 +6800,7 @@ void PythonQtShell_QAbstractPrintDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6822,7 +6822,7 @@ void PythonQtShell_QAbstractPrintDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6937,7 +6937,7 @@ QModelIndex PythonQtShell_QAbstractProxyModel::buddy(const QModelIndex& index0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6970,7 +6970,7 @@ bool PythonQtShell_QAbstractProxyModel::canDropMimeData(const QMimeData* data0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7003,7 +7003,7 @@ bool PythonQtShell_QAbstractProxyModel::canFetchMore(const QModelIndex& parent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7036,7 +7036,7 @@ void PythonQtShell_QAbstractProxyModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7058,7 +7058,7 @@ int PythonQtShell_QAbstractProxyModel::columnCount(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7091,7 +7091,7 @@ void PythonQtShell_QAbstractProxyModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7113,7 +7113,7 @@ QVariant PythonQtShell_QAbstractProxyModel::data(const QModelIndex& proxyIndex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7146,7 +7146,7 @@ bool PythonQtShell_QAbstractProxyModel::dropMimeData(const QMimeData* data0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7179,7 +7179,7 @@ bool PythonQtShell_QAbstractProxyModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7212,7 +7212,7 @@ bool PythonQtShell_QAbstractProxyModel::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7245,7 +7245,7 @@ void PythonQtShell_QAbstractProxyModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7267,7 +7267,7 @@ Qt::ItemFlags PythonQtShell_QAbstractProxyModel::flags(const QModelIndex& inde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7300,7 +7300,7 @@ bool PythonQtShell_QAbstractProxyModel::hasChildren(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7333,7 +7333,7 @@ QVariant PythonQtShell_QAbstractProxyModel::headerData(int section0, Qt::Orien { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7366,7 +7366,7 @@ QModelIndex PythonQtShell_QAbstractProxyModel::index(int row0, int column1, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7399,7 +7399,7 @@ bool PythonQtShell_QAbstractProxyModel::insertColumns(int column0, int count1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7432,7 +7432,7 @@ bool PythonQtShell_QAbstractProxyModel::insertRows(int row0, int count1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7465,7 +7465,7 @@ QMap PythonQtShell_QAbstractProxyModel::itemData(const QModelI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7498,7 +7498,7 @@ QModelIndex PythonQtShell_QAbstractProxyModel::mapFromSource(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7531,7 +7531,7 @@ QItemSelection PythonQtShell_QAbstractProxyModel::mapSelectionFromSource(const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapSelectionFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7564,7 +7564,7 @@ QItemSelection PythonQtShell_QAbstractProxyModel::mapSelectionToSource(const QI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapSelectionToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7597,7 +7597,7 @@ QModelIndex PythonQtShell_QAbstractProxyModel::mapToSource(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7630,7 +7630,7 @@ QList PythonQtShell_QAbstractProxyModel::match(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7663,7 +7663,7 @@ QMimeData* PythonQtShell_QAbstractProxyModel::mimeData(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7696,7 +7696,7 @@ QStringList PythonQtShell_QAbstractProxyModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7729,7 +7729,7 @@ bool PythonQtShell_QAbstractProxyModel::moveColumns(const QModelIndex& sourceP { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7762,7 +7762,7 @@ bool PythonQtShell_QAbstractProxyModel::moveRows(const QModelIndex& sourcePare { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7795,7 +7795,7 @@ QModelIndex PythonQtShell_QAbstractProxyModel::parent(const QModelIndex& child { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7828,7 +7828,7 @@ bool PythonQtShell_QAbstractProxyModel::removeColumns(int column0, int count1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7861,7 +7861,7 @@ bool PythonQtShell_QAbstractProxyModel::removeRows(int row0, int count1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7894,7 +7894,7 @@ void PythonQtShell_QAbstractProxyModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7916,7 +7916,7 @@ QHash PythonQtShell_QAbstractProxyModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7949,7 +7949,7 @@ int PythonQtShell_QAbstractProxyModel::rowCount(const QModelIndex& parent0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7982,7 +7982,7 @@ bool PythonQtShell_QAbstractProxyModel::setData(const QModelIndex& index0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8015,7 +8015,7 @@ bool PythonQtShell_QAbstractProxyModel::setHeaderData(int section0, Qt::Orient { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8048,7 +8048,7 @@ bool PythonQtShell_QAbstractProxyModel::setItemData(const QModelIndex& index0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8081,7 +8081,7 @@ void PythonQtShell_QAbstractProxyModel::setSourceModel(QAbstractItemModel* sour { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSourceModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8103,7 +8103,7 @@ QModelIndex PythonQtShell_QAbstractProxyModel::sibling(int row0, int column1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8136,7 +8136,7 @@ void PythonQtShell_QAbstractProxyModel::sort(int column0, Qt::SortOrder order1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8158,7 +8158,7 @@ QSize PythonQtShell_QAbstractProxyModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8191,7 +8191,7 @@ bool PythonQtShell_QAbstractProxyModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8224,7 +8224,7 @@ Qt::DropActions PythonQtShell_QAbstractProxyModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8257,7 +8257,7 @@ Qt::DropActions PythonQtShell_QAbstractProxyModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8290,7 +8290,7 @@ void PythonQtShell_QAbstractProxyModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8365,7 +8365,7 @@ void PythonQtShell_QAbstractScrollArea::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8387,7 +8387,7 @@ void PythonQtShell_QAbstractScrollArea::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8409,7 +8409,7 @@ void PythonQtShell_QAbstractScrollArea::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8431,7 +8431,7 @@ void PythonQtShell_QAbstractScrollArea::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8453,7 +8453,7 @@ void PythonQtShell_QAbstractScrollArea::contextMenuEvent(QContextMenuEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8475,7 +8475,7 @@ void PythonQtShell_QAbstractScrollArea::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8497,7 +8497,7 @@ int PythonQtShell_QAbstractScrollArea::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8530,7 +8530,7 @@ void PythonQtShell_QAbstractScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8552,7 +8552,7 @@ void PythonQtShell_QAbstractScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8574,7 +8574,7 @@ void PythonQtShell_QAbstractScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8596,7 +8596,7 @@ void PythonQtShell_QAbstractScrollArea::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8618,7 +8618,7 @@ void PythonQtShell_QAbstractScrollArea::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8640,7 +8640,7 @@ bool PythonQtShell_QAbstractScrollArea::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8673,7 +8673,7 @@ bool PythonQtShell_QAbstractScrollArea::eventFilter(QObject* arg__1, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8706,7 +8706,7 @@ void PythonQtShell_QAbstractScrollArea::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8728,7 +8728,7 @@ bool PythonQtShell_QAbstractScrollArea::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8761,7 +8761,7 @@ void PythonQtShell_QAbstractScrollArea::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8783,7 +8783,7 @@ bool PythonQtShell_QAbstractScrollArea::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8816,7 +8816,7 @@ int PythonQtShell_QAbstractScrollArea::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8849,7 +8849,7 @@ void PythonQtShell_QAbstractScrollArea::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8871,7 +8871,7 @@ void PythonQtShell_QAbstractScrollArea::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8893,7 +8893,7 @@ void PythonQtShell_QAbstractScrollArea::inputMethodEvent(QInputMethodEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8915,7 +8915,7 @@ QVariant PythonQtShell_QAbstractScrollArea::inputMethodQuery(Qt::InputMethodQue { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8948,7 +8948,7 @@ void PythonQtShell_QAbstractScrollArea::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8970,7 +8970,7 @@ void PythonQtShell_QAbstractScrollArea::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8992,7 +8992,7 @@ void PythonQtShell_QAbstractScrollArea::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9014,7 +9014,7 @@ int PythonQtShell_QAbstractScrollArea::metric(QPaintDevice::PaintDeviceMetric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9047,7 +9047,7 @@ QSize PythonQtShell_QAbstractScrollArea::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9080,7 +9080,7 @@ void PythonQtShell_QAbstractScrollArea::mouseDoubleClickEvent(QMouseEvent* arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9102,7 +9102,7 @@ void PythonQtShell_QAbstractScrollArea::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9124,7 +9124,7 @@ void PythonQtShell_QAbstractScrollArea::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9146,7 +9146,7 @@ void PythonQtShell_QAbstractScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9168,7 +9168,7 @@ void PythonQtShell_QAbstractScrollArea::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9190,7 +9190,7 @@ bool PythonQtShell_QAbstractScrollArea::nativeEvent(const QByteArray& eventTyp { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9223,7 +9223,7 @@ QPaintEngine* PythonQtShell_QAbstractScrollArea::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9256,7 +9256,7 @@ void PythonQtShell_QAbstractScrollArea::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9278,7 +9278,7 @@ QPaintDevice* PythonQtShell_QAbstractScrollArea::redirected(QPoint* offset0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9311,7 +9311,7 @@ void PythonQtShell_QAbstractScrollArea::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9333,7 +9333,7 @@ void PythonQtShell_QAbstractScrollArea::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9355,7 +9355,7 @@ void PythonQtShell_QAbstractScrollArea::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9377,7 +9377,7 @@ void PythonQtShell_QAbstractScrollArea::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9399,7 +9399,7 @@ QPainter* PythonQtShell_QAbstractScrollArea::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9432,7 +9432,7 @@ void PythonQtShell_QAbstractScrollArea::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9454,7 +9454,7 @@ QSize PythonQtShell_QAbstractScrollArea::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9487,7 +9487,7 @@ void PythonQtShell_QAbstractScrollArea::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9509,7 +9509,7 @@ void PythonQtShell_QAbstractScrollArea::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9531,7 +9531,7 @@ bool PythonQtShell_QAbstractScrollArea::viewportEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9564,7 +9564,7 @@ QSize PythonQtShell_QAbstractScrollArea::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9597,7 +9597,7 @@ void PythonQtShell_QAbstractScrollArea::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9767,7 +9767,7 @@ void PythonQtShell_QAbstractSlider::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9789,7 +9789,7 @@ void PythonQtShell_QAbstractSlider::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9811,7 +9811,7 @@ void PythonQtShell_QAbstractSlider::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9833,7 +9833,7 @@ void PythonQtShell_QAbstractSlider::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9855,7 +9855,7 @@ void PythonQtShell_QAbstractSlider::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9877,7 +9877,7 @@ void PythonQtShell_QAbstractSlider::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9899,7 +9899,7 @@ int PythonQtShell_QAbstractSlider::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9932,7 +9932,7 @@ void PythonQtShell_QAbstractSlider::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9954,7 +9954,7 @@ void PythonQtShell_QAbstractSlider::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9976,7 +9976,7 @@ void PythonQtShell_QAbstractSlider::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9998,7 +9998,7 @@ void PythonQtShell_QAbstractSlider::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10020,7 +10020,7 @@ void PythonQtShell_QAbstractSlider::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10042,7 +10042,7 @@ bool PythonQtShell_QAbstractSlider::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10075,7 +10075,7 @@ bool PythonQtShell_QAbstractSlider::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10108,7 +10108,7 @@ void PythonQtShell_QAbstractSlider::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10130,7 +10130,7 @@ bool PythonQtShell_QAbstractSlider::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10163,7 +10163,7 @@ void PythonQtShell_QAbstractSlider::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10185,7 +10185,7 @@ bool PythonQtShell_QAbstractSlider::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10218,7 +10218,7 @@ int PythonQtShell_QAbstractSlider::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10251,7 +10251,7 @@ void PythonQtShell_QAbstractSlider::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10273,7 +10273,7 @@ void PythonQtShell_QAbstractSlider::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10295,7 +10295,7 @@ void PythonQtShell_QAbstractSlider::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10317,7 +10317,7 @@ QVariant PythonQtShell_QAbstractSlider::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10350,7 +10350,7 @@ void PythonQtShell_QAbstractSlider::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10372,7 +10372,7 @@ void PythonQtShell_QAbstractSlider::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10394,7 +10394,7 @@ void PythonQtShell_QAbstractSlider::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10416,7 +10416,7 @@ int PythonQtShell_QAbstractSlider::metric(QPaintDevice::PaintDeviceMetric arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10449,7 +10449,7 @@ QSize PythonQtShell_QAbstractSlider::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10482,7 +10482,7 @@ void PythonQtShell_QAbstractSlider::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10504,7 +10504,7 @@ void PythonQtShell_QAbstractSlider::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10526,7 +10526,7 @@ void PythonQtShell_QAbstractSlider::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10548,7 +10548,7 @@ void PythonQtShell_QAbstractSlider::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10570,7 +10570,7 @@ void PythonQtShell_QAbstractSlider::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10592,7 +10592,7 @@ bool PythonQtShell_QAbstractSlider::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10625,7 +10625,7 @@ QPaintEngine* PythonQtShell_QAbstractSlider::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10658,7 +10658,7 @@ void PythonQtShell_QAbstractSlider::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10680,7 +10680,7 @@ QPaintDevice* PythonQtShell_QAbstractSlider::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10713,7 +10713,7 @@ void PythonQtShell_QAbstractSlider::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10735,7 +10735,7 @@ void PythonQtShell_QAbstractSlider::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10757,7 +10757,7 @@ QPainter* PythonQtShell_QAbstractSlider::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10790,7 +10790,7 @@ void PythonQtShell_QAbstractSlider::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10812,7 +10812,7 @@ QSize PythonQtShell_QAbstractSlider::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10845,7 +10845,7 @@ void PythonQtShell_QAbstractSlider::sliderChange(QAbstractSlider::SliderChange { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sliderChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10867,7 +10867,7 @@ void PythonQtShell_QAbstractSlider::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10889,7 +10889,7 @@ void PythonQtShell_QAbstractSlider::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10911,7 +10911,7 @@ void PythonQtShell_QAbstractSlider::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11076,7 +11076,7 @@ void PythonQtShell_QAbstractSpinBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11098,7 +11098,7 @@ void PythonQtShell_QAbstractSpinBox::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11120,7 +11120,7 @@ void PythonQtShell_QAbstractSpinBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11142,7 +11142,7 @@ void PythonQtShell_QAbstractSpinBox::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11164,7 +11164,7 @@ void PythonQtShell_QAbstractSpinBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11186,7 +11186,7 @@ void PythonQtShell_QAbstractSpinBox::contextMenuEvent(QContextMenuEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11208,7 +11208,7 @@ void PythonQtShell_QAbstractSpinBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11230,7 +11230,7 @@ int PythonQtShell_QAbstractSpinBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11263,7 +11263,7 @@ void PythonQtShell_QAbstractSpinBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11285,7 +11285,7 @@ void PythonQtShell_QAbstractSpinBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11307,7 +11307,7 @@ void PythonQtShell_QAbstractSpinBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11329,7 +11329,7 @@ void PythonQtShell_QAbstractSpinBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11351,7 +11351,7 @@ void PythonQtShell_QAbstractSpinBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11373,7 +11373,7 @@ bool PythonQtShell_QAbstractSpinBox::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11406,7 +11406,7 @@ bool PythonQtShell_QAbstractSpinBox::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11439,7 +11439,7 @@ void PythonQtShell_QAbstractSpinBox::fixup(QString& input0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11461,7 +11461,7 @@ void PythonQtShell_QAbstractSpinBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11483,7 +11483,7 @@ bool PythonQtShell_QAbstractSpinBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11516,7 +11516,7 @@ void PythonQtShell_QAbstractSpinBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11538,7 +11538,7 @@ bool PythonQtShell_QAbstractSpinBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11571,7 +11571,7 @@ int PythonQtShell_QAbstractSpinBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11604,7 +11604,7 @@ void PythonQtShell_QAbstractSpinBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11626,7 +11626,7 @@ void PythonQtShell_QAbstractSpinBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11648,7 +11648,7 @@ void PythonQtShell_QAbstractSpinBox::inputMethodEvent(QInputMethodEvent* arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11670,7 +11670,7 @@ QVariant PythonQtShell_QAbstractSpinBox::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11703,7 +11703,7 @@ void PythonQtShell_QAbstractSpinBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11725,7 +11725,7 @@ void PythonQtShell_QAbstractSpinBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11747,7 +11747,7 @@ void PythonQtShell_QAbstractSpinBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11769,7 +11769,7 @@ int PythonQtShell_QAbstractSpinBox::metric(QPaintDevice::PaintDeviceMetric arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11802,7 +11802,7 @@ QSize PythonQtShell_QAbstractSpinBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11835,7 +11835,7 @@ void PythonQtShell_QAbstractSpinBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11857,7 +11857,7 @@ void PythonQtShell_QAbstractSpinBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11879,7 +11879,7 @@ void PythonQtShell_QAbstractSpinBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11901,7 +11901,7 @@ void PythonQtShell_QAbstractSpinBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11923,7 +11923,7 @@ void PythonQtShell_QAbstractSpinBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11945,7 +11945,7 @@ bool PythonQtShell_QAbstractSpinBox::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11978,7 +11978,7 @@ QPaintEngine* PythonQtShell_QAbstractSpinBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12011,7 +12011,7 @@ void PythonQtShell_QAbstractSpinBox::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12033,7 +12033,7 @@ QPaintDevice* PythonQtShell_QAbstractSpinBox::redirected(QPoint* offset0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12066,7 +12066,7 @@ void PythonQtShell_QAbstractSpinBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12088,7 +12088,7 @@ void PythonQtShell_QAbstractSpinBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12110,7 +12110,7 @@ QPainter* PythonQtShell_QAbstractSpinBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12143,7 +12143,7 @@ void PythonQtShell_QAbstractSpinBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12165,7 +12165,7 @@ QSize PythonQtShell_QAbstractSpinBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12198,7 +12198,7 @@ void PythonQtShell_QAbstractSpinBox::stepBy(int steps0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12220,7 +12220,7 @@ QAbstractSpinBox::StepEnabled PythonQtShell_QAbstractSpinBox::stepEnabled() con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12253,7 +12253,7 @@ void PythonQtShell_QAbstractSpinBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12275,7 +12275,7 @@ void PythonQtShell_QAbstractSpinBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12297,7 +12297,7 @@ QValidator::State PythonQtShell_QAbstractSpinBox::validate(QString& input0, in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12330,7 +12330,7 @@ void PythonQtShell_QAbstractSpinBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12535,7 +12535,7 @@ QModelIndex PythonQtShell_QAbstractTableModel::buddy(const QModelIndex& index0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12568,7 +12568,7 @@ bool PythonQtShell_QAbstractTableModel::canDropMimeData(const QMimeData* data0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12601,7 +12601,7 @@ bool PythonQtShell_QAbstractTableModel::canFetchMore(const QModelIndex& parent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12634,7 +12634,7 @@ void PythonQtShell_QAbstractTableModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12656,7 +12656,7 @@ int PythonQtShell_QAbstractTableModel::columnCount(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12689,7 +12689,7 @@ void PythonQtShell_QAbstractTableModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12711,7 +12711,7 @@ QVariant PythonQtShell_QAbstractTableModel::data(const QModelIndex& index0, in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12744,7 +12744,7 @@ bool PythonQtShell_QAbstractTableModel::dropMimeData(const QMimeData* data0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12777,7 +12777,7 @@ bool PythonQtShell_QAbstractTableModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12810,7 +12810,7 @@ bool PythonQtShell_QAbstractTableModel::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12843,7 +12843,7 @@ void PythonQtShell_QAbstractTableModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12865,7 +12865,7 @@ Qt::ItemFlags PythonQtShell_QAbstractTableModel::flags(const QModelIndex& inde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12898,7 +12898,7 @@ QVariant PythonQtShell_QAbstractTableModel::headerData(int section0, Qt::Orien { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12931,7 +12931,7 @@ QModelIndex PythonQtShell_QAbstractTableModel::index(int row0, int column1, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12964,7 +12964,7 @@ bool PythonQtShell_QAbstractTableModel::insertColumns(int column0, int count1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12997,7 +12997,7 @@ bool PythonQtShell_QAbstractTableModel::insertRows(int row0, int count1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13030,7 +13030,7 @@ QMap PythonQtShell_QAbstractTableModel::itemData(const QModelI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13063,7 +13063,7 @@ QList PythonQtShell_QAbstractTableModel::match(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13096,7 +13096,7 @@ QMimeData* PythonQtShell_QAbstractTableModel::mimeData(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13129,7 +13129,7 @@ QStringList PythonQtShell_QAbstractTableModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13162,7 +13162,7 @@ bool PythonQtShell_QAbstractTableModel::moveColumns(const QModelIndex& sourceP { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13195,7 +13195,7 @@ bool PythonQtShell_QAbstractTableModel::moveRows(const QModelIndex& sourcePare { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13228,7 +13228,7 @@ bool PythonQtShell_QAbstractTableModel::removeColumns(int column0, int count1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13261,7 +13261,7 @@ bool PythonQtShell_QAbstractTableModel::removeRows(int row0, int count1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13294,7 +13294,7 @@ void PythonQtShell_QAbstractTableModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13316,7 +13316,7 @@ QHash PythonQtShell_QAbstractTableModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13349,7 +13349,7 @@ int PythonQtShell_QAbstractTableModel::rowCount(const QModelIndex& parent0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13382,7 +13382,7 @@ bool PythonQtShell_QAbstractTableModel::setData(const QModelIndex& index0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13415,7 +13415,7 @@ bool PythonQtShell_QAbstractTableModel::setHeaderData(int section0, Qt::Orient { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13448,7 +13448,7 @@ bool PythonQtShell_QAbstractTableModel::setItemData(const QModelIndex& index0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13481,7 +13481,7 @@ QModelIndex PythonQtShell_QAbstractTableModel::sibling(int row0, int column1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13514,7 +13514,7 @@ void PythonQtShell_QAbstractTableModel::sort(int column0, Qt::SortOrder order1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13536,7 +13536,7 @@ QSize PythonQtShell_QAbstractTableModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13569,7 +13569,7 @@ bool PythonQtShell_QAbstractTableModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13602,7 +13602,7 @@ Qt::DropActions PythonQtShell_QAbstractTableModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13635,7 +13635,7 @@ Qt::DropActions PythonQtShell_QAbstractTableModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13668,7 +13668,7 @@ void PythonQtShell_QAbstractTableModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13713,7 +13713,7 @@ QRectF PythonQtShell_QAbstractTextDocumentLayout::blockBoundingRect(const QText { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("blockBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13746,7 +13746,7 @@ void PythonQtShell_QAbstractTextDocumentLayout::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13768,7 +13768,7 @@ void PythonQtShell_QAbstractTextDocumentLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13790,7 +13790,7 @@ void PythonQtShell_QAbstractTextDocumentLayout::documentChanged(int from0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("documentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13812,7 +13812,7 @@ QSizeF PythonQtShell_QAbstractTextDocumentLayout::documentSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("documentSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13845,7 +13845,7 @@ void PythonQtShell_QAbstractTextDocumentLayout::draw(QPainter* painter0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13867,7 +13867,7 @@ void PythonQtShell_QAbstractTextDocumentLayout::drawInlineObject(QPainter* pain { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13889,7 +13889,7 @@ bool PythonQtShell_QAbstractTextDocumentLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13922,7 +13922,7 @@ bool PythonQtShell_QAbstractTextDocumentLayout::eventFilter(QObject* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13955,7 +13955,7 @@ QRectF PythonQtShell_QAbstractTextDocumentLayout::frameBoundingRect(QTextFrame* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("frameBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13988,7 +13988,7 @@ int PythonQtShell_QAbstractTextDocumentLayout::hitTest(const QPointF& point0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14021,7 +14021,7 @@ int PythonQtShell_QAbstractTextDocumentLayout::pageCount() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pageCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14054,7 +14054,7 @@ void PythonQtShell_QAbstractTextDocumentLayout::positionInlineObject(QTextInline { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("positionInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14076,7 +14076,7 @@ void PythonQtShell_QAbstractTextDocumentLayout::resizeInlineObject(QTextInlineOb { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14098,7 +14098,7 @@ void PythonQtShell_QAbstractTextDocumentLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14300,7 +14300,7 @@ void PythonQtShell_QAction::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14322,7 +14322,7 @@ void PythonQtShell_QAction::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14344,7 +14344,7 @@ bool PythonQtShell_QAction::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14377,7 +14377,7 @@ bool PythonQtShell_QAction::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14410,7 +14410,7 @@ void PythonQtShell_QAction::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14731,7 +14731,7 @@ void PythonQtShell_QActionGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14753,7 +14753,7 @@ void PythonQtShell_QActionGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14775,7 +14775,7 @@ bool PythonQtShell_QActionGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14808,7 +14808,7 @@ bool PythonQtShell_QActionGroup::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14841,7 +14841,7 @@ void PythonQtShell_QActionGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15219,7 +15219,7 @@ void PythonQtShell_QBoxLayout::addItem(QLayoutItem* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15241,7 +15241,7 @@ void PythonQtShell_QBoxLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15263,7 +15263,7 @@ QSizePolicy::ControlTypes PythonQtShell_QBoxLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15296,7 +15296,7 @@ int PythonQtShell_QBoxLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15329,7 +15329,7 @@ void PythonQtShell_QBoxLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15351,7 +15351,7 @@ bool PythonQtShell_QBoxLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15384,7 +15384,7 @@ bool PythonQtShell_QBoxLayout::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15417,7 +15417,7 @@ Qt::Orientations PythonQtShell_QBoxLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15450,7 +15450,7 @@ QRect PythonQtShell_QBoxLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15483,7 +15483,7 @@ bool PythonQtShell_QBoxLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15516,7 +15516,7 @@ int PythonQtShell_QBoxLayout::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15549,7 +15549,7 @@ int PythonQtShell_QBoxLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15582,7 +15582,7 @@ void PythonQtShell_QBoxLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15604,7 +15604,7 @@ bool PythonQtShell_QBoxLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15637,7 +15637,7 @@ QLayoutItem* PythonQtShell_QBoxLayout::itemAt(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15670,7 +15670,7 @@ QLayout* PythonQtShell_QBoxLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15703,7 +15703,7 @@ QSize PythonQtShell_QBoxLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15736,7 +15736,7 @@ int PythonQtShell_QBoxLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15769,7 +15769,7 @@ QSize PythonQtShell_QBoxLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15802,7 +15802,7 @@ void PythonQtShell_QBoxLayout::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15824,7 +15824,7 @@ QSize PythonQtShell_QBoxLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15857,7 +15857,7 @@ QLayoutItem* PythonQtShell_QBoxLayout::takeAt(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15890,7 +15890,7 @@ void PythonQtShell_QBoxLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16055,7 +16055,7 @@ void PythonQtShell_QButtonGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16077,7 +16077,7 @@ void PythonQtShell_QButtonGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16099,7 +16099,7 @@ bool PythonQtShell_QButtonGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16132,7 +16132,7 @@ bool PythonQtShell_QButtonGroup::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16165,7 +16165,7 @@ void PythonQtShell_QButtonGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16260,7 +16260,7 @@ void PythonQtShell_QCalendarWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16282,7 +16282,7 @@ void PythonQtShell_QCalendarWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16304,7 +16304,7 @@ void PythonQtShell_QCalendarWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16326,7 +16326,7 @@ void PythonQtShell_QCalendarWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16348,7 +16348,7 @@ void PythonQtShell_QCalendarWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16370,7 +16370,7 @@ void PythonQtShell_QCalendarWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16392,7 +16392,7 @@ int PythonQtShell_QCalendarWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16425,7 +16425,7 @@ void PythonQtShell_QCalendarWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16447,7 +16447,7 @@ void PythonQtShell_QCalendarWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16469,7 +16469,7 @@ void PythonQtShell_QCalendarWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16491,7 +16491,7 @@ void PythonQtShell_QCalendarWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16513,7 +16513,7 @@ void PythonQtShell_QCalendarWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16535,7 +16535,7 @@ bool PythonQtShell_QCalendarWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16568,7 +16568,7 @@ bool PythonQtShell_QCalendarWidget::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16601,7 +16601,7 @@ void PythonQtShell_QCalendarWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16623,7 +16623,7 @@ bool PythonQtShell_QCalendarWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16656,7 +16656,7 @@ void PythonQtShell_QCalendarWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16678,7 +16678,7 @@ bool PythonQtShell_QCalendarWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16711,7 +16711,7 @@ int PythonQtShell_QCalendarWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16744,7 +16744,7 @@ void PythonQtShell_QCalendarWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16766,7 +16766,7 @@ void PythonQtShell_QCalendarWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16788,7 +16788,7 @@ void PythonQtShell_QCalendarWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16810,7 +16810,7 @@ QVariant PythonQtShell_QCalendarWidget::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16843,7 +16843,7 @@ void PythonQtShell_QCalendarWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16865,7 +16865,7 @@ void PythonQtShell_QCalendarWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16887,7 +16887,7 @@ void PythonQtShell_QCalendarWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16909,7 +16909,7 @@ int PythonQtShell_QCalendarWidget::metric(QPaintDevice::PaintDeviceMetric arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16942,7 +16942,7 @@ QSize PythonQtShell_QCalendarWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16975,7 +16975,7 @@ void PythonQtShell_QCalendarWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16997,7 +16997,7 @@ void PythonQtShell_QCalendarWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17019,7 +17019,7 @@ void PythonQtShell_QCalendarWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17041,7 +17041,7 @@ void PythonQtShell_QCalendarWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17063,7 +17063,7 @@ void PythonQtShell_QCalendarWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17085,7 +17085,7 @@ bool PythonQtShell_QCalendarWidget::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17118,7 +17118,7 @@ void PythonQtShell_QCalendarWidget::paintCell(QPainter* painter0, const QRect& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintCell"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17140,7 +17140,7 @@ QPaintEngine* PythonQtShell_QCalendarWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17173,7 +17173,7 @@ void PythonQtShell_QCalendarWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17195,7 +17195,7 @@ QPaintDevice* PythonQtShell_QCalendarWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17228,7 +17228,7 @@ void PythonQtShell_QCalendarWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17250,7 +17250,7 @@ void PythonQtShell_QCalendarWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17272,7 +17272,7 @@ QPainter* PythonQtShell_QCalendarWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17305,7 +17305,7 @@ void PythonQtShell_QCalendarWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17327,7 +17327,7 @@ QSize PythonQtShell_QCalendarWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17360,7 +17360,7 @@ void PythonQtShell_QCalendarWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17382,7 +17382,7 @@ void PythonQtShell_QCalendarWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17404,7 +17404,7 @@ void PythonQtShell_QCalendarWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17604,7 +17604,7 @@ void PythonQtShell_QCheckBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17626,7 +17626,7 @@ void PythonQtShell_QCheckBox::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17648,7 +17648,7 @@ void PythonQtShell_QCheckBox::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17670,7 +17670,7 @@ void PythonQtShell_QCheckBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17692,7 +17692,7 @@ void PythonQtShell_QCheckBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17714,7 +17714,7 @@ void PythonQtShell_QCheckBox::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17736,7 +17736,7 @@ void PythonQtShell_QCheckBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17758,7 +17758,7 @@ int PythonQtShell_QCheckBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17791,7 +17791,7 @@ void PythonQtShell_QCheckBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17813,7 +17813,7 @@ void PythonQtShell_QCheckBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17835,7 +17835,7 @@ void PythonQtShell_QCheckBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17857,7 +17857,7 @@ void PythonQtShell_QCheckBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17879,7 +17879,7 @@ void PythonQtShell_QCheckBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17901,7 +17901,7 @@ bool PythonQtShell_QCheckBox::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17934,7 +17934,7 @@ bool PythonQtShell_QCheckBox::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17967,7 +17967,7 @@ void PythonQtShell_QCheckBox::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17989,7 +17989,7 @@ bool PythonQtShell_QCheckBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18022,7 +18022,7 @@ void PythonQtShell_QCheckBox::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18044,7 +18044,7 @@ bool PythonQtShell_QCheckBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18077,7 +18077,7 @@ int PythonQtShell_QCheckBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18110,7 +18110,7 @@ void PythonQtShell_QCheckBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18132,7 +18132,7 @@ bool PythonQtShell_QCheckBox::hitButton(const QPoint& pos0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18165,7 +18165,7 @@ void PythonQtShell_QCheckBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18187,7 +18187,7 @@ void PythonQtShell_QCheckBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18209,7 +18209,7 @@ QVariant PythonQtShell_QCheckBox::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18242,7 +18242,7 @@ void PythonQtShell_QCheckBox::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18264,7 +18264,7 @@ void PythonQtShell_QCheckBox::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18286,7 +18286,7 @@ void PythonQtShell_QCheckBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18308,7 +18308,7 @@ int PythonQtShell_QCheckBox::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18341,7 +18341,7 @@ QSize PythonQtShell_QCheckBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18374,7 +18374,7 @@ void PythonQtShell_QCheckBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18396,7 +18396,7 @@ void PythonQtShell_QCheckBox::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18418,7 +18418,7 @@ void PythonQtShell_QCheckBox::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18440,7 +18440,7 @@ void PythonQtShell_QCheckBox::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18462,7 +18462,7 @@ void PythonQtShell_QCheckBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18484,7 +18484,7 @@ bool PythonQtShell_QCheckBox::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18517,7 +18517,7 @@ void PythonQtShell_QCheckBox::nextCheckState() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18539,7 +18539,7 @@ QPaintEngine* PythonQtShell_QCheckBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18572,7 +18572,7 @@ void PythonQtShell_QCheckBox::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18594,7 +18594,7 @@ QPaintDevice* PythonQtShell_QCheckBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18627,7 +18627,7 @@ void PythonQtShell_QCheckBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18649,7 +18649,7 @@ void PythonQtShell_QCheckBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18671,7 +18671,7 @@ QPainter* PythonQtShell_QCheckBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18704,7 +18704,7 @@ void PythonQtShell_QCheckBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18726,7 +18726,7 @@ QSize PythonQtShell_QCheckBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18759,7 +18759,7 @@ void PythonQtShell_QCheckBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18781,7 +18781,7 @@ void PythonQtShell_QCheckBox::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18803,7 +18803,7 @@ void PythonQtShell_QCheckBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18970,7 +18970,7 @@ void PythonQtShell_QColorDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18992,7 +18992,7 @@ void PythonQtShell_QColorDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19014,7 +19014,7 @@ void PythonQtShell_QColorDialog::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19036,7 +19036,7 @@ void PythonQtShell_QColorDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19058,7 +19058,7 @@ void PythonQtShell_QColorDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19080,7 +19080,7 @@ void PythonQtShell_QColorDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19102,7 +19102,7 @@ void PythonQtShell_QColorDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19124,7 +19124,7 @@ int PythonQtShell_QColorDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19157,7 +19157,7 @@ void PythonQtShell_QColorDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19179,7 +19179,7 @@ void PythonQtShell_QColorDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19201,7 +19201,7 @@ void PythonQtShell_QColorDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19223,7 +19223,7 @@ void PythonQtShell_QColorDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19245,7 +19245,7 @@ void PythonQtShell_QColorDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19267,7 +19267,7 @@ void PythonQtShell_QColorDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19289,7 +19289,7 @@ bool PythonQtShell_QColorDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19322,7 +19322,7 @@ bool PythonQtShell_QColorDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19355,7 +19355,7 @@ int PythonQtShell_QColorDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19388,7 +19388,7 @@ void PythonQtShell_QColorDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19410,7 +19410,7 @@ bool PythonQtShell_QColorDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19443,7 +19443,7 @@ void PythonQtShell_QColorDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19465,7 +19465,7 @@ bool PythonQtShell_QColorDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19498,7 +19498,7 @@ int PythonQtShell_QColorDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19531,7 +19531,7 @@ void PythonQtShell_QColorDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19553,7 +19553,7 @@ void PythonQtShell_QColorDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19575,7 +19575,7 @@ void PythonQtShell_QColorDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19597,7 +19597,7 @@ QVariant PythonQtShell_QColorDialog::inputMethodQuery(Qt::InputMethodQuery arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19630,7 +19630,7 @@ void PythonQtShell_QColorDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19652,7 +19652,7 @@ void PythonQtShell_QColorDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19674,7 +19674,7 @@ void PythonQtShell_QColorDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19696,7 +19696,7 @@ int PythonQtShell_QColorDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19729,7 +19729,7 @@ QSize PythonQtShell_QColorDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19762,7 +19762,7 @@ void PythonQtShell_QColorDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19784,7 +19784,7 @@ void PythonQtShell_QColorDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19806,7 +19806,7 @@ void PythonQtShell_QColorDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19828,7 +19828,7 @@ void PythonQtShell_QColorDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19850,7 +19850,7 @@ void PythonQtShell_QColorDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19872,7 +19872,7 @@ bool PythonQtShell_QColorDialog::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19905,7 +19905,7 @@ QPaintEngine* PythonQtShell_QColorDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19938,7 +19938,7 @@ void PythonQtShell_QColorDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19960,7 +19960,7 @@ QPaintDevice* PythonQtShell_QColorDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19993,7 +19993,7 @@ void PythonQtShell_QColorDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20015,7 +20015,7 @@ void PythonQtShell_QColorDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20037,7 +20037,7 @@ void PythonQtShell_QColorDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20059,7 +20059,7 @@ QPainter* PythonQtShell_QColorDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20092,7 +20092,7 @@ void PythonQtShell_QColorDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20114,7 +20114,7 @@ QSize PythonQtShell_QColorDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20147,7 +20147,7 @@ void PythonQtShell_QColorDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20169,7 +20169,7 @@ void PythonQtShell_QColorDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20191,7 +20191,7 @@ void PythonQtShell_QColorDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20315,7 +20315,7 @@ void PythonQtShell_QColumnView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20337,7 +20337,7 @@ void PythonQtShell_QColumnView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20359,7 +20359,7 @@ void PythonQtShell_QColumnView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20381,7 +20381,7 @@ void PythonQtShell_QColumnView::closeEditor(QWidget* editor0, QAbstractItemDele { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20403,7 +20403,7 @@ void PythonQtShell_QColumnView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20425,7 +20425,7 @@ void PythonQtShell_QColumnView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20447,7 +20447,7 @@ void PythonQtShell_QColumnView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20469,7 +20469,7 @@ QAbstractItemView* PythonQtShell_QColumnView::createColumn(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20502,7 +20502,7 @@ void PythonQtShell_QColumnView::currentChanged(const QModelIndex& current0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20524,7 +20524,7 @@ void PythonQtShell_QColumnView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20546,7 +20546,7 @@ void PythonQtShell_QColumnView::dataChanged(const QModelIndex& topLeft0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20568,7 +20568,7 @@ int PythonQtShell_QColumnView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20601,7 +20601,7 @@ void PythonQtShell_QColumnView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20623,7 +20623,7 @@ void PythonQtShell_QColumnView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20645,7 +20645,7 @@ void PythonQtShell_QColumnView::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20667,7 +20667,7 @@ void PythonQtShell_QColumnView::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20689,7 +20689,7 @@ void PythonQtShell_QColumnView::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20711,7 +20711,7 @@ bool PythonQtShell_QColumnView::edit(const QModelIndex& index0, QAbstractItemV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20744,7 +20744,7 @@ void PythonQtShell_QColumnView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20766,7 +20766,7 @@ void PythonQtShell_QColumnView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20788,7 +20788,7 @@ bool PythonQtShell_QColumnView::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20821,7 +20821,7 @@ bool PythonQtShell_QColumnView::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20854,7 +20854,7 @@ void PythonQtShell_QColumnView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20876,7 +20876,7 @@ bool PythonQtShell_QColumnView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20909,7 +20909,7 @@ void PythonQtShell_QColumnView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20931,7 +20931,7 @@ bool PythonQtShell_QColumnView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20964,7 +20964,7 @@ int PythonQtShell_QColumnView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20997,7 +20997,7 @@ void PythonQtShell_QColumnView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21019,7 +21019,7 @@ int PythonQtShell_QColumnView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21052,7 +21052,7 @@ void PythonQtShell_QColumnView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21074,7 +21074,7 @@ void PythonQtShell_QColumnView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21096,7 +21096,7 @@ QModelIndex PythonQtShell_QColumnView::indexAt(const QPoint& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21129,7 +21129,7 @@ void PythonQtShell_QColumnView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21151,7 +21151,7 @@ void PythonQtShell_QColumnView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21173,7 +21173,7 @@ QVariant PythonQtShell_QColumnView::inputMethodQuery(Qt::InputMethodQuery quer { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21206,7 +21206,7 @@ bool PythonQtShell_QColumnView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21239,7 +21239,7 @@ void PythonQtShell_QColumnView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21261,7 +21261,7 @@ void PythonQtShell_QColumnView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21283,7 +21283,7 @@ void PythonQtShell_QColumnView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21305,7 +21305,7 @@ void PythonQtShell_QColumnView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21327,7 +21327,7 @@ int PythonQtShell_QColumnView::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21360,7 +21360,7 @@ QSize PythonQtShell_QColumnView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21393,7 +21393,7 @@ void PythonQtShell_QColumnView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21415,7 +21415,7 @@ void PythonQtShell_QColumnView::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21437,7 +21437,7 @@ void PythonQtShell_QColumnView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21459,7 +21459,7 @@ void PythonQtShell_QColumnView::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21481,7 +21481,7 @@ QModelIndex PythonQtShell_QColumnView::moveCursor(QAbstractItemView::CursorActi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21514,7 +21514,7 @@ void PythonQtShell_QColumnView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21536,7 +21536,7 @@ bool PythonQtShell_QColumnView::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21569,7 +21569,7 @@ QPaintEngine* PythonQtShell_QColumnView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21602,7 +21602,7 @@ void PythonQtShell_QColumnView::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21624,7 +21624,7 @@ QPaintDevice* PythonQtShell_QColumnView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21657,7 +21657,7 @@ void PythonQtShell_QColumnView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21679,7 +21679,7 @@ void PythonQtShell_QColumnView::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21701,7 +21701,7 @@ void PythonQtShell_QColumnView::rowsAboutToBeRemoved(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21723,7 +21723,7 @@ void PythonQtShell_QColumnView::rowsInserted(const QModelIndex& parent0, int s { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21745,7 +21745,7 @@ void PythonQtShell_QColumnView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21767,7 +21767,7 @@ void PythonQtShell_QColumnView::scrollTo(const QModelIndex& index0, QAbstractIt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21789,7 +21789,7 @@ void PythonQtShell_QColumnView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21811,7 +21811,7 @@ QList PythonQtShell_QColumnView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21844,7 +21844,7 @@ void PythonQtShell_QColumnView::selectionChanged(const QItemSelection& selected { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21866,7 +21866,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QColumnView::selectionCommand { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21899,7 +21899,7 @@ void PythonQtShell_QColumnView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21921,7 +21921,7 @@ void PythonQtShell_QColumnView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21943,7 +21943,7 @@ void PythonQtShell_QColumnView::setSelection(const QRect& rect0, QItemSelection { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21965,7 +21965,7 @@ void PythonQtShell_QColumnView::setSelectionModel(QItemSelectionModel* selectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21987,7 +21987,7 @@ void PythonQtShell_QColumnView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22009,7 +22009,7 @@ void PythonQtShell_QColumnView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22031,7 +22031,7 @@ QPainter* PythonQtShell_QColumnView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22064,7 +22064,7 @@ void PythonQtShell_QColumnView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22086,7 +22086,7 @@ QSize PythonQtShell_QColumnView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22119,7 +22119,7 @@ int PythonQtShell_QColumnView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22152,7 +22152,7 @@ int PythonQtShell_QColumnView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22185,7 +22185,7 @@ void PythonQtShell_QColumnView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22207,7 +22207,7 @@ void PythonQtShell_QColumnView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22229,7 +22229,7 @@ void PythonQtShell_QColumnView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22251,7 +22251,7 @@ void PythonQtShell_QColumnView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22273,7 +22273,7 @@ void PythonQtShell_QColumnView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22295,7 +22295,7 @@ void PythonQtShell_QColumnView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22317,7 +22317,7 @@ int PythonQtShell_QColumnView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22350,7 +22350,7 @@ void PythonQtShell_QColumnView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22372,7 +22372,7 @@ void PythonQtShell_QColumnView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22394,7 +22394,7 @@ QStyleOptionViewItem PythonQtShell_QColumnView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22427,7 +22427,7 @@ bool PythonQtShell_QColumnView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22460,7 +22460,7 @@ QSize PythonQtShell_QColumnView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22493,7 +22493,7 @@ QRect PythonQtShell_QColumnView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22526,7 +22526,7 @@ QRegion PythonQtShell_QColumnView::visualRegionForSelection(const QItemSelectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22559,7 +22559,7 @@ void PythonQtShell_QColumnView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22644,7 +22644,7 @@ void PythonQtShell_QComboBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22666,7 +22666,7 @@ void PythonQtShell_QComboBox::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22688,7 +22688,7 @@ void PythonQtShell_QComboBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22710,7 +22710,7 @@ void PythonQtShell_QComboBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22732,7 +22732,7 @@ void PythonQtShell_QComboBox::contextMenuEvent(QContextMenuEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22754,7 +22754,7 @@ void PythonQtShell_QComboBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22776,7 +22776,7 @@ int PythonQtShell_QComboBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22809,7 +22809,7 @@ void PythonQtShell_QComboBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22831,7 +22831,7 @@ void PythonQtShell_QComboBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22853,7 +22853,7 @@ void PythonQtShell_QComboBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22875,7 +22875,7 @@ void PythonQtShell_QComboBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22897,7 +22897,7 @@ void PythonQtShell_QComboBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22919,7 +22919,7 @@ bool PythonQtShell_QComboBox::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22952,7 +22952,7 @@ bool PythonQtShell_QComboBox::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22985,7 +22985,7 @@ void PythonQtShell_QComboBox::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23007,7 +23007,7 @@ bool PythonQtShell_QComboBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23040,7 +23040,7 @@ void PythonQtShell_QComboBox::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23062,7 +23062,7 @@ bool PythonQtShell_QComboBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23095,7 +23095,7 @@ int PythonQtShell_QComboBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23128,7 +23128,7 @@ void PythonQtShell_QComboBox::hideEvent(QHideEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23150,7 +23150,7 @@ void PythonQtShell_QComboBox::hidePopup() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hidePopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23172,7 +23172,7 @@ void PythonQtShell_QComboBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23194,7 +23194,7 @@ void PythonQtShell_QComboBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23216,7 +23216,7 @@ QVariant PythonQtShell_QComboBox::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23249,7 +23249,7 @@ void PythonQtShell_QComboBox::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23271,7 +23271,7 @@ void PythonQtShell_QComboBox::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23293,7 +23293,7 @@ void PythonQtShell_QComboBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23315,7 +23315,7 @@ int PythonQtShell_QComboBox::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23348,7 +23348,7 @@ QSize PythonQtShell_QComboBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23381,7 +23381,7 @@ void PythonQtShell_QComboBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23403,7 +23403,7 @@ void PythonQtShell_QComboBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23425,7 +23425,7 @@ void PythonQtShell_QComboBox::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23447,7 +23447,7 @@ void PythonQtShell_QComboBox::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23469,7 +23469,7 @@ void PythonQtShell_QComboBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23491,7 +23491,7 @@ bool PythonQtShell_QComboBox::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23524,7 +23524,7 @@ QPaintEngine* PythonQtShell_QComboBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23557,7 +23557,7 @@ void PythonQtShell_QComboBox::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23579,7 +23579,7 @@ QPaintDevice* PythonQtShell_QComboBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23612,7 +23612,7 @@ void PythonQtShell_QComboBox::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23634,7 +23634,7 @@ void PythonQtShell_QComboBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23656,7 +23656,7 @@ QPainter* PythonQtShell_QComboBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23689,7 +23689,7 @@ void PythonQtShell_QComboBox::showEvent(QShowEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23711,7 +23711,7 @@ void PythonQtShell_QComboBox::showPopup() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showPopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23733,7 +23733,7 @@ QSize PythonQtShell_QComboBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23766,7 +23766,7 @@ void PythonQtShell_QComboBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23788,7 +23788,7 @@ void PythonQtShell_QComboBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23810,7 +23810,7 @@ void PythonQtShell_QComboBox::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24155,7 +24155,7 @@ void PythonQtShell_QCommandLinkButton::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24177,7 +24177,7 @@ void PythonQtShell_QCommandLinkButton::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24199,7 +24199,7 @@ void PythonQtShell_QCommandLinkButton::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24221,7 +24221,7 @@ void PythonQtShell_QCommandLinkButton::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24243,7 +24243,7 @@ void PythonQtShell_QCommandLinkButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24265,7 +24265,7 @@ void PythonQtShell_QCommandLinkButton::contextMenuEvent(QContextMenuEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24287,7 +24287,7 @@ void PythonQtShell_QCommandLinkButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24309,7 +24309,7 @@ int PythonQtShell_QCommandLinkButton::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24342,7 +24342,7 @@ void PythonQtShell_QCommandLinkButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24364,7 +24364,7 @@ void PythonQtShell_QCommandLinkButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24386,7 +24386,7 @@ void PythonQtShell_QCommandLinkButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24408,7 +24408,7 @@ void PythonQtShell_QCommandLinkButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24430,7 +24430,7 @@ void PythonQtShell_QCommandLinkButton::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24452,7 +24452,7 @@ bool PythonQtShell_QCommandLinkButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24485,7 +24485,7 @@ bool PythonQtShell_QCommandLinkButton::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24518,7 +24518,7 @@ void PythonQtShell_QCommandLinkButton::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24540,7 +24540,7 @@ bool PythonQtShell_QCommandLinkButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24573,7 +24573,7 @@ void PythonQtShell_QCommandLinkButton::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24595,7 +24595,7 @@ bool PythonQtShell_QCommandLinkButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24628,7 +24628,7 @@ int PythonQtShell_QCommandLinkButton::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24661,7 +24661,7 @@ void PythonQtShell_QCommandLinkButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24683,7 +24683,7 @@ bool PythonQtShell_QCommandLinkButton::hitButton(const QPoint& pos0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24716,7 +24716,7 @@ void PythonQtShell_QCommandLinkButton::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24738,7 +24738,7 @@ void PythonQtShell_QCommandLinkButton::inputMethodEvent(QInputMethodEvent* arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24760,7 +24760,7 @@ QVariant PythonQtShell_QCommandLinkButton::inputMethodQuery(Qt::InputMethodQuer { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24793,7 +24793,7 @@ void PythonQtShell_QCommandLinkButton::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24815,7 +24815,7 @@ void PythonQtShell_QCommandLinkButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24837,7 +24837,7 @@ void PythonQtShell_QCommandLinkButton::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24859,7 +24859,7 @@ int PythonQtShell_QCommandLinkButton::metric(QPaintDevice::PaintDeviceMetric a { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24892,7 +24892,7 @@ QSize PythonQtShell_QCommandLinkButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24925,7 +24925,7 @@ void PythonQtShell_QCommandLinkButton::mouseDoubleClickEvent(QMouseEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24947,7 +24947,7 @@ void PythonQtShell_QCommandLinkButton::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24969,7 +24969,7 @@ void PythonQtShell_QCommandLinkButton::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24991,7 +24991,7 @@ void PythonQtShell_QCommandLinkButton::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25013,7 +25013,7 @@ void PythonQtShell_QCommandLinkButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25035,7 +25035,7 @@ bool PythonQtShell_QCommandLinkButton::nativeEvent(const QByteArray& eventType { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25068,7 +25068,7 @@ void PythonQtShell_QCommandLinkButton::nextCheckState() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25090,7 +25090,7 @@ QPaintEngine* PythonQtShell_QCommandLinkButton::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25123,7 +25123,7 @@ void PythonQtShell_QCommandLinkButton::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25145,7 +25145,7 @@ QPaintDevice* PythonQtShell_QCommandLinkButton::redirected(QPoint* offset0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25178,7 +25178,7 @@ void PythonQtShell_QCommandLinkButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25200,7 +25200,7 @@ void PythonQtShell_QCommandLinkButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25222,7 +25222,7 @@ QPainter* PythonQtShell_QCommandLinkButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25255,7 +25255,7 @@ void PythonQtShell_QCommandLinkButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25277,7 +25277,7 @@ QSize PythonQtShell_QCommandLinkButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25310,7 +25310,7 @@ void PythonQtShell_QCommandLinkButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25332,7 +25332,7 @@ void PythonQtShell_QCommandLinkButton::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25354,7 +25354,7 @@ void PythonQtShell_QCommandLinkButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25417,7 +25417,7 @@ void PythonQtShell_QCommonStyle::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25439,7 +25439,7 @@ void PythonQtShell_QCommonStyle::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25461,7 +25461,7 @@ void PythonQtShell_QCommonStyle::drawComplexControl(QStyle::ComplexControl cc0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25483,7 +25483,7 @@ void PythonQtShell_QCommonStyle::drawControl(QStyle::ControlElement element0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25505,7 +25505,7 @@ void PythonQtShell_QCommonStyle::drawItemPixmap(QPainter* painter0, const QRect { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawItemPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25527,7 +25527,7 @@ void PythonQtShell_QCommonStyle::drawItemText(QPainter* painter0, const QRect& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawItemText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25549,7 +25549,7 @@ void PythonQtShell_QCommonStyle::drawPrimitive(QStyle::PrimitiveElement pe0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawPrimitive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25571,7 +25571,7 @@ bool PythonQtShell_QCommonStyle::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25604,7 +25604,7 @@ bool PythonQtShell_QCommonStyle::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25637,7 +25637,7 @@ QPixmap PythonQtShell_QCommonStyle::generatedIconPixmap(QIcon::Mode iconMode0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("generatedIconPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25670,7 +25670,7 @@ QStyle::SubControl PythonQtShell_QCommonStyle::hitTestComplexControl(QStyle::Co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitTestComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25703,7 +25703,7 @@ QRect PythonQtShell_QCommonStyle::itemPixmapRect(const QRect& r0, int flags1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemPixmapRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25736,7 +25736,7 @@ int PythonQtShell_QCommonStyle::layoutSpacing(QSizePolicy::ControlType control { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layoutSpacing"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25769,7 +25769,7 @@ int PythonQtShell_QCommonStyle::pixelMetric(QStyle::PixelMetric m0, const QSty { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pixelMetric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25802,7 +25802,7 @@ void PythonQtShell_QCommonStyle::polish(QApplication* app0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25824,7 +25824,7 @@ void PythonQtShell_QCommonStyle::polish(QPalette& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25846,7 +25846,7 @@ void PythonQtShell_QCommonStyle::polish(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25868,7 +25868,7 @@ QSize PythonQtShell_QCommonStyle::sizeFromContents(QStyle::ContentsType ct0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25901,7 +25901,7 @@ QIcon PythonQtShell_QCommonStyle::standardIcon(QStyle::StandardPixmap standard { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("standardIcon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25934,7 +25934,7 @@ QPalette PythonQtShell_QCommonStyle::standardPalette() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("standardPalette"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25967,7 +25967,7 @@ QPixmap PythonQtShell_QCommonStyle::standardPixmap(QStyle::StandardPixmap sp0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("standardPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -26000,7 +26000,7 @@ int PythonQtShell_QCommonStyle::styleHint(QStyle::StyleHint sh0, const QStyleO { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("styleHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -26033,7 +26033,7 @@ QRect PythonQtShell_QCommonStyle::subControlRect(QStyle::ComplexControl cc0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("subControlRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -26066,7 +26066,7 @@ QRect PythonQtShell_QCommonStyle::subElementRect(QStyle::SubElement r0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("subElementRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -26099,7 +26099,7 @@ void PythonQtShell_QCommonStyle::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -26121,7 +26121,7 @@ void PythonQtShell_QCommonStyle::unpolish(QApplication* application0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -26143,7 +26143,7 @@ void PythonQtShell_QCommonStyle::unpolish(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp index bb11357f5..5ac57ca02 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp @@ -86,7 +86,7 @@ void PythonQtShell_QCompleter::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -108,7 +108,7 @@ void PythonQtShell_QCompleter::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -130,7 +130,7 @@ bool PythonQtShell_QCompleter::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -163,7 +163,7 @@ bool PythonQtShell_QCompleter::eventFilter(QObject* o0, QEvent* e1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -196,7 +196,7 @@ QString PythonQtShell_QCompleter::pathFromIndex(const QModelIndex& index0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pathFromIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -229,7 +229,7 @@ QStringList PythonQtShell_QCompleter::splitPath(const QString& path0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("splitPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -262,7 +262,7 @@ void PythonQtShell_QCompleter::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -557,7 +557,7 @@ void PythonQtShell_QDataWidgetMapper::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -579,7 +579,7 @@ void PythonQtShell_QDataWidgetMapper::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -601,7 +601,7 @@ bool PythonQtShell_QDataWidgetMapper::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -634,7 +634,7 @@ bool PythonQtShell_QDataWidgetMapper::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -667,7 +667,7 @@ void PythonQtShell_QDataWidgetMapper::setCurrentIndex(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setCurrentIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -689,7 +689,7 @@ void PythonQtShell_QDataWidgetMapper::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -824,7 +824,7 @@ void PythonQtShell_QDateEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -846,7 +846,7 @@ void PythonQtShell_QDateEdit::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -868,7 +868,7 @@ void PythonQtShell_QDateEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -890,7 +890,7 @@ void PythonQtShell_QDateEdit::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -912,7 +912,7 @@ void PythonQtShell_QDateEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -934,7 +934,7 @@ void PythonQtShell_QDateEdit::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -956,7 +956,7 @@ void PythonQtShell_QDateEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -978,7 +978,7 @@ QDateTime PythonQtShell_QDateEdit::dateTimeFromText(const QString& text0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dateTimeFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1011,7 +1011,7 @@ int PythonQtShell_QDateEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1044,7 +1044,7 @@ void PythonQtShell_QDateEdit::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1066,7 +1066,7 @@ void PythonQtShell_QDateEdit::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1088,7 +1088,7 @@ void PythonQtShell_QDateEdit::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1110,7 +1110,7 @@ void PythonQtShell_QDateEdit::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1132,7 +1132,7 @@ void PythonQtShell_QDateEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1154,7 +1154,7 @@ bool PythonQtShell_QDateEdit::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1187,7 +1187,7 @@ bool PythonQtShell_QDateEdit::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1220,7 +1220,7 @@ void PythonQtShell_QDateEdit::fixup(QString& input0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1242,7 +1242,7 @@ void PythonQtShell_QDateEdit::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1264,7 +1264,7 @@ bool PythonQtShell_QDateEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1297,7 +1297,7 @@ void PythonQtShell_QDateEdit::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1319,7 +1319,7 @@ bool PythonQtShell_QDateEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1352,7 +1352,7 @@ int PythonQtShell_QDateEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1385,7 +1385,7 @@ void PythonQtShell_QDateEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1407,7 +1407,7 @@ void PythonQtShell_QDateEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1429,7 +1429,7 @@ void PythonQtShell_QDateEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1451,7 +1451,7 @@ QVariant PythonQtShell_QDateEdit::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1484,7 +1484,7 @@ void PythonQtShell_QDateEdit::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1506,7 +1506,7 @@ void PythonQtShell_QDateEdit::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1528,7 +1528,7 @@ void PythonQtShell_QDateEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1550,7 +1550,7 @@ int PythonQtShell_QDateEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1583,7 +1583,7 @@ QSize PythonQtShell_QDateEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1616,7 +1616,7 @@ void PythonQtShell_QDateEdit::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1638,7 +1638,7 @@ void PythonQtShell_QDateEdit::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1660,7 +1660,7 @@ void PythonQtShell_QDateEdit::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1682,7 +1682,7 @@ void PythonQtShell_QDateEdit::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1704,7 +1704,7 @@ void PythonQtShell_QDateEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1726,7 +1726,7 @@ bool PythonQtShell_QDateEdit::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1759,7 +1759,7 @@ QPaintEngine* PythonQtShell_QDateEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1792,7 +1792,7 @@ void PythonQtShell_QDateEdit::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1814,7 +1814,7 @@ QPaintDevice* PythonQtShell_QDateEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1847,7 +1847,7 @@ void PythonQtShell_QDateEdit::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1869,7 +1869,7 @@ void PythonQtShell_QDateEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1891,7 +1891,7 @@ QPainter* PythonQtShell_QDateEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1924,7 +1924,7 @@ void PythonQtShell_QDateEdit::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1946,7 +1946,7 @@ QSize PythonQtShell_QDateEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1979,7 +1979,7 @@ void PythonQtShell_QDateEdit::stepBy(int steps0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2001,7 +2001,7 @@ QAbstractSpinBox::StepEnabled PythonQtShell_QDateEdit::stepEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2034,7 +2034,7 @@ void PythonQtShell_QDateEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2056,7 +2056,7 @@ QString PythonQtShell_QDateEdit::textFromDateTime(const QDateTime& dt0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textFromDateTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2089,7 +2089,7 @@ void PythonQtShell_QDateEdit::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2111,7 +2111,7 @@ QValidator::State PythonQtShell_QDateEdit::validate(QString& input0, int& pos { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2144,7 +2144,7 @@ void PythonQtShell_QDateEdit::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2193,7 +2193,7 @@ void PythonQtShell_QDateTimeEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2215,7 +2215,7 @@ void PythonQtShell_QDateTimeEdit::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2237,7 +2237,7 @@ void PythonQtShell_QDateTimeEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2259,7 +2259,7 @@ void PythonQtShell_QDateTimeEdit::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2281,7 +2281,7 @@ void PythonQtShell_QDateTimeEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2303,7 +2303,7 @@ void PythonQtShell_QDateTimeEdit::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2325,7 +2325,7 @@ void PythonQtShell_QDateTimeEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2347,7 +2347,7 @@ QDateTime PythonQtShell_QDateTimeEdit::dateTimeFromText(const QString& text0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dateTimeFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2380,7 +2380,7 @@ int PythonQtShell_QDateTimeEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2413,7 +2413,7 @@ void PythonQtShell_QDateTimeEdit::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2435,7 +2435,7 @@ void PythonQtShell_QDateTimeEdit::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2457,7 +2457,7 @@ void PythonQtShell_QDateTimeEdit::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2479,7 +2479,7 @@ void PythonQtShell_QDateTimeEdit::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2501,7 +2501,7 @@ void PythonQtShell_QDateTimeEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2523,7 +2523,7 @@ bool PythonQtShell_QDateTimeEdit::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2556,7 +2556,7 @@ bool PythonQtShell_QDateTimeEdit::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2589,7 +2589,7 @@ void PythonQtShell_QDateTimeEdit::fixup(QString& input0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2611,7 +2611,7 @@ void PythonQtShell_QDateTimeEdit::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2633,7 +2633,7 @@ bool PythonQtShell_QDateTimeEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2666,7 +2666,7 @@ void PythonQtShell_QDateTimeEdit::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2688,7 +2688,7 @@ bool PythonQtShell_QDateTimeEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2721,7 +2721,7 @@ int PythonQtShell_QDateTimeEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2754,7 +2754,7 @@ void PythonQtShell_QDateTimeEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2776,7 +2776,7 @@ void PythonQtShell_QDateTimeEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2798,7 +2798,7 @@ void PythonQtShell_QDateTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2820,7 +2820,7 @@ QVariant PythonQtShell_QDateTimeEdit::inputMethodQuery(Qt::InputMethodQuery ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2853,7 +2853,7 @@ void PythonQtShell_QDateTimeEdit::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2875,7 +2875,7 @@ void PythonQtShell_QDateTimeEdit::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2897,7 +2897,7 @@ void PythonQtShell_QDateTimeEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2919,7 +2919,7 @@ int PythonQtShell_QDateTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2952,7 +2952,7 @@ QSize PythonQtShell_QDateTimeEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2985,7 +2985,7 @@ void PythonQtShell_QDateTimeEdit::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3007,7 +3007,7 @@ void PythonQtShell_QDateTimeEdit::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3029,7 +3029,7 @@ void PythonQtShell_QDateTimeEdit::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3051,7 +3051,7 @@ void PythonQtShell_QDateTimeEdit::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3073,7 +3073,7 @@ void PythonQtShell_QDateTimeEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3095,7 +3095,7 @@ bool PythonQtShell_QDateTimeEdit::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3128,7 +3128,7 @@ QPaintEngine* PythonQtShell_QDateTimeEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3161,7 +3161,7 @@ void PythonQtShell_QDateTimeEdit::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3183,7 +3183,7 @@ QPaintDevice* PythonQtShell_QDateTimeEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3216,7 +3216,7 @@ void PythonQtShell_QDateTimeEdit::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3238,7 +3238,7 @@ void PythonQtShell_QDateTimeEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3260,7 +3260,7 @@ QPainter* PythonQtShell_QDateTimeEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3293,7 +3293,7 @@ void PythonQtShell_QDateTimeEdit::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3315,7 +3315,7 @@ QSize PythonQtShell_QDateTimeEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3348,7 +3348,7 @@ void PythonQtShell_QDateTimeEdit::stepBy(int steps0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3370,7 +3370,7 @@ QAbstractSpinBox::StepEnabled PythonQtShell_QDateTimeEdit::stepEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3403,7 +3403,7 @@ void PythonQtShell_QDateTimeEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3425,7 +3425,7 @@ QString PythonQtShell_QDateTimeEdit::textFromDateTime(const QDateTime& dt0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textFromDateTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3458,7 +3458,7 @@ void PythonQtShell_QDateTimeEdit::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3480,7 +3480,7 @@ QValidator::State PythonQtShell_QDateTimeEdit::validate(QString& input0, int& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3513,7 +3513,7 @@ void PythonQtShell_QDateTimeEdit::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3819,7 +3819,7 @@ void PythonQtShell_QDesktopWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3841,7 +3841,7 @@ void PythonQtShell_QDesktopWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3863,7 +3863,7 @@ void PythonQtShell_QDesktopWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3885,7 +3885,7 @@ void PythonQtShell_QDesktopWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3907,7 +3907,7 @@ void PythonQtShell_QDesktopWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3929,7 +3929,7 @@ void PythonQtShell_QDesktopWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3951,7 +3951,7 @@ int PythonQtShell_QDesktopWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3984,7 +3984,7 @@ void PythonQtShell_QDesktopWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4006,7 +4006,7 @@ void PythonQtShell_QDesktopWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4028,7 +4028,7 @@ void PythonQtShell_QDesktopWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4050,7 +4050,7 @@ void PythonQtShell_QDesktopWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4072,7 +4072,7 @@ void PythonQtShell_QDesktopWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4094,7 +4094,7 @@ bool PythonQtShell_QDesktopWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4127,7 +4127,7 @@ bool PythonQtShell_QDesktopWidget::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4160,7 +4160,7 @@ void PythonQtShell_QDesktopWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4182,7 +4182,7 @@ bool PythonQtShell_QDesktopWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4215,7 +4215,7 @@ void PythonQtShell_QDesktopWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4237,7 +4237,7 @@ bool PythonQtShell_QDesktopWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4270,7 +4270,7 @@ int PythonQtShell_QDesktopWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4303,7 +4303,7 @@ void PythonQtShell_QDesktopWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4325,7 +4325,7 @@ void PythonQtShell_QDesktopWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4347,7 +4347,7 @@ void PythonQtShell_QDesktopWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4369,7 +4369,7 @@ QVariant PythonQtShell_QDesktopWidget::inputMethodQuery(Qt::InputMethodQuery a { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4402,7 +4402,7 @@ void PythonQtShell_QDesktopWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4424,7 +4424,7 @@ void PythonQtShell_QDesktopWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4446,7 +4446,7 @@ void PythonQtShell_QDesktopWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4468,7 +4468,7 @@ int PythonQtShell_QDesktopWidget::metric(QPaintDevice::PaintDeviceMetric arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4501,7 +4501,7 @@ QSize PythonQtShell_QDesktopWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4534,7 +4534,7 @@ void PythonQtShell_QDesktopWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4556,7 +4556,7 @@ void PythonQtShell_QDesktopWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4578,7 +4578,7 @@ void PythonQtShell_QDesktopWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4600,7 +4600,7 @@ void PythonQtShell_QDesktopWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4622,7 +4622,7 @@ void PythonQtShell_QDesktopWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4644,7 +4644,7 @@ bool PythonQtShell_QDesktopWidget::nativeEvent(const QByteArray& eventType0, v { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4677,7 +4677,7 @@ QPaintEngine* PythonQtShell_QDesktopWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4710,7 +4710,7 @@ void PythonQtShell_QDesktopWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4732,7 +4732,7 @@ QPaintDevice* PythonQtShell_QDesktopWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4765,7 +4765,7 @@ void PythonQtShell_QDesktopWidget::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4787,7 +4787,7 @@ void PythonQtShell_QDesktopWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4809,7 +4809,7 @@ QPainter* PythonQtShell_QDesktopWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4842,7 +4842,7 @@ void PythonQtShell_QDesktopWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4864,7 +4864,7 @@ QSize PythonQtShell_QDesktopWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4897,7 +4897,7 @@ void PythonQtShell_QDesktopWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4919,7 +4919,7 @@ void PythonQtShell_QDesktopWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4941,7 +4941,7 @@ void PythonQtShell_QDesktopWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5051,7 +5051,7 @@ void PythonQtShell_QDial::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5073,7 +5073,7 @@ void PythonQtShell_QDial::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5095,7 +5095,7 @@ void PythonQtShell_QDial::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5117,7 +5117,7 @@ void PythonQtShell_QDial::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5139,7 +5139,7 @@ void PythonQtShell_QDial::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5161,7 +5161,7 @@ void PythonQtShell_QDial::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5183,7 +5183,7 @@ int PythonQtShell_QDial::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5216,7 +5216,7 @@ void PythonQtShell_QDial::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5238,7 +5238,7 @@ void PythonQtShell_QDial::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5260,7 +5260,7 @@ void PythonQtShell_QDial::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5282,7 +5282,7 @@ void PythonQtShell_QDial::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5304,7 +5304,7 @@ void PythonQtShell_QDial::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5326,7 +5326,7 @@ bool PythonQtShell_QDial::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5359,7 +5359,7 @@ bool PythonQtShell_QDial::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5392,7 +5392,7 @@ void PythonQtShell_QDial::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5414,7 +5414,7 @@ bool PythonQtShell_QDial::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5447,7 +5447,7 @@ void PythonQtShell_QDial::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5469,7 +5469,7 @@ bool PythonQtShell_QDial::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5502,7 +5502,7 @@ int PythonQtShell_QDial::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5535,7 +5535,7 @@ void PythonQtShell_QDial::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5557,7 +5557,7 @@ void PythonQtShell_QDial::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5579,7 +5579,7 @@ void PythonQtShell_QDial::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5601,7 +5601,7 @@ QVariant PythonQtShell_QDial::inputMethodQuery(Qt::InputMethodQuery arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5634,7 +5634,7 @@ void PythonQtShell_QDial::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5656,7 +5656,7 @@ void PythonQtShell_QDial::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5678,7 +5678,7 @@ void PythonQtShell_QDial::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5700,7 +5700,7 @@ int PythonQtShell_QDial::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5733,7 +5733,7 @@ QSize PythonQtShell_QDial::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5766,7 +5766,7 @@ void PythonQtShell_QDial::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5788,7 +5788,7 @@ void PythonQtShell_QDial::mouseMoveEvent(QMouseEvent* me0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5810,7 +5810,7 @@ void PythonQtShell_QDial::mousePressEvent(QMouseEvent* me0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5832,7 +5832,7 @@ void PythonQtShell_QDial::mouseReleaseEvent(QMouseEvent* me0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5854,7 +5854,7 @@ void PythonQtShell_QDial::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5876,7 +5876,7 @@ bool PythonQtShell_QDial::nativeEvent(const QByteArray& eventType0, void* mes { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5909,7 +5909,7 @@ QPaintEngine* PythonQtShell_QDial::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5942,7 +5942,7 @@ void PythonQtShell_QDial::paintEvent(QPaintEvent* pe0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5964,7 +5964,7 @@ QPaintDevice* PythonQtShell_QDial::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5997,7 +5997,7 @@ void PythonQtShell_QDial::resizeEvent(QResizeEvent* re0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6019,7 +6019,7 @@ void PythonQtShell_QDial::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6041,7 +6041,7 @@ QPainter* PythonQtShell_QDial::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6074,7 +6074,7 @@ void PythonQtShell_QDial::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6096,7 +6096,7 @@ QSize PythonQtShell_QDial::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6129,7 +6129,7 @@ void PythonQtShell_QDial::sliderChange(QAbstractSlider::SliderChange change0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sliderChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6151,7 +6151,7 @@ void PythonQtShell_QDial::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6173,7 +6173,7 @@ void PythonQtShell_QDial::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6195,7 +6195,7 @@ void PythonQtShell_QDial::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6280,7 +6280,7 @@ void PythonQtShell_QDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6302,7 +6302,7 @@ void PythonQtShell_QDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6324,7 +6324,7 @@ void PythonQtShell_QDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6346,7 +6346,7 @@ void PythonQtShell_QDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6368,7 +6368,7 @@ void PythonQtShell_QDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6390,7 +6390,7 @@ void PythonQtShell_QDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6412,7 +6412,7 @@ void PythonQtShell_QDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6434,7 +6434,7 @@ int PythonQtShell_QDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6467,7 +6467,7 @@ void PythonQtShell_QDialog::done(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6489,7 +6489,7 @@ void PythonQtShell_QDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6511,7 +6511,7 @@ void PythonQtShell_QDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6533,7 +6533,7 @@ void PythonQtShell_QDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6555,7 +6555,7 @@ void PythonQtShell_QDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6577,7 +6577,7 @@ void PythonQtShell_QDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6599,7 +6599,7 @@ bool PythonQtShell_QDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6632,7 +6632,7 @@ bool PythonQtShell_QDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6665,7 +6665,7 @@ int PythonQtShell_QDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6698,7 +6698,7 @@ void PythonQtShell_QDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6720,7 +6720,7 @@ bool PythonQtShell_QDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6753,7 +6753,7 @@ void PythonQtShell_QDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6775,7 +6775,7 @@ bool PythonQtShell_QDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6808,7 +6808,7 @@ int PythonQtShell_QDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6841,7 +6841,7 @@ void PythonQtShell_QDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6863,7 +6863,7 @@ void PythonQtShell_QDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6885,7 +6885,7 @@ void PythonQtShell_QDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6907,7 +6907,7 @@ QVariant PythonQtShell_QDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6940,7 +6940,7 @@ void PythonQtShell_QDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6962,7 +6962,7 @@ void PythonQtShell_QDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6984,7 +6984,7 @@ void PythonQtShell_QDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7006,7 +7006,7 @@ int PythonQtShell_QDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7039,7 +7039,7 @@ QSize PythonQtShell_QDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7072,7 +7072,7 @@ void PythonQtShell_QDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7094,7 +7094,7 @@ void PythonQtShell_QDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7116,7 +7116,7 @@ void PythonQtShell_QDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7138,7 +7138,7 @@ void PythonQtShell_QDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7160,7 +7160,7 @@ void PythonQtShell_QDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7182,7 +7182,7 @@ bool PythonQtShell_QDialog::nativeEvent(const QByteArray& eventType0, void* m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7215,7 +7215,7 @@ void PythonQtShell_QDialog::open() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7237,7 +7237,7 @@ QPaintEngine* PythonQtShell_QDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7270,7 +7270,7 @@ void PythonQtShell_QDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7292,7 +7292,7 @@ QPaintDevice* PythonQtShell_QDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7325,7 +7325,7 @@ void PythonQtShell_QDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7347,7 +7347,7 @@ void PythonQtShell_QDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7369,7 +7369,7 @@ void PythonQtShell_QDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7391,7 +7391,7 @@ QPainter* PythonQtShell_QDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7424,7 +7424,7 @@ void PythonQtShell_QDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7446,7 +7446,7 @@ QSize PythonQtShell_QDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7479,7 +7479,7 @@ void PythonQtShell_QDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7501,7 +7501,7 @@ void PythonQtShell_QDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7523,7 +7523,7 @@ void PythonQtShell_QDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7608,7 +7608,7 @@ void PythonQtShell_QDialogButtonBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7630,7 +7630,7 @@ void PythonQtShell_QDialogButtonBox::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7652,7 +7652,7 @@ void PythonQtShell_QDialogButtonBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7674,7 +7674,7 @@ void PythonQtShell_QDialogButtonBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7696,7 +7696,7 @@ void PythonQtShell_QDialogButtonBox::contextMenuEvent(QContextMenuEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7718,7 +7718,7 @@ void PythonQtShell_QDialogButtonBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7740,7 +7740,7 @@ int PythonQtShell_QDialogButtonBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7773,7 +7773,7 @@ void PythonQtShell_QDialogButtonBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7795,7 +7795,7 @@ void PythonQtShell_QDialogButtonBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7817,7 +7817,7 @@ void PythonQtShell_QDialogButtonBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7839,7 +7839,7 @@ void PythonQtShell_QDialogButtonBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7861,7 +7861,7 @@ void PythonQtShell_QDialogButtonBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7883,7 +7883,7 @@ bool PythonQtShell_QDialogButtonBox::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7916,7 +7916,7 @@ bool PythonQtShell_QDialogButtonBox::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7949,7 +7949,7 @@ void PythonQtShell_QDialogButtonBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7971,7 +7971,7 @@ bool PythonQtShell_QDialogButtonBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8004,7 +8004,7 @@ void PythonQtShell_QDialogButtonBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8026,7 +8026,7 @@ bool PythonQtShell_QDialogButtonBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8059,7 +8059,7 @@ int PythonQtShell_QDialogButtonBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8092,7 +8092,7 @@ void PythonQtShell_QDialogButtonBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8114,7 +8114,7 @@ void PythonQtShell_QDialogButtonBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8136,7 +8136,7 @@ void PythonQtShell_QDialogButtonBox::inputMethodEvent(QInputMethodEvent* arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8158,7 +8158,7 @@ QVariant PythonQtShell_QDialogButtonBox::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8191,7 +8191,7 @@ void PythonQtShell_QDialogButtonBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8213,7 +8213,7 @@ void PythonQtShell_QDialogButtonBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8235,7 +8235,7 @@ void PythonQtShell_QDialogButtonBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8257,7 +8257,7 @@ int PythonQtShell_QDialogButtonBox::metric(QPaintDevice::PaintDeviceMetric arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8290,7 +8290,7 @@ QSize PythonQtShell_QDialogButtonBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8323,7 +8323,7 @@ void PythonQtShell_QDialogButtonBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8345,7 +8345,7 @@ void PythonQtShell_QDialogButtonBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8367,7 +8367,7 @@ void PythonQtShell_QDialogButtonBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8389,7 +8389,7 @@ void PythonQtShell_QDialogButtonBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8411,7 +8411,7 @@ void PythonQtShell_QDialogButtonBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8433,7 +8433,7 @@ bool PythonQtShell_QDialogButtonBox::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8466,7 +8466,7 @@ QPaintEngine* PythonQtShell_QDialogButtonBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8499,7 +8499,7 @@ void PythonQtShell_QDialogButtonBox::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8521,7 +8521,7 @@ QPaintDevice* PythonQtShell_QDialogButtonBox::redirected(QPoint* offset0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8554,7 +8554,7 @@ void PythonQtShell_QDialogButtonBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8576,7 +8576,7 @@ void PythonQtShell_QDialogButtonBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8598,7 +8598,7 @@ QPainter* PythonQtShell_QDialogButtonBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8631,7 +8631,7 @@ void PythonQtShell_QDialogButtonBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8653,7 +8653,7 @@ QSize PythonQtShell_QDialogButtonBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8686,7 +8686,7 @@ void PythonQtShell_QDialogButtonBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8708,7 +8708,7 @@ void PythonQtShell_QDialogButtonBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8730,7 +8730,7 @@ void PythonQtShell_QDialogButtonBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8862,7 +8862,7 @@ QModelIndex PythonQtShell_QDirModel::buddy(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8895,7 +8895,7 @@ bool PythonQtShell_QDirModel::canDropMimeData(const QMimeData* data0, Qt::Drop { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8928,7 +8928,7 @@ bool PythonQtShell_QDirModel::canFetchMore(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8961,7 +8961,7 @@ void PythonQtShell_QDirModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8983,7 +8983,7 @@ int PythonQtShell_QDirModel::columnCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9016,7 +9016,7 @@ void PythonQtShell_QDirModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9038,7 +9038,7 @@ QVariant PythonQtShell_QDirModel::data(const QModelIndex& index0, int role1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9071,7 +9071,7 @@ bool PythonQtShell_QDirModel::dropMimeData(const QMimeData* data0, Qt::DropAct { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9104,7 +9104,7 @@ bool PythonQtShell_QDirModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9137,7 +9137,7 @@ bool PythonQtShell_QDirModel::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9170,7 +9170,7 @@ void PythonQtShell_QDirModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9192,7 +9192,7 @@ Qt::ItemFlags PythonQtShell_QDirModel::flags(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9225,7 +9225,7 @@ bool PythonQtShell_QDirModel::hasChildren(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9258,7 +9258,7 @@ QVariant PythonQtShell_QDirModel::headerData(int section0, Qt::Orientation or { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9291,7 +9291,7 @@ QModelIndex PythonQtShell_QDirModel::index(int row0, int column1, const QMode { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9324,7 +9324,7 @@ bool PythonQtShell_QDirModel::insertColumns(int column0, int count1, const QM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9357,7 +9357,7 @@ bool PythonQtShell_QDirModel::insertRows(int row0, int count1, const QModelIn { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9390,7 +9390,7 @@ QMap PythonQtShell_QDirModel::itemData(const QModelIndex& ind { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9423,7 +9423,7 @@ QList PythonQtShell_QDirModel::match(const QModelIndex& start0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9456,7 +9456,7 @@ QMimeData* PythonQtShell_QDirModel::mimeData(const QList& indexe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9489,7 +9489,7 @@ QStringList PythonQtShell_QDirModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9522,7 +9522,7 @@ bool PythonQtShell_QDirModel::moveColumns(const QModelIndex& sourceParent0, in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9555,7 +9555,7 @@ bool PythonQtShell_QDirModel::moveRows(const QModelIndex& sourceParent0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9588,7 +9588,7 @@ QModelIndex PythonQtShell_QDirModel::parent(const QModelIndex& child0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9621,7 +9621,7 @@ bool PythonQtShell_QDirModel::removeColumns(int column0, int count1, const QM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9654,7 +9654,7 @@ bool PythonQtShell_QDirModel::removeRows(int row0, int count1, const QModelIn { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9687,7 +9687,7 @@ void PythonQtShell_QDirModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9709,7 +9709,7 @@ QHash PythonQtShell_QDirModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9742,7 +9742,7 @@ int PythonQtShell_QDirModel::rowCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9775,7 +9775,7 @@ bool PythonQtShell_QDirModel::setData(const QModelIndex& index0, const QVarian { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9808,7 +9808,7 @@ bool PythonQtShell_QDirModel::setHeaderData(int section0, Qt::Orientation ori { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9841,7 +9841,7 @@ bool PythonQtShell_QDirModel::setItemData(const QModelIndex& index0, const QMa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9874,7 +9874,7 @@ QModelIndex PythonQtShell_QDirModel::sibling(int row0, int column1, const QMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9907,7 +9907,7 @@ void PythonQtShell_QDirModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9929,7 +9929,7 @@ QSize PythonQtShell_QDirModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9962,7 +9962,7 @@ bool PythonQtShell_QDirModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9995,7 +9995,7 @@ Qt::DropActions PythonQtShell_QDirModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10028,7 +10028,7 @@ Qt::DropActions PythonQtShell_QDirModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10061,7 +10061,7 @@ void PythonQtShell_QDirModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10225,7 +10225,7 @@ void PythonQtShell_QDockWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10247,7 +10247,7 @@ void PythonQtShell_QDockWidget::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10269,7 +10269,7 @@ void PythonQtShell_QDockWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10291,7 +10291,7 @@ void PythonQtShell_QDockWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10313,7 +10313,7 @@ void PythonQtShell_QDockWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10335,7 +10335,7 @@ void PythonQtShell_QDockWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10357,7 +10357,7 @@ int PythonQtShell_QDockWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10390,7 +10390,7 @@ void PythonQtShell_QDockWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10412,7 +10412,7 @@ void PythonQtShell_QDockWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10434,7 +10434,7 @@ void PythonQtShell_QDockWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10456,7 +10456,7 @@ void PythonQtShell_QDockWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10478,7 +10478,7 @@ void PythonQtShell_QDockWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10500,7 +10500,7 @@ bool PythonQtShell_QDockWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10533,7 +10533,7 @@ bool PythonQtShell_QDockWidget::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10566,7 +10566,7 @@ void PythonQtShell_QDockWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10588,7 +10588,7 @@ bool PythonQtShell_QDockWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10621,7 +10621,7 @@ void PythonQtShell_QDockWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10643,7 +10643,7 @@ bool PythonQtShell_QDockWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10676,7 +10676,7 @@ int PythonQtShell_QDockWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10709,7 +10709,7 @@ void PythonQtShell_QDockWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10731,7 +10731,7 @@ void PythonQtShell_QDockWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10753,7 +10753,7 @@ void PythonQtShell_QDockWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10775,7 +10775,7 @@ QVariant PythonQtShell_QDockWidget::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10808,7 +10808,7 @@ void PythonQtShell_QDockWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10830,7 +10830,7 @@ void PythonQtShell_QDockWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10852,7 +10852,7 @@ void PythonQtShell_QDockWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10874,7 +10874,7 @@ int PythonQtShell_QDockWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10907,7 +10907,7 @@ QSize PythonQtShell_QDockWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10940,7 +10940,7 @@ void PythonQtShell_QDockWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10962,7 +10962,7 @@ void PythonQtShell_QDockWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10984,7 +10984,7 @@ void PythonQtShell_QDockWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11006,7 +11006,7 @@ void PythonQtShell_QDockWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11028,7 +11028,7 @@ void PythonQtShell_QDockWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11050,7 +11050,7 @@ bool PythonQtShell_QDockWidget::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11083,7 +11083,7 @@ QPaintEngine* PythonQtShell_QDockWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11116,7 +11116,7 @@ void PythonQtShell_QDockWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11138,7 +11138,7 @@ QPaintDevice* PythonQtShell_QDockWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11171,7 +11171,7 @@ void PythonQtShell_QDockWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11193,7 +11193,7 @@ void PythonQtShell_QDockWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11215,7 +11215,7 @@ QPainter* PythonQtShell_QDockWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11248,7 +11248,7 @@ void PythonQtShell_QDockWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11270,7 +11270,7 @@ QSize PythonQtShell_QDockWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11303,7 +11303,7 @@ void PythonQtShell_QDockWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11325,7 +11325,7 @@ void PythonQtShell_QDockWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11347,7 +11347,7 @@ void PythonQtShell_QDockWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11461,7 +11461,7 @@ void PythonQtShell_QDoubleSpinBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11483,7 +11483,7 @@ void PythonQtShell_QDoubleSpinBox::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11505,7 +11505,7 @@ void PythonQtShell_QDoubleSpinBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11527,7 +11527,7 @@ void PythonQtShell_QDoubleSpinBox::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11549,7 +11549,7 @@ void PythonQtShell_QDoubleSpinBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11571,7 +11571,7 @@ void PythonQtShell_QDoubleSpinBox::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11593,7 +11593,7 @@ void PythonQtShell_QDoubleSpinBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11615,7 +11615,7 @@ int PythonQtShell_QDoubleSpinBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11648,7 +11648,7 @@ void PythonQtShell_QDoubleSpinBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11670,7 +11670,7 @@ void PythonQtShell_QDoubleSpinBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11692,7 +11692,7 @@ void PythonQtShell_QDoubleSpinBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11714,7 +11714,7 @@ void PythonQtShell_QDoubleSpinBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11736,7 +11736,7 @@ void PythonQtShell_QDoubleSpinBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11758,7 +11758,7 @@ bool PythonQtShell_QDoubleSpinBox::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11791,7 +11791,7 @@ bool PythonQtShell_QDoubleSpinBox::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11824,7 +11824,7 @@ void PythonQtShell_QDoubleSpinBox::fixup(QString& str0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11846,7 +11846,7 @@ void PythonQtShell_QDoubleSpinBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11868,7 +11868,7 @@ bool PythonQtShell_QDoubleSpinBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11901,7 +11901,7 @@ void PythonQtShell_QDoubleSpinBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11923,7 +11923,7 @@ bool PythonQtShell_QDoubleSpinBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11956,7 +11956,7 @@ int PythonQtShell_QDoubleSpinBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11989,7 +11989,7 @@ void PythonQtShell_QDoubleSpinBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12011,7 +12011,7 @@ void PythonQtShell_QDoubleSpinBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12033,7 +12033,7 @@ void PythonQtShell_QDoubleSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12055,7 +12055,7 @@ QVariant PythonQtShell_QDoubleSpinBox::inputMethodQuery(Qt::InputMethodQuery a { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12088,7 +12088,7 @@ void PythonQtShell_QDoubleSpinBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12110,7 +12110,7 @@ void PythonQtShell_QDoubleSpinBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12132,7 +12132,7 @@ void PythonQtShell_QDoubleSpinBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12154,7 +12154,7 @@ int PythonQtShell_QDoubleSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12187,7 +12187,7 @@ QSize PythonQtShell_QDoubleSpinBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12220,7 +12220,7 @@ void PythonQtShell_QDoubleSpinBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12242,7 +12242,7 @@ void PythonQtShell_QDoubleSpinBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12264,7 +12264,7 @@ void PythonQtShell_QDoubleSpinBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12286,7 +12286,7 @@ void PythonQtShell_QDoubleSpinBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12308,7 +12308,7 @@ void PythonQtShell_QDoubleSpinBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12330,7 +12330,7 @@ bool PythonQtShell_QDoubleSpinBox::nativeEvent(const QByteArray& eventType0, v { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12363,7 +12363,7 @@ QPaintEngine* PythonQtShell_QDoubleSpinBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12396,7 +12396,7 @@ void PythonQtShell_QDoubleSpinBox::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12418,7 +12418,7 @@ QPaintDevice* PythonQtShell_QDoubleSpinBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12451,7 +12451,7 @@ void PythonQtShell_QDoubleSpinBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12473,7 +12473,7 @@ void PythonQtShell_QDoubleSpinBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12495,7 +12495,7 @@ QPainter* PythonQtShell_QDoubleSpinBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12528,7 +12528,7 @@ void PythonQtShell_QDoubleSpinBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12550,7 +12550,7 @@ QSize PythonQtShell_QDoubleSpinBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12583,7 +12583,7 @@ void PythonQtShell_QDoubleSpinBox::stepBy(int steps0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12605,7 +12605,7 @@ QAbstractSpinBox::StepEnabled PythonQtShell_QDoubleSpinBox::stepEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12638,7 +12638,7 @@ void PythonQtShell_QDoubleSpinBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12660,7 +12660,7 @@ QString PythonQtShell_QDoubleSpinBox::textFromValue(double val0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textFromValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12693,7 +12693,7 @@ void PythonQtShell_QDoubleSpinBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12715,7 +12715,7 @@ QValidator::State PythonQtShell_QDoubleSpinBox::validate(QString& input0, int& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12748,7 +12748,7 @@ double PythonQtShell_QDoubleSpinBox::valueFromText(const QString& text0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("valueFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12781,7 +12781,7 @@ void PythonQtShell_QDoubleSpinBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12911,7 +12911,7 @@ void PythonQtShell_QDoubleValidator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12933,7 +12933,7 @@ void PythonQtShell_QDoubleValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12955,7 +12955,7 @@ bool PythonQtShell_QDoubleValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12988,7 +12988,7 @@ bool PythonQtShell_QDoubleValidator::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13021,7 +13021,7 @@ void PythonQtShell_QDoubleValidator::fixup(QString& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13043,7 +13043,7 @@ void PythonQtShell_QDoubleValidator::setRange(double bottom0, double top1, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13065,7 +13065,7 @@ void PythonQtShell_QDoubleValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13087,7 +13087,7 @@ QValidator::State PythonQtShell_QDoubleValidator::validate(QString& arg__1, in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13192,7 +13192,7 @@ void PythonQtShell_QDrag::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13214,7 +13214,7 @@ void PythonQtShell_QDrag::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13236,7 +13236,7 @@ bool PythonQtShell_QDrag::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13269,7 +13269,7 @@ bool PythonQtShell_QDrag::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13302,7 +13302,7 @@ void PythonQtShell_QDrag::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13579,7 +13579,7 @@ void PythonQtShell_QErrorMessage::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13601,7 +13601,7 @@ void PythonQtShell_QErrorMessage::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13623,7 +13623,7 @@ void PythonQtShell_QErrorMessage::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13645,7 +13645,7 @@ void PythonQtShell_QErrorMessage::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13667,7 +13667,7 @@ void PythonQtShell_QErrorMessage::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13689,7 +13689,7 @@ void PythonQtShell_QErrorMessage::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13711,7 +13711,7 @@ void PythonQtShell_QErrorMessage::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13733,7 +13733,7 @@ int PythonQtShell_QErrorMessage::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13766,7 +13766,7 @@ void PythonQtShell_QErrorMessage::done(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13788,7 +13788,7 @@ void PythonQtShell_QErrorMessage::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13810,7 +13810,7 @@ void PythonQtShell_QErrorMessage::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13832,7 +13832,7 @@ void PythonQtShell_QErrorMessage::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13854,7 +13854,7 @@ void PythonQtShell_QErrorMessage::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13876,7 +13876,7 @@ void PythonQtShell_QErrorMessage::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13898,7 +13898,7 @@ bool PythonQtShell_QErrorMessage::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13931,7 +13931,7 @@ bool PythonQtShell_QErrorMessage::eventFilter(QObject* arg__1, QEvent* arg__2 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13964,7 +13964,7 @@ int PythonQtShell_QErrorMessage::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13997,7 +13997,7 @@ void PythonQtShell_QErrorMessage::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14019,7 +14019,7 @@ bool PythonQtShell_QErrorMessage::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14052,7 +14052,7 @@ void PythonQtShell_QErrorMessage::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14074,7 +14074,7 @@ bool PythonQtShell_QErrorMessage::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14107,7 +14107,7 @@ int PythonQtShell_QErrorMessage::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14140,7 +14140,7 @@ void PythonQtShell_QErrorMessage::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14162,7 +14162,7 @@ void PythonQtShell_QErrorMessage::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14184,7 +14184,7 @@ void PythonQtShell_QErrorMessage::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14206,7 +14206,7 @@ QVariant PythonQtShell_QErrorMessage::inputMethodQuery(Qt::InputMethodQuery ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14239,7 +14239,7 @@ void PythonQtShell_QErrorMessage::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14261,7 +14261,7 @@ void PythonQtShell_QErrorMessage::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14283,7 +14283,7 @@ void PythonQtShell_QErrorMessage::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14305,7 +14305,7 @@ int PythonQtShell_QErrorMessage::metric(QPaintDevice::PaintDeviceMetric arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14338,7 +14338,7 @@ QSize PythonQtShell_QErrorMessage::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14371,7 +14371,7 @@ void PythonQtShell_QErrorMessage::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14393,7 +14393,7 @@ void PythonQtShell_QErrorMessage::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14415,7 +14415,7 @@ void PythonQtShell_QErrorMessage::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14437,7 +14437,7 @@ void PythonQtShell_QErrorMessage::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14459,7 +14459,7 @@ void PythonQtShell_QErrorMessage::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14481,7 +14481,7 @@ bool PythonQtShell_QErrorMessage::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14514,7 +14514,7 @@ void PythonQtShell_QErrorMessage::open() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14536,7 +14536,7 @@ QPaintEngine* PythonQtShell_QErrorMessage::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14569,7 +14569,7 @@ void PythonQtShell_QErrorMessage::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14591,7 +14591,7 @@ QPaintDevice* PythonQtShell_QErrorMessage::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14624,7 +14624,7 @@ void PythonQtShell_QErrorMessage::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14646,7 +14646,7 @@ void PythonQtShell_QErrorMessage::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14668,7 +14668,7 @@ void PythonQtShell_QErrorMessage::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14690,7 +14690,7 @@ QPainter* PythonQtShell_QErrorMessage::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14723,7 +14723,7 @@ void PythonQtShell_QErrorMessage::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14745,7 +14745,7 @@ QSize PythonQtShell_QErrorMessage::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14778,7 +14778,7 @@ void PythonQtShell_QErrorMessage::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14800,7 +14800,7 @@ void PythonQtShell_QErrorMessage::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14822,7 +14822,7 @@ void PythonQtShell_QErrorMessage::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14887,7 +14887,7 @@ void PythonQtShell_QFileDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14909,7 +14909,7 @@ void PythonQtShell_QFileDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14931,7 +14931,7 @@ void PythonQtShell_QFileDialog::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14953,7 +14953,7 @@ void PythonQtShell_QFileDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14975,7 +14975,7 @@ void PythonQtShell_QFileDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14997,7 +14997,7 @@ void PythonQtShell_QFileDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15019,7 +15019,7 @@ void PythonQtShell_QFileDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15041,7 +15041,7 @@ int PythonQtShell_QFileDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15074,7 +15074,7 @@ void PythonQtShell_QFileDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15096,7 +15096,7 @@ void PythonQtShell_QFileDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15118,7 +15118,7 @@ void PythonQtShell_QFileDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15140,7 +15140,7 @@ void PythonQtShell_QFileDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15162,7 +15162,7 @@ void PythonQtShell_QFileDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15184,7 +15184,7 @@ void PythonQtShell_QFileDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15206,7 +15206,7 @@ bool PythonQtShell_QFileDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15239,7 +15239,7 @@ bool PythonQtShell_QFileDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15272,7 +15272,7 @@ int PythonQtShell_QFileDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15305,7 +15305,7 @@ void PythonQtShell_QFileDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15327,7 +15327,7 @@ bool PythonQtShell_QFileDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15360,7 +15360,7 @@ void PythonQtShell_QFileDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15382,7 +15382,7 @@ bool PythonQtShell_QFileDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15415,7 +15415,7 @@ int PythonQtShell_QFileDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15448,7 +15448,7 @@ void PythonQtShell_QFileDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15470,7 +15470,7 @@ void PythonQtShell_QFileDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15492,7 +15492,7 @@ void PythonQtShell_QFileDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15514,7 +15514,7 @@ QVariant PythonQtShell_QFileDialog::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15547,7 +15547,7 @@ void PythonQtShell_QFileDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15569,7 +15569,7 @@ void PythonQtShell_QFileDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15591,7 +15591,7 @@ void PythonQtShell_QFileDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15613,7 +15613,7 @@ int PythonQtShell_QFileDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15646,7 +15646,7 @@ QSize PythonQtShell_QFileDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15679,7 +15679,7 @@ void PythonQtShell_QFileDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15701,7 +15701,7 @@ void PythonQtShell_QFileDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15723,7 +15723,7 @@ void PythonQtShell_QFileDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15745,7 +15745,7 @@ void PythonQtShell_QFileDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15767,7 +15767,7 @@ void PythonQtShell_QFileDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15789,7 +15789,7 @@ bool PythonQtShell_QFileDialog::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15822,7 +15822,7 @@ QPaintEngine* PythonQtShell_QFileDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15855,7 +15855,7 @@ void PythonQtShell_QFileDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15877,7 +15877,7 @@ QPaintDevice* PythonQtShell_QFileDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15910,7 +15910,7 @@ void PythonQtShell_QFileDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15932,7 +15932,7 @@ void PythonQtShell_QFileDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15954,7 +15954,7 @@ void PythonQtShell_QFileDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15976,7 +15976,7 @@ QPainter* PythonQtShell_QFileDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16009,7 +16009,7 @@ void PythonQtShell_QFileDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16031,7 +16031,7 @@ QSize PythonQtShell_QFileDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16064,7 +16064,7 @@ void PythonQtShell_QFileDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16086,7 +16086,7 @@ void PythonQtShell_QFileDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16108,7 +16108,7 @@ void PythonQtShell_QFileDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16482,7 +16482,7 @@ QIcon PythonQtShell_QFileIconProvider::icon(QFileIconProvider::IconType type0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("icon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16515,7 +16515,7 @@ QIcon PythonQtShell_QFileIconProvider::icon(const QFileInfo& info0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("icon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16548,7 +16548,7 @@ QString PythonQtShell_QFileIconProvider::type(const QFileInfo& info0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16641,7 +16641,7 @@ QModelIndex PythonQtShell_QFileSystemModel::buddy(const QModelIndex& index0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16674,7 +16674,7 @@ bool PythonQtShell_QFileSystemModel::canDropMimeData(const QMimeData* data0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16707,7 +16707,7 @@ bool PythonQtShell_QFileSystemModel::canFetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16740,7 +16740,7 @@ void PythonQtShell_QFileSystemModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16762,7 +16762,7 @@ int PythonQtShell_QFileSystemModel::columnCount(const QModelIndex& parent0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16795,7 +16795,7 @@ void PythonQtShell_QFileSystemModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16817,7 +16817,7 @@ QVariant PythonQtShell_QFileSystemModel::data(const QModelIndex& index0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16850,7 +16850,7 @@ bool PythonQtShell_QFileSystemModel::dropMimeData(const QMimeData* data0, Qt:: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16883,7 +16883,7 @@ bool PythonQtShell_QFileSystemModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16916,7 +16916,7 @@ bool PythonQtShell_QFileSystemModel::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16949,7 +16949,7 @@ void PythonQtShell_QFileSystemModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16971,7 +16971,7 @@ Qt::ItemFlags PythonQtShell_QFileSystemModel::flags(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17004,7 +17004,7 @@ bool PythonQtShell_QFileSystemModel::hasChildren(const QModelIndex& parent0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17037,7 +17037,7 @@ QVariant PythonQtShell_QFileSystemModel::headerData(int section0, Qt::Orientat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17070,7 +17070,7 @@ QModelIndex PythonQtShell_QFileSystemModel::index(int row0, int column1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17103,7 +17103,7 @@ bool PythonQtShell_QFileSystemModel::insertColumns(int column0, int count1, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17136,7 +17136,7 @@ bool PythonQtShell_QFileSystemModel::insertRows(int row0, int count1, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17169,7 +17169,7 @@ QMap PythonQtShell_QFileSystemModel::itemData(const QModelInde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17202,7 +17202,7 @@ QList PythonQtShell_QFileSystemModel::match(const QModelIndex& s { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17235,7 +17235,7 @@ QMimeData* PythonQtShell_QFileSystemModel::mimeData(const QList& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17268,7 +17268,7 @@ QStringList PythonQtShell_QFileSystemModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17301,7 +17301,7 @@ bool PythonQtShell_QFileSystemModel::moveColumns(const QModelIndex& sourcePare { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17334,7 +17334,7 @@ bool PythonQtShell_QFileSystemModel::moveRows(const QModelIndex& sourceParent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17367,7 +17367,7 @@ QModelIndex PythonQtShell_QFileSystemModel::parent(const QModelIndex& child0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17400,7 +17400,7 @@ bool PythonQtShell_QFileSystemModel::removeColumns(int column0, int count1, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17433,7 +17433,7 @@ bool PythonQtShell_QFileSystemModel::removeRows(int row0, int count1, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17466,7 +17466,7 @@ void PythonQtShell_QFileSystemModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17488,7 +17488,7 @@ QHash PythonQtShell_QFileSystemModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17521,7 +17521,7 @@ int PythonQtShell_QFileSystemModel::rowCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17554,7 +17554,7 @@ bool PythonQtShell_QFileSystemModel::setData(const QModelIndex& index0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17587,7 +17587,7 @@ bool PythonQtShell_QFileSystemModel::setHeaderData(int section0, Qt::Orientati { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17620,7 +17620,7 @@ bool PythonQtShell_QFileSystemModel::setItemData(const QModelIndex& index0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17653,7 +17653,7 @@ QModelIndex PythonQtShell_QFileSystemModel::sibling(int row0, int column1, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17686,7 +17686,7 @@ void PythonQtShell_QFileSystemModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17708,7 +17708,7 @@ QSize PythonQtShell_QFileSystemModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17741,7 +17741,7 @@ bool PythonQtShell_QFileSystemModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17774,7 +17774,7 @@ Qt::DropActions PythonQtShell_QFileSystemModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17807,7 +17807,7 @@ Qt::DropActions PythonQtShell_QFileSystemModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17840,7 +17840,7 @@ void PythonQtShell_QFileSystemModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18051,7 +18051,7 @@ void PythonQtShell_QFocusFrame::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18073,7 +18073,7 @@ void PythonQtShell_QFocusFrame::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18095,7 +18095,7 @@ void PythonQtShell_QFocusFrame::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18117,7 +18117,7 @@ void PythonQtShell_QFocusFrame::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18139,7 +18139,7 @@ void PythonQtShell_QFocusFrame::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18161,7 +18161,7 @@ void PythonQtShell_QFocusFrame::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18183,7 +18183,7 @@ int PythonQtShell_QFocusFrame::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18216,7 +18216,7 @@ void PythonQtShell_QFocusFrame::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18238,7 +18238,7 @@ void PythonQtShell_QFocusFrame::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18260,7 +18260,7 @@ void PythonQtShell_QFocusFrame::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18282,7 +18282,7 @@ void PythonQtShell_QFocusFrame::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18304,7 +18304,7 @@ void PythonQtShell_QFocusFrame::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18326,7 +18326,7 @@ bool PythonQtShell_QFocusFrame::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18359,7 +18359,7 @@ bool PythonQtShell_QFocusFrame::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18392,7 +18392,7 @@ void PythonQtShell_QFocusFrame::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18414,7 +18414,7 @@ bool PythonQtShell_QFocusFrame::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18447,7 +18447,7 @@ void PythonQtShell_QFocusFrame::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18469,7 +18469,7 @@ bool PythonQtShell_QFocusFrame::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18502,7 +18502,7 @@ int PythonQtShell_QFocusFrame::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18535,7 +18535,7 @@ void PythonQtShell_QFocusFrame::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18557,7 +18557,7 @@ void PythonQtShell_QFocusFrame::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18579,7 +18579,7 @@ void PythonQtShell_QFocusFrame::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18601,7 +18601,7 @@ QVariant PythonQtShell_QFocusFrame::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18634,7 +18634,7 @@ void PythonQtShell_QFocusFrame::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18656,7 +18656,7 @@ void PythonQtShell_QFocusFrame::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18678,7 +18678,7 @@ void PythonQtShell_QFocusFrame::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18700,7 +18700,7 @@ int PythonQtShell_QFocusFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18733,7 +18733,7 @@ QSize PythonQtShell_QFocusFrame::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18766,7 +18766,7 @@ void PythonQtShell_QFocusFrame::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18788,7 +18788,7 @@ void PythonQtShell_QFocusFrame::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18810,7 +18810,7 @@ void PythonQtShell_QFocusFrame::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18832,7 +18832,7 @@ void PythonQtShell_QFocusFrame::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18854,7 +18854,7 @@ void PythonQtShell_QFocusFrame::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18876,7 +18876,7 @@ bool PythonQtShell_QFocusFrame::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18909,7 +18909,7 @@ QPaintEngine* PythonQtShell_QFocusFrame::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18942,7 +18942,7 @@ void PythonQtShell_QFocusFrame::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18964,7 +18964,7 @@ QPaintDevice* PythonQtShell_QFocusFrame::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18997,7 +18997,7 @@ void PythonQtShell_QFocusFrame::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19019,7 +19019,7 @@ void PythonQtShell_QFocusFrame::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19041,7 +19041,7 @@ QPainter* PythonQtShell_QFocusFrame::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19074,7 +19074,7 @@ void PythonQtShell_QFocusFrame::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19096,7 +19096,7 @@ QSize PythonQtShell_QFocusFrame::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19129,7 +19129,7 @@ void PythonQtShell_QFocusFrame::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19151,7 +19151,7 @@ void PythonQtShell_QFocusFrame::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19173,7 +19173,7 @@ void PythonQtShell_QFocusFrame::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19233,7 +19233,7 @@ void PythonQtShell_QFontComboBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19255,7 +19255,7 @@ void PythonQtShell_QFontComboBox::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19277,7 +19277,7 @@ void PythonQtShell_QFontComboBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19299,7 +19299,7 @@ void PythonQtShell_QFontComboBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19321,7 +19321,7 @@ void PythonQtShell_QFontComboBox::contextMenuEvent(QContextMenuEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19343,7 +19343,7 @@ void PythonQtShell_QFontComboBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19365,7 +19365,7 @@ int PythonQtShell_QFontComboBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19398,7 +19398,7 @@ void PythonQtShell_QFontComboBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19420,7 +19420,7 @@ void PythonQtShell_QFontComboBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19442,7 +19442,7 @@ void PythonQtShell_QFontComboBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19464,7 +19464,7 @@ void PythonQtShell_QFontComboBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19486,7 +19486,7 @@ void PythonQtShell_QFontComboBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19508,7 +19508,7 @@ bool PythonQtShell_QFontComboBox::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19541,7 +19541,7 @@ bool PythonQtShell_QFontComboBox::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19574,7 +19574,7 @@ void PythonQtShell_QFontComboBox::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19596,7 +19596,7 @@ bool PythonQtShell_QFontComboBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19629,7 +19629,7 @@ void PythonQtShell_QFontComboBox::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19651,7 +19651,7 @@ bool PythonQtShell_QFontComboBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19684,7 +19684,7 @@ int PythonQtShell_QFontComboBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19717,7 +19717,7 @@ void PythonQtShell_QFontComboBox::hideEvent(QHideEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19739,7 +19739,7 @@ void PythonQtShell_QFontComboBox::hidePopup() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hidePopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19761,7 +19761,7 @@ void PythonQtShell_QFontComboBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19783,7 +19783,7 @@ void PythonQtShell_QFontComboBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19805,7 +19805,7 @@ QVariant PythonQtShell_QFontComboBox::inputMethodQuery(Qt::InputMethodQuery ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19838,7 +19838,7 @@ void PythonQtShell_QFontComboBox::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19860,7 +19860,7 @@ void PythonQtShell_QFontComboBox::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19882,7 +19882,7 @@ void PythonQtShell_QFontComboBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19904,7 +19904,7 @@ int PythonQtShell_QFontComboBox::metric(QPaintDevice::PaintDeviceMetric arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19937,7 +19937,7 @@ QSize PythonQtShell_QFontComboBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19970,7 +19970,7 @@ void PythonQtShell_QFontComboBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19992,7 +19992,7 @@ void PythonQtShell_QFontComboBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20014,7 +20014,7 @@ void PythonQtShell_QFontComboBox::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20036,7 +20036,7 @@ void PythonQtShell_QFontComboBox::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20058,7 +20058,7 @@ void PythonQtShell_QFontComboBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20080,7 +20080,7 @@ bool PythonQtShell_QFontComboBox::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20113,7 +20113,7 @@ QPaintEngine* PythonQtShell_QFontComboBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20146,7 +20146,7 @@ void PythonQtShell_QFontComboBox::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20168,7 +20168,7 @@ QPaintDevice* PythonQtShell_QFontComboBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20201,7 +20201,7 @@ void PythonQtShell_QFontComboBox::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20223,7 +20223,7 @@ void PythonQtShell_QFontComboBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20245,7 +20245,7 @@ QPainter* PythonQtShell_QFontComboBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20278,7 +20278,7 @@ void PythonQtShell_QFontComboBox::showEvent(QShowEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20300,7 +20300,7 @@ void PythonQtShell_QFontComboBox::showPopup() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showPopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20322,7 +20322,7 @@ QSize PythonQtShell_QFontComboBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20355,7 +20355,7 @@ void PythonQtShell_QFontComboBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20377,7 +20377,7 @@ void PythonQtShell_QFontComboBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20399,7 +20399,7 @@ void PythonQtShell_QFontComboBox::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp index 16fdc0da5..d61f62556 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp @@ -95,7 +95,7 @@ QSurfaceFormat PythonQtShell_QSurface::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -128,7 +128,7 @@ QSize PythonQtShell_QSurface::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -161,7 +161,7 @@ QPlatformSurface* PythonQtShell_QSurface::surfaceHandle() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surfaceHandle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -194,7 +194,7 @@ QSurface::SurfaceType PythonQtShell_QSurface::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -503,7 +503,7 @@ void PythonQtShell_QSwipeGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -525,7 +525,7 @@ void PythonQtShell_QSwipeGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -547,7 +547,7 @@ bool PythonQtShell_QSwipeGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -580,7 +580,7 @@ bool PythonQtShell_QSwipeGesture::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -613,7 +613,7 @@ void PythonQtShell_QSwipeGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -678,7 +678,7 @@ void PythonQtShell_QSyntaxHighlighter::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -700,7 +700,7 @@ void PythonQtShell_QSyntaxHighlighter::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -722,7 +722,7 @@ bool PythonQtShell_QSyntaxHighlighter::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -755,7 +755,7 @@ bool PythonQtShell_QSyntaxHighlighter::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -788,7 +788,7 @@ void PythonQtShell_QSyntaxHighlighter::highlightBlock(const QString& text0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("highlightBlock"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -810,7 +810,7 @@ void PythonQtShell_QSyntaxHighlighter::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -924,7 +924,7 @@ void PythonQtShell_QSystemTrayIcon::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -946,7 +946,7 @@ void PythonQtShell_QSystemTrayIcon::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -968,7 +968,7 @@ bool PythonQtShell_QSystemTrayIcon::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1001,7 +1001,7 @@ bool PythonQtShell_QSystemTrayIcon::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1034,7 +1034,7 @@ void PythonQtShell_QSystemTrayIcon::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1133,7 +1133,7 @@ void PythonQtShell_QTabBar::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1155,7 +1155,7 @@ void PythonQtShell_QTabBar::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1177,7 +1177,7 @@ void PythonQtShell_QTabBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1199,7 +1199,7 @@ void PythonQtShell_QTabBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1221,7 +1221,7 @@ void PythonQtShell_QTabBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1243,7 +1243,7 @@ void PythonQtShell_QTabBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1265,7 +1265,7 @@ int PythonQtShell_QTabBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1298,7 +1298,7 @@ void PythonQtShell_QTabBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1320,7 +1320,7 @@ void PythonQtShell_QTabBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1342,7 +1342,7 @@ void PythonQtShell_QTabBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1364,7 +1364,7 @@ void PythonQtShell_QTabBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1386,7 +1386,7 @@ void PythonQtShell_QTabBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1408,7 +1408,7 @@ bool PythonQtShell_QTabBar::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1441,7 +1441,7 @@ bool PythonQtShell_QTabBar::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1474,7 +1474,7 @@ void PythonQtShell_QTabBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1496,7 +1496,7 @@ bool PythonQtShell_QTabBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1529,7 +1529,7 @@ void PythonQtShell_QTabBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1551,7 +1551,7 @@ bool PythonQtShell_QTabBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1584,7 +1584,7 @@ int PythonQtShell_QTabBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1617,7 +1617,7 @@ void PythonQtShell_QTabBar::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1639,7 +1639,7 @@ void PythonQtShell_QTabBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1661,7 +1661,7 @@ void PythonQtShell_QTabBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1683,7 +1683,7 @@ QVariant PythonQtShell_QTabBar::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1716,7 +1716,7 @@ void PythonQtShell_QTabBar::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1738,7 +1738,7 @@ void PythonQtShell_QTabBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1760,7 +1760,7 @@ void PythonQtShell_QTabBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1782,7 +1782,7 @@ int PythonQtShell_QTabBar::metric(QPaintDevice::PaintDeviceMetric arg__1) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1815,7 +1815,7 @@ QSize PythonQtShell_QTabBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1848,7 +1848,7 @@ QSize PythonQtShell_QTabBar::minimumTabSizeHint(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumTabSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1881,7 +1881,7 @@ void PythonQtShell_QTabBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1903,7 +1903,7 @@ void PythonQtShell_QTabBar::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1925,7 +1925,7 @@ void PythonQtShell_QTabBar::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1947,7 +1947,7 @@ void PythonQtShell_QTabBar::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1969,7 +1969,7 @@ void PythonQtShell_QTabBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1991,7 +1991,7 @@ bool PythonQtShell_QTabBar::nativeEvent(const QByteArray& eventType0, void* m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2024,7 +2024,7 @@ QPaintEngine* PythonQtShell_QTabBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2057,7 +2057,7 @@ void PythonQtShell_QTabBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2079,7 +2079,7 @@ QPaintDevice* PythonQtShell_QTabBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2112,7 +2112,7 @@ void PythonQtShell_QTabBar::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2134,7 +2134,7 @@ void PythonQtShell_QTabBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2156,7 +2156,7 @@ QPainter* PythonQtShell_QTabBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2189,7 +2189,7 @@ void PythonQtShell_QTabBar::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2211,7 +2211,7 @@ QSize PythonQtShell_QTabBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2244,7 +2244,7 @@ void PythonQtShell_QTabBar::tabInserted(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2266,7 +2266,7 @@ void PythonQtShell_QTabBar::tabLayoutChange() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabLayoutChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2288,7 +2288,7 @@ void PythonQtShell_QTabBar::tabRemoved(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2310,7 +2310,7 @@ QSize PythonQtShell_QTabBar::tabSizeHint(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2343,7 +2343,7 @@ void PythonQtShell_QTabBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2365,7 +2365,7 @@ void PythonQtShell_QTabBar::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2387,7 +2387,7 @@ void PythonQtShell_QTabBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2732,7 +2732,7 @@ void PythonQtShell_QTabWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2754,7 +2754,7 @@ void PythonQtShell_QTabWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2776,7 +2776,7 @@ void PythonQtShell_QTabWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2798,7 +2798,7 @@ void PythonQtShell_QTabWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2820,7 +2820,7 @@ void PythonQtShell_QTabWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2842,7 +2842,7 @@ void PythonQtShell_QTabWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2864,7 +2864,7 @@ int PythonQtShell_QTabWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2897,7 +2897,7 @@ void PythonQtShell_QTabWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2919,7 +2919,7 @@ void PythonQtShell_QTabWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2941,7 +2941,7 @@ void PythonQtShell_QTabWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2963,7 +2963,7 @@ void PythonQtShell_QTabWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2985,7 +2985,7 @@ void PythonQtShell_QTabWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3007,7 +3007,7 @@ bool PythonQtShell_QTabWidget::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3040,7 +3040,7 @@ bool PythonQtShell_QTabWidget::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3073,7 +3073,7 @@ void PythonQtShell_QTabWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3095,7 +3095,7 @@ bool PythonQtShell_QTabWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3128,7 +3128,7 @@ void PythonQtShell_QTabWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3150,7 +3150,7 @@ bool PythonQtShell_QTabWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3183,7 +3183,7 @@ int PythonQtShell_QTabWidget::heightForWidth(int width0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3216,7 +3216,7 @@ void PythonQtShell_QTabWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3238,7 +3238,7 @@ void PythonQtShell_QTabWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3260,7 +3260,7 @@ void PythonQtShell_QTabWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3282,7 +3282,7 @@ QVariant PythonQtShell_QTabWidget::inputMethodQuery(Qt::InputMethodQuery arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3315,7 +3315,7 @@ void PythonQtShell_QTabWidget::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3337,7 +3337,7 @@ void PythonQtShell_QTabWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3359,7 +3359,7 @@ void PythonQtShell_QTabWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3381,7 +3381,7 @@ int PythonQtShell_QTabWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3414,7 +3414,7 @@ QSize PythonQtShell_QTabWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3447,7 +3447,7 @@ void PythonQtShell_QTabWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3469,7 +3469,7 @@ void PythonQtShell_QTabWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3491,7 +3491,7 @@ void PythonQtShell_QTabWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3513,7 +3513,7 @@ void PythonQtShell_QTabWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3535,7 +3535,7 @@ void PythonQtShell_QTabWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3557,7 +3557,7 @@ bool PythonQtShell_QTabWidget::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3590,7 +3590,7 @@ QPaintEngine* PythonQtShell_QTabWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3623,7 +3623,7 @@ void PythonQtShell_QTabWidget::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3645,7 +3645,7 @@ QPaintDevice* PythonQtShell_QTabWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3678,7 +3678,7 @@ void PythonQtShell_QTabWidget::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3700,7 +3700,7 @@ void PythonQtShell_QTabWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3722,7 +3722,7 @@ QPainter* PythonQtShell_QTabWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3755,7 +3755,7 @@ void PythonQtShell_QTabWidget::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3777,7 +3777,7 @@ QSize PythonQtShell_QTabWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3810,7 +3810,7 @@ void PythonQtShell_QTabWidget::tabInserted(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3832,7 +3832,7 @@ void PythonQtShell_QTabWidget::tabRemoved(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3854,7 +3854,7 @@ void PythonQtShell_QTabWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3876,7 +3876,7 @@ void PythonQtShell_QTabWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3898,7 +3898,7 @@ void PythonQtShell_QTabWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4183,7 +4183,7 @@ void PythonQtShell_QTableView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4205,7 +4205,7 @@ void PythonQtShell_QTableView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4227,7 +4227,7 @@ void PythonQtShell_QTableView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4249,7 +4249,7 @@ void PythonQtShell_QTableView::closeEditor(QWidget* editor0, QAbstractItemDeleg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4271,7 +4271,7 @@ void PythonQtShell_QTableView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4293,7 +4293,7 @@ void PythonQtShell_QTableView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4315,7 +4315,7 @@ void PythonQtShell_QTableView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4337,7 +4337,7 @@ void PythonQtShell_QTableView::currentChanged(const QModelIndex& current0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4359,7 +4359,7 @@ void PythonQtShell_QTableView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4381,7 +4381,7 @@ void PythonQtShell_QTableView::dataChanged(const QModelIndex& topLeft0, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4403,7 +4403,7 @@ int PythonQtShell_QTableView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4436,7 +4436,7 @@ void PythonQtShell_QTableView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4458,7 +4458,7 @@ void PythonQtShell_QTableView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4480,7 +4480,7 @@ void PythonQtShell_QTableView::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4502,7 +4502,7 @@ void PythonQtShell_QTableView::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4524,7 +4524,7 @@ void PythonQtShell_QTableView::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4546,7 +4546,7 @@ bool PythonQtShell_QTableView::edit(const QModelIndex& index0, QAbstractItemVi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4579,7 +4579,7 @@ void PythonQtShell_QTableView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4601,7 +4601,7 @@ void PythonQtShell_QTableView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4623,7 +4623,7 @@ bool PythonQtShell_QTableView::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4656,7 +4656,7 @@ bool PythonQtShell_QTableView::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4689,7 +4689,7 @@ void PythonQtShell_QTableView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4711,7 +4711,7 @@ bool PythonQtShell_QTableView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4744,7 +4744,7 @@ void PythonQtShell_QTableView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4766,7 +4766,7 @@ bool PythonQtShell_QTableView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4799,7 +4799,7 @@ int PythonQtShell_QTableView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4832,7 +4832,7 @@ void PythonQtShell_QTableView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4854,7 +4854,7 @@ int PythonQtShell_QTableView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4887,7 +4887,7 @@ void PythonQtShell_QTableView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4909,7 +4909,7 @@ void PythonQtShell_QTableView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4931,7 +4931,7 @@ QModelIndex PythonQtShell_QTableView::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4964,7 +4964,7 @@ void PythonQtShell_QTableView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4986,7 +4986,7 @@ void PythonQtShell_QTableView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5008,7 +5008,7 @@ QVariant PythonQtShell_QTableView::inputMethodQuery(Qt::InputMethodQuery query { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5041,7 +5041,7 @@ bool PythonQtShell_QTableView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5074,7 +5074,7 @@ void PythonQtShell_QTableView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5096,7 +5096,7 @@ void PythonQtShell_QTableView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5118,7 +5118,7 @@ void PythonQtShell_QTableView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5140,7 +5140,7 @@ void PythonQtShell_QTableView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5162,7 +5162,7 @@ int PythonQtShell_QTableView::metric(QPaintDevice::PaintDeviceMetric arg__1) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5195,7 +5195,7 @@ QSize PythonQtShell_QTableView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5228,7 +5228,7 @@ void PythonQtShell_QTableView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5250,7 +5250,7 @@ void PythonQtShell_QTableView::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5272,7 +5272,7 @@ void PythonQtShell_QTableView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5294,7 +5294,7 @@ void PythonQtShell_QTableView::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5316,7 +5316,7 @@ QModelIndex PythonQtShell_QTableView::moveCursor(QAbstractItemView::CursorActio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5349,7 +5349,7 @@ void PythonQtShell_QTableView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5371,7 +5371,7 @@ bool PythonQtShell_QTableView::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5404,7 +5404,7 @@ QPaintEngine* PythonQtShell_QTableView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5437,7 +5437,7 @@ void PythonQtShell_QTableView::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5459,7 +5459,7 @@ QPaintDevice* PythonQtShell_QTableView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5492,7 +5492,7 @@ void PythonQtShell_QTableView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5514,7 +5514,7 @@ void PythonQtShell_QTableView::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5536,7 +5536,7 @@ void PythonQtShell_QTableView::rowsAboutToBeRemoved(const QModelIndex& parent0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5558,7 +5558,7 @@ void PythonQtShell_QTableView::rowsInserted(const QModelIndex& parent0, int st { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5580,7 +5580,7 @@ void PythonQtShell_QTableView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5602,7 +5602,7 @@ void PythonQtShell_QTableView::scrollTo(const QModelIndex& index0, QAbstractIte { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5624,7 +5624,7 @@ void PythonQtShell_QTableView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5646,7 +5646,7 @@ QList PythonQtShell_QTableView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5679,7 +5679,7 @@ void PythonQtShell_QTableView::selectionChanged(const QItemSelection& selected0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5701,7 +5701,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QTableView::selectionCommand( { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5734,7 +5734,7 @@ void PythonQtShell_QTableView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5756,7 +5756,7 @@ void PythonQtShell_QTableView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5778,7 +5778,7 @@ void PythonQtShell_QTableView::setSelection(const QRect& rect0, QItemSelectionM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5800,7 +5800,7 @@ void PythonQtShell_QTableView::setSelectionModel(QItemSelectionModel* selection { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5822,7 +5822,7 @@ void PythonQtShell_QTableView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5844,7 +5844,7 @@ void PythonQtShell_QTableView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5866,7 +5866,7 @@ QPainter* PythonQtShell_QTableView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5899,7 +5899,7 @@ void PythonQtShell_QTableView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5921,7 +5921,7 @@ QSize PythonQtShell_QTableView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5954,7 +5954,7 @@ int PythonQtShell_QTableView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5987,7 +5987,7 @@ int PythonQtShell_QTableView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6020,7 +6020,7 @@ void PythonQtShell_QTableView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6042,7 +6042,7 @@ void PythonQtShell_QTableView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6064,7 +6064,7 @@ void PythonQtShell_QTableView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6086,7 +6086,7 @@ void PythonQtShell_QTableView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6108,7 +6108,7 @@ void PythonQtShell_QTableView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6130,7 +6130,7 @@ void PythonQtShell_QTableView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6152,7 +6152,7 @@ int PythonQtShell_QTableView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6185,7 +6185,7 @@ void PythonQtShell_QTableView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6207,7 +6207,7 @@ void PythonQtShell_QTableView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6229,7 +6229,7 @@ QStyleOptionViewItem PythonQtShell_QTableView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6262,7 +6262,7 @@ bool PythonQtShell_QTableView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6295,7 +6295,7 @@ QSize PythonQtShell_QTableView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6328,7 +6328,7 @@ QRect PythonQtShell_QTableView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6361,7 +6361,7 @@ QRegion PythonQtShell_QTableView::visualRegionForSelection(const QItemSelection { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6394,7 +6394,7 @@ void PythonQtShell_QTableView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6589,7 +6589,7 @@ void PythonQtShell_QTableWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6611,7 +6611,7 @@ void PythonQtShell_QTableWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6633,7 +6633,7 @@ void PythonQtShell_QTableWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6655,7 +6655,7 @@ void PythonQtShell_QTableWidget::closeEditor(QWidget* editor0, QAbstractItemDel { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6677,7 +6677,7 @@ void PythonQtShell_QTableWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6699,7 +6699,7 @@ void PythonQtShell_QTableWidget::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6721,7 +6721,7 @@ void PythonQtShell_QTableWidget::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6743,7 +6743,7 @@ void PythonQtShell_QTableWidget::currentChanged(const QModelIndex& current0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6765,7 +6765,7 @@ void PythonQtShell_QTableWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6787,7 +6787,7 @@ void PythonQtShell_QTableWidget::dataChanged(const QModelIndex& topLeft0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6809,7 +6809,7 @@ int PythonQtShell_QTableWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6842,7 +6842,7 @@ void PythonQtShell_QTableWidget::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6864,7 +6864,7 @@ void PythonQtShell_QTableWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6886,7 +6886,7 @@ void PythonQtShell_QTableWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6908,7 +6908,7 @@ void PythonQtShell_QTableWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6930,7 +6930,7 @@ void PythonQtShell_QTableWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6952,7 +6952,7 @@ bool PythonQtShell_QTableWidget::dropMimeData(int row0, int column1, const QM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6985,7 +6985,7 @@ bool PythonQtShell_QTableWidget::edit(const QModelIndex& index0, QAbstractItem { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7018,7 +7018,7 @@ void PythonQtShell_QTableWidget::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7040,7 +7040,7 @@ void PythonQtShell_QTableWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7062,7 +7062,7 @@ bool PythonQtShell_QTableWidget::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7095,7 +7095,7 @@ bool PythonQtShell_QTableWidget::eventFilter(QObject* object0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7128,7 +7128,7 @@ void PythonQtShell_QTableWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7150,7 +7150,7 @@ bool PythonQtShell_QTableWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7183,7 +7183,7 @@ void PythonQtShell_QTableWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7205,7 +7205,7 @@ bool PythonQtShell_QTableWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7238,7 +7238,7 @@ int PythonQtShell_QTableWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7271,7 +7271,7 @@ void PythonQtShell_QTableWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7293,7 +7293,7 @@ int PythonQtShell_QTableWidget::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7326,7 +7326,7 @@ void PythonQtShell_QTableWidget::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7348,7 +7348,7 @@ void PythonQtShell_QTableWidget::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7370,7 +7370,7 @@ QModelIndex PythonQtShell_QTableWidget::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7403,7 +7403,7 @@ void PythonQtShell_QTableWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7425,7 +7425,7 @@ void PythonQtShell_QTableWidget::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7447,7 +7447,7 @@ QVariant PythonQtShell_QTableWidget::inputMethodQuery(Qt::InputMethodQuery que { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7480,7 +7480,7 @@ bool PythonQtShell_QTableWidget::isIndexHidden(const QModelIndex& index0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7513,7 +7513,7 @@ void PythonQtShell_QTableWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7535,7 +7535,7 @@ void PythonQtShell_QTableWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7557,7 +7557,7 @@ void PythonQtShell_QTableWidget::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7579,7 +7579,7 @@ void PythonQtShell_QTableWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7601,7 +7601,7 @@ int PythonQtShell_QTableWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7634,7 +7634,7 @@ QMimeData* PythonQtShell_QTableWidget::mimeData(const QList { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7667,7 +7667,7 @@ QStringList PythonQtShell_QTableWidget::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7700,7 +7700,7 @@ QSize PythonQtShell_QTableWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7733,7 +7733,7 @@ void PythonQtShell_QTableWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7755,7 +7755,7 @@ void PythonQtShell_QTableWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7777,7 +7777,7 @@ void PythonQtShell_QTableWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7799,7 +7799,7 @@ void PythonQtShell_QTableWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7821,7 +7821,7 @@ QModelIndex PythonQtShell_QTableWidget::moveCursor(QAbstractItemView::CursorAct { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7854,7 +7854,7 @@ void PythonQtShell_QTableWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7876,7 +7876,7 @@ bool PythonQtShell_QTableWidget::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7909,7 +7909,7 @@ QPaintEngine* PythonQtShell_QTableWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7942,7 +7942,7 @@ void PythonQtShell_QTableWidget::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7964,7 +7964,7 @@ QPaintDevice* PythonQtShell_QTableWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7997,7 +7997,7 @@ void PythonQtShell_QTableWidget::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8019,7 +8019,7 @@ void PythonQtShell_QTableWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8041,7 +8041,7 @@ void PythonQtShell_QTableWidget::rowsAboutToBeRemoved(const QModelIndex& parent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8063,7 +8063,7 @@ void PythonQtShell_QTableWidget::rowsInserted(const QModelIndex& parent0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8085,7 +8085,7 @@ void PythonQtShell_QTableWidget::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8107,7 +8107,7 @@ void PythonQtShell_QTableWidget::scrollTo(const QModelIndex& index0, QAbstractI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8129,7 +8129,7 @@ void PythonQtShell_QTableWidget::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8151,7 +8151,7 @@ QList PythonQtShell_QTableWidget::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8184,7 +8184,7 @@ void PythonQtShell_QTableWidget::selectionChanged(const QItemSelection& selecte { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8206,7 +8206,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QTableWidget::selectionComman { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8239,7 +8239,7 @@ void PythonQtShell_QTableWidget::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8261,7 +8261,7 @@ void PythonQtShell_QTableWidget::setSelection(const QRect& rect0, QItemSelectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8283,7 +8283,7 @@ void PythonQtShell_QTableWidget::setSelectionModel(QItemSelectionModel* selecti { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8305,7 +8305,7 @@ void PythonQtShell_QTableWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8327,7 +8327,7 @@ void PythonQtShell_QTableWidget::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8349,7 +8349,7 @@ QPainter* PythonQtShell_QTableWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8382,7 +8382,7 @@ void PythonQtShell_QTableWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8404,7 +8404,7 @@ QSize PythonQtShell_QTableWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8437,7 +8437,7 @@ int PythonQtShell_QTableWidget::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8470,7 +8470,7 @@ int PythonQtShell_QTableWidget::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8503,7 +8503,7 @@ void PythonQtShell_QTableWidget::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8525,7 +8525,7 @@ Qt::DropActions PythonQtShell_QTableWidget::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8558,7 +8558,7 @@ void PythonQtShell_QTableWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8580,7 +8580,7 @@ void PythonQtShell_QTableWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8602,7 +8602,7 @@ void PythonQtShell_QTableWidget::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8624,7 +8624,7 @@ void PythonQtShell_QTableWidget::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8646,7 +8646,7 @@ void PythonQtShell_QTableWidget::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8668,7 +8668,7 @@ int PythonQtShell_QTableWidget::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8701,7 +8701,7 @@ void PythonQtShell_QTableWidget::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8723,7 +8723,7 @@ void PythonQtShell_QTableWidget::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8745,7 +8745,7 @@ QStyleOptionViewItem PythonQtShell_QTableWidget::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8778,7 +8778,7 @@ bool PythonQtShell_QTableWidget::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8811,7 +8811,7 @@ QSize PythonQtShell_QTableWidget::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8844,7 +8844,7 @@ QRect PythonQtShell_QTableWidget::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8877,7 +8877,7 @@ QRegion PythonQtShell_QTableWidget::visualRegionForSelection(const QItemSelecti { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8910,7 +8910,7 @@ void PythonQtShell_QTableWidget::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9214,7 +9214,7 @@ QTableWidgetItem* PythonQtShell_QTableWidgetItem::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9247,7 +9247,7 @@ QVariant PythonQtShell_QTableWidgetItem::data(int role0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9280,7 +9280,7 @@ void PythonQtShell_QTableWidgetItem::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9302,7 +9302,7 @@ void PythonQtShell_QTableWidgetItem::setData(int role0, const QVariant& value1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9324,7 +9324,7 @@ void PythonQtShell_QTableWidgetItem::write(QDataStream& out0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9712,7 +9712,7 @@ void PythonQtShell_QTapAndHoldGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9734,7 +9734,7 @@ void PythonQtShell_QTapAndHoldGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9756,7 +9756,7 @@ bool PythonQtShell_QTapAndHoldGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9789,7 +9789,7 @@ bool PythonQtShell_QTapAndHoldGesture::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9822,7 +9822,7 @@ void PythonQtShell_QTapAndHoldGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9887,7 +9887,7 @@ void PythonQtShell_QTapGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9909,7 +9909,7 @@ void PythonQtShell_QTapGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9931,7 +9931,7 @@ bool PythonQtShell_QTapGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9964,7 +9964,7 @@ bool PythonQtShell_QTapGesture::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9997,7 +9997,7 @@ void PythonQtShell_QTapGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10376,7 +10376,7 @@ void PythonQtShell_QTextBlockGroup::blockFormatChanged(const QTextBlock& block0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("blockFormatChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10398,7 +10398,7 @@ void PythonQtShell_QTextBlockGroup::blockInserted(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("blockInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10420,7 +10420,7 @@ void PythonQtShell_QTextBlockGroup::blockRemoved(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("blockRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10442,7 +10442,7 @@ void PythonQtShell_QTextBlockGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10464,7 +10464,7 @@ void PythonQtShell_QTextBlockGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10486,7 +10486,7 @@ bool PythonQtShell_QTextBlockGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10519,7 +10519,7 @@ bool PythonQtShell_QTextBlockGroup::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10552,7 +10552,7 @@ void PythonQtShell_QTextBlockGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10627,7 +10627,7 @@ void PythonQtShell_QTextBrowser::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10649,7 +10649,7 @@ void PythonQtShell_QTextBrowser::backward() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("backward"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10671,7 +10671,7 @@ bool PythonQtShell_QTextBrowser::canInsertFromMimeData(const QMimeData* source { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canInsertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10704,7 +10704,7 @@ void PythonQtShell_QTextBrowser::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10726,7 +10726,7 @@ void PythonQtShell_QTextBrowser::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10748,7 +10748,7 @@ void PythonQtShell_QTextBrowser::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10770,7 +10770,7 @@ void PythonQtShell_QTextBrowser::contextMenuEvent(QContextMenuEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10792,7 +10792,7 @@ QMimeData* PythonQtShell_QTextBrowser::createMimeDataFromSelection() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createMimeDataFromSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10825,7 +10825,7 @@ void PythonQtShell_QTextBrowser::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10847,7 +10847,7 @@ int PythonQtShell_QTextBrowser::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10880,7 +10880,7 @@ void PythonQtShell_QTextBrowser::doSetTextCursor(const QTextCursor& cursor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doSetTextCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10902,7 +10902,7 @@ void PythonQtShell_QTextBrowser::dragEnterEvent(QDragEnterEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10924,7 +10924,7 @@ void PythonQtShell_QTextBrowser::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10946,7 +10946,7 @@ void PythonQtShell_QTextBrowser::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10968,7 +10968,7 @@ void PythonQtShell_QTextBrowser::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10990,7 +10990,7 @@ void PythonQtShell_QTextBrowser::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11012,7 +11012,7 @@ bool PythonQtShell_QTextBrowser::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11045,7 +11045,7 @@ bool PythonQtShell_QTextBrowser::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11078,7 +11078,7 @@ void PythonQtShell_QTextBrowser::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11100,7 +11100,7 @@ bool PythonQtShell_QTextBrowser::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11133,7 +11133,7 @@ void PythonQtShell_QTextBrowser::focusOutEvent(QFocusEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11155,7 +11155,7 @@ void PythonQtShell_QTextBrowser::forward() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("forward"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11177,7 +11177,7 @@ bool PythonQtShell_QTextBrowser::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11210,7 +11210,7 @@ int PythonQtShell_QTextBrowser::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11243,7 +11243,7 @@ void PythonQtShell_QTextBrowser::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11265,7 +11265,7 @@ void PythonQtShell_QTextBrowser::home() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("home"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11287,7 +11287,7 @@ void PythonQtShell_QTextBrowser::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11309,7 +11309,7 @@ void PythonQtShell_QTextBrowser::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11331,7 +11331,7 @@ QVariant PythonQtShell_QTextBrowser::inputMethodQuery(Qt::InputMethodQuery pro { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11364,7 +11364,7 @@ void PythonQtShell_QTextBrowser::insertFromMimeData(const QMimeData* source0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11386,7 +11386,7 @@ void PythonQtShell_QTextBrowser::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11408,7 +11408,7 @@ void PythonQtShell_QTextBrowser::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11430,7 +11430,7 @@ void PythonQtShell_QTextBrowser::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11452,7 +11452,7 @@ QVariant PythonQtShell_QTextBrowser::loadResource(int type0, const QUrl& name { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11485,7 +11485,7 @@ int PythonQtShell_QTextBrowser::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11518,7 +11518,7 @@ QSize PythonQtShell_QTextBrowser::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11551,7 +11551,7 @@ void PythonQtShell_QTextBrowser::mouseDoubleClickEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11573,7 +11573,7 @@ void PythonQtShell_QTextBrowser::mouseMoveEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11595,7 +11595,7 @@ void PythonQtShell_QTextBrowser::mousePressEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11617,7 +11617,7 @@ void PythonQtShell_QTextBrowser::mouseReleaseEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11639,7 +11639,7 @@ void PythonQtShell_QTextBrowser::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11661,7 +11661,7 @@ bool PythonQtShell_QTextBrowser::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11694,7 +11694,7 @@ QPaintEngine* PythonQtShell_QTextBrowser::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11727,7 +11727,7 @@ void PythonQtShell_QTextBrowser::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11749,7 +11749,7 @@ QPaintDevice* PythonQtShell_QTextBrowser::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11782,7 +11782,7 @@ void PythonQtShell_QTextBrowser::reload() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reload"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11804,7 +11804,7 @@ void PythonQtShell_QTextBrowser::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11826,7 +11826,7 @@ void PythonQtShell_QTextBrowser::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11848,7 +11848,7 @@ void PythonQtShell_QTextBrowser::setSource(const QUrl& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11870,7 +11870,7 @@ void PythonQtShell_QTextBrowser::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11892,7 +11892,7 @@ void PythonQtShell_QTextBrowser::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11914,7 +11914,7 @@ QPainter* PythonQtShell_QTextBrowser::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11947,7 +11947,7 @@ void PythonQtShell_QTextBrowser::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11969,7 +11969,7 @@ QSize PythonQtShell_QTextBrowser::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12002,7 +12002,7 @@ void PythonQtShell_QTextBrowser::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12024,7 +12024,7 @@ void PythonQtShell_QTextBrowser::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12046,7 +12046,7 @@ bool PythonQtShell_QTextBrowser::viewportEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12079,7 +12079,7 @@ QSize PythonQtShell_QTextBrowser::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12112,7 +12112,7 @@ void PythonQtShell_QTextBrowser::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12913,7 +12913,7 @@ void PythonQtShell_QTextDocument::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12935,7 +12935,7 @@ void PythonQtShell_QTextDocument::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12957,7 +12957,7 @@ QTextObject* PythonQtShell_QTextDocument::createObject(const QTextFormat& f0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12990,7 +12990,7 @@ void PythonQtShell_QTextDocument::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13012,7 +13012,7 @@ bool PythonQtShell_QTextDocument::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13045,7 +13045,7 @@ bool PythonQtShell_QTextDocument::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13078,7 +13078,7 @@ QVariant PythonQtShell_QTextDocument::loadResource(int type0, const QUrl& nam { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13111,7 +13111,7 @@ void PythonQtShell_QTextDocument::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13667,7 +13667,7 @@ void PythonQtShell_QTextEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13689,7 +13689,7 @@ bool PythonQtShell_QTextEdit::canInsertFromMimeData(const QMimeData* source0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canInsertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13722,7 +13722,7 @@ void PythonQtShell_QTextEdit::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13744,7 +13744,7 @@ void PythonQtShell_QTextEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13766,7 +13766,7 @@ void PythonQtShell_QTextEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13788,7 +13788,7 @@ void PythonQtShell_QTextEdit::contextMenuEvent(QContextMenuEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13810,7 +13810,7 @@ QMimeData* PythonQtShell_QTextEdit::createMimeDataFromSelection() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createMimeDataFromSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13843,7 +13843,7 @@ void PythonQtShell_QTextEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13865,7 +13865,7 @@ int PythonQtShell_QTextEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13898,7 +13898,7 @@ void PythonQtShell_QTextEdit::doSetTextCursor(const QTextCursor& cursor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doSetTextCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13920,7 +13920,7 @@ void PythonQtShell_QTextEdit::dragEnterEvent(QDragEnterEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13942,7 +13942,7 @@ void PythonQtShell_QTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13964,7 +13964,7 @@ void PythonQtShell_QTextEdit::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13986,7 +13986,7 @@ void PythonQtShell_QTextEdit::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14008,7 +14008,7 @@ void PythonQtShell_QTextEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14030,7 +14030,7 @@ bool PythonQtShell_QTextEdit::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14063,7 +14063,7 @@ bool PythonQtShell_QTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14096,7 +14096,7 @@ void PythonQtShell_QTextEdit::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14118,7 +14118,7 @@ bool PythonQtShell_QTextEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14151,7 +14151,7 @@ void PythonQtShell_QTextEdit::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14173,7 +14173,7 @@ bool PythonQtShell_QTextEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14206,7 +14206,7 @@ int PythonQtShell_QTextEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14239,7 +14239,7 @@ void PythonQtShell_QTextEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14261,7 +14261,7 @@ void PythonQtShell_QTextEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14283,7 +14283,7 @@ void PythonQtShell_QTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14305,7 +14305,7 @@ QVariant PythonQtShell_QTextEdit::inputMethodQuery(Qt::InputMethodQuery proper { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14338,7 +14338,7 @@ void PythonQtShell_QTextEdit::insertFromMimeData(const QMimeData* source0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14360,7 +14360,7 @@ void PythonQtShell_QTextEdit::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14382,7 +14382,7 @@ void PythonQtShell_QTextEdit::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14404,7 +14404,7 @@ void PythonQtShell_QTextEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14426,7 +14426,7 @@ QVariant PythonQtShell_QTextEdit::loadResource(int type0, const QUrl& name1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14459,7 +14459,7 @@ int PythonQtShell_QTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14492,7 +14492,7 @@ QSize PythonQtShell_QTextEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14525,7 +14525,7 @@ void PythonQtShell_QTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14547,7 +14547,7 @@ void PythonQtShell_QTextEdit::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14569,7 +14569,7 @@ void PythonQtShell_QTextEdit::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14591,7 +14591,7 @@ void PythonQtShell_QTextEdit::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14613,7 +14613,7 @@ void PythonQtShell_QTextEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14635,7 +14635,7 @@ bool PythonQtShell_QTextEdit::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14668,7 +14668,7 @@ QPaintEngine* PythonQtShell_QTextEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14701,7 +14701,7 @@ void PythonQtShell_QTextEdit::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14723,7 +14723,7 @@ QPaintDevice* PythonQtShell_QTextEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14756,7 +14756,7 @@ void PythonQtShell_QTextEdit::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14778,7 +14778,7 @@ void PythonQtShell_QTextEdit::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14800,7 +14800,7 @@ void PythonQtShell_QTextEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14822,7 +14822,7 @@ void PythonQtShell_QTextEdit::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14844,7 +14844,7 @@ QPainter* PythonQtShell_QTextEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14877,7 +14877,7 @@ void PythonQtShell_QTextEdit::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14899,7 +14899,7 @@ QSize PythonQtShell_QTextEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14932,7 +14932,7 @@ void PythonQtShell_QTextEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14954,7 +14954,7 @@ void PythonQtShell_QTextEdit::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14976,7 +14976,7 @@ bool PythonQtShell_QTextEdit::viewportEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15009,7 +15009,7 @@ QSize PythonQtShell_QTextEdit::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15042,7 +15042,7 @@ void PythonQtShell_QTextEdit::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15511,7 +15511,7 @@ void PythonQtShell_QTextFrame::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15533,7 +15533,7 @@ void PythonQtShell_QTextFrame::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15555,7 +15555,7 @@ bool PythonQtShell_QTextFrame::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15588,7 +15588,7 @@ bool PythonQtShell_QTextFrame::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15621,7 +15621,7 @@ void PythonQtShell_QTextFrame::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp index f5d6f316c..e9a187110 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp @@ -576,7 +576,7 @@ void PythonQtShell_QTextList::blockFormatChanged(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("blockFormatChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -598,7 +598,7 @@ void PythonQtShell_QTextList::blockInserted(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("blockInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -620,7 +620,7 @@ void PythonQtShell_QTextList::blockRemoved(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("blockRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -642,7 +642,7 @@ void PythonQtShell_QTextList::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -664,7 +664,7 @@ void PythonQtShell_QTextList::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -686,7 +686,7 @@ bool PythonQtShell_QTextList::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -719,7 +719,7 @@ bool PythonQtShell_QTextList::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -752,7 +752,7 @@ void PythonQtShell_QTextList::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -901,7 +901,7 @@ void PythonQtShell_QTextObject::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -923,7 +923,7 @@ void PythonQtShell_QTextObject::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -945,7 +945,7 @@ bool PythonQtShell_QTextObject::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -978,7 +978,7 @@ bool PythonQtShell_QTextObject::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1011,7 +1011,7 @@ void PythonQtShell_QTextObject::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1209,7 +1209,7 @@ void PythonQtShell_QTextTable::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1231,7 +1231,7 @@ void PythonQtShell_QTextTable::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1253,7 +1253,7 @@ bool PythonQtShell_QTextTable::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1286,7 +1286,7 @@ bool PythonQtShell_QTextTable::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1319,7 +1319,7 @@ void PythonQtShell_QTextTable::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1711,7 +1711,7 @@ void PythonQtShell_QTimeEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1733,7 +1733,7 @@ void PythonQtShell_QTimeEdit::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1755,7 +1755,7 @@ void PythonQtShell_QTimeEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1777,7 +1777,7 @@ void PythonQtShell_QTimeEdit::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1799,7 +1799,7 @@ void PythonQtShell_QTimeEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1821,7 +1821,7 @@ void PythonQtShell_QTimeEdit::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1843,7 +1843,7 @@ void PythonQtShell_QTimeEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1865,7 +1865,7 @@ QDateTime PythonQtShell_QTimeEdit::dateTimeFromText(const QString& text0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dateTimeFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1898,7 +1898,7 @@ int PythonQtShell_QTimeEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1931,7 +1931,7 @@ void PythonQtShell_QTimeEdit::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1953,7 +1953,7 @@ void PythonQtShell_QTimeEdit::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1975,7 +1975,7 @@ void PythonQtShell_QTimeEdit::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1997,7 +1997,7 @@ void PythonQtShell_QTimeEdit::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2019,7 +2019,7 @@ void PythonQtShell_QTimeEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2041,7 +2041,7 @@ bool PythonQtShell_QTimeEdit::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2074,7 +2074,7 @@ bool PythonQtShell_QTimeEdit::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2107,7 +2107,7 @@ void PythonQtShell_QTimeEdit::fixup(QString& input0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2129,7 +2129,7 @@ void PythonQtShell_QTimeEdit::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2151,7 +2151,7 @@ bool PythonQtShell_QTimeEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2184,7 +2184,7 @@ void PythonQtShell_QTimeEdit::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2206,7 +2206,7 @@ bool PythonQtShell_QTimeEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2239,7 +2239,7 @@ int PythonQtShell_QTimeEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2272,7 +2272,7 @@ void PythonQtShell_QTimeEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2294,7 +2294,7 @@ void PythonQtShell_QTimeEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2316,7 +2316,7 @@ void PythonQtShell_QTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2338,7 +2338,7 @@ QVariant PythonQtShell_QTimeEdit::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2371,7 +2371,7 @@ void PythonQtShell_QTimeEdit::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2393,7 +2393,7 @@ void PythonQtShell_QTimeEdit::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2415,7 +2415,7 @@ void PythonQtShell_QTimeEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2437,7 +2437,7 @@ int PythonQtShell_QTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2470,7 +2470,7 @@ QSize PythonQtShell_QTimeEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2503,7 +2503,7 @@ void PythonQtShell_QTimeEdit::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2525,7 +2525,7 @@ void PythonQtShell_QTimeEdit::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2547,7 +2547,7 @@ void PythonQtShell_QTimeEdit::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2569,7 +2569,7 @@ void PythonQtShell_QTimeEdit::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2591,7 +2591,7 @@ void PythonQtShell_QTimeEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2613,7 +2613,7 @@ bool PythonQtShell_QTimeEdit::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2646,7 +2646,7 @@ QPaintEngine* PythonQtShell_QTimeEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2679,7 +2679,7 @@ void PythonQtShell_QTimeEdit::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2701,7 +2701,7 @@ QPaintDevice* PythonQtShell_QTimeEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2734,7 +2734,7 @@ void PythonQtShell_QTimeEdit::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2756,7 +2756,7 @@ void PythonQtShell_QTimeEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2778,7 +2778,7 @@ QPainter* PythonQtShell_QTimeEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2811,7 +2811,7 @@ void PythonQtShell_QTimeEdit::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2833,7 +2833,7 @@ QSize PythonQtShell_QTimeEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2866,7 +2866,7 @@ void PythonQtShell_QTimeEdit::stepBy(int steps0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2888,7 +2888,7 @@ QAbstractSpinBox::StepEnabled PythonQtShell_QTimeEdit::stepEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2921,7 +2921,7 @@ void PythonQtShell_QTimeEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2943,7 +2943,7 @@ QString PythonQtShell_QTimeEdit::textFromDateTime(const QDateTime& dt0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textFromDateTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2976,7 +2976,7 @@ void PythonQtShell_QTimeEdit::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2998,7 +2998,7 @@ QValidator::State PythonQtShell_QTimeEdit::validate(QString& input0, int& pos { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3031,7 +3031,7 @@ void PythonQtShell_QTimeEdit::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3080,7 +3080,7 @@ void PythonQtShell_QToolBar::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3102,7 +3102,7 @@ void PythonQtShell_QToolBar::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3124,7 +3124,7 @@ void PythonQtShell_QToolBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3146,7 +3146,7 @@ void PythonQtShell_QToolBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3168,7 +3168,7 @@ void PythonQtShell_QToolBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3190,7 +3190,7 @@ void PythonQtShell_QToolBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3212,7 +3212,7 @@ int PythonQtShell_QToolBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3245,7 +3245,7 @@ void PythonQtShell_QToolBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3267,7 +3267,7 @@ void PythonQtShell_QToolBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3289,7 +3289,7 @@ void PythonQtShell_QToolBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3311,7 +3311,7 @@ void PythonQtShell_QToolBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3333,7 +3333,7 @@ void PythonQtShell_QToolBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3355,7 +3355,7 @@ bool PythonQtShell_QToolBar::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3388,7 +3388,7 @@ bool PythonQtShell_QToolBar::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3421,7 +3421,7 @@ void PythonQtShell_QToolBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3443,7 +3443,7 @@ bool PythonQtShell_QToolBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3476,7 +3476,7 @@ void PythonQtShell_QToolBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3498,7 +3498,7 @@ bool PythonQtShell_QToolBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3531,7 +3531,7 @@ int PythonQtShell_QToolBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3564,7 +3564,7 @@ void PythonQtShell_QToolBar::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3586,7 +3586,7 @@ void PythonQtShell_QToolBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3608,7 +3608,7 @@ void PythonQtShell_QToolBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3630,7 +3630,7 @@ QVariant PythonQtShell_QToolBar::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3663,7 +3663,7 @@ void PythonQtShell_QToolBar::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3685,7 +3685,7 @@ void PythonQtShell_QToolBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3707,7 +3707,7 @@ void PythonQtShell_QToolBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3729,7 +3729,7 @@ int PythonQtShell_QToolBar::metric(QPaintDevice::PaintDeviceMetric arg__1) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3762,7 +3762,7 @@ QSize PythonQtShell_QToolBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3795,7 +3795,7 @@ void PythonQtShell_QToolBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3817,7 +3817,7 @@ void PythonQtShell_QToolBar::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3839,7 +3839,7 @@ void PythonQtShell_QToolBar::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3861,7 +3861,7 @@ void PythonQtShell_QToolBar::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3883,7 +3883,7 @@ void PythonQtShell_QToolBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3905,7 +3905,7 @@ bool PythonQtShell_QToolBar::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3938,7 +3938,7 @@ QPaintEngine* PythonQtShell_QToolBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3971,7 +3971,7 @@ void PythonQtShell_QToolBar::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3993,7 +3993,7 @@ QPaintDevice* PythonQtShell_QToolBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4026,7 +4026,7 @@ void PythonQtShell_QToolBar::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4048,7 +4048,7 @@ void PythonQtShell_QToolBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4070,7 +4070,7 @@ QPainter* PythonQtShell_QToolBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4103,7 +4103,7 @@ void PythonQtShell_QToolBar::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4125,7 +4125,7 @@ QSize PythonQtShell_QToolBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4158,7 +4158,7 @@ void PythonQtShell_QToolBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4180,7 +4180,7 @@ void PythonQtShell_QToolBar::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4202,7 +4202,7 @@ void PythonQtShell_QToolBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4397,7 +4397,7 @@ void PythonQtShell_QToolBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4419,7 +4419,7 @@ void PythonQtShell_QToolBox::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4441,7 +4441,7 @@ void PythonQtShell_QToolBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4463,7 +4463,7 @@ void PythonQtShell_QToolBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4485,7 +4485,7 @@ void PythonQtShell_QToolBox::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4507,7 +4507,7 @@ void PythonQtShell_QToolBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4529,7 +4529,7 @@ int PythonQtShell_QToolBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4562,7 +4562,7 @@ void PythonQtShell_QToolBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4584,7 +4584,7 @@ void PythonQtShell_QToolBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4606,7 +4606,7 @@ void PythonQtShell_QToolBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4628,7 +4628,7 @@ void PythonQtShell_QToolBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4650,7 +4650,7 @@ void PythonQtShell_QToolBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4672,7 +4672,7 @@ bool PythonQtShell_QToolBox::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4705,7 +4705,7 @@ bool PythonQtShell_QToolBox::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4738,7 +4738,7 @@ void PythonQtShell_QToolBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4760,7 +4760,7 @@ bool PythonQtShell_QToolBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4793,7 +4793,7 @@ void PythonQtShell_QToolBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4815,7 +4815,7 @@ bool PythonQtShell_QToolBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4848,7 +4848,7 @@ int PythonQtShell_QToolBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4881,7 +4881,7 @@ void PythonQtShell_QToolBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4903,7 +4903,7 @@ void PythonQtShell_QToolBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4925,7 +4925,7 @@ void PythonQtShell_QToolBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4947,7 +4947,7 @@ QVariant PythonQtShell_QToolBox::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4980,7 +4980,7 @@ void PythonQtShell_QToolBox::itemInserted(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5002,7 +5002,7 @@ void PythonQtShell_QToolBox::itemRemoved(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5024,7 +5024,7 @@ void PythonQtShell_QToolBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5046,7 +5046,7 @@ void PythonQtShell_QToolBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5068,7 +5068,7 @@ void PythonQtShell_QToolBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5090,7 +5090,7 @@ int PythonQtShell_QToolBox::metric(QPaintDevice::PaintDeviceMetric arg__1) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5123,7 +5123,7 @@ QSize PythonQtShell_QToolBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5156,7 +5156,7 @@ void PythonQtShell_QToolBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5178,7 +5178,7 @@ void PythonQtShell_QToolBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5200,7 +5200,7 @@ void PythonQtShell_QToolBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5222,7 +5222,7 @@ void PythonQtShell_QToolBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5244,7 +5244,7 @@ void PythonQtShell_QToolBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5266,7 +5266,7 @@ bool PythonQtShell_QToolBox::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5299,7 +5299,7 @@ QPaintEngine* PythonQtShell_QToolBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5332,7 +5332,7 @@ void PythonQtShell_QToolBox::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5354,7 +5354,7 @@ QPaintDevice* PythonQtShell_QToolBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5387,7 +5387,7 @@ void PythonQtShell_QToolBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5409,7 +5409,7 @@ void PythonQtShell_QToolBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5431,7 +5431,7 @@ QPainter* PythonQtShell_QToolBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5464,7 +5464,7 @@ void PythonQtShell_QToolBox::showEvent(QShowEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5486,7 +5486,7 @@ QSize PythonQtShell_QToolBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5519,7 +5519,7 @@ void PythonQtShell_QToolBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5541,7 +5541,7 @@ void PythonQtShell_QToolBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5563,7 +5563,7 @@ void PythonQtShell_QToolBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5708,7 +5708,7 @@ void PythonQtShell_QToolButton::actionEvent(QActionEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5730,7 +5730,7 @@ void PythonQtShell_QToolButton::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5752,7 +5752,7 @@ void PythonQtShell_QToolButton::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5774,7 +5774,7 @@ void PythonQtShell_QToolButton::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5796,7 +5796,7 @@ void PythonQtShell_QToolButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5818,7 +5818,7 @@ void PythonQtShell_QToolButton::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5840,7 +5840,7 @@ void PythonQtShell_QToolButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5862,7 +5862,7 @@ int PythonQtShell_QToolButton::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5895,7 +5895,7 @@ void PythonQtShell_QToolButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5917,7 +5917,7 @@ void PythonQtShell_QToolButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5939,7 +5939,7 @@ void PythonQtShell_QToolButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5961,7 +5961,7 @@ void PythonQtShell_QToolButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5983,7 +5983,7 @@ void PythonQtShell_QToolButton::enterEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6005,7 +6005,7 @@ bool PythonQtShell_QToolButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6038,7 +6038,7 @@ bool PythonQtShell_QToolButton::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6071,7 +6071,7 @@ void PythonQtShell_QToolButton::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6093,7 +6093,7 @@ bool PythonQtShell_QToolButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6126,7 +6126,7 @@ void PythonQtShell_QToolButton::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6148,7 +6148,7 @@ bool PythonQtShell_QToolButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6181,7 +6181,7 @@ int PythonQtShell_QToolButton::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6214,7 +6214,7 @@ void PythonQtShell_QToolButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6236,7 +6236,7 @@ bool PythonQtShell_QToolButton::hitButton(const QPoint& pos0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6269,7 +6269,7 @@ void PythonQtShell_QToolButton::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6291,7 +6291,7 @@ void PythonQtShell_QToolButton::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6313,7 +6313,7 @@ QVariant PythonQtShell_QToolButton::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6346,7 +6346,7 @@ void PythonQtShell_QToolButton::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6368,7 +6368,7 @@ void PythonQtShell_QToolButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6390,7 +6390,7 @@ void PythonQtShell_QToolButton::leaveEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6412,7 +6412,7 @@ int PythonQtShell_QToolButton::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6445,7 +6445,7 @@ QSize PythonQtShell_QToolButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6478,7 +6478,7 @@ void PythonQtShell_QToolButton::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6500,7 +6500,7 @@ void PythonQtShell_QToolButton::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6522,7 +6522,7 @@ void PythonQtShell_QToolButton::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6544,7 +6544,7 @@ void PythonQtShell_QToolButton::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6566,7 +6566,7 @@ void PythonQtShell_QToolButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6588,7 +6588,7 @@ bool PythonQtShell_QToolButton::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6621,7 +6621,7 @@ void PythonQtShell_QToolButton::nextCheckState() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6643,7 +6643,7 @@ QPaintEngine* PythonQtShell_QToolButton::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6676,7 +6676,7 @@ void PythonQtShell_QToolButton::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6698,7 +6698,7 @@ QPaintDevice* PythonQtShell_QToolButton::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6731,7 +6731,7 @@ void PythonQtShell_QToolButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6753,7 +6753,7 @@ void PythonQtShell_QToolButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6775,7 +6775,7 @@ QPainter* PythonQtShell_QToolButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6808,7 +6808,7 @@ void PythonQtShell_QToolButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6830,7 +6830,7 @@ QSize PythonQtShell_QToolButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6863,7 +6863,7 @@ void PythonQtShell_QToolButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6885,7 +6885,7 @@ void PythonQtShell_QToolButton::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6907,7 +6907,7 @@ void PythonQtShell_QToolButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7783,7 +7783,7 @@ void PythonQtShell_QTreeView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7805,7 +7805,7 @@ void PythonQtShell_QTreeView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7827,7 +7827,7 @@ void PythonQtShell_QTreeView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7849,7 +7849,7 @@ void PythonQtShell_QTreeView::closeEditor(QWidget* editor0, QAbstractItemDelega { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7871,7 +7871,7 @@ void PythonQtShell_QTreeView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7893,7 +7893,7 @@ void PythonQtShell_QTreeView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7915,7 +7915,7 @@ void PythonQtShell_QTreeView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7937,7 +7937,7 @@ void PythonQtShell_QTreeView::currentChanged(const QModelIndex& current0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7959,7 +7959,7 @@ void PythonQtShell_QTreeView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7981,7 +7981,7 @@ void PythonQtShell_QTreeView::dataChanged(const QModelIndex& topLeft0, const QM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8003,7 +8003,7 @@ int PythonQtShell_QTreeView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8036,7 +8036,7 @@ void PythonQtShell_QTreeView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8058,7 +8058,7 @@ void PythonQtShell_QTreeView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8080,7 +8080,7 @@ void PythonQtShell_QTreeView::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8102,7 +8102,7 @@ void PythonQtShell_QTreeView::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8124,7 +8124,7 @@ void PythonQtShell_QTreeView::drawBranches(QPainter* painter0, const QRect& re { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawBranches"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8146,7 +8146,7 @@ void PythonQtShell_QTreeView::drawRow(QPainter* painter0, const QStyleOptionVie { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8168,7 +8168,7 @@ void PythonQtShell_QTreeView::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8190,7 +8190,7 @@ bool PythonQtShell_QTreeView::edit(const QModelIndex& index0, QAbstractItemVie { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8223,7 +8223,7 @@ void PythonQtShell_QTreeView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8245,7 +8245,7 @@ void PythonQtShell_QTreeView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8267,7 +8267,7 @@ bool PythonQtShell_QTreeView::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8300,7 +8300,7 @@ bool PythonQtShell_QTreeView::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8333,7 +8333,7 @@ void PythonQtShell_QTreeView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8355,7 +8355,7 @@ bool PythonQtShell_QTreeView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8388,7 +8388,7 @@ void PythonQtShell_QTreeView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8410,7 +8410,7 @@ bool PythonQtShell_QTreeView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8443,7 +8443,7 @@ int PythonQtShell_QTreeView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8476,7 +8476,7 @@ void PythonQtShell_QTreeView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8498,7 +8498,7 @@ int PythonQtShell_QTreeView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8531,7 +8531,7 @@ void PythonQtShell_QTreeView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8553,7 +8553,7 @@ void PythonQtShell_QTreeView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8575,7 +8575,7 @@ QModelIndex PythonQtShell_QTreeView::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8608,7 +8608,7 @@ void PythonQtShell_QTreeView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8630,7 +8630,7 @@ void PythonQtShell_QTreeView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8652,7 +8652,7 @@ QVariant PythonQtShell_QTreeView::inputMethodQuery(Qt::InputMethodQuery query0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8685,7 +8685,7 @@ bool PythonQtShell_QTreeView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8718,7 +8718,7 @@ void PythonQtShell_QTreeView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8740,7 +8740,7 @@ void PythonQtShell_QTreeView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8762,7 +8762,7 @@ void PythonQtShell_QTreeView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8784,7 +8784,7 @@ void PythonQtShell_QTreeView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8806,7 +8806,7 @@ int PythonQtShell_QTreeView::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8839,7 +8839,7 @@ QSize PythonQtShell_QTreeView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8872,7 +8872,7 @@ void PythonQtShell_QTreeView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8894,7 +8894,7 @@ void PythonQtShell_QTreeView::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8916,7 +8916,7 @@ void PythonQtShell_QTreeView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8938,7 +8938,7 @@ void PythonQtShell_QTreeView::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8960,7 +8960,7 @@ QModelIndex PythonQtShell_QTreeView::moveCursor(QAbstractItemView::CursorAction { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8993,7 +8993,7 @@ void PythonQtShell_QTreeView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9015,7 +9015,7 @@ bool PythonQtShell_QTreeView::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9048,7 +9048,7 @@ QPaintEngine* PythonQtShell_QTreeView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9081,7 +9081,7 @@ void PythonQtShell_QTreeView::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9103,7 +9103,7 @@ QPaintDevice* PythonQtShell_QTreeView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9136,7 +9136,7 @@ void PythonQtShell_QTreeView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9158,7 +9158,7 @@ void PythonQtShell_QTreeView::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9180,7 +9180,7 @@ void PythonQtShell_QTreeView::rowsAboutToBeRemoved(const QModelIndex& parent0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9202,7 +9202,7 @@ void PythonQtShell_QTreeView::rowsInserted(const QModelIndex& parent0, int sta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9224,7 +9224,7 @@ void PythonQtShell_QTreeView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9246,7 +9246,7 @@ void PythonQtShell_QTreeView::scrollTo(const QModelIndex& index0, QAbstractItem { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9268,7 +9268,7 @@ void PythonQtShell_QTreeView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9290,7 +9290,7 @@ QList PythonQtShell_QTreeView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9323,7 +9323,7 @@ void PythonQtShell_QTreeView::selectionChanged(const QItemSelection& selected0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9345,7 +9345,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QTreeView::selectionCommand(c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9378,7 +9378,7 @@ void PythonQtShell_QTreeView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9400,7 +9400,7 @@ void PythonQtShell_QTreeView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9422,7 +9422,7 @@ void PythonQtShell_QTreeView::setSelection(const QRect& rect0, QItemSelectionMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9444,7 +9444,7 @@ void PythonQtShell_QTreeView::setSelectionModel(QItemSelectionModel* selectionM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9466,7 +9466,7 @@ void PythonQtShell_QTreeView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9488,7 +9488,7 @@ void PythonQtShell_QTreeView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9510,7 +9510,7 @@ QPainter* PythonQtShell_QTreeView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9543,7 +9543,7 @@ void PythonQtShell_QTreeView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9565,7 +9565,7 @@ QSize PythonQtShell_QTreeView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9598,7 +9598,7 @@ int PythonQtShell_QTreeView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9631,7 +9631,7 @@ int PythonQtShell_QTreeView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9664,7 +9664,7 @@ void PythonQtShell_QTreeView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9686,7 +9686,7 @@ void PythonQtShell_QTreeView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9708,7 +9708,7 @@ void PythonQtShell_QTreeView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9730,7 +9730,7 @@ void PythonQtShell_QTreeView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9752,7 +9752,7 @@ void PythonQtShell_QTreeView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9774,7 +9774,7 @@ void PythonQtShell_QTreeView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9796,7 +9796,7 @@ int PythonQtShell_QTreeView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9829,7 +9829,7 @@ void PythonQtShell_QTreeView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9851,7 +9851,7 @@ void PythonQtShell_QTreeView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9873,7 +9873,7 @@ QStyleOptionViewItem PythonQtShell_QTreeView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9906,7 +9906,7 @@ bool PythonQtShell_QTreeView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9939,7 +9939,7 @@ QSize PythonQtShell_QTreeView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9972,7 +9972,7 @@ QRect PythonQtShell_QTreeView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10005,7 +10005,7 @@ QRegion PythonQtShell_QTreeView::visualRegionForSelection(const QItemSelection& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10038,7 +10038,7 @@ void PythonQtShell_QTreeView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10318,7 +10318,7 @@ void PythonQtShell_QTreeWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10340,7 +10340,7 @@ void PythonQtShell_QTreeWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10362,7 +10362,7 @@ void PythonQtShell_QTreeWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10384,7 +10384,7 @@ void PythonQtShell_QTreeWidget::closeEditor(QWidget* editor0, QAbstractItemDele { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10406,7 +10406,7 @@ void PythonQtShell_QTreeWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10428,7 +10428,7 @@ void PythonQtShell_QTreeWidget::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10450,7 +10450,7 @@ void PythonQtShell_QTreeWidget::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10472,7 +10472,7 @@ void PythonQtShell_QTreeWidget::currentChanged(const QModelIndex& current0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10494,7 +10494,7 @@ void PythonQtShell_QTreeWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10516,7 +10516,7 @@ void PythonQtShell_QTreeWidget::dataChanged(const QModelIndex& topLeft0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10538,7 +10538,7 @@ int PythonQtShell_QTreeWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10571,7 +10571,7 @@ void PythonQtShell_QTreeWidget::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10593,7 +10593,7 @@ void PythonQtShell_QTreeWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10615,7 +10615,7 @@ void PythonQtShell_QTreeWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10637,7 +10637,7 @@ void PythonQtShell_QTreeWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10659,7 +10659,7 @@ void PythonQtShell_QTreeWidget::drawBranches(QPainter* painter0, const QRect& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawBranches"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10681,7 +10681,7 @@ void PythonQtShell_QTreeWidget::drawRow(QPainter* painter0, const QStyleOptionV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10703,7 +10703,7 @@ void PythonQtShell_QTreeWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10725,7 +10725,7 @@ bool PythonQtShell_QTreeWidget::dropMimeData(QTreeWidgetItem* parent0, int in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10758,7 +10758,7 @@ bool PythonQtShell_QTreeWidget::edit(const QModelIndex& index0, QAbstractItemV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10791,7 +10791,7 @@ void PythonQtShell_QTreeWidget::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10813,7 +10813,7 @@ void PythonQtShell_QTreeWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10835,7 +10835,7 @@ bool PythonQtShell_QTreeWidget::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10868,7 +10868,7 @@ bool PythonQtShell_QTreeWidget::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10901,7 +10901,7 @@ void PythonQtShell_QTreeWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10923,7 +10923,7 @@ bool PythonQtShell_QTreeWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10956,7 +10956,7 @@ void PythonQtShell_QTreeWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10978,7 +10978,7 @@ bool PythonQtShell_QTreeWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11011,7 +11011,7 @@ int PythonQtShell_QTreeWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11044,7 +11044,7 @@ void PythonQtShell_QTreeWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11066,7 +11066,7 @@ int PythonQtShell_QTreeWidget::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11099,7 +11099,7 @@ void PythonQtShell_QTreeWidget::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11121,7 +11121,7 @@ void PythonQtShell_QTreeWidget::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11143,7 +11143,7 @@ QModelIndex PythonQtShell_QTreeWidget::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11176,7 +11176,7 @@ void PythonQtShell_QTreeWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11198,7 +11198,7 @@ void PythonQtShell_QTreeWidget::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11220,7 +11220,7 @@ QVariant PythonQtShell_QTreeWidget::inputMethodQuery(Qt::InputMethodQuery quer { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11253,7 +11253,7 @@ bool PythonQtShell_QTreeWidget::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11286,7 +11286,7 @@ void PythonQtShell_QTreeWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11308,7 +11308,7 @@ void PythonQtShell_QTreeWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11330,7 +11330,7 @@ void PythonQtShell_QTreeWidget::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11352,7 +11352,7 @@ void PythonQtShell_QTreeWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11374,7 +11374,7 @@ int PythonQtShell_QTreeWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11407,7 +11407,7 @@ QMimeData* PythonQtShell_QTreeWidget::mimeData(const QList { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11440,7 +11440,7 @@ QStringList PythonQtShell_QTreeWidget::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11473,7 +11473,7 @@ QSize PythonQtShell_QTreeWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11506,7 +11506,7 @@ void PythonQtShell_QTreeWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11528,7 +11528,7 @@ void PythonQtShell_QTreeWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11550,7 +11550,7 @@ void PythonQtShell_QTreeWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11572,7 +11572,7 @@ void PythonQtShell_QTreeWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11594,7 +11594,7 @@ QModelIndex PythonQtShell_QTreeWidget::moveCursor(QAbstractItemView::CursorActi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11627,7 +11627,7 @@ void PythonQtShell_QTreeWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11649,7 +11649,7 @@ bool PythonQtShell_QTreeWidget::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11682,7 +11682,7 @@ QPaintEngine* PythonQtShell_QTreeWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11715,7 +11715,7 @@ void PythonQtShell_QTreeWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11737,7 +11737,7 @@ QPaintDevice* PythonQtShell_QTreeWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11770,7 +11770,7 @@ void PythonQtShell_QTreeWidget::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11792,7 +11792,7 @@ void PythonQtShell_QTreeWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11814,7 +11814,7 @@ void PythonQtShell_QTreeWidget::rowsAboutToBeRemoved(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11836,7 +11836,7 @@ void PythonQtShell_QTreeWidget::rowsInserted(const QModelIndex& parent0, int s { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11858,7 +11858,7 @@ void PythonQtShell_QTreeWidget::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11880,7 +11880,7 @@ void PythonQtShell_QTreeWidget::scrollTo(const QModelIndex& index0, QAbstractIt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11902,7 +11902,7 @@ void PythonQtShell_QTreeWidget::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11924,7 +11924,7 @@ QList PythonQtShell_QTreeWidget::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11957,7 +11957,7 @@ void PythonQtShell_QTreeWidget::selectionChanged(const QItemSelection& selected { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11979,7 +11979,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QTreeWidget::selectionCommand { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12012,7 +12012,7 @@ void PythonQtShell_QTreeWidget::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12034,7 +12034,7 @@ void PythonQtShell_QTreeWidget::setSelection(const QRect& rect0, QItemSelection { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12056,7 +12056,7 @@ void PythonQtShell_QTreeWidget::setSelectionModel(QItemSelectionModel* selectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12078,7 +12078,7 @@ void PythonQtShell_QTreeWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12100,7 +12100,7 @@ void PythonQtShell_QTreeWidget::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12122,7 +12122,7 @@ QPainter* PythonQtShell_QTreeWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12155,7 +12155,7 @@ void PythonQtShell_QTreeWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12177,7 +12177,7 @@ QSize PythonQtShell_QTreeWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12210,7 +12210,7 @@ int PythonQtShell_QTreeWidget::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12243,7 +12243,7 @@ int PythonQtShell_QTreeWidget::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12276,7 +12276,7 @@ void PythonQtShell_QTreeWidget::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12298,7 +12298,7 @@ Qt::DropActions PythonQtShell_QTreeWidget::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12331,7 +12331,7 @@ void PythonQtShell_QTreeWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12353,7 +12353,7 @@ void PythonQtShell_QTreeWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12375,7 +12375,7 @@ void PythonQtShell_QTreeWidget::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12397,7 +12397,7 @@ void PythonQtShell_QTreeWidget::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12419,7 +12419,7 @@ void PythonQtShell_QTreeWidget::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12441,7 +12441,7 @@ int PythonQtShell_QTreeWidget::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12474,7 +12474,7 @@ void PythonQtShell_QTreeWidget::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12496,7 +12496,7 @@ void PythonQtShell_QTreeWidget::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12518,7 +12518,7 @@ QStyleOptionViewItem PythonQtShell_QTreeWidget::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12551,7 +12551,7 @@ bool PythonQtShell_QTreeWidget::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12584,7 +12584,7 @@ QSize PythonQtShell_QTreeWidget::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12617,7 +12617,7 @@ QRect PythonQtShell_QTreeWidget::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12650,7 +12650,7 @@ QRegion PythonQtShell_QTreeWidget::visualRegionForSelection(const QItemSelectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12683,7 +12683,7 @@ void PythonQtShell_QTreeWidget::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12953,7 +12953,7 @@ QTreeWidgetItem* PythonQtShell_QTreeWidgetItem::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12986,7 +12986,7 @@ QVariant PythonQtShell_QTreeWidgetItem::data(int column0, int role1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13019,7 +13019,7 @@ void PythonQtShell_QTreeWidgetItem::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13041,7 +13041,7 @@ void PythonQtShell_QTreeWidgetItem::setData(int column0, int role1, const QVar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13063,7 +13063,7 @@ void PythonQtShell_QTreeWidgetItem::write(QDataStream& out0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13418,7 +13418,7 @@ int PythonQtShell_QUndoCommand::id() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("id"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13451,7 +13451,7 @@ bool PythonQtShell_QUndoCommand::mergeWith(const QUndoCommand* other0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mergeWith"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13484,7 +13484,7 @@ void PythonQtShell_QUndoCommand::redo() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13506,7 +13506,7 @@ void PythonQtShell_QUndoCommand::undo() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("undo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13597,7 +13597,7 @@ void PythonQtShell_QUndoGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13619,7 +13619,7 @@ void PythonQtShell_QUndoGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13641,7 +13641,7 @@ bool PythonQtShell_QUndoGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13674,7 +13674,7 @@ bool PythonQtShell_QUndoGroup::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13707,7 +13707,7 @@ void PythonQtShell_QUndoGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp index 52dbc326e..437ea95a9 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp @@ -71,7 +71,7 @@ void PythonQtShell_QUndoStack::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -93,7 +93,7 @@ void PythonQtShell_QUndoStack::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -115,7 +115,7 @@ bool PythonQtShell_QUndoStack::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -148,7 +148,7 @@ bool PythonQtShell_QUndoStack::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -181,7 +181,7 @@ void PythonQtShell_QUndoStack::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -321,7 +321,7 @@ void PythonQtShell_QUndoView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -343,7 +343,7 @@ void PythonQtShell_QUndoView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -365,7 +365,7 @@ void PythonQtShell_QUndoView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -387,7 +387,7 @@ void PythonQtShell_QUndoView::closeEditor(QWidget* editor0, QAbstractItemDelega { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -409,7 +409,7 @@ void PythonQtShell_QUndoView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -431,7 +431,7 @@ void PythonQtShell_QUndoView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -453,7 +453,7 @@ void PythonQtShell_QUndoView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -475,7 +475,7 @@ void PythonQtShell_QUndoView::currentChanged(const QModelIndex& current0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -497,7 +497,7 @@ void PythonQtShell_QUndoView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -519,7 +519,7 @@ void PythonQtShell_QUndoView::dataChanged(const QModelIndex& topLeft0, const QM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -541,7 +541,7 @@ int PythonQtShell_QUndoView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -574,7 +574,7 @@ void PythonQtShell_QUndoView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -596,7 +596,7 @@ void PythonQtShell_QUndoView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -618,7 +618,7 @@ void PythonQtShell_QUndoView::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -640,7 +640,7 @@ void PythonQtShell_QUndoView::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -662,7 +662,7 @@ void PythonQtShell_QUndoView::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -684,7 +684,7 @@ bool PythonQtShell_QUndoView::edit(const QModelIndex& index0, QAbstractItemVie { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -717,7 +717,7 @@ void PythonQtShell_QUndoView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -739,7 +739,7 @@ void PythonQtShell_QUndoView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -761,7 +761,7 @@ bool PythonQtShell_QUndoView::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -794,7 +794,7 @@ bool PythonQtShell_QUndoView::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -827,7 +827,7 @@ void PythonQtShell_QUndoView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -849,7 +849,7 @@ bool PythonQtShell_QUndoView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -882,7 +882,7 @@ void PythonQtShell_QUndoView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -904,7 +904,7 @@ bool PythonQtShell_QUndoView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -937,7 +937,7 @@ int PythonQtShell_QUndoView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -970,7 +970,7 @@ void PythonQtShell_QUndoView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -992,7 +992,7 @@ int PythonQtShell_QUndoView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1025,7 +1025,7 @@ void PythonQtShell_QUndoView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1047,7 +1047,7 @@ void PythonQtShell_QUndoView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1069,7 +1069,7 @@ QModelIndex PythonQtShell_QUndoView::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1102,7 +1102,7 @@ void PythonQtShell_QUndoView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1124,7 +1124,7 @@ void PythonQtShell_QUndoView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1146,7 +1146,7 @@ QVariant PythonQtShell_QUndoView::inputMethodQuery(Qt::InputMethodQuery query0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1179,7 +1179,7 @@ bool PythonQtShell_QUndoView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1212,7 +1212,7 @@ void PythonQtShell_QUndoView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1234,7 +1234,7 @@ void PythonQtShell_QUndoView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1256,7 +1256,7 @@ void PythonQtShell_QUndoView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1278,7 +1278,7 @@ void PythonQtShell_QUndoView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1300,7 +1300,7 @@ int PythonQtShell_QUndoView::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1333,7 +1333,7 @@ QSize PythonQtShell_QUndoView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1366,7 +1366,7 @@ void PythonQtShell_QUndoView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1388,7 +1388,7 @@ void PythonQtShell_QUndoView::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1410,7 +1410,7 @@ void PythonQtShell_QUndoView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1432,7 +1432,7 @@ void PythonQtShell_QUndoView::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1454,7 +1454,7 @@ QModelIndex PythonQtShell_QUndoView::moveCursor(QAbstractItemView::CursorAction { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1487,7 +1487,7 @@ void PythonQtShell_QUndoView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1509,7 +1509,7 @@ bool PythonQtShell_QUndoView::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1542,7 +1542,7 @@ QPaintEngine* PythonQtShell_QUndoView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1575,7 +1575,7 @@ void PythonQtShell_QUndoView::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1597,7 +1597,7 @@ QPaintDevice* PythonQtShell_QUndoView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1630,7 +1630,7 @@ void PythonQtShell_QUndoView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1652,7 +1652,7 @@ void PythonQtShell_QUndoView::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1674,7 +1674,7 @@ void PythonQtShell_QUndoView::rowsAboutToBeRemoved(const QModelIndex& parent0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1696,7 +1696,7 @@ void PythonQtShell_QUndoView::rowsInserted(const QModelIndex& parent0, int sta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1718,7 +1718,7 @@ void PythonQtShell_QUndoView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1740,7 +1740,7 @@ void PythonQtShell_QUndoView::scrollTo(const QModelIndex& index0, QAbstractItem { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1762,7 +1762,7 @@ void PythonQtShell_QUndoView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1784,7 +1784,7 @@ QList PythonQtShell_QUndoView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1817,7 +1817,7 @@ void PythonQtShell_QUndoView::selectionChanged(const QItemSelection& selected0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1839,7 +1839,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QUndoView::selectionCommand(c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1872,7 +1872,7 @@ void PythonQtShell_QUndoView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1894,7 +1894,7 @@ void PythonQtShell_QUndoView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1916,7 +1916,7 @@ void PythonQtShell_QUndoView::setSelection(const QRect& rect0, QItemSelectionMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1938,7 +1938,7 @@ void PythonQtShell_QUndoView::setSelectionModel(QItemSelectionModel* selectionM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1960,7 +1960,7 @@ void PythonQtShell_QUndoView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1982,7 +1982,7 @@ void PythonQtShell_QUndoView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2004,7 +2004,7 @@ QPainter* PythonQtShell_QUndoView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2037,7 +2037,7 @@ void PythonQtShell_QUndoView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2059,7 +2059,7 @@ QSize PythonQtShell_QUndoView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2092,7 +2092,7 @@ int PythonQtShell_QUndoView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2125,7 +2125,7 @@ int PythonQtShell_QUndoView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2158,7 +2158,7 @@ void PythonQtShell_QUndoView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2180,7 +2180,7 @@ void PythonQtShell_QUndoView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2202,7 +2202,7 @@ void PythonQtShell_QUndoView::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2224,7 +2224,7 @@ void PythonQtShell_QUndoView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2246,7 +2246,7 @@ void PythonQtShell_QUndoView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2268,7 +2268,7 @@ void PythonQtShell_QUndoView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2290,7 +2290,7 @@ int PythonQtShell_QUndoView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2323,7 +2323,7 @@ void PythonQtShell_QUndoView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2345,7 +2345,7 @@ void PythonQtShell_QUndoView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2367,7 +2367,7 @@ QStyleOptionViewItem PythonQtShell_QUndoView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2400,7 +2400,7 @@ bool PythonQtShell_QUndoView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2433,7 +2433,7 @@ QSize PythonQtShell_QUndoView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2466,7 +2466,7 @@ QRect PythonQtShell_QUndoView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2499,7 +2499,7 @@ QRegion PythonQtShell_QUndoView::visualRegionForSelection(const QItemSelection& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2532,7 +2532,7 @@ void PythonQtShell_QUndoView::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2615,7 +2615,7 @@ void PythonQtShell_QVBoxLayout::addItem(QLayoutItem* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2637,7 +2637,7 @@ void PythonQtShell_QVBoxLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2659,7 +2659,7 @@ QSizePolicy::ControlTypes PythonQtShell_QVBoxLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2692,7 +2692,7 @@ int PythonQtShell_QVBoxLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2725,7 +2725,7 @@ void PythonQtShell_QVBoxLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2747,7 +2747,7 @@ bool PythonQtShell_QVBoxLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2780,7 +2780,7 @@ bool PythonQtShell_QVBoxLayout::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2813,7 +2813,7 @@ Qt::Orientations PythonQtShell_QVBoxLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2846,7 +2846,7 @@ QRect PythonQtShell_QVBoxLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2879,7 +2879,7 @@ bool PythonQtShell_QVBoxLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2912,7 +2912,7 @@ int PythonQtShell_QVBoxLayout::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2945,7 +2945,7 @@ int PythonQtShell_QVBoxLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2978,7 +2978,7 @@ void PythonQtShell_QVBoxLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3000,7 +3000,7 @@ bool PythonQtShell_QVBoxLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3033,7 +3033,7 @@ QLayoutItem* PythonQtShell_QVBoxLayout::itemAt(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3066,7 +3066,7 @@ QLayout* PythonQtShell_QVBoxLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3099,7 +3099,7 @@ QSize PythonQtShell_QVBoxLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3132,7 +3132,7 @@ int PythonQtShell_QVBoxLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3165,7 +3165,7 @@ QSize PythonQtShell_QVBoxLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3198,7 +3198,7 @@ void PythonQtShell_QVBoxLayout::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3220,7 +3220,7 @@ QSize PythonQtShell_QVBoxLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3253,7 +3253,7 @@ QLayoutItem* PythonQtShell_QVBoxLayout::takeAt(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3286,7 +3286,7 @@ void PythonQtShell_QVBoxLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3335,7 +3335,7 @@ void PythonQtShell_QValidator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3357,7 +3357,7 @@ void PythonQtShell_QValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3379,7 +3379,7 @@ bool PythonQtShell_QValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3412,7 +3412,7 @@ bool PythonQtShell_QValidator::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3445,7 +3445,7 @@ void PythonQtShell_QValidator::fixup(QString& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3467,7 +3467,7 @@ void PythonQtShell_QValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3489,7 +3489,7 @@ QValidator::State PythonQtShell_QValidator::validate(QString& arg__1, int& ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4384,7 +4384,7 @@ void PythonQtShell_QWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4406,7 +4406,7 @@ void PythonQtShell_QWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4428,7 +4428,7 @@ void PythonQtShell_QWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4450,7 +4450,7 @@ void PythonQtShell_QWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4472,7 +4472,7 @@ void PythonQtShell_QWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4494,7 +4494,7 @@ void PythonQtShell_QWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4516,7 +4516,7 @@ int PythonQtShell_QWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4549,7 +4549,7 @@ void PythonQtShell_QWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4571,7 +4571,7 @@ void PythonQtShell_QWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4593,7 +4593,7 @@ void PythonQtShell_QWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4615,7 +4615,7 @@ void PythonQtShell_QWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4637,7 +4637,7 @@ void PythonQtShell_QWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4659,7 +4659,7 @@ bool PythonQtShell_QWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4692,7 +4692,7 @@ bool PythonQtShell_QWidget::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4725,7 +4725,7 @@ void PythonQtShell_QWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4747,7 +4747,7 @@ bool PythonQtShell_QWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4780,7 +4780,7 @@ void PythonQtShell_QWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4802,7 +4802,7 @@ bool PythonQtShell_QWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4835,7 +4835,7 @@ int PythonQtShell_QWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4868,7 +4868,7 @@ void PythonQtShell_QWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4890,7 +4890,7 @@ void PythonQtShell_QWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4912,7 +4912,7 @@ void PythonQtShell_QWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4934,7 +4934,7 @@ QVariant PythonQtShell_QWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4967,7 +4967,7 @@ void PythonQtShell_QWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4989,7 +4989,7 @@ void PythonQtShell_QWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5011,7 +5011,7 @@ void PythonQtShell_QWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5033,7 +5033,7 @@ int PythonQtShell_QWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5066,7 +5066,7 @@ QSize PythonQtShell_QWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5099,7 +5099,7 @@ void PythonQtShell_QWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5121,7 +5121,7 @@ void PythonQtShell_QWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5143,7 +5143,7 @@ void PythonQtShell_QWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5165,7 +5165,7 @@ void PythonQtShell_QWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5187,7 +5187,7 @@ void PythonQtShell_QWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5209,7 +5209,7 @@ bool PythonQtShell_QWidget::nativeEvent(const QByteArray& eventType0, void* m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5242,7 +5242,7 @@ QPaintEngine* PythonQtShell_QWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5275,7 +5275,7 @@ void PythonQtShell_QWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5297,7 +5297,7 @@ QPaintDevice* PythonQtShell_QWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5330,7 +5330,7 @@ void PythonQtShell_QWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5352,7 +5352,7 @@ void PythonQtShell_QWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5374,7 +5374,7 @@ QPainter* PythonQtShell_QWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5407,7 +5407,7 @@ void PythonQtShell_QWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5429,7 +5429,7 @@ QSize PythonQtShell_QWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5462,7 +5462,7 @@ void PythonQtShell_QWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5484,7 +5484,7 @@ void PythonQtShell_QWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5506,7 +5506,7 @@ void PythonQtShell_QWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6808,7 +6808,7 @@ void PythonQtShell_QWidgetAction::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6830,7 +6830,7 @@ QWidget* PythonQtShell_QWidgetAction::createWidget(QWidget* parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6863,7 +6863,7 @@ void PythonQtShell_QWidgetAction::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6885,7 +6885,7 @@ void PythonQtShell_QWidgetAction::deleteWidget(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deleteWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6907,7 +6907,7 @@ bool PythonQtShell_QWidgetAction::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6940,7 +6940,7 @@ bool PythonQtShell_QWidgetAction::eventFilter(QObject* arg__1, QEvent* arg__2 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6973,7 +6973,7 @@ void PythonQtShell_QWidgetAction::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7053,7 +7053,7 @@ QSizePolicy::ControlTypes PythonQtShell_QWidgetItem::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7086,7 +7086,7 @@ Qt::Orientations PythonQtShell_QWidgetItem::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7119,7 +7119,7 @@ QRect PythonQtShell_QWidgetItem::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7152,7 +7152,7 @@ bool PythonQtShell_QWidgetItem::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7185,7 +7185,7 @@ int PythonQtShell_QWidgetItem::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7218,7 +7218,7 @@ void PythonQtShell_QWidgetItem::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7240,7 +7240,7 @@ bool PythonQtShell_QWidgetItem::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7273,7 +7273,7 @@ QLayout* PythonQtShell_QWidgetItem::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7306,7 +7306,7 @@ QSize PythonQtShell_QWidgetItem::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7339,7 +7339,7 @@ int PythonQtShell_QWidgetItem::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7372,7 +7372,7 @@ QSize PythonQtShell_QWidgetItem::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7405,7 +7405,7 @@ void PythonQtShell_QWidgetItem::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7427,7 +7427,7 @@ QSize PythonQtShell_QWidgetItem::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7460,7 +7460,7 @@ QSpacerItem* PythonQtShell_QWidgetItem::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7493,7 +7493,7 @@ QWidget* PythonQtShell_QWidgetItem::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7536,7 +7536,7 @@ void PythonQtShell_QWindow::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7558,7 +7558,7 @@ void PythonQtShell_QWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7580,7 +7580,7 @@ bool PythonQtShell_QWindow::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7613,7 +7613,7 @@ bool PythonQtShell_QWindow::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7646,7 +7646,7 @@ void PythonQtShell_QWindow::exposeEvent(QExposeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exposeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7668,7 +7668,7 @@ void PythonQtShell_QWindow::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7690,7 +7690,7 @@ QObject* PythonQtShell_QWindow::focusObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7723,7 +7723,7 @@ void PythonQtShell_QWindow::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7745,7 +7745,7 @@ QSurfaceFormat PythonQtShell_QWindow::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7778,7 +7778,7 @@ void PythonQtShell_QWindow::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7800,7 +7800,7 @@ void PythonQtShell_QWindow::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7822,7 +7822,7 @@ void PythonQtShell_QWindow::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7844,7 +7844,7 @@ void PythonQtShell_QWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7866,7 +7866,7 @@ void PythonQtShell_QWindow::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7888,7 +7888,7 @@ void PythonQtShell_QWindow::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7910,7 +7910,7 @@ void PythonQtShell_QWindow::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7932,7 +7932,7 @@ void PythonQtShell_QWindow::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7954,7 +7954,7 @@ bool PythonQtShell_QWindow::nativeEvent(const QByteArray& eventType0, void* m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7987,7 +7987,7 @@ void PythonQtShell_QWindow::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8009,7 +8009,7 @@ void PythonQtShell_QWindow::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8031,7 +8031,7 @@ QSize PythonQtShell_QWindow::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8064,7 +8064,7 @@ QSurface::SurfaceType PythonQtShell_QWindow::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8097,7 +8097,7 @@ void PythonQtShell_QWindow::tabletEvent(QTabletEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8119,7 +8119,7 @@ void PythonQtShell_QWindow::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8141,7 +8141,7 @@ void PythonQtShell_QWindow::touchEvent(QTouchEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8163,7 +8163,7 @@ void PythonQtShell_QWindow::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8710,7 +8710,7 @@ void PythonQtShell_QWizard::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8732,7 +8732,7 @@ void PythonQtShell_QWizard::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8754,7 +8754,7 @@ void PythonQtShell_QWizard::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8776,7 +8776,7 @@ void PythonQtShell_QWizard::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8798,7 +8798,7 @@ void PythonQtShell_QWizard::cleanupPage(int id0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cleanupPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8820,7 +8820,7 @@ void PythonQtShell_QWizard::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8842,7 +8842,7 @@ void PythonQtShell_QWizard::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8864,7 +8864,7 @@ void PythonQtShell_QWizard::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8886,7 +8886,7 @@ int PythonQtShell_QWizard::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8919,7 +8919,7 @@ void PythonQtShell_QWizard::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8941,7 +8941,7 @@ void PythonQtShell_QWizard::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8963,7 +8963,7 @@ void PythonQtShell_QWizard::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8985,7 +8985,7 @@ void PythonQtShell_QWizard::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9007,7 +9007,7 @@ void PythonQtShell_QWizard::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9029,7 +9029,7 @@ void PythonQtShell_QWizard::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9051,7 +9051,7 @@ bool PythonQtShell_QWizard::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9084,7 +9084,7 @@ bool PythonQtShell_QWizard::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9117,7 +9117,7 @@ int PythonQtShell_QWizard::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9150,7 +9150,7 @@ void PythonQtShell_QWizard::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9172,7 +9172,7 @@ bool PythonQtShell_QWizard::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9205,7 +9205,7 @@ void PythonQtShell_QWizard::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9227,7 +9227,7 @@ bool PythonQtShell_QWizard::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9260,7 +9260,7 @@ int PythonQtShell_QWizard::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9293,7 +9293,7 @@ void PythonQtShell_QWizard::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9315,7 +9315,7 @@ void PythonQtShell_QWizard::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9337,7 +9337,7 @@ void PythonQtShell_QWizard::initializePage(int id0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initializePage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9359,7 +9359,7 @@ void PythonQtShell_QWizard::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9381,7 +9381,7 @@ QVariant PythonQtShell_QWizard::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9414,7 +9414,7 @@ void PythonQtShell_QWizard::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9436,7 +9436,7 @@ void PythonQtShell_QWizard::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9458,7 +9458,7 @@ void PythonQtShell_QWizard::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9480,7 +9480,7 @@ int PythonQtShell_QWizard::metric(QPaintDevice::PaintDeviceMetric arg__1) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9513,7 +9513,7 @@ QSize PythonQtShell_QWizard::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9546,7 +9546,7 @@ void PythonQtShell_QWizard::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9568,7 +9568,7 @@ void PythonQtShell_QWizard::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9590,7 +9590,7 @@ void PythonQtShell_QWizard::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9612,7 +9612,7 @@ void PythonQtShell_QWizard::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9634,7 +9634,7 @@ void PythonQtShell_QWizard::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9656,7 +9656,7 @@ bool PythonQtShell_QWizard::nativeEvent(const QByteArray& eventType0, void* m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9689,7 +9689,7 @@ int PythonQtShell_QWizard::nextId() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9722,7 +9722,7 @@ void PythonQtShell_QWizard::open() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9744,7 +9744,7 @@ QPaintEngine* PythonQtShell_QWizard::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9777,7 +9777,7 @@ void PythonQtShell_QWizard::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9799,7 +9799,7 @@ QPaintDevice* PythonQtShell_QWizard::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9832,7 +9832,7 @@ void PythonQtShell_QWizard::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9854,7 +9854,7 @@ void PythonQtShell_QWizard::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9876,7 +9876,7 @@ void PythonQtShell_QWizard::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9898,7 +9898,7 @@ QPainter* PythonQtShell_QWizard::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9931,7 +9931,7 @@ void PythonQtShell_QWizard::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9953,7 +9953,7 @@ QSize PythonQtShell_QWizard::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9986,7 +9986,7 @@ void PythonQtShell_QWizard::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10008,7 +10008,7 @@ void PythonQtShell_QWizard::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10030,7 +10030,7 @@ bool PythonQtShell_QWizard::validateCurrentPage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validateCurrentPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10063,7 +10063,7 @@ void PythonQtShell_QWizard::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10288,7 +10288,7 @@ void PythonQtShell_QWizardPage::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10310,7 +10310,7 @@ void PythonQtShell_QWizardPage::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10332,7 +10332,7 @@ void PythonQtShell_QWizardPage::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10354,7 +10354,7 @@ void PythonQtShell_QWizardPage::cleanupPage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cleanupPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10376,7 +10376,7 @@ void PythonQtShell_QWizardPage::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10398,7 +10398,7 @@ void PythonQtShell_QWizardPage::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10420,7 +10420,7 @@ void PythonQtShell_QWizardPage::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10442,7 +10442,7 @@ int PythonQtShell_QWizardPage::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10475,7 +10475,7 @@ void PythonQtShell_QWizardPage::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10497,7 +10497,7 @@ void PythonQtShell_QWizardPage::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10519,7 +10519,7 @@ void PythonQtShell_QWizardPage::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10541,7 +10541,7 @@ void PythonQtShell_QWizardPage::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10563,7 +10563,7 @@ void PythonQtShell_QWizardPage::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10585,7 +10585,7 @@ bool PythonQtShell_QWizardPage::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10618,7 +10618,7 @@ bool PythonQtShell_QWizardPage::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10651,7 +10651,7 @@ void PythonQtShell_QWizardPage::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10673,7 +10673,7 @@ bool PythonQtShell_QWizardPage::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10706,7 +10706,7 @@ void PythonQtShell_QWizardPage::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10728,7 +10728,7 @@ bool PythonQtShell_QWizardPage::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10761,7 +10761,7 @@ int PythonQtShell_QWizardPage::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10794,7 +10794,7 @@ void PythonQtShell_QWizardPage::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10816,7 +10816,7 @@ void PythonQtShell_QWizardPage::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10838,7 +10838,7 @@ void PythonQtShell_QWizardPage::initializePage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initializePage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10860,7 +10860,7 @@ void PythonQtShell_QWizardPage::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10882,7 +10882,7 @@ QVariant PythonQtShell_QWizardPage::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10915,7 +10915,7 @@ bool PythonQtShell_QWizardPage::isComplete() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isComplete"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10948,7 +10948,7 @@ void PythonQtShell_QWizardPage::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10970,7 +10970,7 @@ void PythonQtShell_QWizardPage::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10992,7 +10992,7 @@ void PythonQtShell_QWizardPage::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11014,7 +11014,7 @@ int PythonQtShell_QWizardPage::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11047,7 +11047,7 @@ QSize PythonQtShell_QWizardPage::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11080,7 +11080,7 @@ void PythonQtShell_QWizardPage::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11102,7 +11102,7 @@ void PythonQtShell_QWizardPage::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11124,7 +11124,7 @@ void PythonQtShell_QWizardPage::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11146,7 +11146,7 @@ void PythonQtShell_QWizardPage::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11168,7 +11168,7 @@ void PythonQtShell_QWizardPage::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11190,7 +11190,7 @@ bool PythonQtShell_QWizardPage::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11223,7 +11223,7 @@ int PythonQtShell_QWizardPage::nextId() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11256,7 +11256,7 @@ QPaintEngine* PythonQtShell_QWizardPage::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11289,7 +11289,7 @@ void PythonQtShell_QWizardPage::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11311,7 +11311,7 @@ QPaintDevice* PythonQtShell_QWizardPage::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11344,7 +11344,7 @@ void PythonQtShell_QWizardPage::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11366,7 +11366,7 @@ void PythonQtShell_QWizardPage::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11388,7 +11388,7 @@ QPainter* PythonQtShell_QWizardPage::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11421,7 +11421,7 @@ void PythonQtShell_QWizardPage::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11443,7 +11443,7 @@ QSize PythonQtShell_QWizardPage::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11476,7 +11476,7 @@ void PythonQtShell_QWizardPage::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11498,7 +11498,7 @@ void PythonQtShell_QWizardPage::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11520,7 +11520,7 @@ bool PythonQtShell_QWizardPage::validatePage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validatePage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11553,7 +11553,7 @@ void PythonQtShell_QWizardPage::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp index 2e3e52937..5dc9213a7 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp @@ -223,7 +223,7 @@ void PythonQtShell_QFontDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -245,7 +245,7 @@ void PythonQtShell_QFontDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -267,7 +267,7 @@ void PythonQtShell_QFontDialog::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -289,7 +289,7 @@ void PythonQtShell_QFontDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -311,7 +311,7 @@ void PythonQtShell_QFontDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -333,7 +333,7 @@ void PythonQtShell_QFontDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -355,7 +355,7 @@ void PythonQtShell_QFontDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -377,7 +377,7 @@ int PythonQtShell_QFontDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -410,7 +410,7 @@ void PythonQtShell_QFontDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -432,7 +432,7 @@ void PythonQtShell_QFontDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -454,7 +454,7 @@ void PythonQtShell_QFontDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -476,7 +476,7 @@ void PythonQtShell_QFontDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -498,7 +498,7 @@ void PythonQtShell_QFontDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -520,7 +520,7 @@ void PythonQtShell_QFontDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -542,7 +542,7 @@ bool PythonQtShell_QFontDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -575,7 +575,7 @@ bool PythonQtShell_QFontDialog::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -608,7 +608,7 @@ int PythonQtShell_QFontDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -641,7 +641,7 @@ void PythonQtShell_QFontDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -663,7 +663,7 @@ bool PythonQtShell_QFontDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -696,7 +696,7 @@ void PythonQtShell_QFontDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -718,7 +718,7 @@ bool PythonQtShell_QFontDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -751,7 +751,7 @@ int PythonQtShell_QFontDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -784,7 +784,7 @@ void PythonQtShell_QFontDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -806,7 +806,7 @@ void PythonQtShell_QFontDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -828,7 +828,7 @@ void PythonQtShell_QFontDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -850,7 +850,7 @@ QVariant PythonQtShell_QFontDialog::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -883,7 +883,7 @@ void PythonQtShell_QFontDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -905,7 +905,7 @@ void PythonQtShell_QFontDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -927,7 +927,7 @@ void PythonQtShell_QFontDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -949,7 +949,7 @@ int PythonQtShell_QFontDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -982,7 +982,7 @@ QSize PythonQtShell_QFontDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1015,7 +1015,7 @@ void PythonQtShell_QFontDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1037,7 +1037,7 @@ void PythonQtShell_QFontDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1059,7 +1059,7 @@ void PythonQtShell_QFontDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1081,7 +1081,7 @@ void PythonQtShell_QFontDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1103,7 +1103,7 @@ void PythonQtShell_QFontDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1125,7 +1125,7 @@ bool PythonQtShell_QFontDialog::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1158,7 +1158,7 @@ QPaintEngine* PythonQtShell_QFontDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1191,7 +1191,7 @@ void PythonQtShell_QFontDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1213,7 +1213,7 @@ QPaintDevice* PythonQtShell_QFontDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1246,7 +1246,7 @@ void PythonQtShell_QFontDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1268,7 +1268,7 @@ void PythonQtShell_QFontDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1290,7 +1290,7 @@ void PythonQtShell_QFontDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1312,7 +1312,7 @@ QPainter* PythonQtShell_QFontDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1345,7 +1345,7 @@ void PythonQtShell_QFontDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1367,7 +1367,7 @@ QSize PythonQtShell_QFontDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1400,7 +1400,7 @@ void PythonQtShell_QFontDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1422,7 +1422,7 @@ void PythonQtShell_QFontDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1444,7 +1444,7 @@ void PythonQtShell_QFontDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1973,7 +1973,7 @@ void PythonQtShell_QFormLayout::addItem(QLayoutItem* item0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1995,7 +1995,7 @@ void PythonQtShell_QFormLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2017,7 +2017,7 @@ QSizePolicy::ControlTypes PythonQtShell_QFormLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2050,7 +2050,7 @@ int PythonQtShell_QFormLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2083,7 +2083,7 @@ void PythonQtShell_QFormLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2105,7 +2105,7 @@ bool PythonQtShell_QFormLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2138,7 +2138,7 @@ bool PythonQtShell_QFormLayout::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2171,7 +2171,7 @@ Qt::Orientations PythonQtShell_QFormLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2204,7 +2204,7 @@ QRect PythonQtShell_QFormLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2237,7 +2237,7 @@ bool PythonQtShell_QFormLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2270,7 +2270,7 @@ int PythonQtShell_QFormLayout::heightForWidth(int width0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2303,7 +2303,7 @@ int PythonQtShell_QFormLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2336,7 +2336,7 @@ void PythonQtShell_QFormLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2358,7 +2358,7 @@ bool PythonQtShell_QFormLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2391,7 +2391,7 @@ QLayoutItem* PythonQtShell_QFormLayout::itemAt(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2424,7 +2424,7 @@ QLayout* PythonQtShell_QFormLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2457,7 +2457,7 @@ QSize PythonQtShell_QFormLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2490,7 +2490,7 @@ QSize PythonQtShell_QFormLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2523,7 +2523,7 @@ void PythonQtShell_QFormLayout::setGeometry(const QRect& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2545,7 +2545,7 @@ QSize PythonQtShell_QFormLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2578,7 +2578,7 @@ QLayoutItem* PythonQtShell_QFormLayout::takeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2611,7 +2611,7 @@ void PythonQtShell_QFormLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2866,7 +2866,7 @@ void PythonQtShell_QFrame::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2888,7 +2888,7 @@ void PythonQtShell_QFrame::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2910,7 +2910,7 @@ void PythonQtShell_QFrame::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2932,7 +2932,7 @@ void PythonQtShell_QFrame::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2954,7 +2954,7 @@ void PythonQtShell_QFrame::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2976,7 +2976,7 @@ void PythonQtShell_QFrame::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2998,7 +2998,7 @@ int PythonQtShell_QFrame::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3031,7 +3031,7 @@ void PythonQtShell_QFrame::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3053,7 +3053,7 @@ void PythonQtShell_QFrame::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3075,7 +3075,7 @@ void PythonQtShell_QFrame::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3097,7 +3097,7 @@ void PythonQtShell_QFrame::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3119,7 +3119,7 @@ void PythonQtShell_QFrame::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3141,7 +3141,7 @@ bool PythonQtShell_QFrame::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3174,7 +3174,7 @@ bool PythonQtShell_QFrame::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3207,7 +3207,7 @@ void PythonQtShell_QFrame::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3229,7 +3229,7 @@ bool PythonQtShell_QFrame::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3262,7 +3262,7 @@ void PythonQtShell_QFrame::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3284,7 +3284,7 @@ bool PythonQtShell_QFrame::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3317,7 +3317,7 @@ int PythonQtShell_QFrame::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3350,7 +3350,7 @@ void PythonQtShell_QFrame::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3372,7 +3372,7 @@ void PythonQtShell_QFrame::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3394,7 +3394,7 @@ void PythonQtShell_QFrame::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3416,7 +3416,7 @@ QVariant PythonQtShell_QFrame::inputMethodQuery(Qt::InputMethodQuery arg__1) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3449,7 +3449,7 @@ void PythonQtShell_QFrame::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3471,7 +3471,7 @@ void PythonQtShell_QFrame::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3493,7 +3493,7 @@ void PythonQtShell_QFrame::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3515,7 +3515,7 @@ int PythonQtShell_QFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3548,7 +3548,7 @@ QSize PythonQtShell_QFrame::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3581,7 +3581,7 @@ void PythonQtShell_QFrame::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3603,7 +3603,7 @@ void PythonQtShell_QFrame::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3625,7 +3625,7 @@ void PythonQtShell_QFrame::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3647,7 +3647,7 @@ void PythonQtShell_QFrame::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3669,7 +3669,7 @@ void PythonQtShell_QFrame::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3691,7 +3691,7 @@ bool PythonQtShell_QFrame::nativeEvent(const QByteArray& eventType0, void* me { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3724,7 +3724,7 @@ QPaintEngine* PythonQtShell_QFrame::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3757,7 +3757,7 @@ void PythonQtShell_QFrame::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3779,7 +3779,7 @@ QPaintDevice* PythonQtShell_QFrame::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3812,7 +3812,7 @@ void PythonQtShell_QFrame::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3834,7 +3834,7 @@ void PythonQtShell_QFrame::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3856,7 +3856,7 @@ QPainter* PythonQtShell_QFrame::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3889,7 +3889,7 @@ void PythonQtShell_QFrame::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3911,7 +3911,7 @@ QSize PythonQtShell_QFrame::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3944,7 +3944,7 @@ void PythonQtShell_QFrame::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3966,7 +3966,7 @@ void PythonQtShell_QFrame::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3988,7 +3988,7 @@ void PythonQtShell_QFrame::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4113,7 +4113,7 @@ void PythonQtShell_QGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4135,7 +4135,7 @@ void PythonQtShell_QGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4157,7 +4157,7 @@ bool PythonQtShell_QGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4190,7 +4190,7 @@ bool PythonQtShell_QGesture::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4223,7 +4223,7 @@ void PythonQtShell_QGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4403,7 +4403,7 @@ QGesture* PythonQtShell_QGestureRecognizer::create(QObject* target0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4436,7 +4436,7 @@ QGestureRecognizer::Result PythonQtShell_QGestureRecognizer::recognize(QGesture { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("recognize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4469,7 +4469,7 @@ void PythonQtShell_QGestureRecognizer::reset(QGesture* state0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4749,7 +4749,7 @@ int PythonQtShell_QGraphicsAnchorLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4782,7 +4782,7 @@ void PythonQtShell_QGraphicsAnchorLayout::getContentsMargins(qreal* left0, qrea { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4804,7 +4804,7 @@ void PythonQtShell_QGraphicsAnchorLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4826,7 +4826,7 @@ QGraphicsLayoutItem* PythonQtShell_QGraphicsAnchorLayout::itemAt(int index0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4859,7 +4859,7 @@ void PythonQtShell_QGraphicsAnchorLayout::removeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4881,7 +4881,7 @@ void PythonQtShell_QGraphicsAnchorLayout::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4903,7 +4903,7 @@ QSizeF PythonQtShell_QGraphicsAnchorLayout::sizeHint(Qt::SizeHint which0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4936,7 +4936,7 @@ void PythonQtShell_QGraphicsAnchorLayout::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4958,7 +4958,7 @@ void PythonQtShell_QGraphicsAnchorLayout::widgetEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5045,7 +5045,7 @@ QRectF PythonQtShell_QGraphicsBlurEffect::boundingRectFor(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5078,7 +5078,7 @@ void PythonQtShell_QGraphicsBlurEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5100,7 +5100,7 @@ void PythonQtShell_QGraphicsBlurEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5122,7 +5122,7 @@ void PythonQtShell_QGraphicsBlurEffect::draw(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5144,7 +5144,7 @@ bool PythonQtShell_QGraphicsBlurEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5177,7 +5177,7 @@ bool PythonQtShell_QGraphicsBlurEffect::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5210,7 +5210,7 @@ void PythonQtShell_QGraphicsBlurEffect::sourceChanged(QGraphicsEffect::ChangeFla { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5232,7 +5232,7 @@ void PythonQtShell_QGraphicsBlurEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5287,7 +5287,7 @@ QRectF PythonQtShell_QGraphicsColorizeEffect::boundingRectFor(const QRectF& so { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5320,7 +5320,7 @@ void PythonQtShell_QGraphicsColorizeEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5342,7 +5342,7 @@ void PythonQtShell_QGraphicsColorizeEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5364,7 +5364,7 @@ void PythonQtShell_QGraphicsColorizeEffect::draw(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5386,7 +5386,7 @@ bool PythonQtShell_QGraphicsColorizeEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5419,7 +5419,7 @@ bool PythonQtShell_QGraphicsColorizeEffect::eventFilter(QObject* watched0, QEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5452,7 +5452,7 @@ void PythonQtShell_QGraphicsColorizeEffect::sourceChanged(QGraphicsEffect::Chang { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5474,7 +5474,7 @@ void PythonQtShell_QGraphicsColorizeEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5529,7 +5529,7 @@ QRectF PythonQtShell_QGraphicsDropShadowEffect::boundingRectFor(const QRectF& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5562,7 +5562,7 @@ void PythonQtShell_QGraphicsDropShadowEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5584,7 +5584,7 @@ void PythonQtShell_QGraphicsDropShadowEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5606,7 +5606,7 @@ void PythonQtShell_QGraphicsDropShadowEffect::draw(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5628,7 +5628,7 @@ bool PythonQtShell_QGraphicsDropShadowEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5661,7 +5661,7 @@ bool PythonQtShell_QGraphicsDropShadowEffect::eventFilter(QObject* watched0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5694,7 +5694,7 @@ void PythonQtShell_QGraphicsDropShadowEffect::sourceChanged(QGraphicsEffect::Cha { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5716,7 +5716,7 @@ void PythonQtShell_QGraphicsDropShadowEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5786,7 +5786,7 @@ QRectF PythonQtShell_QGraphicsEffect::boundingRectFor(const QRectF& sourceRect { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5819,7 +5819,7 @@ void PythonQtShell_QGraphicsEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5841,7 +5841,7 @@ void PythonQtShell_QGraphicsEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5863,7 +5863,7 @@ void PythonQtShell_QGraphicsEffect::draw(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5885,7 +5885,7 @@ bool PythonQtShell_QGraphicsEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5918,7 +5918,7 @@ bool PythonQtShell_QGraphicsEffect::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5951,7 +5951,7 @@ void PythonQtShell_QGraphicsEffect::sourceChanged(QGraphicsEffect::ChangeFlags { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5973,7 +5973,7 @@ void PythonQtShell_QGraphicsEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6068,7 +6068,7 @@ QRectF PythonQtShell_QGraphicsEllipseItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6101,7 +6101,7 @@ bool PythonQtShell_QGraphicsEllipseItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6134,7 +6134,7 @@ QVariant PythonQtShell_QGraphicsEllipseItem::extension(const QVariant& variant { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6167,7 +6167,7 @@ bool PythonQtShell_QGraphicsEllipseItem::isObscuredBy(const QGraphicsItem* ite { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6200,7 +6200,7 @@ QPainterPath PythonQtShell_QGraphicsEllipseItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6233,7 +6233,7 @@ void PythonQtShell_QGraphicsEllipseItem::paint(QPainter* painter0, const QStyle { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6255,7 +6255,7 @@ void PythonQtShell_QGraphicsEllipseItem::setExtension(QGraphicsItem::Extension { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6277,7 +6277,7 @@ QPainterPath PythonQtShell_QGraphicsEllipseItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6310,7 +6310,7 @@ bool PythonQtShell_QGraphicsEllipseItem::supportsExtension(QGraphicsItem::Exten { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6343,7 +6343,7 @@ int PythonQtShell_QGraphicsEllipseItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6469,7 +6469,7 @@ int PythonQtShell_QGraphicsGridLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6502,7 +6502,7 @@ void PythonQtShell_QGraphicsGridLayout::getContentsMargins(qreal* left0, qreal* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6524,7 +6524,7 @@ void PythonQtShell_QGraphicsGridLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6546,7 +6546,7 @@ QGraphicsLayoutItem* PythonQtShell_QGraphicsGridLayout::itemAt(int index0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6579,7 +6579,7 @@ void PythonQtShell_QGraphicsGridLayout::removeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6601,7 +6601,7 @@ void PythonQtShell_QGraphicsGridLayout::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6623,7 +6623,7 @@ QSizeF PythonQtShell_QGraphicsGridLayout::sizeHint(Qt::SizeHint which0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6656,7 +6656,7 @@ void PythonQtShell_QGraphicsGridLayout::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6678,7 +6678,7 @@ void PythonQtShell_QGraphicsGridLayout::widgetEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6915,7 +6915,7 @@ void PythonQtShell_QGraphicsItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6937,7 +6937,7 @@ QRectF PythonQtShell_QGraphicsItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6970,7 +6970,7 @@ bool PythonQtShell_QGraphicsItem::collidesWithItem(const QGraphicsItem* other0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7003,7 +7003,7 @@ bool PythonQtShell_QGraphicsItem::collidesWithPath(const QPainterPath& path0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7036,7 +7036,7 @@ bool PythonQtShell_QGraphicsItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7069,7 +7069,7 @@ void PythonQtShell_QGraphicsItem::contextMenuEvent(QGraphicsSceneContextMenuEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7091,7 +7091,7 @@ void PythonQtShell_QGraphicsItem::dragEnterEvent(QGraphicsSceneDragDropEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7113,7 +7113,7 @@ void PythonQtShell_QGraphicsItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7135,7 +7135,7 @@ void PythonQtShell_QGraphicsItem::dragMoveEvent(QGraphicsSceneDragDropEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7157,7 +7157,7 @@ void PythonQtShell_QGraphicsItem::dropEvent(QGraphicsSceneDragDropEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7179,7 +7179,7 @@ QVariant PythonQtShell_QGraphicsItem::extension(const QVariant& variant0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7212,7 +7212,7 @@ void PythonQtShell_QGraphicsItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7234,7 +7234,7 @@ void PythonQtShell_QGraphicsItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7256,7 +7256,7 @@ void PythonQtShell_QGraphicsItem::hoverEnterEvent(QGraphicsSceneHoverEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7278,7 +7278,7 @@ void PythonQtShell_QGraphicsItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7300,7 +7300,7 @@ void PythonQtShell_QGraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7322,7 +7322,7 @@ void PythonQtShell_QGraphicsItem::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7344,7 +7344,7 @@ QVariant PythonQtShell_QGraphicsItem::inputMethodQuery(Qt::InputMethodQuery qu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7377,7 +7377,7 @@ bool PythonQtShell_QGraphicsItem::isObscuredBy(const QGraphicsItem* item0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7410,7 +7410,7 @@ QVariant PythonQtShell_QGraphicsItem::itemChange(QGraphicsItem::GraphicsItemCha { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7446,7 +7446,7 @@ void PythonQtShell_QGraphicsItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7468,7 +7468,7 @@ void PythonQtShell_QGraphicsItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7490,7 +7490,7 @@ void PythonQtShell_QGraphicsItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7512,7 +7512,7 @@ void PythonQtShell_QGraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7534,7 +7534,7 @@ void PythonQtShell_QGraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7556,7 +7556,7 @@ void PythonQtShell_QGraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7578,7 +7578,7 @@ QPainterPath PythonQtShell_QGraphicsItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7611,7 +7611,7 @@ void PythonQtShell_QGraphicsItem::paint(QPainter* painter0, const QStyleOptionG { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7633,7 +7633,7 @@ bool PythonQtShell_QGraphicsItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7666,7 +7666,7 @@ bool PythonQtShell_QGraphicsItem::sceneEventFilter(QGraphicsItem* watched0, QE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7699,7 +7699,7 @@ void PythonQtShell_QGraphicsItem::setExtension(QGraphicsItem::Extension extensi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7721,7 +7721,7 @@ QPainterPath PythonQtShell_QGraphicsItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7754,7 +7754,7 @@ bool PythonQtShell_QGraphicsItem::supportsExtension(QGraphicsItem::Extension e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7787,7 +7787,7 @@ int PythonQtShell_QGraphicsItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7820,7 +7820,7 @@ void PythonQtShell_QGraphicsItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8894,7 +8894,7 @@ void PythonQtShell_QGraphicsItemAnimation::afterAnimationStep(qreal step0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("afterAnimationStep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8916,7 +8916,7 @@ void PythonQtShell_QGraphicsItemAnimation::beforeAnimationStep(qreal step0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("beforeAnimationStep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8938,7 +8938,7 @@ void PythonQtShell_QGraphicsItemAnimation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8960,7 +8960,7 @@ void PythonQtShell_QGraphicsItemAnimation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8982,7 +8982,7 @@ bool PythonQtShell_QGraphicsItemAnimation::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9015,7 +9015,7 @@ bool PythonQtShell_QGraphicsItemAnimation::eventFilter(QObject* watched0, QEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9048,7 +9048,7 @@ void PythonQtShell_QGraphicsItemAnimation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9223,7 +9223,7 @@ void PythonQtShell_QGraphicsItemGroup::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9245,7 +9245,7 @@ QRectF PythonQtShell_QGraphicsItemGroup::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9278,7 +9278,7 @@ bool PythonQtShell_QGraphicsItemGroup::collidesWithItem(const QGraphicsItem* o { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9311,7 +9311,7 @@ bool PythonQtShell_QGraphicsItemGroup::collidesWithPath(const QPainterPath& pa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9344,7 +9344,7 @@ bool PythonQtShell_QGraphicsItemGroup::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9377,7 +9377,7 @@ void PythonQtShell_QGraphicsItemGroup::contextMenuEvent(QGraphicsSceneContextMen { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9399,7 +9399,7 @@ void PythonQtShell_QGraphicsItemGroup::dragEnterEvent(QGraphicsSceneDragDropEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9421,7 +9421,7 @@ void PythonQtShell_QGraphicsItemGroup::dragLeaveEvent(QGraphicsSceneDragDropEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9443,7 +9443,7 @@ void PythonQtShell_QGraphicsItemGroup::dragMoveEvent(QGraphicsSceneDragDropEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9465,7 +9465,7 @@ void PythonQtShell_QGraphicsItemGroup::dropEvent(QGraphicsSceneDragDropEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9487,7 +9487,7 @@ QVariant PythonQtShell_QGraphicsItemGroup::extension(const QVariant& variant0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9520,7 +9520,7 @@ void PythonQtShell_QGraphicsItemGroup::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9542,7 +9542,7 @@ void PythonQtShell_QGraphicsItemGroup::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9564,7 +9564,7 @@ void PythonQtShell_QGraphicsItemGroup::hoverEnterEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9586,7 +9586,7 @@ void PythonQtShell_QGraphicsItemGroup::hoverLeaveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9608,7 +9608,7 @@ void PythonQtShell_QGraphicsItemGroup::hoverMoveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9630,7 +9630,7 @@ void PythonQtShell_QGraphicsItemGroup::inputMethodEvent(QInputMethodEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9652,7 +9652,7 @@ QVariant PythonQtShell_QGraphicsItemGroup::inputMethodQuery(Qt::InputMethodQuer { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9685,7 +9685,7 @@ bool PythonQtShell_QGraphicsItemGroup::isObscuredBy(const QGraphicsItem* item0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9718,7 +9718,7 @@ QVariant PythonQtShell_QGraphicsItemGroup::itemChange(QGraphicsItem::GraphicsIt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9754,7 +9754,7 @@ void PythonQtShell_QGraphicsItemGroup::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9776,7 +9776,7 @@ void PythonQtShell_QGraphicsItemGroup::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9798,7 +9798,7 @@ void PythonQtShell_QGraphicsItemGroup::mouseDoubleClickEvent(QGraphicsSceneMouse { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9820,7 +9820,7 @@ void PythonQtShell_QGraphicsItemGroup::mouseMoveEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9842,7 +9842,7 @@ void PythonQtShell_QGraphicsItemGroup::mousePressEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9864,7 +9864,7 @@ void PythonQtShell_QGraphicsItemGroup::mouseReleaseEvent(QGraphicsSceneMouseEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9886,7 +9886,7 @@ QPainterPath PythonQtShell_QGraphicsItemGroup::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9919,7 +9919,7 @@ void PythonQtShell_QGraphicsItemGroup::paint(QPainter* painter0, const QStyleOp { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9941,7 +9941,7 @@ bool PythonQtShell_QGraphicsItemGroup::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9974,7 +9974,7 @@ bool PythonQtShell_QGraphicsItemGroup::sceneEventFilter(QGraphicsItem* watched { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10007,7 +10007,7 @@ void PythonQtShell_QGraphicsItemGroup::setExtension(QGraphicsItem::Extension ex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10029,7 +10029,7 @@ QPainterPath PythonQtShell_QGraphicsItemGroup::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10062,7 +10062,7 @@ bool PythonQtShell_QGraphicsItemGroup::supportsExtension(QGraphicsItem::Extensi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10095,7 +10095,7 @@ int PythonQtShell_QGraphicsItemGroup::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10128,7 +10128,7 @@ void PythonQtShell_QGraphicsItemGroup::wheelEvent(QGraphicsSceneWheelEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10170,7 +10170,7 @@ int PythonQtShell_QGraphicsLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10203,7 +10203,7 @@ void PythonQtShell_QGraphicsLayout::getContentsMargins(qreal* left0, qreal* to { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10225,7 +10225,7 @@ void PythonQtShell_QGraphicsLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10247,7 +10247,7 @@ QGraphicsLayoutItem* PythonQtShell_QGraphicsLayout::itemAt(int i0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10280,7 +10280,7 @@ void PythonQtShell_QGraphicsLayout::removeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10302,7 +10302,7 @@ void PythonQtShell_QGraphicsLayout::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10324,7 +10324,7 @@ QSizeF PythonQtShell_QGraphicsLayout::sizeHint(Qt::SizeHint which0, const QSiz { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10357,7 +10357,7 @@ void PythonQtShell_QGraphicsLayout::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10379,7 +10379,7 @@ void PythonQtShell_QGraphicsLayout::widgetEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10466,7 +10466,7 @@ void PythonQtShell_QGraphicsLayoutItem::getContentsMargins(qreal* left0, qreal* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10488,7 +10488,7 @@ void PythonQtShell_QGraphicsLayoutItem::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10510,7 +10510,7 @@ QSizeF PythonQtShell_QGraphicsLayoutItem::sizeHint(Qt::SizeHint which0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10543,7 +10543,7 @@ void PythonQtShell_QGraphicsLayoutItem::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10765,7 +10765,7 @@ void PythonQtShell_QGraphicsLineItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10787,7 +10787,7 @@ QRectF PythonQtShell_QGraphicsLineItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10820,7 +10820,7 @@ bool PythonQtShell_QGraphicsLineItem::collidesWithItem(const QGraphicsItem* ot { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10853,7 +10853,7 @@ bool PythonQtShell_QGraphicsLineItem::collidesWithPath(const QPainterPath& pat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10886,7 +10886,7 @@ bool PythonQtShell_QGraphicsLineItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10919,7 +10919,7 @@ void PythonQtShell_QGraphicsLineItem::contextMenuEvent(QGraphicsSceneContextMenu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10941,7 +10941,7 @@ void PythonQtShell_QGraphicsLineItem::dragEnterEvent(QGraphicsSceneDragDropEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10963,7 +10963,7 @@ void PythonQtShell_QGraphicsLineItem::dragLeaveEvent(QGraphicsSceneDragDropEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10985,7 +10985,7 @@ void PythonQtShell_QGraphicsLineItem::dragMoveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11007,7 +11007,7 @@ void PythonQtShell_QGraphicsLineItem::dropEvent(QGraphicsSceneDragDropEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11029,7 +11029,7 @@ QVariant PythonQtShell_QGraphicsLineItem::extension(const QVariant& variant0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11062,7 +11062,7 @@ void PythonQtShell_QGraphicsLineItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11084,7 +11084,7 @@ void PythonQtShell_QGraphicsLineItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11106,7 +11106,7 @@ void PythonQtShell_QGraphicsLineItem::hoverEnterEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11128,7 +11128,7 @@ void PythonQtShell_QGraphicsLineItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11150,7 +11150,7 @@ void PythonQtShell_QGraphicsLineItem::hoverMoveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11172,7 +11172,7 @@ void PythonQtShell_QGraphicsLineItem::inputMethodEvent(QInputMethodEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11194,7 +11194,7 @@ QVariant PythonQtShell_QGraphicsLineItem::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11227,7 +11227,7 @@ bool PythonQtShell_QGraphicsLineItem::isObscuredBy(const QGraphicsItem* item0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11260,7 +11260,7 @@ QVariant PythonQtShell_QGraphicsLineItem::itemChange(QGraphicsItem::GraphicsIte { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11296,7 +11296,7 @@ void PythonQtShell_QGraphicsLineItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11318,7 +11318,7 @@ void PythonQtShell_QGraphicsLineItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11340,7 +11340,7 @@ void PythonQtShell_QGraphicsLineItem::mouseDoubleClickEvent(QGraphicsSceneMouseE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11362,7 +11362,7 @@ void PythonQtShell_QGraphicsLineItem::mouseMoveEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11384,7 +11384,7 @@ void PythonQtShell_QGraphicsLineItem::mousePressEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11406,7 +11406,7 @@ void PythonQtShell_QGraphicsLineItem::mouseReleaseEvent(QGraphicsSceneMouseEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11428,7 +11428,7 @@ QPainterPath PythonQtShell_QGraphicsLineItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11461,7 +11461,7 @@ void PythonQtShell_QGraphicsLineItem::paint(QPainter* painter0, const QStyleOpt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11483,7 +11483,7 @@ bool PythonQtShell_QGraphicsLineItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11516,7 +11516,7 @@ bool PythonQtShell_QGraphicsLineItem::sceneEventFilter(QGraphicsItem* watched0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11549,7 +11549,7 @@ void PythonQtShell_QGraphicsLineItem::setExtension(QGraphicsItem::Extension ext { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11571,7 +11571,7 @@ QPainterPath PythonQtShell_QGraphicsLineItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11604,7 +11604,7 @@ bool PythonQtShell_QGraphicsLineItem::supportsExtension(QGraphicsItem::Extensio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11637,7 +11637,7 @@ int PythonQtShell_QGraphicsLineItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11670,7 +11670,7 @@ void PythonQtShell_QGraphicsLineItem::wheelEvent(QGraphicsSceneWheelEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11735,7 +11735,7 @@ int PythonQtShell_QGraphicsLinearLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11768,7 +11768,7 @@ void PythonQtShell_QGraphicsLinearLayout::getContentsMargins(qreal* left0, qrea { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11790,7 +11790,7 @@ void PythonQtShell_QGraphicsLinearLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11812,7 +11812,7 @@ QGraphicsLayoutItem* PythonQtShell_QGraphicsLinearLayout::itemAt(int index0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11845,7 +11845,7 @@ void PythonQtShell_QGraphicsLinearLayout::removeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11867,7 +11867,7 @@ void PythonQtShell_QGraphicsLinearLayout::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11889,7 +11889,7 @@ QSizeF PythonQtShell_QGraphicsLinearLayout::sizeHint(Qt::SizeHint which0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11922,7 +11922,7 @@ void PythonQtShell_QGraphicsLinearLayout::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11944,7 +11944,7 @@ void PythonQtShell_QGraphicsLinearLayout::widgetEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12070,7 +12070,7 @@ void PythonQtShell_QGraphicsObject::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12092,7 +12092,7 @@ QRectF PythonQtShell_QGraphicsObject::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12125,7 +12125,7 @@ void PythonQtShell_QGraphicsObject::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12147,7 +12147,7 @@ bool PythonQtShell_QGraphicsObject::collidesWithItem(const QGraphicsItem* othe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12180,7 +12180,7 @@ bool PythonQtShell_QGraphicsObject::collidesWithPath(const QPainterPath& path0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12213,7 +12213,7 @@ bool PythonQtShell_QGraphicsObject::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12246,7 +12246,7 @@ void PythonQtShell_QGraphicsObject::contextMenuEvent(QGraphicsSceneContextMenuEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12268,7 +12268,7 @@ void PythonQtShell_QGraphicsObject::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12290,7 +12290,7 @@ void PythonQtShell_QGraphicsObject::dragEnterEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12312,7 +12312,7 @@ void PythonQtShell_QGraphicsObject::dragLeaveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12334,7 +12334,7 @@ void PythonQtShell_QGraphicsObject::dragMoveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12356,7 +12356,7 @@ void PythonQtShell_QGraphicsObject::dropEvent(QGraphicsSceneDragDropEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12378,7 +12378,7 @@ bool PythonQtShell_QGraphicsObject::event(QEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12411,7 +12411,7 @@ bool PythonQtShell_QGraphicsObject::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12444,7 +12444,7 @@ QVariant PythonQtShell_QGraphicsObject::extension(const QVariant& variant0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12477,7 +12477,7 @@ void PythonQtShell_QGraphicsObject::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12499,7 +12499,7 @@ void PythonQtShell_QGraphicsObject::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12521,7 +12521,7 @@ void PythonQtShell_QGraphicsObject::hoverEnterEvent(QGraphicsSceneHoverEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12543,7 +12543,7 @@ void PythonQtShell_QGraphicsObject::hoverLeaveEvent(QGraphicsSceneHoverEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12565,7 +12565,7 @@ void PythonQtShell_QGraphicsObject::hoverMoveEvent(QGraphicsSceneHoverEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12587,7 +12587,7 @@ void PythonQtShell_QGraphicsObject::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12609,7 +12609,7 @@ QVariant PythonQtShell_QGraphicsObject::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12642,7 +12642,7 @@ bool PythonQtShell_QGraphicsObject::isObscuredBy(const QGraphicsItem* item0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12675,7 +12675,7 @@ QVariant PythonQtShell_QGraphicsObject::itemChange(QGraphicsItem::GraphicsItemC { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12711,7 +12711,7 @@ void PythonQtShell_QGraphicsObject::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12733,7 +12733,7 @@ void PythonQtShell_QGraphicsObject::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12755,7 +12755,7 @@ void PythonQtShell_QGraphicsObject::mouseDoubleClickEvent(QGraphicsSceneMouseEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12777,7 +12777,7 @@ void PythonQtShell_QGraphicsObject::mouseMoveEvent(QGraphicsSceneMouseEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12799,7 +12799,7 @@ void PythonQtShell_QGraphicsObject::mousePressEvent(QGraphicsSceneMouseEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12821,7 +12821,7 @@ void PythonQtShell_QGraphicsObject::mouseReleaseEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12843,7 +12843,7 @@ QPainterPath PythonQtShell_QGraphicsObject::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12876,7 +12876,7 @@ void PythonQtShell_QGraphicsObject::paint(QPainter* painter0, const QStyleOptio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12898,7 +12898,7 @@ bool PythonQtShell_QGraphicsObject::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12931,7 +12931,7 @@ bool PythonQtShell_QGraphicsObject::sceneEventFilter(QGraphicsItem* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12964,7 +12964,7 @@ void PythonQtShell_QGraphicsObject::setExtension(QGraphicsItem::Extension exten { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12986,7 +12986,7 @@ QPainterPath PythonQtShell_QGraphicsObject::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13019,7 +13019,7 @@ bool PythonQtShell_QGraphicsObject::supportsExtension(QGraphicsItem::Extension { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13052,7 +13052,7 @@ void PythonQtShell_QGraphicsObject::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13074,7 +13074,7 @@ int PythonQtShell_QGraphicsObject::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13107,7 +13107,7 @@ void PythonQtShell_QGraphicsObject::wheelEvent(QGraphicsSceneWheelEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13169,7 +13169,7 @@ QRectF PythonQtShell_QGraphicsOpacityEffect::boundingRectFor(const QRectF& sou { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13202,7 +13202,7 @@ void PythonQtShell_QGraphicsOpacityEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13224,7 +13224,7 @@ void PythonQtShell_QGraphicsOpacityEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13246,7 +13246,7 @@ void PythonQtShell_QGraphicsOpacityEffect::draw(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13268,7 +13268,7 @@ bool PythonQtShell_QGraphicsOpacityEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13301,7 +13301,7 @@ bool PythonQtShell_QGraphicsOpacityEffect::eventFilter(QObject* watched0, QEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13334,7 +13334,7 @@ void PythonQtShell_QGraphicsOpacityEffect::sourceChanged(QGraphicsEffect::Change { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13356,7 +13356,7 @@ void PythonQtShell_QGraphicsOpacityEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13411,7 +13411,7 @@ QRectF PythonQtShell_QGraphicsPathItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13444,7 +13444,7 @@ bool PythonQtShell_QGraphicsPathItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13477,7 +13477,7 @@ QVariant PythonQtShell_QGraphicsPathItem::extension(const QVariant& variant0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13510,7 +13510,7 @@ bool PythonQtShell_QGraphicsPathItem::isObscuredBy(const QGraphicsItem* item0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13543,7 +13543,7 @@ QPainterPath PythonQtShell_QGraphicsPathItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13576,7 +13576,7 @@ void PythonQtShell_QGraphicsPathItem::paint(QPainter* painter0, const QStyleOpt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13598,7 +13598,7 @@ void PythonQtShell_QGraphicsPathItem::setExtension(QGraphicsItem::Extension ext { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13620,7 +13620,7 @@ QPainterPath PythonQtShell_QGraphicsPathItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13653,7 +13653,7 @@ bool PythonQtShell_QGraphicsPathItem::supportsExtension(QGraphicsItem::Extensio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13686,7 +13686,7 @@ int PythonQtShell_QGraphicsPathItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp index d54d227dd..0060a648c 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp @@ -88,7 +88,7 @@ void PythonQtShell_QGraphicsPixmapItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -110,7 +110,7 @@ QRectF PythonQtShell_QGraphicsPixmapItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -143,7 +143,7 @@ bool PythonQtShell_QGraphicsPixmapItem::collidesWithItem(const QGraphicsItem* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -176,7 +176,7 @@ bool PythonQtShell_QGraphicsPixmapItem::collidesWithPath(const QPainterPath& p { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -209,7 +209,7 @@ bool PythonQtShell_QGraphicsPixmapItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -242,7 +242,7 @@ void PythonQtShell_QGraphicsPixmapItem::contextMenuEvent(QGraphicsSceneContextMe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -264,7 +264,7 @@ void PythonQtShell_QGraphicsPixmapItem::dragEnterEvent(QGraphicsSceneDragDropEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -286,7 +286,7 @@ void PythonQtShell_QGraphicsPixmapItem::dragLeaveEvent(QGraphicsSceneDragDropEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -308,7 +308,7 @@ void PythonQtShell_QGraphicsPixmapItem::dragMoveEvent(QGraphicsSceneDragDropEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -330,7 +330,7 @@ void PythonQtShell_QGraphicsPixmapItem::dropEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -352,7 +352,7 @@ QVariant PythonQtShell_QGraphicsPixmapItem::extension(const QVariant& variant0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -385,7 +385,7 @@ void PythonQtShell_QGraphicsPixmapItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -407,7 +407,7 @@ void PythonQtShell_QGraphicsPixmapItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -429,7 +429,7 @@ void PythonQtShell_QGraphicsPixmapItem::hoverEnterEvent(QGraphicsSceneHoverEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -451,7 +451,7 @@ void PythonQtShell_QGraphicsPixmapItem::hoverLeaveEvent(QGraphicsSceneHoverEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -473,7 +473,7 @@ void PythonQtShell_QGraphicsPixmapItem::hoverMoveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -495,7 +495,7 @@ void PythonQtShell_QGraphicsPixmapItem::inputMethodEvent(QInputMethodEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -517,7 +517,7 @@ QVariant PythonQtShell_QGraphicsPixmapItem::inputMethodQuery(Qt::InputMethodQue { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -550,7 +550,7 @@ bool PythonQtShell_QGraphicsPixmapItem::isObscuredBy(const QGraphicsItem* item { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -583,7 +583,7 @@ QVariant PythonQtShell_QGraphicsPixmapItem::itemChange(QGraphicsItem::GraphicsI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -619,7 +619,7 @@ void PythonQtShell_QGraphicsPixmapItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -641,7 +641,7 @@ void PythonQtShell_QGraphicsPixmapItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -663,7 +663,7 @@ void PythonQtShell_QGraphicsPixmapItem::mouseDoubleClickEvent(QGraphicsSceneMous { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -685,7 +685,7 @@ void PythonQtShell_QGraphicsPixmapItem::mouseMoveEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -707,7 +707,7 @@ void PythonQtShell_QGraphicsPixmapItem::mousePressEvent(QGraphicsSceneMouseEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -729,7 +729,7 @@ void PythonQtShell_QGraphicsPixmapItem::mouseReleaseEvent(QGraphicsSceneMouseEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -751,7 +751,7 @@ QPainterPath PythonQtShell_QGraphicsPixmapItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -784,7 +784,7 @@ void PythonQtShell_QGraphicsPixmapItem::paint(QPainter* painter0, const QStyleO { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -806,7 +806,7 @@ bool PythonQtShell_QGraphicsPixmapItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -839,7 +839,7 @@ bool PythonQtShell_QGraphicsPixmapItem::sceneEventFilter(QGraphicsItem* watche { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -872,7 +872,7 @@ void PythonQtShell_QGraphicsPixmapItem::setExtension(QGraphicsItem::Extension e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -894,7 +894,7 @@ QPainterPath PythonQtShell_QGraphicsPixmapItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -927,7 +927,7 @@ bool PythonQtShell_QGraphicsPixmapItem::supportsExtension(QGraphicsItem::Extens { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -960,7 +960,7 @@ int PythonQtShell_QGraphicsPixmapItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -993,7 +993,7 @@ void PythonQtShell_QGraphicsPixmapItem::wheelEvent(QGraphicsSceneWheelEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1074,7 +1074,7 @@ QRectF PythonQtShell_QGraphicsPolygonItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1107,7 +1107,7 @@ bool PythonQtShell_QGraphicsPolygonItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1140,7 +1140,7 @@ QVariant PythonQtShell_QGraphicsPolygonItem::extension(const QVariant& variant { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1173,7 +1173,7 @@ bool PythonQtShell_QGraphicsPolygonItem::isObscuredBy(const QGraphicsItem* ite { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1206,7 +1206,7 @@ QPainterPath PythonQtShell_QGraphicsPolygonItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1239,7 +1239,7 @@ void PythonQtShell_QGraphicsPolygonItem::paint(QPainter* painter0, const QStyle { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1261,7 +1261,7 @@ void PythonQtShell_QGraphicsPolygonItem::setExtension(QGraphicsItem::Extension { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1283,7 +1283,7 @@ QPainterPath PythonQtShell_QGraphicsPolygonItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1316,7 +1316,7 @@ bool PythonQtShell_QGraphicsPolygonItem::supportsExtension(QGraphicsItem::Exten { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1349,7 +1349,7 @@ int PythonQtShell_QGraphicsPolygonItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1456,7 +1456,7 @@ QRectF PythonQtShell_QGraphicsProxyWidget::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1489,7 +1489,7 @@ void PythonQtShell_QGraphicsProxyWidget::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1511,7 +1511,7 @@ void PythonQtShell_QGraphicsProxyWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1533,7 +1533,7 @@ void PythonQtShell_QGraphicsProxyWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1555,7 +1555,7 @@ void PythonQtShell_QGraphicsProxyWidget::contextMenuEvent(QGraphicsSceneContextM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1577,7 +1577,7 @@ void PythonQtShell_QGraphicsProxyWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1599,7 +1599,7 @@ void PythonQtShell_QGraphicsProxyWidget::dragEnterEvent(QGraphicsSceneDragDropEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1621,7 +1621,7 @@ void PythonQtShell_QGraphicsProxyWidget::dragLeaveEvent(QGraphicsSceneDragDropEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1643,7 +1643,7 @@ void PythonQtShell_QGraphicsProxyWidget::dragMoveEvent(QGraphicsSceneDragDropEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1665,7 +1665,7 @@ void PythonQtShell_QGraphicsProxyWidget::dropEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1687,7 +1687,7 @@ bool PythonQtShell_QGraphicsProxyWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1720,7 +1720,7 @@ bool PythonQtShell_QGraphicsProxyWidget::eventFilter(QObject* object0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1753,7 +1753,7 @@ void PythonQtShell_QGraphicsProxyWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1775,7 +1775,7 @@ bool PythonQtShell_QGraphicsProxyWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1808,7 +1808,7 @@ void PythonQtShell_QGraphicsProxyWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1830,7 +1830,7 @@ void PythonQtShell_QGraphicsProxyWidget::getContentsMargins(qreal* left0, qreal { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1852,7 +1852,7 @@ void PythonQtShell_QGraphicsProxyWidget::grabKeyboardEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("grabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1874,7 +1874,7 @@ void PythonQtShell_QGraphicsProxyWidget::grabMouseEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("grabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1896,7 +1896,7 @@ void PythonQtShell_QGraphicsProxyWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1918,7 +1918,7 @@ void PythonQtShell_QGraphicsProxyWidget::hoverEnterEvent(QGraphicsSceneHoverEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1940,7 +1940,7 @@ void PythonQtShell_QGraphicsProxyWidget::hoverLeaveEvent(QGraphicsSceneHoverEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1962,7 +1962,7 @@ void PythonQtShell_QGraphicsProxyWidget::hoverMoveEvent(QGraphicsSceneHoverEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1984,7 +1984,7 @@ void PythonQtShell_QGraphicsProxyWidget::initStyleOption(QStyleOption* option0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2006,7 +2006,7 @@ void PythonQtShell_QGraphicsProxyWidget::inputMethodEvent(QInputMethodEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2028,7 +2028,7 @@ QVariant PythonQtShell_QGraphicsProxyWidget::inputMethodQuery(Qt::InputMethodQu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2061,7 +2061,7 @@ QVariant PythonQtShell_QGraphicsProxyWidget::itemChange(QGraphicsItem::Graphics { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2097,7 +2097,7 @@ void PythonQtShell_QGraphicsProxyWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2119,7 +2119,7 @@ void PythonQtShell_QGraphicsProxyWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2141,7 +2141,7 @@ void PythonQtShell_QGraphicsProxyWidget::mouseDoubleClickEvent(QGraphicsSceneMou { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2163,7 +2163,7 @@ void PythonQtShell_QGraphicsProxyWidget::mouseMoveEvent(QGraphicsSceneMouseEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2185,7 +2185,7 @@ void PythonQtShell_QGraphicsProxyWidget::mousePressEvent(QGraphicsSceneMouseEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2207,7 +2207,7 @@ void PythonQtShell_QGraphicsProxyWidget::mouseReleaseEvent(QGraphicsSceneMouseEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2229,7 +2229,7 @@ void PythonQtShell_QGraphicsProxyWidget::moveEvent(QGraphicsSceneMoveEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2251,7 +2251,7 @@ void PythonQtShell_QGraphicsProxyWidget::paint(QPainter* painter0, const QStyle { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2273,7 +2273,7 @@ void PythonQtShell_QGraphicsProxyWidget::paintWindowFrame(QPainter* painter0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintWindowFrame"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2295,7 +2295,7 @@ void PythonQtShell_QGraphicsProxyWidget::polishEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polishEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2317,7 +2317,7 @@ QVariant PythonQtShell_QGraphicsProxyWidget::propertyChange(const QString& pro { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("propertyChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2350,7 +2350,7 @@ void PythonQtShell_QGraphicsProxyWidget::resizeEvent(QGraphicsSceneResizeEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2372,7 +2372,7 @@ bool PythonQtShell_QGraphicsProxyWidget::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2405,7 +2405,7 @@ void PythonQtShell_QGraphicsProxyWidget::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2427,7 +2427,7 @@ QPainterPath PythonQtShell_QGraphicsProxyWidget::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2460,7 +2460,7 @@ void PythonQtShell_QGraphicsProxyWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2482,7 +2482,7 @@ QSizeF PythonQtShell_QGraphicsProxyWidget::sizeHint(Qt::SizeHint which0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2515,7 +2515,7 @@ void PythonQtShell_QGraphicsProxyWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2537,7 +2537,7 @@ int PythonQtShell_QGraphicsProxyWidget::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2570,7 +2570,7 @@ void PythonQtShell_QGraphicsProxyWidget::ungrabKeyboardEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2592,7 +2592,7 @@ void PythonQtShell_QGraphicsProxyWidget::ungrabMouseEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ungrabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2614,7 +2614,7 @@ void PythonQtShell_QGraphicsProxyWidget::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2636,7 +2636,7 @@ void PythonQtShell_QGraphicsProxyWidget::wheelEvent(QGraphicsSceneWheelEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2658,7 +2658,7 @@ bool PythonQtShell_QGraphicsProxyWidget::windowFrameEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowFrameEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2691,7 +2691,7 @@ Qt::WindowFrameSection PythonQtShell_QGraphicsProxyWidget::windowFrameSectionAt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowFrameSectionAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2842,7 +2842,7 @@ QRectF PythonQtShell_QGraphicsRectItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2875,7 +2875,7 @@ bool PythonQtShell_QGraphicsRectItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2908,7 +2908,7 @@ QVariant PythonQtShell_QGraphicsRectItem::extension(const QVariant& variant0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2941,7 +2941,7 @@ bool PythonQtShell_QGraphicsRectItem::isObscuredBy(const QGraphicsItem* item0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2974,7 +2974,7 @@ QPainterPath PythonQtShell_QGraphicsRectItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3007,7 +3007,7 @@ void PythonQtShell_QGraphicsRectItem::paint(QPainter* painter0, const QStyleOpt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3029,7 +3029,7 @@ void PythonQtShell_QGraphicsRectItem::setExtension(QGraphicsItem::Extension ext { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3051,7 +3051,7 @@ QPainterPath PythonQtShell_QGraphicsRectItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3084,7 +3084,7 @@ bool PythonQtShell_QGraphicsRectItem::supportsExtension(QGraphicsItem::Extensio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3117,7 +3117,7 @@ int PythonQtShell_QGraphicsRectItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3223,7 +3223,7 @@ void PythonQtShell_QGraphicsRotation::applyTo(QMatrix4x4* matrix0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3245,7 +3245,7 @@ void PythonQtShell_QGraphicsRotation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3267,7 +3267,7 @@ void PythonQtShell_QGraphicsRotation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3289,7 +3289,7 @@ bool PythonQtShell_QGraphicsRotation::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3322,7 +3322,7 @@ bool PythonQtShell_QGraphicsRotation::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3355,7 +3355,7 @@ void PythonQtShell_QGraphicsRotation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3435,7 +3435,7 @@ void PythonQtShell_QGraphicsScale::applyTo(QMatrix4x4* matrix0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3457,7 +3457,7 @@ void PythonQtShell_QGraphicsScale::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3479,7 +3479,7 @@ void PythonQtShell_QGraphicsScale::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3501,7 +3501,7 @@ bool PythonQtShell_QGraphicsScale::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3534,7 +3534,7 @@ bool PythonQtShell_QGraphicsScale::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3567,7 +3567,7 @@ void PythonQtShell_QGraphicsScale::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3652,7 +3652,7 @@ void PythonQtShell_QGraphicsScene::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3674,7 +3674,7 @@ void PythonQtShell_QGraphicsScene::contextMenuEvent(QGraphicsSceneContextMenuEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3696,7 +3696,7 @@ void PythonQtShell_QGraphicsScene::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3718,7 +3718,7 @@ void PythonQtShell_QGraphicsScene::dragEnterEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3740,7 +3740,7 @@ void PythonQtShell_QGraphicsScene::dragLeaveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3762,7 +3762,7 @@ void PythonQtShell_QGraphicsScene::dragMoveEvent(QGraphicsSceneDragDropEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3784,7 +3784,7 @@ void PythonQtShell_QGraphicsScene::drawBackground(QPainter* painter0, const QRe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawBackground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3806,7 +3806,7 @@ void PythonQtShell_QGraphicsScene::drawForeground(QPainter* painter0, const QRe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawForeground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3828,7 +3828,7 @@ void PythonQtShell_QGraphicsScene::drawItems(QPainter* painter0, int numItems1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawItems"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3850,7 +3850,7 @@ void PythonQtShell_QGraphicsScene::dropEvent(QGraphicsSceneDragDropEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3872,7 +3872,7 @@ bool PythonQtShell_QGraphicsScene::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3905,7 +3905,7 @@ bool PythonQtShell_QGraphicsScene::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3938,7 +3938,7 @@ void PythonQtShell_QGraphicsScene::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3960,7 +3960,7 @@ void PythonQtShell_QGraphicsScene::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3982,7 +3982,7 @@ void PythonQtShell_QGraphicsScene::helpEvent(QGraphicsSceneHelpEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4004,7 +4004,7 @@ void PythonQtShell_QGraphicsScene::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4026,7 +4026,7 @@ QVariant PythonQtShell_QGraphicsScene::inputMethodQuery(Qt::InputMethodQuery q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4059,7 +4059,7 @@ void PythonQtShell_QGraphicsScene::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4081,7 +4081,7 @@ void PythonQtShell_QGraphicsScene::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4103,7 +4103,7 @@ void PythonQtShell_QGraphicsScene::mouseDoubleClickEvent(QGraphicsSceneMouseEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4125,7 +4125,7 @@ void PythonQtShell_QGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4147,7 +4147,7 @@ void PythonQtShell_QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4169,7 +4169,7 @@ void PythonQtShell_QGraphicsScene::mouseReleaseEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4191,7 +4191,7 @@ void PythonQtShell_QGraphicsScene::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4213,7 +4213,7 @@ void PythonQtShell_QGraphicsScene::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5270,7 +5270,7 @@ QRectF PythonQtShell_QGraphicsSimpleTextItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5303,7 +5303,7 @@ bool PythonQtShell_QGraphicsSimpleTextItem::contains(const QPointF& point0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5336,7 +5336,7 @@ QVariant PythonQtShell_QGraphicsSimpleTextItem::extension(const QVariant& vari { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5369,7 +5369,7 @@ bool PythonQtShell_QGraphicsSimpleTextItem::isObscuredBy(const QGraphicsItem* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5402,7 +5402,7 @@ QPainterPath PythonQtShell_QGraphicsSimpleTextItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5435,7 +5435,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::paint(QPainter* painter0, const QSt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5457,7 +5457,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::setExtension(QGraphicsItem::Extensio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5479,7 +5479,7 @@ QPainterPath PythonQtShell_QGraphicsSimpleTextItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5512,7 +5512,7 @@ bool PythonQtShell_QGraphicsSimpleTextItem::supportsExtension(QGraphicsItem::Ex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5545,7 +5545,7 @@ int PythonQtShell_QGraphicsSimpleTextItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5652,7 +5652,7 @@ QRectF PythonQtShell_QGraphicsTextItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5685,7 +5685,7 @@ void PythonQtShell_QGraphicsTextItem::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5707,7 +5707,7 @@ bool PythonQtShell_QGraphicsTextItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5740,7 +5740,7 @@ void PythonQtShell_QGraphicsTextItem::contextMenuEvent(QGraphicsSceneContextMenu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5762,7 +5762,7 @@ void PythonQtShell_QGraphicsTextItem::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5784,7 +5784,7 @@ void PythonQtShell_QGraphicsTextItem::dragEnterEvent(QGraphicsSceneDragDropEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5806,7 +5806,7 @@ void PythonQtShell_QGraphicsTextItem::dragLeaveEvent(QGraphicsSceneDragDropEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5828,7 +5828,7 @@ void PythonQtShell_QGraphicsTextItem::dragMoveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5850,7 +5850,7 @@ void PythonQtShell_QGraphicsTextItem::dropEvent(QGraphicsSceneDragDropEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5872,7 +5872,7 @@ bool PythonQtShell_QGraphicsTextItem::event(QEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5905,7 +5905,7 @@ bool PythonQtShell_QGraphicsTextItem::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5938,7 +5938,7 @@ QVariant PythonQtShell_QGraphicsTextItem::extension(const QVariant& variant0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5971,7 +5971,7 @@ void PythonQtShell_QGraphicsTextItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5993,7 +5993,7 @@ void PythonQtShell_QGraphicsTextItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6015,7 +6015,7 @@ void PythonQtShell_QGraphicsTextItem::hoverEnterEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6037,7 +6037,7 @@ void PythonQtShell_QGraphicsTextItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6059,7 +6059,7 @@ void PythonQtShell_QGraphicsTextItem::hoverMoveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6081,7 +6081,7 @@ void PythonQtShell_QGraphicsTextItem::inputMethodEvent(QInputMethodEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6103,7 +6103,7 @@ QVariant PythonQtShell_QGraphicsTextItem::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6136,7 +6136,7 @@ bool PythonQtShell_QGraphicsTextItem::isObscuredBy(const QGraphicsItem* item0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6169,7 +6169,7 @@ void PythonQtShell_QGraphicsTextItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6191,7 +6191,7 @@ void PythonQtShell_QGraphicsTextItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6213,7 +6213,7 @@ void PythonQtShell_QGraphicsTextItem::mouseDoubleClickEvent(QGraphicsSceneMouseE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6235,7 +6235,7 @@ void PythonQtShell_QGraphicsTextItem::mouseMoveEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6257,7 +6257,7 @@ void PythonQtShell_QGraphicsTextItem::mousePressEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6279,7 +6279,7 @@ void PythonQtShell_QGraphicsTextItem::mouseReleaseEvent(QGraphicsSceneMouseEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6301,7 +6301,7 @@ QPainterPath PythonQtShell_QGraphicsTextItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6334,7 +6334,7 @@ void PythonQtShell_QGraphicsTextItem::paint(QPainter* painter0, const QStyleOpt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6356,7 +6356,7 @@ bool PythonQtShell_QGraphicsTextItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6389,7 +6389,7 @@ void PythonQtShell_QGraphicsTextItem::setExtension(QGraphicsItem::Extension ext { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6411,7 +6411,7 @@ QPainterPath PythonQtShell_QGraphicsTextItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6444,7 +6444,7 @@ bool PythonQtShell_QGraphicsTextItem::supportsExtension(QGraphicsItem::Extensio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6477,7 +6477,7 @@ void PythonQtShell_QGraphicsTextItem::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6499,7 +6499,7 @@ int PythonQtShell_QGraphicsTextItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6809,7 +6809,7 @@ void PythonQtShell_QGraphicsTransform::applyTo(QMatrix4x4* matrix0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6831,7 +6831,7 @@ void PythonQtShell_QGraphicsTransform::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6853,7 +6853,7 @@ void PythonQtShell_QGraphicsTransform::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6875,7 +6875,7 @@ bool PythonQtShell_QGraphicsTransform::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6908,7 +6908,7 @@ bool PythonQtShell_QGraphicsTransform::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6941,7 +6941,7 @@ void PythonQtShell_QGraphicsTransform::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6991,7 +6991,7 @@ void PythonQtShell_QGraphicsView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7013,7 +7013,7 @@ void PythonQtShell_QGraphicsView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7035,7 +7035,7 @@ void PythonQtShell_QGraphicsView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7057,7 +7057,7 @@ void PythonQtShell_QGraphicsView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7079,7 +7079,7 @@ void PythonQtShell_QGraphicsView::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7101,7 +7101,7 @@ void PythonQtShell_QGraphicsView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7123,7 +7123,7 @@ int PythonQtShell_QGraphicsView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7156,7 +7156,7 @@ void PythonQtShell_QGraphicsView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7178,7 +7178,7 @@ void PythonQtShell_QGraphicsView::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7200,7 +7200,7 @@ void PythonQtShell_QGraphicsView::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7222,7 +7222,7 @@ void PythonQtShell_QGraphicsView::drawBackground(QPainter* painter0, const QRec { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawBackground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7244,7 +7244,7 @@ void PythonQtShell_QGraphicsView::drawForeground(QPainter* painter0, const QRec { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawForeground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7266,7 +7266,7 @@ void PythonQtShell_QGraphicsView::drawItems(QPainter* painter0, int numItems1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawItems"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7288,7 +7288,7 @@ void PythonQtShell_QGraphicsView::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7310,7 +7310,7 @@ void PythonQtShell_QGraphicsView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7332,7 +7332,7 @@ bool PythonQtShell_QGraphicsView::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7365,7 +7365,7 @@ bool PythonQtShell_QGraphicsView::eventFilter(QObject* arg__1, QEvent* arg__2 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7398,7 +7398,7 @@ void PythonQtShell_QGraphicsView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7420,7 +7420,7 @@ bool PythonQtShell_QGraphicsView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7453,7 +7453,7 @@ void PythonQtShell_QGraphicsView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7475,7 +7475,7 @@ bool PythonQtShell_QGraphicsView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7508,7 +7508,7 @@ int PythonQtShell_QGraphicsView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7541,7 +7541,7 @@ void PythonQtShell_QGraphicsView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7563,7 +7563,7 @@ void PythonQtShell_QGraphicsView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7585,7 +7585,7 @@ void PythonQtShell_QGraphicsView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7607,7 +7607,7 @@ QVariant PythonQtShell_QGraphicsView::inputMethodQuery(Qt::InputMethodQuery qu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7640,7 +7640,7 @@ void PythonQtShell_QGraphicsView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7662,7 +7662,7 @@ void PythonQtShell_QGraphicsView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7684,7 +7684,7 @@ void PythonQtShell_QGraphicsView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7706,7 +7706,7 @@ int PythonQtShell_QGraphicsView::metric(QPaintDevice::PaintDeviceMetric arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7739,7 +7739,7 @@ QSize PythonQtShell_QGraphicsView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7772,7 +7772,7 @@ void PythonQtShell_QGraphicsView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7794,7 +7794,7 @@ void PythonQtShell_QGraphicsView::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7816,7 +7816,7 @@ void PythonQtShell_QGraphicsView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7838,7 +7838,7 @@ void PythonQtShell_QGraphicsView::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7860,7 +7860,7 @@ void PythonQtShell_QGraphicsView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7882,7 +7882,7 @@ bool PythonQtShell_QGraphicsView::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7915,7 +7915,7 @@ QPaintEngine* PythonQtShell_QGraphicsView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7948,7 +7948,7 @@ void PythonQtShell_QGraphicsView::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7970,7 +7970,7 @@ QPaintDevice* PythonQtShell_QGraphicsView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8003,7 +8003,7 @@ void PythonQtShell_QGraphicsView::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8025,7 +8025,7 @@ void PythonQtShell_QGraphicsView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8047,7 +8047,7 @@ void PythonQtShell_QGraphicsView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8069,7 +8069,7 @@ void PythonQtShell_QGraphicsView::setupViewport(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8091,7 +8091,7 @@ QPainter* PythonQtShell_QGraphicsView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8124,7 +8124,7 @@ void PythonQtShell_QGraphicsView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8146,7 +8146,7 @@ QSize PythonQtShell_QGraphicsView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8179,7 +8179,7 @@ void PythonQtShell_QGraphicsView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8201,7 +8201,7 @@ void PythonQtShell_QGraphicsView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8223,7 +8223,7 @@ bool PythonQtShell_QGraphicsView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8256,7 +8256,7 @@ QSize PythonQtShell_QGraphicsView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8289,7 +8289,7 @@ void PythonQtShell_QGraphicsView::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8733,7 +8733,7 @@ QRectF PythonQtShell_QGraphicsWidget::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8766,7 +8766,7 @@ void PythonQtShell_QGraphicsWidget::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8788,7 +8788,7 @@ void PythonQtShell_QGraphicsWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8810,7 +8810,7 @@ void PythonQtShell_QGraphicsWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8832,7 +8832,7 @@ void PythonQtShell_QGraphicsWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8854,7 +8854,7 @@ bool PythonQtShell_QGraphicsWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8887,7 +8887,7 @@ bool PythonQtShell_QGraphicsWidget::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8920,7 +8920,7 @@ void PythonQtShell_QGraphicsWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8942,7 +8942,7 @@ bool PythonQtShell_QGraphicsWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8975,7 +8975,7 @@ void PythonQtShell_QGraphicsWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8997,7 +8997,7 @@ void PythonQtShell_QGraphicsWidget::getContentsMargins(qreal* left0, qreal* to { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9019,7 +9019,7 @@ void PythonQtShell_QGraphicsWidget::grabKeyboardEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("grabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9041,7 +9041,7 @@ void PythonQtShell_QGraphicsWidget::grabMouseEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("grabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9063,7 +9063,7 @@ void PythonQtShell_QGraphicsWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9085,7 +9085,7 @@ void PythonQtShell_QGraphicsWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9107,7 +9107,7 @@ void PythonQtShell_QGraphicsWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9129,7 +9129,7 @@ void PythonQtShell_QGraphicsWidget::initStyleOption(QStyleOption* option0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9151,7 +9151,7 @@ QVariant PythonQtShell_QGraphicsWidget::itemChange(QGraphicsItem::GraphicsItemC { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9187,7 +9187,7 @@ void PythonQtShell_QGraphicsWidget::moveEvent(QGraphicsSceneMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9209,7 +9209,7 @@ void PythonQtShell_QGraphicsWidget::paint(QPainter* painter0, const QStyleOptio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9231,7 +9231,7 @@ void PythonQtShell_QGraphicsWidget::paintWindowFrame(QPainter* painter0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintWindowFrame"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9253,7 +9253,7 @@ void PythonQtShell_QGraphicsWidget::polishEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polishEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9275,7 +9275,7 @@ QVariant PythonQtShell_QGraphicsWidget::propertyChange(const QString& property { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("propertyChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9308,7 +9308,7 @@ void PythonQtShell_QGraphicsWidget::resizeEvent(QGraphicsSceneResizeEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9330,7 +9330,7 @@ bool PythonQtShell_QGraphicsWidget::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9363,7 +9363,7 @@ void PythonQtShell_QGraphicsWidget::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9385,7 +9385,7 @@ QPainterPath PythonQtShell_QGraphicsWidget::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9418,7 +9418,7 @@ void PythonQtShell_QGraphicsWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9440,7 +9440,7 @@ QSizeF PythonQtShell_QGraphicsWidget::sizeHint(Qt::SizeHint which0, const QSiz { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9473,7 +9473,7 @@ void PythonQtShell_QGraphicsWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9495,7 +9495,7 @@ int PythonQtShell_QGraphicsWidget::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9528,7 +9528,7 @@ void PythonQtShell_QGraphicsWidget::ungrabKeyboardEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9550,7 +9550,7 @@ void PythonQtShell_QGraphicsWidget::ungrabMouseEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ungrabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9572,7 +9572,7 @@ void PythonQtShell_QGraphicsWidget::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9594,7 +9594,7 @@ bool PythonQtShell_QGraphicsWidget::windowFrameEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowFrameEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9627,7 +9627,7 @@ Qt::WindowFrameSection PythonQtShell_QGraphicsWidget::windowFrameSectionAt(cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowFrameSectionAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10053,7 +10053,7 @@ void PythonQtShell_QGridLayout::addItem(QLayoutItem* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10075,7 +10075,7 @@ void PythonQtShell_QGridLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10097,7 +10097,7 @@ QSizePolicy::ControlTypes PythonQtShell_QGridLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10130,7 +10130,7 @@ int PythonQtShell_QGridLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10163,7 +10163,7 @@ void PythonQtShell_QGridLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10185,7 +10185,7 @@ bool PythonQtShell_QGridLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10218,7 +10218,7 @@ bool PythonQtShell_QGridLayout::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10251,7 +10251,7 @@ Qt::Orientations PythonQtShell_QGridLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10284,7 +10284,7 @@ QRect PythonQtShell_QGridLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10317,7 +10317,7 @@ bool PythonQtShell_QGridLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10350,7 +10350,7 @@ int PythonQtShell_QGridLayout::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10383,7 +10383,7 @@ int PythonQtShell_QGridLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10416,7 +10416,7 @@ void PythonQtShell_QGridLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10438,7 +10438,7 @@ bool PythonQtShell_QGridLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10471,7 +10471,7 @@ QLayoutItem* PythonQtShell_QGridLayout::itemAt(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10504,7 +10504,7 @@ QLayout* PythonQtShell_QGridLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10537,7 +10537,7 @@ QSize PythonQtShell_QGridLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10570,7 +10570,7 @@ int PythonQtShell_QGridLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10603,7 +10603,7 @@ QSize PythonQtShell_QGridLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10636,7 +10636,7 @@ void PythonQtShell_QGridLayout::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10658,7 +10658,7 @@ QSize PythonQtShell_QGridLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10691,7 +10691,7 @@ QLayoutItem* PythonQtShell_QGridLayout::takeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10724,7 +10724,7 @@ void PythonQtShell_QGridLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10923,7 +10923,7 @@ void PythonQtShell_QGroupBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10945,7 +10945,7 @@ void PythonQtShell_QGroupBox::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10967,7 +10967,7 @@ void PythonQtShell_QGroupBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10989,7 +10989,7 @@ void PythonQtShell_QGroupBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11011,7 +11011,7 @@ void PythonQtShell_QGroupBox::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11033,7 +11033,7 @@ void PythonQtShell_QGroupBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11055,7 +11055,7 @@ int PythonQtShell_QGroupBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11088,7 +11088,7 @@ void PythonQtShell_QGroupBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11110,7 +11110,7 @@ void PythonQtShell_QGroupBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11132,7 +11132,7 @@ void PythonQtShell_QGroupBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11154,7 +11154,7 @@ void PythonQtShell_QGroupBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11176,7 +11176,7 @@ void PythonQtShell_QGroupBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11198,7 +11198,7 @@ bool PythonQtShell_QGroupBox::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11231,7 +11231,7 @@ bool PythonQtShell_QGroupBox::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11264,7 +11264,7 @@ void PythonQtShell_QGroupBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11286,7 +11286,7 @@ bool PythonQtShell_QGroupBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11319,7 +11319,7 @@ void PythonQtShell_QGroupBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11341,7 +11341,7 @@ bool PythonQtShell_QGroupBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11374,7 +11374,7 @@ int PythonQtShell_QGroupBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11407,7 +11407,7 @@ void PythonQtShell_QGroupBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11429,7 +11429,7 @@ void PythonQtShell_QGroupBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11451,7 +11451,7 @@ void PythonQtShell_QGroupBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11473,7 +11473,7 @@ QVariant PythonQtShell_QGroupBox::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11506,7 +11506,7 @@ void PythonQtShell_QGroupBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11528,7 +11528,7 @@ void PythonQtShell_QGroupBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11550,7 +11550,7 @@ void PythonQtShell_QGroupBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11572,7 +11572,7 @@ int PythonQtShell_QGroupBox::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11605,7 +11605,7 @@ QSize PythonQtShell_QGroupBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11638,7 +11638,7 @@ void PythonQtShell_QGroupBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11660,7 +11660,7 @@ void PythonQtShell_QGroupBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11682,7 +11682,7 @@ void PythonQtShell_QGroupBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11704,7 +11704,7 @@ void PythonQtShell_QGroupBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11726,7 +11726,7 @@ void PythonQtShell_QGroupBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11748,7 +11748,7 @@ bool PythonQtShell_QGroupBox::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11781,7 +11781,7 @@ QPaintEngine* PythonQtShell_QGroupBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11814,7 +11814,7 @@ void PythonQtShell_QGroupBox::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11836,7 +11836,7 @@ QPaintDevice* PythonQtShell_QGroupBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11869,7 +11869,7 @@ void PythonQtShell_QGroupBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11891,7 +11891,7 @@ void PythonQtShell_QGroupBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11913,7 +11913,7 @@ QPainter* PythonQtShell_QGroupBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11946,7 +11946,7 @@ void PythonQtShell_QGroupBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11968,7 +11968,7 @@ QSize PythonQtShell_QGroupBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12001,7 +12001,7 @@ void PythonQtShell_QGroupBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12023,7 +12023,7 @@ void PythonQtShell_QGroupBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12045,7 +12045,7 @@ void PythonQtShell_QGroupBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12391,7 +12391,7 @@ void PythonQtShell_QHBoxLayout::addItem(QLayoutItem* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12413,7 +12413,7 @@ void PythonQtShell_QHBoxLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12435,7 +12435,7 @@ QSizePolicy::ControlTypes PythonQtShell_QHBoxLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12468,7 +12468,7 @@ int PythonQtShell_QHBoxLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12501,7 +12501,7 @@ void PythonQtShell_QHBoxLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12523,7 +12523,7 @@ bool PythonQtShell_QHBoxLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12556,7 +12556,7 @@ bool PythonQtShell_QHBoxLayout::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12589,7 +12589,7 @@ Qt::Orientations PythonQtShell_QHBoxLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12622,7 +12622,7 @@ QRect PythonQtShell_QHBoxLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12655,7 +12655,7 @@ bool PythonQtShell_QHBoxLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12688,7 +12688,7 @@ int PythonQtShell_QHBoxLayout::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12721,7 +12721,7 @@ int PythonQtShell_QHBoxLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12754,7 +12754,7 @@ void PythonQtShell_QHBoxLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12776,7 +12776,7 @@ bool PythonQtShell_QHBoxLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12809,7 +12809,7 @@ QLayoutItem* PythonQtShell_QHBoxLayout::itemAt(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12842,7 +12842,7 @@ QLayout* PythonQtShell_QHBoxLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12875,7 +12875,7 @@ QSize PythonQtShell_QHBoxLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12908,7 +12908,7 @@ int PythonQtShell_QHBoxLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12941,7 +12941,7 @@ QSize PythonQtShell_QHBoxLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12974,7 +12974,7 @@ void PythonQtShell_QHBoxLayout::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12996,7 +12996,7 @@ QSize PythonQtShell_QHBoxLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13029,7 +13029,7 @@ QLayoutItem* PythonQtShell_QHBoxLayout::takeAt(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13062,7 +13062,7 @@ void PythonQtShell_QHBoxLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13111,7 +13111,7 @@ void PythonQtShell_QHeaderView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13133,7 +13133,7 @@ void PythonQtShell_QHeaderView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13155,7 +13155,7 @@ void PythonQtShell_QHeaderView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13177,7 +13177,7 @@ void PythonQtShell_QHeaderView::closeEditor(QWidget* editor0, QAbstractItemDele { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13199,7 +13199,7 @@ void PythonQtShell_QHeaderView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13221,7 +13221,7 @@ void PythonQtShell_QHeaderView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13243,7 +13243,7 @@ void PythonQtShell_QHeaderView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13265,7 +13265,7 @@ void PythonQtShell_QHeaderView::currentChanged(const QModelIndex& current0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13287,7 +13287,7 @@ void PythonQtShell_QHeaderView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13309,7 +13309,7 @@ void PythonQtShell_QHeaderView::dataChanged(const QModelIndex& topLeft0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13331,7 +13331,7 @@ int PythonQtShell_QHeaderView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13364,7 +13364,7 @@ void PythonQtShell_QHeaderView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13386,7 +13386,7 @@ void PythonQtShell_QHeaderView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13408,7 +13408,7 @@ void PythonQtShell_QHeaderView::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13430,7 +13430,7 @@ void PythonQtShell_QHeaderView::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13452,7 +13452,7 @@ void PythonQtShell_QHeaderView::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13474,7 +13474,7 @@ bool PythonQtShell_QHeaderView::edit(const QModelIndex& index0, QAbstractItemV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13507,7 +13507,7 @@ void PythonQtShell_QHeaderView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13529,7 +13529,7 @@ void PythonQtShell_QHeaderView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13551,7 +13551,7 @@ bool PythonQtShell_QHeaderView::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13584,7 +13584,7 @@ bool PythonQtShell_QHeaderView::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13617,7 +13617,7 @@ void PythonQtShell_QHeaderView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13639,7 +13639,7 @@ bool PythonQtShell_QHeaderView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13672,7 +13672,7 @@ void PythonQtShell_QHeaderView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13694,7 +13694,7 @@ bool PythonQtShell_QHeaderView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13727,7 +13727,7 @@ int PythonQtShell_QHeaderView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13760,7 +13760,7 @@ void PythonQtShell_QHeaderView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13782,7 +13782,7 @@ int PythonQtShell_QHeaderView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13815,7 +13815,7 @@ void PythonQtShell_QHeaderView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13837,7 +13837,7 @@ void PythonQtShell_QHeaderView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13859,7 +13859,7 @@ QModelIndex PythonQtShell_QHeaderView::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13892,7 +13892,7 @@ void PythonQtShell_QHeaderView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13914,7 +13914,7 @@ void PythonQtShell_QHeaderView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13936,7 +13936,7 @@ QVariant PythonQtShell_QHeaderView::inputMethodQuery(Qt::InputMethodQuery quer { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13969,7 +13969,7 @@ bool PythonQtShell_QHeaderView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14002,7 +14002,7 @@ void PythonQtShell_QHeaderView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14024,7 +14024,7 @@ void PythonQtShell_QHeaderView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14046,7 +14046,7 @@ void PythonQtShell_QHeaderView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14068,7 +14068,7 @@ void PythonQtShell_QHeaderView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14090,7 +14090,7 @@ int PythonQtShell_QHeaderView::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14123,7 +14123,7 @@ QSize PythonQtShell_QHeaderView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14156,7 +14156,7 @@ void PythonQtShell_QHeaderView::mouseDoubleClickEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14178,7 +14178,7 @@ void PythonQtShell_QHeaderView::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14200,7 +14200,7 @@ void PythonQtShell_QHeaderView::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14222,7 +14222,7 @@ void PythonQtShell_QHeaderView::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14244,7 +14244,7 @@ QModelIndex PythonQtShell_QHeaderView::moveCursor(QAbstractItemView::CursorActi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14277,7 +14277,7 @@ void PythonQtShell_QHeaderView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14299,7 +14299,7 @@ bool PythonQtShell_QHeaderView::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14332,7 +14332,7 @@ QPaintEngine* PythonQtShell_QHeaderView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14365,7 +14365,7 @@ void PythonQtShell_QHeaderView::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14387,7 +14387,7 @@ void PythonQtShell_QHeaderView::paintSection(QPainter* painter0, const QRect& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintSection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14409,7 +14409,7 @@ QPaintDevice* PythonQtShell_QHeaderView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14442,7 +14442,7 @@ void PythonQtShell_QHeaderView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14464,7 +14464,7 @@ void PythonQtShell_QHeaderView::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14486,7 +14486,7 @@ void PythonQtShell_QHeaderView::rowsAboutToBeRemoved(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14508,7 +14508,7 @@ void PythonQtShell_QHeaderView::rowsInserted(const QModelIndex& parent0, int s { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14530,7 +14530,7 @@ void PythonQtShell_QHeaderView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14552,7 +14552,7 @@ void PythonQtShell_QHeaderView::scrollTo(const QModelIndex& index0, QAbstractIt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14574,7 +14574,7 @@ QSize PythonQtShell_QHeaderView::sectionSizeFromContents(int logicalIndex0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sectionSizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14607,7 +14607,7 @@ void PythonQtShell_QHeaderView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14629,7 +14629,7 @@ QList PythonQtShell_QHeaderView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14662,7 +14662,7 @@ void PythonQtShell_QHeaderView::selectionChanged(const QItemSelection& selected { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14684,7 +14684,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QHeaderView::selectionCommand { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14717,7 +14717,7 @@ void PythonQtShell_QHeaderView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14739,7 +14739,7 @@ void PythonQtShell_QHeaderView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14761,7 +14761,7 @@ void PythonQtShell_QHeaderView::setSelection(const QRect& rect0, QItemSelection { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14783,7 +14783,7 @@ void PythonQtShell_QHeaderView::setSelectionModel(QItemSelectionModel* selectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14805,7 +14805,7 @@ void PythonQtShell_QHeaderView::setVisible(bool v0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14827,7 +14827,7 @@ void PythonQtShell_QHeaderView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14849,7 +14849,7 @@ QPainter* PythonQtShell_QHeaderView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14882,7 +14882,7 @@ void PythonQtShell_QHeaderView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14904,7 +14904,7 @@ QSize PythonQtShell_QHeaderView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14937,7 +14937,7 @@ int PythonQtShell_QHeaderView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14970,7 +14970,7 @@ int PythonQtShell_QHeaderView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15003,7 +15003,7 @@ void PythonQtShell_QHeaderView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15025,7 +15025,7 @@ void PythonQtShell_QHeaderView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15047,7 +15047,7 @@ void PythonQtShell_QHeaderView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15069,7 +15069,7 @@ void PythonQtShell_QHeaderView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15091,7 +15091,7 @@ void PythonQtShell_QHeaderView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15113,7 +15113,7 @@ void PythonQtShell_QHeaderView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15135,7 +15135,7 @@ int PythonQtShell_QHeaderView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15168,7 +15168,7 @@ void PythonQtShell_QHeaderView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15190,7 +15190,7 @@ void PythonQtShell_QHeaderView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15212,7 +15212,7 @@ QStyleOptionViewItem PythonQtShell_QHeaderView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15245,7 +15245,7 @@ bool PythonQtShell_QHeaderView::viewportEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15278,7 +15278,7 @@ QSize PythonQtShell_QHeaderView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15311,7 +15311,7 @@ QRect PythonQtShell_QHeaderView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15344,7 +15344,7 @@ QRegion PythonQtShell_QHeaderView::visualRegionForSelection(const QItemSelectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15377,7 +15377,7 @@ void PythonQtShell_QHeaderView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp index 9288a1e82..4e24e8c89 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp @@ -90,7 +90,7 @@ QSize PythonQtShell_QIconEngine::actualSize(const QSize& size0, QIcon::Mode m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actualSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -123,7 +123,7 @@ void PythonQtShell_QIconEngine::addFile(const QString& fileName0, const QSize& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addFile"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -145,7 +145,7 @@ void PythonQtShell_QIconEngine::addPixmap(const QPixmap& pixmap0, QIcon::Mode { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -167,7 +167,7 @@ QList PythonQtShell_QIconEngine::availableSizes(QIcon::Mode mode0, QIc { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availableSizes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -200,7 +200,7 @@ QIconEngine* PythonQtShell_QIconEngine::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -233,7 +233,7 @@ QString PythonQtShell_QIconEngine::iconName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("iconName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -266,7 +266,7 @@ QString PythonQtShell_QIconEngine::key() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("key"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -299,7 +299,7 @@ void PythonQtShell_QIconEngine::paint(QPainter* painter0, const QRect& rect1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -321,7 +321,7 @@ QPixmap PythonQtShell_QIconEngine::pixmap(const QSize& size0, QIcon::Mode mod { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -354,7 +354,7 @@ bool PythonQtShell_QIconEngine::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -387,7 +387,7 @@ void PythonQtShell_QIconEngine::virtual_hook(int id0, void* data1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("virtual_hook"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -409,7 +409,7 @@ bool PythonQtShell_QIconEngine::write(QDataStream& out0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -526,7 +526,7 @@ bool PythonQtShell_QImageIOHandler::canRead() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -559,7 +559,7 @@ int PythonQtShell_QImageIOHandler::currentImageNumber() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentImageNumber"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -592,7 +592,7 @@ QRect PythonQtShell_QImageIOHandler::currentImageRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentImageRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -625,7 +625,7 @@ int PythonQtShell_QImageIOHandler::imageCount() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("imageCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -658,7 +658,7 @@ bool PythonQtShell_QImageIOHandler::jumpToImage(int imageNumber0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("jumpToImage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -691,7 +691,7 @@ bool PythonQtShell_QImageIOHandler::jumpToNextImage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("jumpToNextImage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -724,7 +724,7 @@ int PythonQtShell_QImageIOHandler::loopCount() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("loopCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -757,7 +757,7 @@ int PythonQtShell_QImageIOHandler::nextImageDelay() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextImageDelay"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -790,7 +790,7 @@ QVariant PythonQtShell_QImageIOHandler::option(QImageIOHandler::ImageOption op { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("option"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -823,7 +823,7 @@ bool PythonQtShell_QImageIOHandler::read(QImage* image0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -856,7 +856,7 @@ void PythonQtShell_QImageIOHandler::setOption(QImageIOHandler::ImageOption opti { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -878,7 +878,7 @@ bool PythonQtShell_QImageIOHandler::supportsOption(QImageIOHandler::ImageOption { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -911,7 +911,7 @@ bool PythonQtShell_QImageIOHandler::write(const QImage& image0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1039,7 +1039,7 @@ QImageIOPlugin::Capabilities PythonQtShell_QImageIOPlugin::capabilities(QIODevi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("capabilities"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1072,7 +1072,7 @@ void PythonQtShell_QImageIOPlugin::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1094,7 +1094,7 @@ QImageIOHandler* PythonQtShell_QImageIOPlugin::create(QIODevice* device0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1127,7 +1127,7 @@ void PythonQtShell_QImageIOPlugin::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1149,7 +1149,7 @@ bool PythonQtShell_QImageIOPlugin::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1182,7 +1182,7 @@ bool PythonQtShell_QImageIOPlugin::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1215,7 +1215,7 @@ void PythonQtShell_QImageIOPlugin::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1688,7 +1688,7 @@ void PythonQtShell_QInputDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1710,7 +1710,7 @@ void PythonQtShell_QInputDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1732,7 +1732,7 @@ void PythonQtShell_QInputDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1754,7 +1754,7 @@ void PythonQtShell_QInputDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1776,7 +1776,7 @@ void PythonQtShell_QInputDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1798,7 +1798,7 @@ void PythonQtShell_QInputDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1820,7 +1820,7 @@ void PythonQtShell_QInputDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1842,7 +1842,7 @@ int PythonQtShell_QInputDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1875,7 +1875,7 @@ void PythonQtShell_QInputDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1897,7 +1897,7 @@ void PythonQtShell_QInputDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1919,7 +1919,7 @@ void PythonQtShell_QInputDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1941,7 +1941,7 @@ void PythonQtShell_QInputDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1963,7 +1963,7 @@ void PythonQtShell_QInputDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1985,7 +1985,7 @@ void PythonQtShell_QInputDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2007,7 +2007,7 @@ bool PythonQtShell_QInputDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2040,7 +2040,7 @@ bool PythonQtShell_QInputDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2073,7 +2073,7 @@ int PythonQtShell_QInputDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2106,7 +2106,7 @@ void PythonQtShell_QInputDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2128,7 +2128,7 @@ bool PythonQtShell_QInputDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2161,7 +2161,7 @@ void PythonQtShell_QInputDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2183,7 +2183,7 @@ bool PythonQtShell_QInputDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2216,7 +2216,7 @@ int PythonQtShell_QInputDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2249,7 +2249,7 @@ void PythonQtShell_QInputDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2271,7 +2271,7 @@ void PythonQtShell_QInputDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2293,7 +2293,7 @@ void PythonQtShell_QInputDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2315,7 +2315,7 @@ QVariant PythonQtShell_QInputDialog::inputMethodQuery(Qt::InputMethodQuery arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2348,7 +2348,7 @@ void PythonQtShell_QInputDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2370,7 +2370,7 @@ void PythonQtShell_QInputDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2392,7 +2392,7 @@ void PythonQtShell_QInputDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2414,7 +2414,7 @@ int PythonQtShell_QInputDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2447,7 +2447,7 @@ QSize PythonQtShell_QInputDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2480,7 +2480,7 @@ void PythonQtShell_QInputDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2502,7 +2502,7 @@ void PythonQtShell_QInputDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2524,7 +2524,7 @@ void PythonQtShell_QInputDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2546,7 +2546,7 @@ void PythonQtShell_QInputDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2568,7 +2568,7 @@ void PythonQtShell_QInputDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2590,7 +2590,7 @@ bool PythonQtShell_QInputDialog::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2623,7 +2623,7 @@ QPaintEngine* PythonQtShell_QInputDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2656,7 +2656,7 @@ void PythonQtShell_QInputDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2678,7 +2678,7 @@ QPaintDevice* PythonQtShell_QInputDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2711,7 +2711,7 @@ void PythonQtShell_QInputDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2733,7 +2733,7 @@ void PythonQtShell_QInputDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2755,7 +2755,7 @@ void PythonQtShell_QInputDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2777,7 +2777,7 @@ QPainter* PythonQtShell_QInputDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2810,7 +2810,7 @@ void PythonQtShell_QInputDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2832,7 +2832,7 @@ QSize PythonQtShell_QInputDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2865,7 +2865,7 @@ void PythonQtShell_QInputDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2887,7 +2887,7 @@ void PythonQtShell_QInputDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2909,7 +2909,7 @@ void PythonQtShell_QInputDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3370,7 +3370,7 @@ void PythonQtShell_QIntValidator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3392,7 +3392,7 @@ void PythonQtShell_QIntValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3414,7 +3414,7 @@ bool PythonQtShell_QIntValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3447,7 +3447,7 @@ bool PythonQtShell_QIntValidator::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3480,7 +3480,7 @@ void PythonQtShell_QIntValidator::fixup(QString& input0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3502,7 +3502,7 @@ void PythonQtShell_QIntValidator::setRange(int bottom0, int top1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3524,7 +3524,7 @@ void PythonQtShell_QIntValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3546,7 +3546,7 @@ QValidator::State PythonQtShell_QIntValidator::validate(QString& arg__1, int& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3631,7 +3631,7 @@ void PythonQtShell_QItemDelegate::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3653,7 +3653,7 @@ QWidget* PythonQtShell_QItemDelegate::createEditor(QWidget* parent0, const QSt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3686,7 +3686,7 @@ void PythonQtShell_QItemDelegate::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3708,7 +3708,7 @@ void PythonQtShell_QItemDelegate::destroyEditor(QWidget* editor0, const QModelI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("destroyEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3730,7 +3730,7 @@ void PythonQtShell_QItemDelegate::drawCheck(QPainter* painter0, const QStyleOpt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawCheck"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3752,7 +3752,7 @@ void PythonQtShell_QItemDelegate::drawDecoration(QPainter* painter0, const QSty { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawDecoration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3774,7 +3774,7 @@ void PythonQtShell_QItemDelegate::drawDisplay(QPainter* painter0, const QStyleO { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawDisplay"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3796,7 +3796,7 @@ void PythonQtShell_QItemDelegate::drawFocus(QPainter* painter0, const QStyleOpt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawFocus"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3818,7 +3818,7 @@ bool PythonQtShell_QItemDelegate::editorEvent(QEvent* event0, QAbstractItemMod { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3851,7 +3851,7 @@ bool PythonQtShell_QItemDelegate::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3884,7 +3884,7 @@ bool PythonQtShell_QItemDelegate::eventFilter(QObject* object0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3917,7 +3917,7 @@ bool PythonQtShell_QItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3950,7 +3950,7 @@ void PythonQtShell_QItemDelegate::paint(QPainter* painter0, const QStyleOptionV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3972,7 +3972,7 @@ QVector PythonQtShell_QItemDelegate::paintingRoles() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintingRoles"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4005,7 +4005,7 @@ void PythonQtShell_QItemDelegate::setEditorData(QWidget* editor0, const QModelI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4027,7 +4027,7 @@ void PythonQtShell_QItemDelegate::setModelData(QWidget* editor0, QAbstractItemM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModelData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4049,7 +4049,7 @@ QSize PythonQtShell_QItemDelegate::sizeHint(const QStyleOptionViewItem& option { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4082,7 +4082,7 @@ void PythonQtShell_QItemDelegate::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4104,7 +4104,7 @@ void PythonQtShell_QItemDelegate::updateEditorGeometry(QWidget* editor0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4219,7 +4219,7 @@ QWidget* PythonQtShell_QItemEditorCreatorBase::createWidget(QWidget* parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4252,7 +4252,7 @@ QByteArray PythonQtShell_QItemEditorCreatorBase::valuePropertyName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("valuePropertyName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4305,7 +4305,7 @@ QWidget* PythonQtShell_QItemEditorFactory::createEditor(int userType0, QWidget { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4338,7 +4338,7 @@ QByteArray PythonQtShell_QItemEditorFactory::valuePropertyName(int userType0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("valuePropertyName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4441,7 +4441,7 @@ void PythonQtShell_QItemSelectionModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4463,7 +4463,7 @@ void PythonQtShell_QItemSelectionModel::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4485,7 +4485,7 @@ void PythonQtShell_QItemSelectionModel::clearCurrentIndex() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clearCurrentIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4507,7 +4507,7 @@ void PythonQtShell_QItemSelectionModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4529,7 +4529,7 @@ bool PythonQtShell_QItemSelectionModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4562,7 +4562,7 @@ bool PythonQtShell_QItemSelectionModel::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4595,7 +4595,7 @@ void PythonQtShell_QItemSelectionModel::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4617,7 +4617,7 @@ void PythonQtShell_QItemSelectionModel::select(const QItemSelection& selection0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4639,7 +4639,7 @@ void PythonQtShell_QItemSelectionModel::select(const QModelIndex& index0, QItem { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4661,7 +4661,7 @@ void PythonQtShell_QItemSelectionModel::setCurrentIndex(const QModelIndex& inde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setCurrentIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4683,7 +4683,7 @@ void PythonQtShell_QItemSelectionModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5001,7 +5001,7 @@ void PythonQtShell_QKeyEventTransition::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5023,7 +5023,7 @@ void PythonQtShell_QKeyEventTransition::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5045,7 +5045,7 @@ bool PythonQtShell_QKeyEventTransition::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5078,7 +5078,7 @@ bool PythonQtShell_QKeyEventTransition::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5111,7 +5111,7 @@ bool PythonQtShell_QKeyEventTransition::eventTest(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5144,7 +5144,7 @@ void PythonQtShell_QKeyEventTransition::onTransition(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5166,7 +5166,7 @@ void PythonQtShell_QKeyEventTransition::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5235,7 +5235,7 @@ void PythonQtShell_QKeySequenceEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5257,7 +5257,7 @@ void PythonQtShell_QKeySequenceEdit::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5279,7 +5279,7 @@ void PythonQtShell_QKeySequenceEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5301,7 +5301,7 @@ void PythonQtShell_QKeySequenceEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5323,7 +5323,7 @@ void PythonQtShell_QKeySequenceEdit::contextMenuEvent(QContextMenuEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5345,7 +5345,7 @@ void PythonQtShell_QKeySequenceEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5367,7 +5367,7 @@ int PythonQtShell_QKeySequenceEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5400,7 +5400,7 @@ void PythonQtShell_QKeySequenceEdit::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5422,7 +5422,7 @@ void PythonQtShell_QKeySequenceEdit::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5444,7 +5444,7 @@ void PythonQtShell_QKeySequenceEdit::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5466,7 +5466,7 @@ void PythonQtShell_QKeySequenceEdit::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5488,7 +5488,7 @@ void PythonQtShell_QKeySequenceEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5510,7 +5510,7 @@ bool PythonQtShell_QKeySequenceEdit::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5543,7 +5543,7 @@ bool PythonQtShell_QKeySequenceEdit::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5576,7 +5576,7 @@ void PythonQtShell_QKeySequenceEdit::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5598,7 +5598,7 @@ bool PythonQtShell_QKeySequenceEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5631,7 +5631,7 @@ void PythonQtShell_QKeySequenceEdit::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5653,7 +5653,7 @@ bool PythonQtShell_QKeySequenceEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5686,7 +5686,7 @@ int PythonQtShell_QKeySequenceEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5719,7 +5719,7 @@ void PythonQtShell_QKeySequenceEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5741,7 +5741,7 @@ void PythonQtShell_QKeySequenceEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5763,7 +5763,7 @@ void PythonQtShell_QKeySequenceEdit::inputMethodEvent(QInputMethodEvent* arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5785,7 +5785,7 @@ QVariant PythonQtShell_QKeySequenceEdit::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5818,7 +5818,7 @@ void PythonQtShell_QKeySequenceEdit::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5840,7 +5840,7 @@ void PythonQtShell_QKeySequenceEdit::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5862,7 +5862,7 @@ void PythonQtShell_QKeySequenceEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5884,7 +5884,7 @@ int PythonQtShell_QKeySequenceEdit::metric(QPaintDevice::PaintDeviceMetric arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5917,7 +5917,7 @@ QSize PythonQtShell_QKeySequenceEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5950,7 +5950,7 @@ void PythonQtShell_QKeySequenceEdit::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5972,7 +5972,7 @@ void PythonQtShell_QKeySequenceEdit::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5994,7 +5994,7 @@ void PythonQtShell_QKeySequenceEdit::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6016,7 +6016,7 @@ void PythonQtShell_QKeySequenceEdit::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6038,7 +6038,7 @@ void PythonQtShell_QKeySequenceEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6060,7 +6060,7 @@ bool PythonQtShell_QKeySequenceEdit::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6093,7 +6093,7 @@ QPaintEngine* PythonQtShell_QKeySequenceEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6126,7 +6126,7 @@ void PythonQtShell_QKeySequenceEdit::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6148,7 +6148,7 @@ QPaintDevice* PythonQtShell_QKeySequenceEdit::redirected(QPoint* offset0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6181,7 +6181,7 @@ void PythonQtShell_QKeySequenceEdit::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6203,7 +6203,7 @@ void PythonQtShell_QKeySequenceEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6225,7 +6225,7 @@ QPainter* PythonQtShell_QKeySequenceEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6258,7 +6258,7 @@ void PythonQtShell_QKeySequenceEdit::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6280,7 +6280,7 @@ QSize PythonQtShell_QKeySequenceEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6313,7 +6313,7 @@ void PythonQtShell_QKeySequenceEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6335,7 +6335,7 @@ void PythonQtShell_QKeySequenceEdit::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6357,7 +6357,7 @@ void PythonQtShell_QKeySequenceEdit::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6411,7 +6411,7 @@ void PythonQtShell_QLCDNumber::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6433,7 +6433,7 @@ void PythonQtShell_QLCDNumber::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6455,7 +6455,7 @@ void PythonQtShell_QLCDNumber::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6477,7 +6477,7 @@ void PythonQtShell_QLCDNumber::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6499,7 +6499,7 @@ void PythonQtShell_QLCDNumber::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6521,7 +6521,7 @@ void PythonQtShell_QLCDNumber::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6543,7 +6543,7 @@ int PythonQtShell_QLCDNumber::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6576,7 +6576,7 @@ void PythonQtShell_QLCDNumber::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6598,7 +6598,7 @@ void PythonQtShell_QLCDNumber::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6620,7 +6620,7 @@ void PythonQtShell_QLCDNumber::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6642,7 +6642,7 @@ void PythonQtShell_QLCDNumber::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6664,7 +6664,7 @@ void PythonQtShell_QLCDNumber::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6686,7 +6686,7 @@ bool PythonQtShell_QLCDNumber::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6719,7 +6719,7 @@ bool PythonQtShell_QLCDNumber::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6752,7 +6752,7 @@ void PythonQtShell_QLCDNumber::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6774,7 +6774,7 @@ bool PythonQtShell_QLCDNumber::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6807,7 +6807,7 @@ void PythonQtShell_QLCDNumber::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6829,7 +6829,7 @@ bool PythonQtShell_QLCDNumber::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6862,7 +6862,7 @@ int PythonQtShell_QLCDNumber::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6895,7 +6895,7 @@ void PythonQtShell_QLCDNumber::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6917,7 +6917,7 @@ void PythonQtShell_QLCDNumber::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6939,7 +6939,7 @@ void PythonQtShell_QLCDNumber::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6961,7 +6961,7 @@ QVariant PythonQtShell_QLCDNumber::inputMethodQuery(Qt::InputMethodQuery arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6994,7 +6994,7 @@ void PythonQtShell_QLCDNumber::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7016,7 +7016,7 @@ void PythonQtShell_QLCDNumber::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7038,7 +7038,7 @@ void PythonQtShell_QLCDNumber::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7060,7 +7060,7 @@ int PythonQtShell_QLCDNumber::metric(QPaintDevice::PaintDeviceMetric arg__1) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7093,7 +7093,7 @@ QSize PythonQtShell_QLCDNumber::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7126,7 +7126,7 @@ void PythonQtShell_QLCDNumber::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7148,7 +7148,7 @@ void PythonQtShell_QLCDNumber::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7170,7 +7170,7 @@ void PythonQtShell_QLCDNumber::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7192,7 +7192,7 @@ void PythonQtShell_QLCDNumber::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7214,7 +7214,7 @@ void PythonQtShell_QLCDNumber::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7236,7 +7236,7 @@ bool PythonQtShell_QLCDNumber::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7269,7 +7269,7 @@ QPaintEngine* PythonQtShell_QLCDNumber::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7302,7 +7302,7 @@ void PythonQtShell_QLCDNumber::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7324,7 +7324,7 @@ QPaintDevice* PythonQtShell_QLCDNumber::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7357,7 +7357,7 @@ void PythonQtShell_QLCDNumber::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7379,7 +7379,7 @@ void PythonQtShell_QLCDNumber::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7401,7 +7401,7 @@ QPainter* PythonQtShell_QLCDNumber::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7434,7 +7434,7 @@ void PythonQtShell_QLCDNumber::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7456,7 +7456,7 @@ QSize PythonQtShell_QLCDNumber::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7489,7 +7489,7 @@ void PythonQtShell_QLCDNumber::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7511,7 +7511,7 @@ void PythonQtShell_QLCDNumber::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7533,7 +7533,7 @@ void PythonQtShell_QLCDNumber::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7637,7 +7637,7 @@ void PythonQtShell_QLabel::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7659,7 +7659,7 @@ void PythonQtShell_QLabel::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7681,7 +7681,7 @@ void PythonQtShell_QLabel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7703,7 +7703,7 @@ void PythonQtShell_QLabel::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7725,7 +7725,7 @@ void PythonQtShell_QLabel::contextMenuEvent(QContextMenuEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7747,7 +7747,7 @@ void PythonQtShell_QLabel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7769,7 +7769,7 @@ int PythonQtShell_QLabel::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7802,7 +7802,7 @@ void PythonQtShell_QLabel::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7824,7 +7824,7 @@ void PythonQtShell_QLabel::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7846,7 +7846,7 @@ void PythonQtShell_QLabel::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7868,7 +7868,7 @@ void PythonQtShell_QLabel::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7890,7 +7890,7 @@ void PythonQtShell_QLabel::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7912,7 +7912,7 @@ bool PythonQtShell_QLabel::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7945,7 +7945,7 @@ bool PythonQtShell_QLabel::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7978,7 +7978,7 @@ void PythonQtShell_QLabel::focusInEvent(QFocusEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8000,7 +8000,7 @@ bool PythonQtShell_QLabel::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8033,7 +8033,7 @@ void PythonQtShell_QLabel::focusOutEvent(QFocusEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8055,7 +8055,7 @@ bool PythonQtShell_QLabel::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8088,7 +8088,7 @@ int PythonQtShell_QLabel::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8121,7 +8121,7 @@ void PythonQtShell_QLabel::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8143,7 +8143,7 @@ void PythonQtShell_QLabel::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8165,7 +8165,7 @@ void PythonQtShell_QLabel::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8187,7 +8187,7 @@ QVariant PythonQtShell_QLabel::inputMethodQuery(Qt::InputMethodQuery arg__1) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8220,7 +8220,7 @@ void PythonQtShell_QLabel::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8242,7 +8242,7 @@ void PythonQtShell_QLabel::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8264,7 +8264,7 @@ void PythonQtShell_QLabel::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8286,7 +8286,7 @@ int PythonQtShell_QLabel::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8319,7 +8319,7 @@ QSize PythonQtShell_QLabel::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8352,7 +8352,7 @@ void PythonQtShell_QLabel::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8374,7 +8374,7 @@ void PythonQtShell_QLabel::mouseMoveEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8396,7 +8396,7 @@ void PythonQtShell_QLabel::mousePressEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8418,7 +8418,7 @@ void PythonQtShell_QLabel::mouseReleaseEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8440,7 +8440,7 @@ void PythonQtShell_QLabel::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8462,7 +8462,7 @@ bool PythonQtShell_QLabel::nativeEvent(const QByteArray& eventType0, void* me { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8495,7 +8495,7 @@ QPaintEngine* PythonQtShell_QLabel::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8528,7 +8528,7 @@ void PythonQtShell_QLabel::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8550,7 +8550,7 @@ QPaintDevice* PythonQtShell_QLabel::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8583,7 +8583,7 @@ void PythonQtShell_QLabel::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8605,7 +8605,7 @@ void PythonQtShell_QLabel::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8627,7 +8627,7 @@ QPainter* PythonQtShell_QLabel::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8660,7 +8660,7 @@ void PythonQtShell_QLabel::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8682,7 +8682,7 @@ QSize PythonQtShell_QLabel::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8715,7 +8715,7 @@ void PythonQtShell_QLabel::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8737,7 +8737,7 @@ void PythonQtShell_QLabel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8759,7 +8759,7 @@ void PythonQtShell_QLabel::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8943,7 +8943,7 @@ void PythonQtShell_QLayout::addItem(QLayoutItem* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8965,7 +8965,7 @@ void PythonQtShell_QLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8987,7 +8987,7 @@ QSizePolicy::ControlTypes PythonQtShell_QLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9020,7 +9020,7 @@ int PythonQtShell_QLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9053,7 +9053,7 @@ void PythonQtShell_QLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9075,7 +9075,7 @@ bool PythonQtShell_QLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9108,7 +9108,7 @@ bool PythonQtShell_QLayout::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9141,7 +9141,7 @@ Qt::Orientations PythonQtShell_QLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9174,7 +9174,7 @@ QRect PythonQtShell_QLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9207,7 +9207,7 @@ bool PythonQtShell_QLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9240,7 +9240,7 @@ int PythonQtShell_QLayout::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9273,7 +9273,7 @@ int PythonQtShell_QLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9306,7 +9306,7 @@ void PythonQtShell_QLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9328,7 +9328,7 @@ bool PythonQtShell_QLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9361,7 +9361,7 @@ QLayoutItem* PythonQtShell_QLayout::itemAt(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9394,7 +9394,7 @@ QLayout* PythonQtShell_QLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9427,7 +9427,7 @@ QSize PythonQtShell_QLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9460,7 +9460,7 @@ int PythonQtShell_QLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9493,7 +9493,7 @@ QSize PythonQtShell_QLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9526,7 +9526,7 @@ void PythonQtShell_QLayout::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9548,7 +9548,7 @@ QSize PythonQtShell_QLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9581,7 +9581,7 @@ QSpacerItem* PythonQtShell_QLayout::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9614,7 +9614,7 @@ QLayoutItem* PythonQtShell_QLayout::takeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9647,7 +9647,7 @@ void PythonQtShell_QLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9669,7 +9669,7 @@ QWidget* PythonQtShell_QLayout::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9914,7 +9914,7 @@ QSizePolicy::ControlTypes PythonQtShell_QLayoutItem::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9947,7 +9947,7 @@ Qt::Orientations PythonQtShell_QLayoutItem::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9980,7 +9980,7 @@ QRect PythonQtShell_QLayoutItem::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10013,7 +10013,7 @@ bool PythonQtShell_QLayoutItem::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10046,7 +10046,7 @@ int PythonQtShell_QLayoutItem::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10079,7 +10079,7 @@ void PythonQtShell_QLayoutItem::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10101,7 +10101,7 @@ bool PythonQtShell_QLayoutItem::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10134,7 +10134,7 @@ QLayout* PythonQtShell_QLayoutItem::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10167,7 +10167,7 @@ QSize PythonQtShell_QLayoutItem::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10200,7 +10200,7 @@ int PythonQtShell_QLayoutItem::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10233,7 +10233,7 @@ QSize PythonQtShell_QLayoutItem::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10266,7 +10266,7 @@ void PythonQtShell_QLayoutItem::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10288,7 +10288,7 @@ QSize PythonQtShell_QLayoutItem::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10321,7 +10321,7 @@ QSpacerItem* PythonQtShell_QLayoutItem::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10354,7 +10354,7 @@ QWidget* PythonQtShell_QLayoutItem::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10482,7 +10482,7 @@ void PythonQtShell_QLineEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10504,7 +10504,7 @@ void PythonQtShell_QLineEdit::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10526,7 +10526,7 @@ void PythonQtShell_QLineEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10548,7 +10548,7 @@ void PythonQtShell_QLineEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10570,7 +10570,7 @@ void PythonQtShell_QLineEdit::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10592,7 +10592,7 @@ void PythonQtShell_QLineEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10614,7 +10614,7 @@ int PythonQtShell_QLineEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10647,7 +10647,7 @@ void PythonQtShell_QLineEdit::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10669,7 +10669,7 @@ void PythonQtShell_QLineEdit::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10691,7 +10691,7 @@ void PythonQtShell_QLineEdit::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10713,7 +10713,7 @@ void PythonQtShell_QLineEdit::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10735,7 +10735,7 @@ void PythonQtShell_QLineEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10757,7 +10757,7 @@ bool PythonQtShell_QLineEdit::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10790,7 +10790,7 @@ bool PythonQtShell_QLineEdit::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10823,7 +10823,7 @@ void PythonQtShell_QLineEdit::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10845,7 +10845,7 @@ bool PythonQtShell_QLineEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10878,7 +10878,7 @@ void PythonQtShell_QLineEdit::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10900,7 +10900,7 @@ bool PythonQtShell_QLineEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10933,7 +10933,7 @@ int PythonQtShell_QLineEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10966,7 +10966,7 @@ void PythonQtShell_QLineEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10988,7 +10988,7 @@ void PythonQtShell_QLineEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11010,7 +11010,7 @@ void PythonQtShell_QLineEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11032,7 +11032,7 @@ QVariant PythonQtShell_QLineEdit::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11065,7 +11065,7 @@ void PythonQtShell_QLineEdit::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11087,7 +11087,7 @@ void PythonQtShell_QLineEdit::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11109,7 +11109,7 @@ void PythonQtShell_QLineEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11131,7 +11131,7 @@ int PythonQtShell_QLineEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11164,7 +11164,7 @@ QSize PythonQtShell_QLineEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11197,7 +11197,7 @@ void PythonQtShell_QLineEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11219,7 +11219,7 @@ void PythonQtShell_QLineEdit::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11241,7 +11241,7 @@ void PythonQtShell_QLineEdit::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11263,7 +11263,7 @@ void PythonQtShell_QLineEdit::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11285,7 +11285,7 @@ void PythonQtShell_QLineEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11307,7 +11307,7 @@ bool PythonQtShell_QLineEdit::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11340,7 +11340,7 @@ QPaintEngine* PythonQtShell_QLineEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11373,7 +11373,7 @@ void PythonQtShell_QLineEdit::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11395,7 +11395,7 @@ QPaintDevice* PythonQtShell_QLineEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11428,7 +11428,7 @@ void PythonQtShell_QLineEdit::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11450,7 +11450,7 @@ void PythonQtShell_QLineEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11472,7 +11472,7 @@ QPainter* PythonQtShell_QLineEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11505,7 +11505,7 @@ void PythonQtShell_QLineEdit::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11527,7 +11527,7 @@ QSize PythonQtShell_QLineEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11560,7 +11560,7 @@ void PythonQtShell_QLineEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11582,7 +11582,7 @@ void PythonQtShell_QLineEdit::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11604,7 +11604,7 @@ void PythonQtShell_QLineEdit::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12007,7 +12007,7 @@ void PythonQtShell_QListView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12029,7 +12029,7 @@ void PythonQtShell_QListView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12051,7 +12051,7 @@ void PythonQtShell_QListView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12073,7 +12073,7 @@ void PythonQtShell_QListView::closeEditor(QWidget* editor0, QAbstractItemDelega { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12095,7 +12095,7 @@ void PythonQtShell_QListView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12117,7 +12117,7 @@ void PythonQtShell_QListView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12139,7 +12139,7 @@ void PythonQtShell_QListView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12161,7 +12161,7 @@ void PythonQtShell_QListView::currentChanged(const QModelIndex& current0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12183,7 +12183,7 @@ void PythonQtShell_QListView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12205,7 +12205,7 @@ void PythonQtShell_QListView::dataChanged(const QModelIndex& topLeft0, const QM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12227,7 +12227,7 @@ int PythonQtShell_QListView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12260,7 +12260,7 @@ void PythonQtShell_QListView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12282,7 +12282,7 @@ void PythonQtShell_QListView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12304,7 +12304,7 @@ void PythonQtShell_QListView::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12326,7 +12326,7 @@ void PythonQtShell_QListView::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12348,7 +12348,7 @@ void PythonQtShell_QListView::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12370,7 +12370,7 @@ bool PythonQtShell_QListView::edit(const QModelIndex& index0, QAbstractItemVie { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12403,7 +12403,7 @@ void PythonQtShell_QListView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12425,7 +12425,7 @@ void PythonQtShell_QListView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12447,7 +12447,7 @@ bool PythonQtShell_QListView::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12480,7 +12480,7 @@ bool PythonQtShell_QListView::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12513,7 +12513,7 @@ void PythonQtShell_QListView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12535,7 +12535,7 @@ bool PythonQtShell_QListView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12568,7 +12568,7 @@ void PythonQtShell_QListView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12590,7 +12590,7 @@ bool PythonQtShell_QListView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12623,7 +12623,7 @@ int PythonQtShell_QListView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12656,7 +12656,7 @@ void PythonQtShell_QListView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12678,7 +12678,7 @@ int PythonQtShell_QListView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12711,7 +12711,7 @@ void PythonQtShell_QListView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12733,7 +12733,7 @@ void PythonQtShell_QListView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12755,7 +12755,7 @@ QModelIndex PythonQtShell_QListView::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12788,7 +12788,7 @@ void PythonQtShell_QListView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12810,7 +12810,7 @@ void PythonQtShell_QListView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12832,7 +12832,7 @@ QVariant PythonQtShell_QListView::inputMethodQuery(Qt::InputMethodQuery query0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12865,7 +12865,7 @@ bool PythonQtShell_QListView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12898,7 +12898,7 @@ void PythonQtShell_QListView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12920,7 +12920,7 @@ void PythonQtShell_QListView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12942,7 +12942,7 @@ void PythonQtShell_QListView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12964,7 +12964,7 @@ void PythonQtShell_QListView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12986,7 +12986,7 @@ int PythonQtShell_QListView::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13019,7 +13019,7 @@ QSize PythonQtShell_QListView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13052,7 +13052,7 @@ void PythonQtShell_QListView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13074,7 +13074,7 @@ void PythonQtShell_QListView::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13096,7 +13096,7 @@ void PythonQtShell_QListView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13118,7 +13118,7 @@ void PythonQtShell_QListView::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13140,7 +13140,7 @@ QModelIndex PythonQtShell_QListView::moveCursor(QAbstractItemView::CursorAction { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13173,7 +13173,7 @@ void PythonQtShell_QListView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13195,7 +13195,7 @@ bool PythonQtShell_QListView::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13228,7 +13228,7 @@ QPaintEngine* PythonQtShell_QListView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13261,7 +13261,7 @@ void PythonQtShell_QListView::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13283,7 +13283,7 @@ QPaintDevice* PythonQtShell_QListView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13316,7 +13316,7 @@ void PythonQtShell_QListView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13338,7 +13338,7 @@ void PythonQtShell_QListView::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13360,7 +13360,7 @@ void PythonQtShell_QListView::rowsAboutToBeRemoved(const QModelIndex& parent0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13382,7 +13382,7 @@ void PythonQtShell_QListView::rowsInserted(const QModelIndex& parent0, int sta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13404,7 +13404,7 @@ void PythonQtShell_QListView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13426,7 +13426,7 @@ void PythonQtShell_QListView::scrollTo(const QModelIndex& index0, QAbstractItem { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13448,7 +13448,7 @@ void PythonQtShell_QListView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13470,7 +13470,7 @@ QList PythonQtShell_QListView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13503,7 +13503,7 @@ void PythonQtShell_QListView::selectionChanged(const QItemSelection& selected0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13525,7 +13525,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QListView::selectionCommand(c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13558,7 +13558,7 @@ void PythonQtShell_QListView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13580,7 +13580,7 @@ void PythonQtShell_QListView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13602,7 +13602,7 @@ void PythonQtShell_QListView::setSelection(const QRect& rect0, QItemSelectionMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13624,7 +13624,7 @@ void PythonQtShell_QListView::setSelectionModel(QItemSelectionModel* selectionM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13646,7 +13646,7 @@ void PythonQtShell_QListView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13668,7 +13668,7 @@ void PythonQtShell_QListView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13690,7 +13690,7 @@ QPainter* PythonQtShell_QListView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13723,7 +13723,7 @@ void PythonQtShell_QListView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13745,7 +13745,7 @@ QSize PythonQtShell_QListView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13778,7 +13778,7 @@ int PythonQtShell_QListView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13811,7 +13811,7 @@ int PythonQtShell_QListView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13844,7 +13844,7 @@ void PythonQtShell_QListView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13866,7 +13866,7 @@ void PythonQtShell_QListView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13888,7 +13888,7 @@ void PythonQtShell_QListView::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13910,7 +13910,7 @@ void PythonQtShell_QListView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13932,7 +13932,7 @@ void PythonQtShell_QListView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13954,7 +13954,7 @@ void PythonQtShell_QListView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13976,7 +13976,7 @@ int PythonQtShell_QListView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14009,7 +14009,7 @@ void PythonQtShell_QListView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14031,7 +14031,7 @@ void PythonQtShell_QListView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14053,7 +14053,7 @@ QStyleOptionViewItem PythonQtShell_QListView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14086,7 +14086,7 @@ bool PythonQtShell_QListView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14119,7 +14119,7 @@ QSize PythonQtShell_QListView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14152,7 +14152,7 @@ QRect PythonQtShell_QListView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14185,7 +14185,7 @@ QRegion PythonQtShell_QListView::visualRegionForSelection(const QItemSelection& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14218,7 +14218,7 @@ void PythonQtShell_QListView::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14428,7 +14428,7 @@ void PythonQtShell_QListWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14450,7 +14450,7 @@ void PythonQtShell_QListWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14472,7 +14472,7 @@ void PythonQtShell_QListWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14494,7 +14494,7 @@ void PythonQtShell_QListWidget::closeEditor(QWidget* editor0, QAbstractItemDele { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14516,7 +14516,7 @@ void PythonQtShell_QListWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14538,7 +14538,7 @@ void PythonQtShell_QListWidget::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14560,7 +14560,7 @@ void PythonQtShell_QListWidget::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14582,7 +14582,7 @@ void PythonQtShell_QListWidget::currentChanged(const QModelIndex& current0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14604,7 +14604,7 @@ void PythonQtShell_QListWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14626,7 +14626,7 @@ void PythonQtShell_QListWidget::dataChanged(const QModelIndex& topLeft0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14648,7 +14648,7 @@ int PythonQtShell_QListWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14681,7 +14681,7 @@ void PythonQtShell_QListWidget::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14703,7 +14703,7 @@ void PythonQtShell_QListWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14725,7 +14725,7 @@ void PythonQtShell_QListWidget::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14747,7 +14747,7 @@ void PythonQtShell_QListWidget::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14769,7 +14769,7 @@ void PythonQtShell_QListWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14791,7 +14791,7 @@ bool PythonQtShell_QListWidget::dropMimeData(int index0, const QMimeData* dat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14824,7 +14824,7 @@ bool PythonQtShell_QListWidget::edit(const QModelIndex& index0, QAbstractItemV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14857,7 +14857,7 @@ void PythonQtShell_QListWidget::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14879,7 +14879,7 @@ void PythonQtShell_QListWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14901,7 +14901,7 @@ bool PythonQtShell_QListWidget::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14934,7 +14934,7 @@ bool PythonQtShell_QListWidget::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14967,7 +14967,7 @@ void PythonQtShell_QListWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14989,7 +14989,7 @@ bool PythonQtShell_QListWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15022,7 +15022,7 @@ void PythonQtShell_QListWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15044,7 +15044,7 @@ bool PythonQtShell_QListWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15077,7 +15077,7 @@ int PythonQtShell_QListWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15110,7 +15110,7 @@ void PythonQtShell_QListWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15132,7 +15132,7 @@ int PythonQtShell_QListWidget::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15165,7 +15165,7 @@ void PythonQtShell_QListWidget::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15187,7 +15187,7 @@ void PythonQtShell_QListWidget::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15209,7 +15209,7 @@ QModelIndex PythonQtShell_QListWidget::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15242,7 +15242,7 @@ void PythonQtShell_QListWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15264,7 +15264,7 @@ void PythonQtShell_QListWidget::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15286,7 +15286,7 @@ QVariant PythonQtShell_QListWidget::inputMethodQuery(Qt::InputMethodQuery quer { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15319,7 +15319,7 @@ bool PythonQtShell_QListWidget::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15352,7 +15352,7 @@ void PythonQtShell_QListWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15374,7 +15374,7 @@ void PythonQtShell_QListWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15396,7 +15396,7 @@ void PythonQtShell_QListWidget::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15418,7 +15418,7 @@ void PythonQtShell_QListWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15440,7 +15440,7 @@ int PythonQtShell_QListWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15473,7 +15473,7 @@ QMimeData* PythonQtShell_QListWidget::mimeData(const QList { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15506,7 +15506,7 @@ QStringList PythonQtShell_QListWidget::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15539,7 +15539,7 @@ QSize PythonQtShell_QListWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15572,7 +15572,7 @@ void PythonQtShell_QListWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15594,7 +15594,7 @@ void PythonQtShell_QListWidget::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15616,7 +15616,7 @@ void PythonQtShell_QListWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15638,7 +15638,7 @@ void PythonQtShell_QListWidget::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15660,7 +15660,7 @@ QModelIndex PythonQtShell_QListWidget::moveCursor(QAbstractItemView::CursorActi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15693,7 +15693,7 @@ void PythonQtShell_QListWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15715,7 +15715,7 @@ bool PythonQtShell_QListWidget::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15748,7 +15748,7 @@ QPaintEngine* PythonQtShell_QListWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15781,7 +15781,7 @@ void PythonQtShell_QListWidget::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15803,7 +15803,7 @@ QPaintDevice* PythonQtShell_QListWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15836,7 +15836,7 @@ void PythonQtShell_QListWidget::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15858,7 +15858,7 @@ void PythonQtShell_QListWidget::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15880,7 +15880,7 @@ void PythonQtShell_QListWidget::rowsAboutToBeRemoved(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15902,7 +15902,7 @@ void PythonQtShell_QListWidget::rowsInserted(const QModelIndex& parent0, int s { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15924,7 +15924,7 @@ void PythonQtShell_QListWidget::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15946,7 +15946,7 @@ void PythonQtShell_QListWidget::scrollTo(const QModelIndex& index0, QAbstractIt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15968,7 +15968,7 @@ void PythonQtShell_QListWidget::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15990,7 +15990,7 @@ QList PythonQtShell_QListWidget::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16023,7 +16023,7 @@ void PythonQtShell_QListWidget::selectionChanged(const QItemSelection& selected { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16045,7 +16045,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QListWidget::selectionCommand { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16078,7 +16078,7 @@ void PythonQtShell_QListWidget::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16100,7 +16100,7 @@ void PythonQtShell_QListWidget::setSelection(const QRect& rect0, QItemSelection { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16122,7 +16122,7 @@ void PythonQtShell_QListWidget::setSelectionModel(QItemSelectionModel* selectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16144,7 +16144,7 @@ void PythonQtShell_QListWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16166,7 +16166,7 @@ void PythonQtShell_QListWidget::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16188,7 +16188,7 @@ QPainter* PythonQtShell_QListWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16221,7 +16221,7 @@ void PythonQtShell_QListWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16243,7 +16243,7 @@ QSize PythonQtShell_QListWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16276,7 +16276,7 @@ int PythonQtShell_QListWidget::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16309,7 +16309,7 @@ int PythonQtShell_QListWidget::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16342,7 +16342,7 @@ void PythonQtShell_QListWidget::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16364,7 +16364,7 @@ Qt::DropActions PythonQtShell_QListWidget::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16397,7 +16397,7 @@ void PythonQtShell_QListWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16419,7 +16419,7 @@ void PythonQtShell_QListWidget::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16441,7 +16441,7 @@ void PythonQtShell_QListWidget::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16463,7 +16463,7 @@ void PythonQtShell_QListWidget::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16485,7 +16485,7 @@ void PythonQtShell_QListWidget::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16507,7 +16507,7 @@ int PythonQtShell_QListWidget::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16540,7 +16540,7 @@ void PythonQtShell_QListWidget::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16562,7 +16562,7 @@ void PythonQtShell_QListWidget::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16584,7 +16584,7 @@ QStyleOptionViewItem PythonQtShell_QListWidget::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16617,7 +16617,7 @@ bool PythonQtShell_QListWidget::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16650,7 +16650,7 @@ QSize PythonQtShell_QListWidget::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16683,7 +16683,7 @@ QRect PythonQtShell_QListWidget::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16716,7 +16716,7 @@ QRegion PythonQtShell_QListWidget::visualRegionForSelection(const QItemSelectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16749,7 +16749,7 @@ void PythonQtShell_QListWidget::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16989,7 +16989,7 @@ QListWidgetItem* PythonQtShell_QListWidgetItem::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17022,7 +17022,7 @@ QVariant PythonQtShell_QListWidgetItem::data(int role0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17055,7 +17055,7 @@ void PythonQtShell_QListWidgetItem::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17077,7 +17077,7 @@ void PythonQtShell_QListWidgetItem::setData(int role0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17099,7 +17099,7 @@ void PythonQtShell_QListWidgetItem::write(QDataStream& out0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp index 68f63ef39..caa26b1f5 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp @@ -99,7 +99,7 @@ void PythonQtShell_QMainWindow::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -121,7 +121,7 @@ void PythonQtShell_QMainWindow::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -143,7 +143,7 @@ void PythonQtShell_QMainWindow::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -165,7 +165,7 @@ void PythonQtShell_QMainWindow::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -187,7 +187,7 @@ void PythonQtShell_QMainWindow::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -209,7 +209,7 @@ QMenu* PythonQtShell_QMainWindow::createPopupMenu() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createPopupMenu"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -242,7 +242,7 @@ void PythonQtShell_QMainWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -264,7 +264,7 @@ int PythonQtShell_QMainWindow::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -297,7 +297,7 @@ void PythonQtShell_QMainWindow::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -319,7 +319,7 @@ void PythonQtShell_QMainWindow::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -341,7 +341,7 @@ void PythonQtShell_QMainWindow::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -363,7 +363,7 @@ void PythonQtShell_QMainWindow::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -385,7 +385,7 @@ void PythonQtShell_QMainWindow::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -407,7 +407,7 @@ bool PythonQtShell_QMainWindow::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -440,7 +440,7 @@ bool PythonQtShell_QMainWindow::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -473,7 +473,7 @@ void PythonQtShell_QMainWindow::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -495,7 +495,7 @@ bool PythonQtShell_QMainWindow::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -528,7 +528,7 @@ void PythonQtShell_QMainWindow::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -550,7 +550,7 @@ bool PythonQtShell_QMainWindow::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -583,7 +583,7 @@ int PythonQtShell_QMainWindow::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -616,7 +616,7 @@ void PythonQtShell_QMainWindow::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -638,7 +638,7 @@ void PythonQtShell_QMainWindow::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -660,7 +660,7 @@ void PythonQtShell_QMainWindow::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -682,7 +682,7 @@ QVariant PythonQtShell_QMainWindow::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -715,7 +715,7 @@ void PythonQtShell_QMainWindow::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -737,7 +737,7 @@ void PythonQtShell_QMainWindow::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -759,7 +759,7 @@ void PythonQtShell_QMainWindow::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -781,7 +781,7 @@ int PythonQtShell_QMainWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -814,7 +814,7 @@ QSize PythonQtShell_QMainWindow::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -847,7 +847,7 @@ void PythonQtShell_QMainWindow::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -869,7 +869,7 @@ void PythonQtShell_QMainWindow::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -891,7 +891,7 @@ void PythonQtShell_QMainWindow::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -913,7 +913,7 @@ void PythonQtShell_QMainWindow::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -935,7 +935,7 @@ void PythonQtShell_QMainWindow::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -957,7 +957,7 @@ bool PythonQtShell_QMainWindow::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -990,7 +990,7 @@ QPaintEngine* PythonQtShell_QMainWindow::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1023,7 +1023,7 @@ void PythonQtShell_QMainWindow::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1045,7 +1045,7 @@ QPaintDevice* PythonQtShell_QMainWindow::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1078,7 +1078,7 @@ void PythonQtShell_QMainWindow::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1100,7 +1100,7 @@ void PythonQtShell_QMainWindow::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1122,7 +1122,7 @@ QPainter* PythonQtShell_QMainWindow::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1155,7 +1155,7 @@ void PythonQtShell_QMainWindow::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1177,7 +1177,7 @@ QSize PythonQtShell_QMainWindow::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1210,7 +1210,7 @@ void PythonQtShell_QMainWindow::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1232,7 +1232,7 @@ void PythonQtShell_QMainWindow::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1254,7 +1254,7 @@ void PythonQtShell_QMainWindow::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2054,7 +2054,7 @@ void PythonQtShell_QMdiArea::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2076,7 +2076,7 @@ void PythonQtShell_QMdiArea::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2098,7 +2098,7 @@ void PythonQtShell_QMdiArea::childEvent(QChildEvent* childEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2120,7 +2120,7 @@ void PythonQtShell_QMdiArea::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2142,7 +2142,7 @@ void PythonQtShell_QMdiArea::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2164,7 +2164,7 @@ void PythonQtShell_QMdiArea::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2186,7 +2186,7 @@ int PythonQtShell_QMdiArea::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2219,7 +2219,7 @@ void PythonQtShell_QMdiArea::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2241,7 +2241,7 @@ void PythonQtShell_QMdiArea::dragLeaveEvent(QDragLeaveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2263,7 +2263,7 @@ void PythonQtShell_QMdiArea::dragMoveEvent(QDragMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2285,7 +2285,7 @@ void PythonQtShell_QMdiArea::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2307,7 +2307,7 @@ void PythonQtShell_QMdiArea::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2329,7 +2329,7 @@ bool PythonQtShell_QMdiArea::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2362,7 +2362,7 @@ bool PythonQtShell_QMdiArea::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2395,7 +2395,7 @@ void PythonQtShell_QMdiArea::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2417,7 +2417,7 @@ bool PythonQtShell_QMdiArea::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2450,7 +2450,7 @@ void PythonQtShell_QMdiArea::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2472,7 +2472,7 @@ bool PythonQtShell_QMdiArea::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2505,7 +2505,7 @@ int PythonQtShell_QMdiArea::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2538,7 +2538,7 @@ void PythonQtShell_QMdiArea::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2560,7 +2560,7 @@ void PythonQtShell_QMdiArea::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2582,7 +2582,7 @@ void PythonQtShell_QMdiArea::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2604,7 +2604,7 @@ QVariant PythonQtShell_QMdiArea::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2637,7 +2637,7 @@ void PythonQtShell_QMdiArea::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2659,7 +2659,7 @@ void PythonQtShell_QMdiArea::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2681,7 +2681,7 @@ void PythonQtShell_QMdiArea::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2703,7 +2703,7 @@ int PythonQtShell_QMdiArea::metric(QPaintDevice::PaintDeviceMetric arg__1) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2736,7 +2736,7 @@ QSize PythonQtShell_QMdiArea::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2769,7 +2769,7 @@ void PythonQtShell_QMdiArea::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2791,7 +2791,7 @@ void PythonQtShell_QMdiArea::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2813,7 +2813,7 @@ void PythonQtShell_QMdiArea::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2835,7 +2835,7 @@ void PythonQtShell_QMdiArea::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2857,7 +2857,7 @@ void PythonQtShell_QMdiArea::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2879,7 +2879,7 @@ bool PythonQtShell_QMdiArea::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2912,7 +2912,7 @@ QPaintEngine* PythonQtShell_QMdiArea::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2945,7 +2945,7 @@ void PythonQtShell_QMdiArea::paintEvent(QPaintEvent* paintEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2967,7 +2967,7 @@ QPaintDevice* PythonQtShell_QMdiArea::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3000,7 +3000,7 @@ void PythonQtShell_QMdiArea::resizeEvent(QResizeEvent* resizeEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3022,7 +3022,7 @@ void PythonQtShell_QMdiArea::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3044,7 +3044,7 @@ void PythonQtShell_QMdiArea::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3066,7 +3066,7 @@ void PythonQtShell_QMdiArea::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3088,7 +3088,7 @@ QPainter* PythonQtShell_QMdiArea::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3121,7 +3121,7 @@ void PythonQtShell_QMdiArea::showEvent(QShowEvent* showEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3143,7 +3143,7 @@ QSize PythonQtShell_QMdiArea::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3176,7 +3176,7 @@ void PythonQtShell_QMdiArea::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3198,7 +3198,7 @@ void PythonQtShell_QMdiArea::timerEvent(QTimerEvent* timerEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3220,7 +3220,7 @@ bool PythonQtShell_QMdiArea::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3253,7 +3253,7 @@ QSize PythonQtShell_QMdiArea::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3286,7 +3286,7 @@ void PythonQtShell_QMdiArea::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3446,7 +3446,7 @@ void PythonQtShell_QMdiSubWindow::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3468,7 +3468,7 @@ void PythonQtShell_QMdiSubWindow::changeEvent(QEvent* changeEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3490,7 +3490,7 @@ void PythonQtShell_QMdiSubWindow::childEvent(QChildEvent* childEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3512,7 +3512,7 @@ void PythonQtShell_QMdiSubWindow::closeEvent(QCloseEvent* closeEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3534,7 +3534,7 @@ void PythonQtShell_QMdiSubWindow::contextMenuEvent(QContextMenuEvent* contextMe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3556,7 +3556,7 @@ void PythonQtShell_QMdiSubWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3578,7 +3578,7 @@ int PythonQtShell_QMdiSubWindow::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3611,7 +3611,7 @@ void PythonQtShell_QMdiSubWindow::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3633,7 +3633,7 @@ void PythonQtShell_QMdiSubWindow::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3655,7 +3655,7 @@ void PythonQtShell_QMdiSubWindow::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3677,7 +3677,7 @@ void PythonQtShell_QMdiSubWindow::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3699,7 +3699,7 @@ void PythonQtShell_QMdiSubWindow::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3721,7 +3721,7 @@ bool PythonQtShell_QMdiSubWindow::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3754,7 +3754,7 @@ bool PythonQtShell_QMdiSubWindow::eventFilter(QObject* object0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3787,7 +3787,7 @@ void PythonQtShell_QMdiSubWindow::focusInEvent(QFocusEvent* focusInEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3809,7 +3809,7 @@ bool PythonQtShell_QMdiSubWindow::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3842,7 +3842,7 @@ void PythonQtShell_QMdiSubWindow::focusOutEvent(QFocusEvent* focusOutEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3864,7 +3864,7 @@ bool PythonQtShell_QMdiSubWindow::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3897,7 +3897,7 @@ int PythonQtShell_QMdiSubWindow::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3930,7 +3930,7 @@ void PythonQtShell_QMdiSubWindow::hideEvent(QHideEvent* hideEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3952,7 +3952,7 @@ void PythonQtShell_QMdiSubWindow::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3974,7 +3974,7 @@ void PythonQtShell_QMdiSubWindow::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3996,7 +3996,7 @@ QVariant PythonQtShell_QMdiSubWindow::inputMethodQuery(Qt::InputMethodQuery ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4029,7 +4029,7 @@ void PythonQtShell_QMdiSubWindow::keyPressEvent(QKeyEvent* keyEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4051,7 +4051,7 @@ void PythonQtShell_QMdiSubWindow::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4073,7 +4073,7 @@ void PythonQtShell_QMdiSubWindow::leaveEvent(QEvent* leaveEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4095,7 +4095,7 @@ int PythonQtShell_QMdiSubWindow::metric(QPaintDevice::PaintDeviceMetric arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4128,7 +4128,7 @@ QSize PythonQtShell_QMdiSubWindow::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4161,7 +4161,7 @@ void PythonQtShell_QMdiSubWindow::mouseDoubleClickEvent(QMouseEvent* mouseEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4183,7 +4183,7 @@ void PythonQtShell_QMdiSubWindow::mouseMoveEvent(QMouseEvent* mouseEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4205,7 +4205,7 @@ void PythonQtShell_QMdiSubWindow::mousePressEvent(QMouseEvent* mouseEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4227,7 +4227,7 @@ void PythonQtShell_QMdiSubWindow::mouseReleaseEvent(QMouseEvent* mouseEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4249,7 +4249,7 @@ void PythonQtShell_QMdiSubWindow::moveEvent(QMoveEvent* moveEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4271,7 +4271,7 @@ bool PythonQtShell_QMdiSubWindow::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4304,7 +4304,7 @@ QPaintEngine* PythonQtShell_QMdiSubWindow::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4337,7 +4337,7 @@ void PythonQtShell_QMdiSubWindow::paintEvent(QPaintEvent* paintEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4359,7 +4359,7 @@ QPaintDevice* PythonQtShell_QMdiSubWindow::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4392,7 +4392,7 @@ void PythonQtShell_QMdiSubWindow::resizeEvent(QResizeEvent* resizeEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4414,7 +4414,7 @@ void PythonQtShell_QMdiSubWindow::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4436,7 +4436,7 @@ QPainter* PythonQtShell_QMdiSubWindow::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4469,7 +4469,7 @@ void PythonQtShell_QMdiSubWindow::showEvent(QShowEvent* showEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4491,7 +4491,7 @@ QSize PythonQtShell_QMdiSubWindow::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4524,7 +4524,7 @@ void PythonQtShell_QMdiSubWindow::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4546,7 +4546,7 @@ void PythonQtShell_QMdiSubWindow::timerEvent(QTimerEvent* timerEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4568,7 +4568,7 @@ void PythonQtShell_QMdiSubWindow::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4693,7 +4693,7 @@ void PythonQtShell_QMenu::actionEvent(QActionEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4715,7 +4715,7 @@ void PythonQtShell_QMenu::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4737,7 +4737,7 @@ void PythonQtShell_QMenu::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4759,7 +4759,7 @@ void PythonQtShell_QMenu::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4781,7 +4781,7 @@ void PythonQtShell_QMenu::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4803,7 +4803,7 @@ void PythonQtShell_QMenu::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4825,7 +4825,7 @@ int PythonQtShell_QMenu::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4858,7 +4858,7 @@ void PythonQtShell_QMenu::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4880,7 +4880,7 @@ void PythonQtShell_QMenu::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4902,7 +4902,7 @@ void PythonQtShell_QMenu::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4924,7 +4924,7 @@ void PythonQtShell_QMenu::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4946,7 +4946,7 @@ void PythonQtShell_QMenu::enterEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4968,7 +4968,7 @@ bool PythonQtShell_QMenu::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5001,7 +5001,7 @@ bool PythonQtShell_QMenu::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5034,7 +5034,7 @@ void PythonQtShell_QMenu::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5056,7 +5056,7 @@ bool PythonQtShell_QMenu::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5089,7 +5089,7 @@ void PythonQtShell_QMenu::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5111,7 +5111,7 @@ bool PythonQtShell_QMenu::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5144,7 +5144,7 @@ int PythonQtShell_QMenu::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5177,7 +5177,7 @@ void PythonQtShell_QMenu::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5199,7 +5199,7 @@ void PythonQtShell_QMenu::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5221,7 +5221,7 @@ void PythonQtShell_QMenu::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5243,7 +5243,7 @@ QVariant PythonQtShell_QMenu::inputMethodQuery(Qt::InputMethodQuery arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5276,7 +5276,7 @@ void PythonQtShell_QMenu::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5298,7 +5298,7 @@ void PythonQtShell_QMenu::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5320,7 +5320,7 @@ void PythonQtShell_QMenu::leaveEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5342,7 +5342,7 @@ int PythonQtShell_QMenu::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5375,7 +5375,7 @@ QSize PythonQtShell_QMenu::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5408,7 +5408,7 @@ void PythonQtShell_QMenu::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5430,7 +5430,7 @@ void PythonQtShell_QMenu::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5452,7 +5452,7 @@ void PythonQtShell_QMenu::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5474,7 +5474,7 @@ void PythonQtShell_QMenu::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5496,7 +5496,7 @@ void PythonQtShell_QMenu::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5518,7 +5518,7 @@ bool PythonQtShell_QMenu::nativeEvent(const QByteArray& eventType0, void* mes { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5551,7 +5551,7 @@ QPaintEngine* PythonQtShell_QMenu::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5584,7 +5584,7 @@ void PythonQtShell_QMenu::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5606,7 +5606,7 @@ QPaintDevice* PythonQtShell_QMenu::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5639,7 +5639,7 @@ void PythonQtShell_QMenu::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5661,7 +5661,7 @@ void PythonQtShell_QMenu::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5683,7 +5683,7 @@ QPainter* PythonQtShell_QMenu::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5716,7 +5716,7 @@ void PythonQtShell_QMenu::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5738,7 +5738,7 @@ QSize PythonQtShell_QMenu::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5771,7 +5771,7 @@ void PythonQtShell_QMenu::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5793,7 +5793,7 @@ void PythonQtShell_QMenu::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5815,7 +5815,7 @@ void PythonQtShell_QMenu::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6084,7 +6084,7 @@ void PythonQtShell_QMenuBar::actionEvent(QActionEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6106,7 +6106,7 @@ void PythonQtShell_QMenuBar::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6128,7 +6128,7 @@ void PythonQtShell_QMenuBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6150,7 +6150,7 @@ void PythonQtShell_QMenuBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6172,7 +6172,7 @@ void PythonQtShell_QMenuBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6194,7 +6194,7 @@ void PythonQtShell_QMenuBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6216,7 +6216,7 @@ int PythonQtShell_QMenuBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6249,7 +6249,7 @@ void PythonQtShell_QMenuBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6271,7 +6271,7 @@ void PythonQtShell_QMenuBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6293,7 +6293,7 @@ void PythonQtShell_QMenuBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6315,7 +6315,7 @@ void PythonQtShell_QMenuBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6337,7 +6337,7 @@ void PythonQtShell_QMenuBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6359,7 +6359,7 @@ bool PythonQtShell_QMenuBar::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6392,7 +6392,7 @@ bool PythonQtShell_QMenuBar::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6425,7 +6425,7 @@ void PythonQtShell_QMenuBar::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6447,7 +6447,7 @@ bool PythonQtShell_QMenuBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6480,7 +6480,7 @@ void PythonQtShell_QMenuBar::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6502,7 +6502,7 @@ bool PythonQtShell_QMenuBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6535,7 +6535,7 @@ int PythonQtShell_QMenuBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6568,7 +6568,7 @@ void PythonQtShell_QMenuBar::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6590,7 +6590,7 @@ void PythonQtShell_QMenuBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6612,7 +6612,7 @@ void PythonQtShell_QMenuBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6634,7 +6634,7 @@ QVariant PythonQtShell_QMenuBar::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6667,7 +6667,7 @@ void PythonQtShell_QMenuBar::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6689,7 +6689,7 @@ void PythonQtShell_QMenuBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6711,7 +6711,7 @@ void PythonQtShell_QMenuBar::leaveEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6733,7 +6733,7 @@ int PythonQtShell_QMenuBar::metric(QPaintDevice::PaintDeviceMetric arg__1) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6766,7 +6766,7 @@ QSize PythonQtShell_QMenuBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6799,7 +6799,7 @@ void PythonQtShell_QMenuBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6821,7 +6821,7 @@ void PythonQtShell_QMenuBar::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6843,7 +6843,7 @@ void PythonQtShell_QMenuBar::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6865,7 +6865,7 @@ void PythonQtShell_QMenuBar::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6887,7 +6887,7 @@ void PythonQtShell_QMenuBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6909,7 +6909,7 @@ bool PythonQtShell_QMenuBar::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6942,7 +6942,7 @@ QPaintEngine* PythonQtShell_QMenuBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6975,7 +6975,7 @@ void PythonQtShell_QMenuBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6997,7 +6997,7 @@ QPaintDevice* PythonQtShell_QMenuBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7030,7 +7030,7 @@ void PythonQtShell_QMenuBar::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7052,7 +7052,7 @@ void PythonQtShell_QMenuBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7074,7 +7074,7 @@ QPainter* PythonQtShell_QMenuBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7107,7 +7107,7 @@ void PythonQtShell_QMenuBar::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7129,7 +7129,7 @@ QSize PythonQtShell_QMenuBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7162,7 +7162,7 @@ void PythonQtShell_QMenuBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7184,7 +7184,7 @@ void PythonQtShell_QMenuBar::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7206,7 +7206,7 @@ void PythonQtShell_QMenuBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7361,7 +7361,7 @@ void PythonQtShell_QMessageBox::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7383,7 +7383,7 @@ void PythonQtShell_QMessageBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7405,7 +7405,7 @@ void PythonQtShell_QMessageBox::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7427,7 +7427,7 @@ void PythonQtShell_QMessageBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7449,7 +7449,7 @@ void PythonQtShell_QMessageBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7471,7 +7471,7 @@ void PythonQtShell_QMessageBox::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7493,7 +7493,7 @@ void PythonQtShell_QMessageBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7515,7 +7515,7 @@ int PythonQtShell_QMessageBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7548,7 +7548,7 @@ void PythonQtShell_QMessageBox::done(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7570,7 +7570,7 @@ void PythonQtShell_QMessageBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7592,7 +7592,7 @@ void PythonQtShell_QMessageBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7614,7 +7614,7 @@ void PythonQtShell_QMessageBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7636,7 +7636,7 @@ void PythonQtShell_QMessageBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7658,7 +7658,7 @@ void PythonQtShell_QMessageBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7680,7 +7680,7 @@ bool PythonQtShell_QMessageBox::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7713,7 +7713,7 @@ bool PythonQtShell_QMessageBox::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7746,7 +7746,7 @@ int PythonQtShell_QMessageBox::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7779,7 +7779,7 @@ void PythonQtShell_QMessageBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7801,7 +7801,7 @@ bool PythonQtShell_QMessageBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7834,7 +7834,7 @@ void PythonQtShell_QMessageBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7856,7 +7856,7 @@ bool PythonQtShell_QMessageBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7889,7 +7889,7 @@ int PythonQtShell_QMessageBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7922,7 +7922,7 @@ void PythonQtShell_QMessageBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7944,7 +7944,7 @@ void PythonQtShell_QMessageBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7966,7 +7966,7 @@ void PythonQtShell_QMessageBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7988,7 +7988,7 @@ QVariant PythonQtShell_QMessageBox::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8021,7 +8021,7 @@ void PythonQtShell_QMessageBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8043,7 +8043,7 @@ void PythonQtShell_QMessageBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8065,7 +8065,7 @@ void PythonQtShell_QMessageBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8087,7 +8087,7 @@ int PythonQtShell_QMessageBox::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8120,7 +8120,7 @@ QSize PythonQtShell_QMessageBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8153,7 +8153,7 @@ void PythonQtShell_QMessageBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8175,7 +8175,7 @@ void PythonQtShell_QMessageBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8197,7 +8197,7 @@ void PythonQtShell_QMessageBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8219,7 +8219,7 @@ void PythonQtShell_QMessageBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8241,7 +8241,7 @@ void PythonQtShell_QMessageBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8263,7 +8263,7 @@ bool PythonQtShell_QMessageBox::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8296,7 +8296,7 @@ QPaintEngine* PythonQtShell_QMessageBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8329,7 +8329,7 @@ void PythonQtShell_QMessageBox::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8351,7 +8351,7 @@ QPaintDevice* PythonQtShell_QMessageBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8384,7 +8384,7 @@ void PythonQtShell_QMessageBox::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8406,7 +8406,7 @@ void PythonQtShell_QMessageBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8428,7 +8428,7 @@ void PythonQtShell_QMessageBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8450,7 +8450,7 @@ QPainter* PythonQtShell_QMessageBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8483,7 +8483,7 @@ void PythonQtShell_QMessageBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8505,7 +8505,7 @@ QSize PythonQtShell_QMessageBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8538,7 +8538,7 @@ void PythonQtShell_QMessageBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8560,7 +8560,7 @@ void PythonQtShell_QMessageBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8582,7 +8582,7 @@ void PythonQtShell_QMessageBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8943,7 +8943,7 @@ void PythonQtShell_QMouseEventTransition::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8965,7 +8965,7 @@ void PythonQtShell_QMouseEventTransition::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8987,7 +8987,7 @@ bool PythonQtShell_QMouseEventTransition::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9020,7 +9020,7 @@ bool PythonQtShell_QMouseEventTransition::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9053,7 +9053,7 @@ bool PythonQtShell_QMouseEventTransition::eventTest(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9086,7 +9086,7 @@ void PythonQtShell_QMouseEventTransition::onTransition(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9108,7 +9108,7 @@ void PythonQtShell_QMouseEventTransition::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9207,7 +9207,7 @@ void PythonQtShell_QMovie::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9229,7 +9229,7 @@ void PythonQtShell_QMovie::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9251,7 +9251,7 @@ bool PythonQtShell_QMovie::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9284,7 +9284,7 @@ bool PythonQtShell_QMovie::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9317,7 +9317,7 @@ void PythonQtShell_QMovie::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9554,7 +9554,7 @@ void PythonQtShell_QOffscreenSurface::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9576,7 +9576,7 @@ void PythonQtShell_QOffscreenSurface::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9598,7 +9598,7 @@ bool PythonQtShell_QOffscreenSurface::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9631,7 +9631,7 @@ bool PythonQtShell_QOffscreenSurface::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9664,7 +9664,7 @@ QSurfaceFormat PythonQtShell_QOffscreenSurface::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9697,7 +9697,7 @@ QSize PythonQtShell_QOffscreenSurface::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9730,7 +9730,7 @@ QSurface::SurfaceType PythonQtShell_QOffscreenSurface::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9763,7 +9763,7 @@ void PythonQtShell_QOffscreenSurface::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9961,7 +9961,7 @@ void PythonQtShell_QOpenGLContext::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9983,7 +9983,7 @@ void PythonQtShell_QOpenGLContext::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10005,7 +10005,7 @@ bool PythonQtShell_QOpenGLContext::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10038,7 +10038,7 @@ bool PythonQtShell_QOpenGLContext::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10071,7 +10071,7 @@ void PythonQtShell_QOpenGLContext::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10517,7 +10517,7 @@ int PythonQtShell_QOpenGLPaintDevice::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10550,7 +10550,7 @@ void PythonQtShell_QOpenGLPaintDevice::ensureActiveTarget() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ensureActiveTarget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10572,7 +10572,7 @@ void PythonQtShell_QOpenGLPaintDevice::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10594,7 +10594,7 @@ int PythonQtShell_QOpenGLPaintDevice::metric(QPaintDevice::PaintDeviceMetric m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10627,7 +10627,7 @@ QPaintEngine* PythonQtShell_QOpenGLPaintDevice::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10660,7 +10660,7 @@ QPaintDevice* PythonQtShell_QOpenGLPaintDevice::redirected(QPoint* offset0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10693,7 +10693,7 @@ QPainter* PythonQtShell_QOpenGLPaintDevice::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10799,7 +10799,7 @@ void PythonQtShell_QOpenGLShader::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10821,7 +10821,7 @@ void PythonQtShell_QOpenGLShader::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10843,7 +10843,7 @@ bool PythonQtShell_QOpenGLShader::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10876,7 +10876,7 @@ bool PythonQtShell_QOpenGLShader::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10909,7 +10909,7 @@ void PythonQtShell_QOpenGLShader::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11004,7 +11004,7 @@ void PythonQtShell_QOpenGLShaderProgram::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11026,7 +11026,7 @@ void PythonQtShell_QOpenGLShaderProgram::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11048,7 +11048,7 @@ bool PythonQtShell_QOpenGLShaderProgram::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11081,7 +11081,7 @@ bool PythonQtShell_QOpenGLShaderProgram::eventFilter(QObject* watched0, QEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11114,7 +11114,7 @@ bool PythonQtShell_QOpenGLShaderProgram::link() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("link"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11147,7 +11147,7 @@ void PythonQtShell_QOpenGLShaderProgram::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12255,7 +12255,7 @@ void PythonQtShell_QOpenGLTimeMonitor::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12277,7 +12277,7 @@ void PythonQtShell_QOpenGLTimeMonitor::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12299,7 +12299,7 @@ bool PythonQtShell_QOpenGLTimeMonitor::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12332,7 +12332,7 @@ bool PythonQtShell_QOpenGLTimeMonitor::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12365,7 +12365,7 @@ void PythonQtShell_QOpenGLTimeMonitor::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12465,7 +12465,7 @@ void PythonQtShell_QOpenGLTimerQuery::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12487,7 +12487,7 @@ void PythonQtShell_QOpenGLTimerQuery::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12509,7 +12509,7 @@ bool PythonQtShell_QOpenGLTimerQuery::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12542,7 +12542,7 @@ bool PythonQtShell_QOpenGLTimerQuery::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12575,7 +12575,7 @@ void PythonQtShell_QOpenGLTimerQuery::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12736,7 +12736,7 @@ void PythonQtShell_QOpenGLVertexArrayObject::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12758,7 +12758,7 @@ void PythonQtShell_QOpenGLVertexArrayObject::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12780,7 +12780,7 @@ bool PythonQtShell_QOpenGLVertexArrayObject::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12813,7 +12813,7 @@ bool PythonQtShell_QOpenGLVertexArrayObject::eventFilter(QObject* watched0, QE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12846,7 +12846,7 @@ void PythonQtShell_QOpenGLVertexArrayObject::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12921,7 +12921,7 @@ void PythonQtShell_QOpenGLWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12943,7 +12943,7 @@ void PythonQtShell_QOpenGLWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12965,7 +12965,7 @@ void PythonQtShell_QOpenGLWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12987,7 +12987,7 @@ void PythonQtShell_QOpenGLWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13009,7 +13009,7 @@ void PythonQtShell_QOpenGLWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13031,7 +13031,7 @@ void PythonQtShell_QOpenGLWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13053,7 +13053,7 @@ int PythonQtShell_QOpenGLWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13086,7 +13086,7 @@ void PythonQtShell_QOpenGLWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13108,7 +13108,7 @@ void PythonQtShell_QOpenGLWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13130,7 +13130,7 @@ void PythonQtShell_QOpenGLWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13152,7 +13152,7 @@ void PythonQtShell_QOpenGLWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13174,7 +13174,7 @@ void PythonQtShell_QOpenGLWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13196,7 +13196,7 @@ bool PythonQtShell_QOpenGLWidget::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13229,7 +13229,7 @@ bool PythonQtShell_QOpenGLWidget::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13262,7 +13262,7 @@ void PythonQtShell_QOpenGLWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13284,7 +13284,7 @@ bool PythonQtShell_QOpenGLWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13317,7 +13317,7 @@ void PythonQtShell_QOpenGLWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13339,7 +13339,7 @@ bool PythonQtShell_QOpenGLWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13372,7 +13372,7 @@ int PythonQtShell_QOpenGLWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13405,7 +13405,7 @@ void PythonQtShell_QOpenGLWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13427,7 +13427,7 @@ void PythonQtShell_QOpenGLWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13449,7 +13449,7 @@ void PythonQtShell_QOpenGLWidget::initializeGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initializeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13471,7 +13471,7 @@ void PythonQtShell_QOpenGLWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13493,7 +13493,7 @@ QVariant PythonQtShell_QOpenGLWidget::inputMethodQuery(Qt::InputMethodQuery ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13526,7 +13526,7 @@ void PythonQtShell_QOpenGLWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13548,7 +13548,7 @@ void PythonQtShell_QOpenGLWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13570,7 +13570,7 @@ void PythonQtShell_QOpenGLWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13592,7 +13592,7 @@ int PythonQtShell_QOpenGLWidget::metric(QPaintDevice::PaintDeviceMetric metric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13625,7 +13625,7 @@ QSize PythonQtShell_QOpenGLWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13658,7 +13658,7 @@ void PythonQtShell_QOpenGLWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13680,7 +13680,7 @@ void PythonQtShell_QOpenGLWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13702,7 +13702,7 @@ void PythonQtShell_QOpenGLWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13724,7 +13724,7 @@ void PythonQtShell_QOpenGLWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13746,7 +13746,7 @@ void PythonQtShell_QOpenGLWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13768,7 +13768,7 @@ bool PythonQtShell_QOpenGLWidget::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13801,7 +13801,7 @@ QPaintEngine* PythonQtShell_QOpenGLWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13834,7 +13834,7 @@ void PythonQtShell_QOpenGLWidget::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13856,7 +13856,7 @@ void PythonQtShell_QOpenGLWidget::paintGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13878,7 +13878,7 @@ QPaintDevice* PythonQtShell_QOpenGLWidget::redirected(QPoint* p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13911,7 +13911,7 @@ void PythonQtShell_QOpenGLWidget::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13933,7 +13933,7 @@ void PythonQtShell_QOpenGLWidget::resizeGL(int w0, int h1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13955,7 +13955,7 @@ void PythonQtShell_QOpenGLWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13977,7 +13977,7 @@ QPainter* PythonQtShell_QOpenGLWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14010,7 +14010,7 @@ void PythonQtShell_QOpenGLWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14032,7 +14032,7 @@ QSize PythonQtShell_QOpenGLWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14065,7 +14065,7 @@ void PythonQtShell_QOpenGLWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14087,7 +14087,7 @@ void PythonQtShell_QOpenGLWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14109,7 +14109,7 @@ void PythonQtShell_QOpenGLWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14229,7 +14229,7 @@ void PythonQtShell_QOpenGLWindow::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14251,7 +14251,7 @@ void PythonQtShell_QOpenGLWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14273,7 +14273,7 @@ bool PythonQtShell_QOpenGLWindow::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14306,7 +14306,7 @@ bool PythonQtShell_QOpenGLWindow::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14339,7 +14339,7 @@ void PythonQtShell_QOpenGLWindow::exposeEvent(QExposeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exposeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14361,7 +14361,7 @@ void PythonQtShell_QOpenGLWindow::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14383,7 +14383,7 @@ QObject* PythonQtShell_QOpenGLWindow::focusObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14416,7 +14416,7 @@ void PythonQtShell_QOpenGLWindow::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14438,7 +14438,7 @@ QSurfaceFormat PythonQtShell_QOpenGLWindow::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14471,7 +14471,7 @@ void PythonQtShell_QOpenGLWindow::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14493,7 +14493,7 @@ void PythonQtShell_QOpenGLWindow::initializeGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initializeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14515,7 +14515,7 @@ void PythonQtShell_QOpenGLWindow::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14537,7 +14537,7 @@ void PythonQtShell_QOpenGLWindow::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14559,7 +14559,7 @@ int PythonQtShell_QOpenGLWindow::metric(QPaintDevice::PaintDeviceMetric metric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14592,7 +14592,7 @@ void PythonQtShell_QOpenGLWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14614,7 +14614,7 @@ void PythonQtShell_QOpenGLWindow::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14636,7 +14636,7 @@ void PythonQtShell_QOpenGLWindow::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14658,7 +14658,7 @@ void PythonQtShell_QOpenGLWindow::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14680,7 +14680,7 @@ void PythonQtShell_QOpenGLWindow::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14702,7 +14702,7 @@ bool PythonQtShell_QOpenGLWindow::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14735,7 +14735,7 @@ void PythonQtShell_QOpenGLWindow::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14757,7 +14757,7 @@ void PythonQtShell_QOpenGLWindow::paintGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14779,7 +14779,7 @@ void PythonQtShell_QOpenGLWindow::paintOverGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintOverGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14801,7 +14801,7 @@ void PythonQtShell_QOpenGLWindow::paintUnderGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintUnderGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14823,7 +14823,7 @@ QPaintDevice* PythonQtShell_QOpenGLWindow::redirected(QPoint* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14856,7 +14856,7 @@ void PythonQtShell_QOpenGLWindow::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14878,7 +14878,7 @@ void PythonQtShell_QOpenGLWindow::resizeGL(int w0, int h1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14900,7 +14900,7 @@ void PythonQtShell_QOpenGLWindow::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14922,7 +14922,7 @@ QSize PythonQtShell_QOpenGLWindow::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14955,7 +14955,7 @@ QSurface::SurfaceType PythonQtShell_QOpenGLWindow::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14988,7 +14988,7 @@ void PythonQtShell_QOpenGLWindow::tabletEvent(QTabletEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15010,7 +15010,7 @@ void PythonQtShell_QOpenGLWindow::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15032,7 +15032,7 @@ void PythonQtShell_QOpenGLWindow::touchEvent(QTouchEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15054,7 +15054,7 @@ void PythonQtShell_QOpenGLWindow::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp index 291036db0..a6a95c579 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp @@ -275,7 +275,7 @@ void PythonQtShell_QPageSetupDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -297,7 +297,7 @@ void PythonQtShell_QPageSetupDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -319,7 +319,7 @@ void PythonQtShell_QPageSetupDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -341,7 +341,7 @@ void PythonQtShell_QPageSetupDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -363,7 +363,7 @@ void PythonQtShell_QPageSetupDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -385,7 +385,7 @@ void PythonQtShell_QPageSetupDialog::contextMenuEvent(QContextMenuEvent* arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -407,7 +407,7 @@ void PythonQtShell_QPageSetupDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -429,7 +429,7 @@ int PythonQtShell_QPageSetupDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -462,7 +462,7 @@ void PythonQtShell_QPageSetupDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -484,7 +484,7 @@ void PythonQtShell_QPageSetupDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -506,7 +506,7 @@ void PythonQtShell_QPageSetupDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -528,7 +528,7 @@ void PythonQtShell_QPageSetupDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -550,7 +550,7 @@ void PythonQtShell_QPageSetupDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -572,7 +572,7 @@ void PythonQtShell_QPageSetupDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -594,7 +594,7 @@ bool PythonQtShell_QPageSetupDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -627,7 +627,7 @@ bool PythonQtShell_QPageSetupDialog::eventFilter(QObject* arg__1, QEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -660,7 +660,7 @@ int PythonQtShell_QPageSetupDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -693,7 +693,7 @@ void PythonQtShell_QPageSetupDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -715,7 +715,7 @@ bool PythonQtShell_QPageSetupDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -748,7 +748,7 @@ void PythonQtShell_QPageSetupDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -770,7 +770,7 @@ bool PythonQtShell_QPageSetupDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -803,7 +803,7 @@ int PythonQtShell_QPageSetupDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -836,7 +836,7 @@ void PythonQtShell_QPageSetupDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -858,7 +858,7 @@ void PythonQtShell_QPageSetupDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -880,7 +880,7 @@ void PythonQtShell_QPageSetupDialog::inputMethodEvent(QInputMethodEvent* arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -902,7 +902,7 @@ QVariant PythonQtShell_QPageSetupDialog::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -935,7 +935,7 @@ void PythonQtShell_QPageSetupDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -957,7 +957,7 @@ void PythonQtShell_QPageSetupDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -979,7 +979,7 @@ void PythonQtShell_QPageSetupDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1001,7 +1001,7 @@ int PythonQtShell_QPageSetupDialog::metric(QPaintDevice::PaintDeviceMetric arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1034,7 +1034,7 @@ QSize PythonQtShell_QPageSetupDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1067,7 +1067,7 @@ void PythonQtShell_QPageSetupDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1089,7 +1089,7 @@ void PythonQtShell_QPageSetupDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1111,7 +1111,7 @@ void PythonQtShell_QPageSetupDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1133,7 +1133,7 @@ void PythonQtShell_QPageSetupDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1155,7 +1155,7 @@ void PythonQtShell_QPageSetupDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1177,7 +1177,7 @@ bool PythonQtShell_QPageSetupDialog::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1210,7 +1210,7 @@ QPaintEngine* PythonQtShell_QPageSetupDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1243,7 +1243,7 @@ void PythonQtShell_QPageSetupDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1265,7 +1265,7 @@ QPaintDevice* PythonQtShell_QPageSetupDialog::redirected(QPoint* offset0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1298,7 +1298,7 @@ void PythonQtShell_QPageSetupDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1320,7 +1320,7 @@ void PythonQtShell_QPageSetupDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1342,7 +1342,7 @@ void PythonQtShell_QPageSetupDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1364,7 +1364,7 @@ QPainter* PythonQtShell_QPageSetupDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1397,7 +1397,7 @@ void PythonQtShell_QPageSetupDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1419,7 +1419,7 @@ QSize PythonQtShell_QPageSetupDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1452,7 +1452,7 @@ void PythonQtShell_QPageSetupDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1474,7 +1474,7 @@ void PythonQtShell_QPageSetupDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1496,7 +1496,7 @@ void PythonQtShell_QPageSetupDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1724,7 +1724,7 @@ int PythonQtShell_QPagedPaintDevice::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1757,7 +1757,7 @@ void PythonQtShell_QPagedPaintDevice::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1779,7 +1779,7 @@ int PythonQtShell_QPagedPaintDevice::metric(QPaintDevice::PaintDeviceMetric me { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1812,7 +1812,7 @@ bool PythonQtShell_QPagedPaintDevice::newPage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1845,7 +1845,7 @@ QPaintEngine* PythonQtShell_QPagedPaintDevice::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1878,7 +1878,7 @@ QPaintDevice* PythonQtShell_QPagedPaintDevice::redirected(QPoint* offset0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1911,7 +1911,7 @@ void PythonQtShell_QPagedPaintDevice::setMargins(const QPagedPaintDevice::Margin { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1933,7 +1933,7 @@ void PythonQtShell_QPagedPaintDevice::setPageSize(QPagedPaintDevice::PageSize s { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPageSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1955,7 +1955,7 @@ void PythonQtShell_QPagedPaintDevice::setPageSizeMM(const QSizeF& size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPageSizeMM"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1977,7 +1977,7 @@ QPainter* PythonQtShell_QPagedPaintDevice::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2100,7 +2100,7 @@ int PythonQtShell_QPaintDevice::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2133,7 +2133,7 @@ void PythonQtShell_QPaintDevice::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2155,7 +2155,7 @@ int PythonQtShell_QPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2188,7 +2188,7 @@ QPaintEngine* PythonQtShell_QPaintDevice::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2221,7 +2221,7 @@ QPaintDevice* PythonQtShell_QPaintDevice::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2254,7 +2254,7 @@ QPainter* PythonQtShell_QPaintDevice::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2414,7 +2414,7 @@ bool PythonQtShell_QPaintEngine::begin(QPaintDevice* pdev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("begin"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2447,7 +2447,7 @@ QPoint PythonQtShell_QPaintEngine::coordinateOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("coordinateOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2480,7 +2480,7 @@ void PythonQtShell_QPaintEngine::drawEllipse(const QRect& r0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawEllipse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2502,7 +2502,7 @@ void PythonQtShell_QPaintEngine::drawEllipse(const QRectF& r0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawEllipse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2524,7 +2524,7 @@ void PythonQtShell_QPaintEngine::drawImage(const QRectF& r0, const QImage& pm1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawImage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2546,7 +2546,7 @@ void PythonQtShell_QPaintEngine::drawLines(const QLine* lines0, int lineCount1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawLines"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2568,7 +2568,7 @@ void PythonQtShell_QPaintEngine::drawLines(const QLineF* lines0, int lineCount { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawLines"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2590,7 +2590,7 @@ void PythonQtShell_QPaintEngine::drawPath(const QPainterPath& path0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2612,7 +2612,7 @@ void PythonQtShell_QPaintEngine::drawPixmap(const QRectF& r0, const QPixmap& p { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2634,7 +2634,7 @@ void PythonQtShell_QPaintEngine::drawPoints(const QPoint* points0, int pointCo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawPoints"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2656,7 +2656,7 @@ void PythonQtShell_QPaintEngine::drawPoints(const QPointF* points0, int pointC { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawPoints"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2678,7 +2678,7 @@ void PythonQtShell_QPaintEngine::drawPolygon(const QPoint* points0, int pointC { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawPolygon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2700,7 +2700,7 @@ void PythonQtShell_QPaintEngine::drawPolygon(const QPointF* points0, int point { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawPolygon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2722,7 +2722,7 @@ void PythonQtShell_QPaintEngine::drawRects(const QRect* rects0, int rectCount1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawRects"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2744,7 +2744,7 @@ void PythonQtShell_QPaintEngine::drawRects(const QRectF* rects0, int rectCount { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawRects"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2766,7 +2766,7 @@ void PythonQtShell_QPaintEngine::drawTextItem(const QPointF& p0, const QTextIte { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawTextItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2788,7 +2788,7 @@ void PythonQtShell_QPaintEngine::drawTiledPixmap(const QRectF& r0, const QPixma { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawTiledPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2810,7 +2810,7 @@ bool PythonQtShell_QPaintEngine::end() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("end"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2843,7 +2843,7 @@ QPaintEngine::Type PythonQtShell_QPaintEngine::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2876,7 +2876,7 @@ void PythonQtShell_QPaintEngine::updateState(const QPaintEngineState& state0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4718,7 +4718,7 @@ void PythonQtShell_QPanGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4740,7 +4740,7 @@ void PythonQtShell_QPanGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4762,7 +4762,7 @@ bool PythonQtShell_QPanGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4795,7 +4795,7 @@ bool PythonQtShell_QPanGesture::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4828,7 +4828,7 @@ void PythonQtShell_QPanGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4908,7 +4908,7 @@ void PythonQtShell_QPdfWriter::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4930,7 +4930,7 @@ void PythonQtShell_QPdfWriter::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4952,7 +4952,7 @@ int PythonQtShell_QPdfWriter::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4985,7 +4985,7 @@ bool PythonQtShell_QPdfWriter::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5018,7 +5018,7 @@ bool PythonQtShell_QPdfWriter::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5051,7 +5051,7 @@ void PythonQtShell_QPdfWriter::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5073,7 +5073,7 @@ int PythonQtShell_QPdfWriter::metric(QPaintDevice::PaintDeviceMetric id0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5106,7 +5106,7 @@ bool PythonQtShell_QPdfWriter::newPage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5139,7 +5139,7 @@ QPaintEngine* PythonQtShell_QPdfWriter::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5172,7 +5172,7 @@ QPaintDevice* PythonQtShell_QPdfWriter::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5205,7 +5205,7 @@ void PythonQtShell_QPdfWriter::setMargins(const QPagedPaintDevice::Margins& m0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5227,7 +5227,7 @@ void PythonQtShell_QPdfWriter::setPageSize(QPagedPaintDevice::PageSize size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPageSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5249,7 +5249,7 @@ void PythonQtShell_QPdfWriter::setPageSizeMM(const QSizeF& size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPageSizeMM"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5271,7 +5271,7 @@ QPainter* PythonQtShell_QPdfWriter::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5304,7 +5304,7 @@ void PythonQtShell_QPdfWriter::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5393,7 +5393,7 @@ int PythonQtShell_QPicture::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5426,7 +5426,7 @@ void PythonQtShell_QPicture::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5448,7 +5448,7 @@ int PythonQtShell_QPicture::metric(QPaintDevice::PaintDeviceMetric m0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5481,7 +5481,7 @@ QPaintEngine* PythonQtShell_QPicture::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5514,7 +5514,7 @@ QPaintDevice* PythonQtShell_QPicture::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5547,7 +5547,7 @@ QPainter* PythonQtShell_QPicture::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5659,7 +5659,7 @@ void PythonQtShell_QPictureFormatPlugin::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5681,7 +5681,7 @@ void PythonQtShell_QPictureFormatPlugin::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5703,7 +5703,7 @@ bool PythonQtShell_QPictureFormatPlugin::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5736,7 +5736,7 @@ bool PythonQtShell_QPictureFormatPlugin::eventFilter(QObject* watched0, QEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5769,7 +5769,7 @@ bool PythonQtShell_QPictureFormatPlugin::installIOHandler(const QString& forma { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("installIOHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5802,7 +5802,7 @@ bool PythonQtShell_QPictureFormatPlugin::loadPicture(const QString& format0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("loadPicture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5835,7 +5835,7 @@ bool PythonQtShell_QPictureFormatPlugin::savePicture(const QString& format0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("savePicture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5868,7 +5868,7 @@ void PythonQtShell_QPictureFormatPlugin::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6062,7 +6062,7 @@ void PythonQtShell_QPinchGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6084,7 +6084,7 @@ void PythonQtShell_QPinchGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6106,7 +6106,7 @@ bool PythonQtShell_QPinchGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6139,7 +6139,7 @@ bool PythonQtShell_QPinchGesture::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6172,7 +6172,7 @@ void PythonQtShell_QPinchGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6542,7 +6542,7 @@ QRectF PythonQtShell_QPlainTextDocumentLayout::blockBoundingRect(const QTextBlo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("blockBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6575,7 +6575,7 @@ void PythonQtShell_QPlainTextDocumentLayout::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6597,7 +6597,7 @@ void PythonQtShell_QPlainTextDocumentLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6619,7 +6619,7 @@ void PythonQtShell_QPlainTextDocumentLayout::documentChanged(int from0, int ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("documentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6641,7 +6641,7 @@ QSizeF PythonQtShell_QPlainTextDocumentLayout::documentSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("documentSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6674,7 +6674,7 @@ void PythonQtShell_QPlainTextDocumentLayout::draw(QPainter* arg__1, const QAbst { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6696,7 +6696,7 @@ void PythonQtShell_QPlainTextDocumentLayout::drawInlineObject(QPainter* painter { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6718,7 +6718,7 @@ bool PythonQtShell_QPlainTextDocumentLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6751,7 +6751,7 @@ bool PythonQtShell_QPlainTextDocumentLayout::eventFilter(QObject* watched0, QE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6784,7 +6784,7 @@ QRectF PythonQtShell_QPlainTextDocumentLayout::frameBoundingRect(QTextFrame* a { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("frameBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6817,7 +6817,7 @@ int PythonQtShell_QPlainTextDocumentLayout::hitTest(const QPointF& arg__1, Qt: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6850,7 +6850,7 @@ int PythonQtShell_QPlainTextDocumentLayout::pageCount() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pageCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6883,7 +6883,7 @@ void PythonQtShell_QPlainTextDocumentLayout::positionInlineObject(QTextInlineObj { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("positionInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6905,7 +6905,7 @@ void PythonQtShell_QPlainTextDocumentLayout::resizeInlineObject(QTextInlineObjec { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6927,7 +6927,7 @@ void PythonQtShell_QPlainTextDocumentLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6992,7 +6992,7 @@ void PythonQtShell_QPlainTextEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7014,7 +7014,7 @@ bool PythonQtShell_QPlainTextEdit::canInsertFromMimeData(const QMimeData* sour { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canInsertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7047,7 +7047,7 @@ void PythonQtShell_QPlainTextEdit::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7069,7 +7069,7 @@ void PythonQtShell_QPlainTextEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7091,7 +7091,7 @@ void PythonQtShell_QPlainTextEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7113,7 +7113,7 @@ void PythonQtShell_QPlainTextEdit::contextMenuEvent(QContextMenuEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7135,7 +7135,7 @@ QMimeData* PythonQtShell_QPlainTextEdit::createMimeDataFromSelection() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createMimeDataFromSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7168,7 +7168,7 @@ void PythonQtShell_QPlainTextEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7190,7 +7190,7 @@ int PythonQtShell_QPlainTextEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7223,7 +7223,7 @@ void PythonQtShell_QPlainTextEdit::doSetTextCursor(const QTextCursor& cursor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doSetTextCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7245,7 +7245,7 @@ void PythonQtShell_QPlainTextEdit::dragEnterEvent(QDragEnterEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7267,7 +7267,7 @@ void PythonQtShell_QPlainTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7289,7 +7289,7 @@ void PythonQtShell_QPlainTextEdit::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7311,7 +7311,7 @@ void PythonQtShell_QPlainTextEdit::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7333,7 +7333,7 @@ void PythonQtShell_QPlainTextEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7355,7 +7355,7 @@ bool PythonQtShell_QPlainTextEdit::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7388,7 +7388,7 @@ bool PythonQtShell_QPlainTextEdit::eventFilter(QObject* arg__1, QEvent* arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7421,7 +7421,7 @@ void PythonQtShell_QPlainTextEdit::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7443,7 +7443,7 @@ bool PythonQtShell_QPlainTextEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7476,7 +7476,7 @@ void PythonQtShell_QPlainTextEdit::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7498,7 +7498,7 @@ bool PythonQtShell_QPlainTextEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7531,7 +7531,7 @@ int PythonQtShell_QPlainTextEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7564,7 +7564,7 @@ void PythonQtShell_QPlainTextEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7586,7 +7586,7 @@ void PythonQtShell_QPlainTextEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7608,7 +7608,7 @@ void PythonQtShell_QPlainTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7630,7 +7630,7 @@ QVariant PythonQtShell_QPlainTextEdit::inputMethodQuery(Qt::InputMethodQuery p { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7663,7 +7663,7 @@ void PythonQtShell_QPlainTextEdit::insertFromMimeData(const QMimeData* source0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7685,7 +7685,7 @@ void PythonQtShell_QPlainTextEdit::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7707,7 +7707,7 @@ void PythonQtShell_QPlainTextEdit::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7729,7 +7729,7 @@ void PythonQtShell_QPlainTextEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7751,7 +7751,7 @@ QVariant PythonQtShell_QPlainTextEdit::loadResource(int type0, const QUrl& na { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7784,7 +7784,7 @@ int PythonQtShell_QPlainTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7817,7 +7817,7 @@ QSize PythonQtShell_QPlainTextEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7850,7 +7850,7 @@ void PythonQtShell_QPlainTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7872,7 +7872,7 @@ void PythonQtShell_QPlainTextEdit::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7894,7 +7894,7 @@ void PythonQtShell_QPlainTextEdit::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7916,7 +7916,7 @@ void PythonQtShell_QPlainTextEdit::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7938,7 +7938,7 @@ void PythonQtShell_QPlainTextEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7960,7 +7960,7 @@ bool PythonQtShell_QPlainTextEdit::nativeEvent(const QByteArray& eventType0, v { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7993,7 +7993,7 @@ QPaintEngine* PythonQtShell_QPlainTextEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8026,7 +8026,7 @@ void PythonQtShell_QPlainTextEdit::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8048,7 +8048,7 @@ QPaintDevice* PythonQtShell_QPlainTextEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8081,7 +8081,7 @@ void PythonQtShell_QPlainTextEdit::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8103,7 +8103,7 @@ void PythonQtShell_QPlainTextEdit::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8125,7 +8125,7 @@ void PythonQtShell_QPlainTextEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8147,7 +8147,7 @@ void PythonQtShell_QPlainTextEdit::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8169,7 +8169,7 @@ QPainter* PythonQtShell_QPlainTextEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8202,7 +8202,7 @@ void PythonQtShell_QPlainTextEdit::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8224,7 +8224,7 @@ QSize PythonQtShell_QPlainTextEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8257,7 +8257,7 @@ void PythonQtShell_QPlainTextEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8279,7 +8279,7 @@ void PythonQtShell_QPlainTextEdit::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8301,7 +8301,7 @@ bool PythonQtShell_QPlainTextEdit::viewportEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8334,7 +8334,7 @@ QSize PythonQtShell_QPlainTextEdit::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8367,7 +8367,7 @@ void PythonQtShell_QPlainTextEdit::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9139,7 +9139,7 @@ void PythonQtShell_QPrintDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9161,7 +9161,7 @@ void PythonQtShell_QPrintDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9183,7 +9183,7 @@ void PythonQtShell_QPrintDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9205,7 +9205,7 @@ void PythonQtShell_QPrintDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9227,7 +9227,7 @@ void PythonQtShell_QPrintDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9249,7 +9249,7 @@ void PythonQtShell_QPrintDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9271,7 +9271,7 @@ void PythonQtShell_QPrintDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9293,7 +9293,7 @@ int PythonQtShell_QPrintDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9326,7 +9326,7 @@ void PythonQtShell_QPrintDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9348,7 +9348,7 @@ void PythonQtShell_QPrintDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9370,7 +9370,7 @@ void PythonQtShell_QPrintDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9392,7 +9392,7 @@ void PythonQtShell_QPrintDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9414,7 +9414,7 @@ void PythonQtShell_QPrintDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9436,7 +9436,7 @@ void PythonQtShell_QPrintDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9458,7 +9458,7 @@ bool PythonQtShell_QPrintDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9491,7 +9491,7 @@ bool PythonQtShell_QPrintDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9524,7 +9524,7 @@ int PythonQtShell_QPrintDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9557,7 +9557,7 @@ void PythonQtShell_QPrintDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9579,7 +9579,7 @@ bool PythonQtShell_QPrintDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9612,7 +9612,7 @@ void PythonQtShell_QPrintDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9634,7 +9634,7 @@ bool PythonQtShell_QPrintDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9667,7 +9667,7 @@ int PythonQtShell_QPrintDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9700,7 +9700,7 @@ void PythonQtShell_QPrintDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9722,7 +9722,7 @@ void PythonQtShell_QPrintDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9744,7 +9744,7 @@ void PythonQtShell_QPrintDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9766,7 +9766,7 @@ QVariant PythonQtShell_QPrintDialog::inputMethodQuery(Qt::InputMethodQuery arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9799,7 +9799,7 @@ void PythonQtShell_QPrintDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9821,7 +9821,7 @@ void PythonQtShell_QPrintDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9843,7 +9843,7 @@ void PythonQtShell_QPrintDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9865,7 +9865,7 @@ int PythonQtShell_QPrintDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9898,7 +9898,7 @@ QSize PythonQtShell_QPrintDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9931,7 +9931,7 @@ void PythonQtShell_QPrintDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9953,7 +9953,7 @@ void PythonQtShell_QPrintDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9975,7 +9975,7 @@ void PythonQtShell_QPrintDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9997,7 +9997,7 @@ void PythonQtShell_QPrintDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10019,7 +10019,7 @@ void PythonQtShell_QPrintDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10041,7 +10041,7 @@ bool PythonQtShell_QPrintDialog::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10074,7 +10074,7 @@ QPaintEngine* PythonQtShell_QPrintDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10107,7 +10107,7 @@ void PythonQtShell_QPrintDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10129,7 +10129,7 @@ QPaintDevice* PythonQtShell_QPrintDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10162,7 +10162,7 @@ void PythonQtShell_QPrintDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10184,7 +10184,7 @@ void PythonQtShell_QPrintDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10206,7 +10206,7 @@ void PythonQtShell_QPrintDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10228,7 +10228,7 @@ QPainter* PythonQtShell_QPrintDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10261,7 +10261,7 @@ void PythonQtShell_QPrintDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10283,7 +10283,7 @@ QSize PythonQtShell_QPrintDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10316,7 +10316,7 @@ void PythonQtShell_QPrintDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10338,7 +10338,7 @@ void PythonQtShell_QPrintDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10360,7 +10360,7 @@ void PythonQtShell_QPrintDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10434,7 +10434,7 @@ bool PythonQtShell_QPrintEngine::abort() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("abort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10467,7 +10467,7 @@ int PythonQtShell_QPrintEngine::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10500,7 +10500,7 @@ bool PythonQtShell_QPrintEngine::newPage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10533,7 +10533,7 @@ QPrinter::PrinterState PythonQtShell_QPrintEngine::printerState() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("printerState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10566,7 +10566,7 @@ QVariant PythonQtShell_QPrintEngine::property(QPrintEngine::PrintEngineProperty { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("property"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10599,7 +10599,7 @@ void PythonQtShell_QPrintEngine::setProperty(QPrintEngine::PrintEnginePropertyKe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp index 3e57989f9..47ee1f7d9 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp @@ -86,7 +86,7 @@ void PythonQtShell_QPrintPreviewDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -108,7 +108,7 @@ void PythonQtShell_QPrintPreviewDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -130,7 +130,7 @@ void PythonQtShell_QPrintPreviewDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -152,7 +152,7 @@ void PythonQtShell_QPrintPreviewDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -174,7 +174,7 @@ void PythonQtShell_QPrintPreviewDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -196,7 +196,7 @@ void PythonQtShell_QPrintPreviewDialog::contextMenuEvent(QContextMenuEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -218,7 +218,7 @@ void PythonQtShell_QPrintPreviewDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -240,7 +240,7 @@ int PythonQtShell_QPrintPreviewDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -273,7 +273,7 @@ void PythonQtShell_QPrintPreviewDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -295,7 +295,7 @@ void PythonQtShell_QPrintPreviewDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -317,7 +317,7 @@ void PythonQtShell_QPrintPreviewDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -339,7 +339,7 @@ void PythonQtShell_QPrintPreviewDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -361,7 +361,7 @@ void PythonQtShell_QPrintPreviewDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -383,7 +383,7 @@ void PythonQtShell_QPrintPreviewDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -405,7 +405,7 @@ bool PythonQtShell_QPrintPreviewDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -438,7 +438,7 @@ bool PythonQtShell_QPrintPreviewDialog::eventFilter(QObject* arg__1, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -471,7 +471,7 @@ int PythonQtShell_QPrintPreviewDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -504,7 +504,7 @@ void PythonQtShell_QPrintPreviewDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -526,7 +526,7 @@ bool PythonQtShell_QPrintPreviewDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -559,7 +559,7 @@ void PythonQtShell_QPrintPreviewDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -581,7 +581,7 @@ bool PythonQtShell_QPrintPreviewDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -614,7 +614,7 @@ int PythonQtShell_QPrintPreviewDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -647,7 +647,7 @@ void PythonQtShell_QPrintPreviewDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -669,7 +669,7 @@ void PythonQtShell_QPrintPreviewDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -691,7 +691,7 @@ void PythonQtShell_QPrintPreviewDialog::inputMethodEvent(QInputMethodEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -713,7 +713,7 @@ QVariant PythonQtShell_QPrintPreviewDialog::inputMethodQuery(Qt::InputMethodQue { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -746,7 +746,7 @@ void PythonQtShell_QPrintPreviewDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -768,7 +768,7 @@ void PythonQtShell_QPrintPreviewDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -790,7 +790,7 @@ void PythonQtShell_QPrintPreviewDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -812,7 +812,7 @@ int PythonQtShell_QPrintPreviewDialog::metric(QPaintDevice::PaintDeviceMetric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -845,7 +845,7 @@ QSize PythonQtShell_QPrintPreviewDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -878,7 +878,7 @@ void PythonQtShell_QPrintPreviewDialog::mouseDoubleClickEvent(QMouseEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -900,7 +900,7 @@ void PythonQtShell_QPrintPreviewDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -922,7 +922,7 @@ void PythonQtShell_QPrintPreviewDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -944,7 +944,7 @@ void PythonQtShell_QPrintPreviewDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -966,7 +966,7 @@ void PythonQtShell_QPrintPreviewDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -988,7 +988,7 @@ bool PythonQtShell_QPrintPreviewDialog::nativeEvent(const QByteArray& eventTyp { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1021,7 +1021,7 @@ QPaintEngine* PythonQtShell_QPrintPreviewDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1054,7 +1054,7 @@ void PythonQtShell_QPrintPreviewDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1076,7 +1076,7 @@ QPaintDevice* PythonQtShell_QPrintPreviewDialog::redirected(QPoint* offset0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1109,7 +1109,7 @@ void PythonQtShell_QPrintPreviewDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1131,7 +1131,7 @@ void PythonQtShell_QPrintPreviewDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1153,7 +1153,7 @@ void PythonQtShell_QPrintPreviewDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1175,7 +1175,7 @@ QPainter* PythonQtShell_QPrintPreviewDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1208,7 +1208,7 @@ void PythonQtShell_QPrintPreviewDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1230,7 +1230,7 @@ QSize PythonQtShell_QPrintPreviewDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1263,7 +1263,7 @@ void PythonQtShell_QPrintPreviewDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1285,7 +1285,7 @@ void PythonQtShell_QPrintPreviewDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1307,7 +1307,7 @@ void PythonQtShell_QPrintPreviewDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1366,7 +1366,7 @@ void PythonQtShell_QPrintPreviewWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1388,7 +1388,7 @@ void PythonQtShell_QPrintPreviewWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1410,7 +1410,7 @@ void PythonQtShell_QPrintPreviewWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1432,7 +1432,7 @@ void PythonQtShell_QPrintPreviewWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1454,7 +1454,7 @@ void PythonQtShell_QPrintPreviewWidget::contextMenuEvent(QContextMenuEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1476,7 +1476,7 @@ void PythonQtShell_QPrintPreviewWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1498,7 +1498,7 @@ int PythonQtShell_QPrintPreviewWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1531,7 +1531,7 @@ void PythonQtShell_QPrintPreviewWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1553,7 +1553,7 @@ void PythonQtShell_QPrintPreviewWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1575,7 +1575,7 @@ void PythonQtShell_QPrintPreviewWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1597,7 +1597,7 @@ void PythonQtShell_QPrintPreviewWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1619,7 +1619,7 @@ void PythonQtShell_QPrintPreviewWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1641,7 +1641,7 @@ bool PythonQtShell_QPrintPreviewWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1674,7 +1674,7 @@ bool PythonQtShell_QPrintPreviewWidget::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1707,7 +1707,7 @@ void PythonQtShell_QPrintPreviewWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1729,7 +1729,7 @@ bool PythonQtShell_QPrintPreviewWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1762,7 +1762,7 @@ void PythonQtShell_QPrintPreviewWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1784,7 +1784,7 @@ bool PythonQtShell_QPrintPreviewWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1817,7 +1817,7 @@ int PythonQtShell_QPrintPreviewWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1850,7 +1850,7 @@ void PythonQtShell_QPrintPreviewWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1872,7 +1872,7 @@ void PythonQtShell_QPrintPreviewWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1894,7 +1894,7 @@ void PythonQtShell_QPrintPreviewWidget::inputMethodEvent(QInputMethodEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1916,7 +1916,7 @@ QVariant PythonQtShell_QPrintPreviewWidget::inputMethodQuery(Qt::InputMethodQue { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1949,7 +1949,7 @@ void PythonQtShell_QPrintPreviewWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1971,7 +1971,7 @@ void PythonQtShell_QPrintPreviewWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1993,7 +1993,7 @@ void PythonQtShell_QPrintPreviewWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2015,7 +2015,7 @@ int PythonQtShell_QPrintPreviewWidget::metric(QPaintDevice::PaintDeviceMetric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2048,7 +2048,7 @@ QSize PythonQtShell_QPrintPreviewWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2081,7 +2081,7 @@ void PythonQtShell_QPrintPreviewWidget::mouseDoubleClickEvent(QMouseEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2103,7 +2103,7 @@ void PythonQtShell_QPrintPreviewWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2125,7 +2125,7 @@ void PythonQtShell_QPrintPreviewWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2147,7 +2147,7 @@ void PythonQtShell_QPrintPreviewWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2169,7 +2169,7 @@ void PythonQtShell_QPrintPreviewWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2191,7 +2191,7 @@ bool PythonQtShell_QPrintPreviewWidget::nativeEvent(const QByteArray& eventTyp { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2224,7 +2224,7 @@ QPaintEngine* PythonQtShell_QPrintPreviewWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2257,7 +2257,7 @@ void PythonQtShell_QPrintPreviewWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2279,7 +2279,7 @@ QPaintDevice* PythonQtShell_QPrintPreviewWidget::redirected(QPoint* offset0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2312,7 +2312,7 @@ void PythonQtShell_QPrintPreviewWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2334,7 +2334,7 @@ void PythonQtShell_QPrintPreviewWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2356,7 +2356,7 @@ QPainter* PythonQtShell_QPrintPreviewWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2389,7 +2389,7 @@ void PythonQtShell_QPrintPreviewWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2411,7 +2411,7 @@ QSize PythonQtShell_QPrintPreviewWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2444,7 +2444,7 @@ void PythonQtShell_QPrintPreviewWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2466,7 +2466,7 @@ void PythonQtShell_QPrintPreviewWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2488,7 +2488,7 @@ void PythonQtShell_QPrintPreviewWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2567,7 +2567,7 @@ int PythonQtShell_QPrinter::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2600,7 +2600,7 @@ void PythonQtShell_QPrinter::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2622,7 +2622,7 @@ int PythonQtShell_QPrinter::metric(QPaintDevice::PaintDeviceMetric arg__1) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2655,7 +2655,7 @@ bool PythonQtShell_QPrinter::newPage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2688,7 +2688,7 @@ QPaintEngine* PythonQtShell_QPrinter::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2721,7 +2721,7 @@ QPaintDevice* PythonQtShell_QPrinter::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2754,7 +2754,7 @@ void PythonQtShell_QPrinter::setMargins(const QPagedPaintDevice::Margins& m0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2776,7 +2776,7 @@ void PythonQtShell_QPrinter::setPageSize(QPagedPaintDevice::PageSize arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPageSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2798,7 +2798,7 @@ void PythonQtShell_QPrinter::setPageSizeMM(const QSizeF& size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPageSizeMM"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2820,7 +2820,7 @@ QPainter* PythonQtShell_QPrinter::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3326,7 +3326,7 @@ void PythonQtShell_QProgressBar::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3348,7 +3348,7 @@ void PythonQtShell_QProgressBar::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3370,7 +3370,7 @@ void PythonQtShell_QProgressBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3392,7 +3392,7 @@ void PythonQtShell_QProgressBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3414,7 +3414,7 @@ void PythonQtShell_QProgressBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3436,7 +3436,7 @@ void PythonQtShell_QProgressBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3458,7 +3458,7 @@ int PythonQtShell_QProgressBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3491,7 +3491,7 @@ void PythonQtShell_QProgressBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3513,7 +3513,7 @@ void PythonQtShell_QProgressBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3535,7 +3535,7 @@ void PythonQtShell_QProgressBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3557,7 +3557,7 @@ void PythonQtShell_QProgressBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3579,7 +3579,7 @@ void PythonQtShell_QProgressBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3601,7 +3601,7 @@ bool PythonQtShell_QProgressBar::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3634,7 +3634,7 @@ bool PythonQtShell_QProgressBar::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3667,7 +3667,7 @@ void PythonQtShell_QProgressBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3689,7 +3689,7 @@ bool PythonQtShell_QProgressBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3722,7 +3722,7 @@ void PythonQtShell_QProgressBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3744,7 +3744,7 @@ bool PythonQtShell_QProgressBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3777,7 +3777,7 @@ int PythonQtShell_QProgressBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3810,7 +3810,7 @@ void PythonQtShell_QProgressBar::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3832,7 +3832,7 @@ void PythonQtShell_QProgressBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3854,7 +3854,7 @@ void PythonQtShell_QProgressBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3876,7 +3876,7 @@ QVariant PythonQtShell_QProgressBar::inputMethodQuery(Qt::InputMethodQuery arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3909,7 +3909,7 @@ void PythonQtShell_QProgressBar::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3931,7 +3931,7 @@ void PythonQtShell_QProgressBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3953,7 +3953,7 @@ void PythonQtShell_QProgressBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3975,7 +3975,7 @@ int PythonQtShell_QProgressBar::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4008,7 +4008,7 @@ QSize PythonQtShell_QProgressBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4041,7 +4041,7 @@ void PythonQtShell_QProgressBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4063,7 +4063,7 @@ void PythonQtShell_QProgressBar::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4085,7 +4085,7 @@ void PythonQtShell_QProgressBar::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4107,7 +4107,7 @@ void PythonQtShell_QProgressBar::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4129,7 +4129,7 @@ void PythonQtShell_QProgressBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4151,7 +4151,7 @@ bool PythonQtShell_QProgressBar::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4184,7 +4184,7 @@ QPaintEngine* PythonQtShell_QProgressBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4217,7 +4217,7 @@ void PythonQtShell_QProgressBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4239,7 +4239,7 @@ QPaintDevice* PythonQtShell_QProgressBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4272,7 +4272,7 @@ void PythonQtShell_QProgressBar::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4294,7 +4294,7 @@ void PythonQtShell_QProgressBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4316,7 +4316,7 @@ QPainter* PythonQtShell_QProgressBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4349,7 +4349,7 @@ void PythonQtShell_QProgressBar::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4371,7 +4371,7 @@ QSize PythonQtShell_QProgressBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4404,7 +4404,7 @@ void PythonQtShell_QProgressBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4426,7 +4426,7 @@ QString PythonQtShell_QProgressBar::text() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("text"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4459,7 +4459,7 @@ void PythonQtShell_QProgressBar::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4481,7 +4481,7 @@ void PythonQtShell_QProgressBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4621,7 +4621,7 @@ void PythonQtShell_QProgressDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4643,7 +4643,7 @@ void PythonQtShell_QProgressDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4665,7 +4665,7 @@ void PythonQtShell_QProgressDialog::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4687,7 +4687,7 @@ void PythonQtShell_QProgressDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4709,7 +4709,7 @@ void PythonQtShell_QProgressDialog::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4731,7 +4731,7 @@ void PythonQtShell_QProgressDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4753,7 +4753,7 @@ void PythonQtShell_QProgressDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4775,7 +4775,7 @@ int PythonQtShell_QProgressDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4808,7 +4808,7 @@ void PythonQtShell_QProgressDialog::done(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4830,7 +4830,7 @@ void PythonQtShell_QProgressDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4852,7 +4852,7 @@ void PythonQtShell_QProgressDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4874,7 +4874,7 @@ void PythonQtShell_QProgressDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4896,7 +4896,7 @@ void PythonQtShell_QProgressDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4918,7 +4918,7 @@ void PythonQtShell_QProgressDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4940,7 +4940,7 @@ bool PythonQtShell_QProgressDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4973,7 +4973,7 @@ bool PythonQtShell_QProgressDialog::eventFilter(QObject* arg__1, QEvent* arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5006,7 +5006,7 @@ int PythonQtShell_QProgressDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5039,7 +5039,7 @@ void PythonQtShell_QProgressDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5061,7 +5061,7 @@ bool PythonQtShell_QProgressDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5094,7 +5094,7 @@ void PythonQtShell_QProgressDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5116,7 +5116,7 @@ bool PythonQtShell_QProgressDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5149,7 +5149,7 @@ int PythonQtShell_QProgressDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5182,7 +5182,7 @@ void PythonQtShell_QProgressDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5204,7 +5204,7 @@ void PythonQtShell_QProgressDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5226,7 +5226,7 @@ void PythonQtShell_QProgressDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5248,7 +5248,7 @@ QVariant PythonQtShell_QProgressDialog::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5281,7 +5281,7 @@ void PythonQtShell_QProgressDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5303,7 +5303,7 @@ void PythonQtShell_QProgressDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5325,7 +5325,7 @@ void PythonQtShell_QProgressDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5347,7 +5347,7 @@ int PythonQtShell_QProgressDialog::metric(QPaintDevice::PaintDeviceMetric arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5380,7 +5380,7 @@ QSize PythonQtShell_QProgressDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5413,7 +5413,7 @@ void PythonQtShell_QProgressDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5435,7 +5435,7 @@ void PythonQtShell_QProgressDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5457,7 +5457,7 @@ void PythonQtShell_QProgressDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5479,7 +5479,7 @@ void PythonQtShell_QProgressDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5501,7 +5501,7 @@ void PythonQtShell_QProgressDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5523,7 +5523,7 @@ bool PythonQtShell_QProgressDialog::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5556,7 +5556,7 @@ QPaintEngine* PythonQtShell_QProgressDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5589,7 +5589,7 @@ void PythonQtShell_QProgressDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5611,7 +5611,7 @@ QPaintDevice* PythonQtShell_QProgressDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5644,7 +5644,7 @@ void PythonQtShell_QProgressDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5666,7 +5666,7 @@ void PythonQtShell_QProgressDialog::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5688,7 +5688,7 @@ void PythonQtShell_QProgressDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5710,7 +5710,7 @@ QPainter* PythonQtShell_QProgressDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5743,7 +5743,7 @@ void PythonQtShell_QProgressDialog::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5765,7 +5765,7 @@ QSize PythonQtShell_QProgressDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5798,7 +5798,7 @@ void PythonQtShell_QProgressDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5820,7 +5820,7 @@ void PythonQtShell_QProgressDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5842,7 +5842,7 @@ void PythonQtShell_QProgressDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5961,7 +5961,7 @@ void PythonQtShell_QProxyStyle::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5983,7 +5983,7 @@ void PythonQtShell_QProxyStyle::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6005,7 +6005,7 @@ void PythonQtShell_QProxyStyle::drawComplexControl(QStyle::ComplexControl contr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6027,7 +6027,7 @@ void PythonQtShell_QProxyStyle::drawControl(QStyle::ControlElement element0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6049,7 +6049,7 @@ void PythonQtShell_QProxyStyle::drawItemPixmap(QPainter* painter0, const QRect& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawItemPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6071,7 +6071,7 @@ void PythonQtShell_QProxyStyle::drawItemText(QPainter* painter0, const QRect& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawItemText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6093,7 +6093,7 @@ void PythonQtShell_QProxyStyle::drawPrimitive(QStyle::PrimitiveElement element0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawPrimitive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6115,7 +6115,7 @@ bool PythonQtShell_QProxyStyle::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6148,7 +6148,7 @@ bool PythonQtShell_QProxyStyle::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6181,7 +6181,7 @@ QPixmap PythonQtShell_QProxyStyle::generatedIconPixmap(QIcon::Mode iconMode0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("generatedIconPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6214,7 +6214,7 @@ QStyle::SubControl PythonQtShell_QProxyStyle::hitTestComplexControl(QStyle::Com { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitTestComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6247,7 +6247,7 @@ QRect PythonQtShell_QProxyStyle::itemPixmapRect(const QRect& r0, int flags1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemPixmapRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6280,7 +6280,7 @@ QRect PythonQtShell_QProxyStyle::itemTextRect(const QFontMetrics& fm0, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemTextRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6313,7 +6313,7 @@ int PythonQtShell_QProxyStyle::layoutSpacing(QSizePolicy::ControlType control1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layoutSpacing"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6346,7 +6346,7 @@ int PythonQtShell_QProxyStyle::pixelMetric(QStyle::PixelMetric metric0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pixelMetric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6379,7 +6379,7 @@ void PythonQtShell_QProxyStyle::polish(QApplication* app0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6401,7 +6401,7 @@ void PythonQtShell_QProxyStyle::polish(QPalette& pal0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6423,7 +6423,7 @@ void PythonQtShell_QProxyStyle::polish(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6445,7 +6445,7 @@ QSize PythonQtShell_QProxyStyle::sizeFromContents(QStyle::ContentsType type0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6478,7 +6478,7 @@ QIcon PythonQtShell_QProxyStyle::standardIcon(QStyle::StandardPixmap standardI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("standardIcon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6511,7 +6511,7 @@ QPalette PythonQtShell_QProxyStyle::standardPalette() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("standardPalette"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6544,7 +6544,7 @@ QPixmap PythonQtShell_QProxyStyle::standardPixmap(QStyle::StandardPixmap stand { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("standardPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6577,7 +6577,7 @@ int PythonQtShell_QProxyStyle::styleHint(QStyle::StyleHint hint0, const QStyle { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("styleHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6610,7 +6610,7 @@ QRect PythonQtShell_QProxyStyle::subControlRect(QStyle::ComplexControl cc0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("subControlRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6643,7 +6643,7 @@ QRect PythonQtShell_QProxyStyle::subElementRect(QStyle::SubElement element0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("subElementRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6676,7 +6676,7 @@ void PythonQtShell_QProxyStyle::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6698,7 +6698,7 @@ void PythonQtShell_QProxyStyle::unpolish(QApplication* app0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6720,7 +6720,7 @@ void PythonQtShell_QProxyStyle::unpolish(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6784,7 +6784,7 @@ void PythonQtShell_QPushButton::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6806,7 +6806,7 @@ void PythonQtShell_QPushButton::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6828,7 +6828,7 @@ void PythonQtShell_QPushButton::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6850,7 +6850,7 @@ void PythonQtShell_QPushButton::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6872,7 +6872,7 @@ void PythonQtShell_QPushButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6894,7 +6894,7 @@ void PythonQtShell_QPushButton::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6916,7 +6916,7 @@ void PythonQtShell_QPushButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6938,7 +6938,7 @@ int PythonQtShell_QPushButton::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6971,7 +6971,7 @@ void PythonQtShell_QPushButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6993,7 +6993,7 @@ void PythonQtShell_QPushButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7015,7 +7015,7 @@ void PythonQtShell_QPushButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7037,7 +7037,7 @@ void PythonQtShell_QPushButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7059,7 +7059,7 @@ void PythonQtShell_QPushButton::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7081,7 +7081,7 @@ bool PythonQtShell_QPushButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7114,7 +7114,7 @@ bool PythonQtShell_QPushButton::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7147,7 +7147,7 @@ void PythonQtShell_QPushButton::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7169,7 +7169,7 @@ bool PythonQtShell_QPushButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7202,7 +7202,7 @@ void PythonQtShell_QPushButton::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7224,7 +7224,7 @@ bool PythonQtShell_QPushButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7257,7 +7257,7 @@ int PythonQtShell_QPushButton::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7290,7 +7290,7 @@ void PythonQtShell_QPushButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7312,7 +7312,7 @@ bool PythonQtShell_QPushButton::hitButton(const QPoint& pos0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7345,7 +7345,7 @@ void PythonQtShell_QPushButton::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7367,7 +7367,7 @@ void PythonQtShell_QPushButton::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7389,7 +7389,7 @@ QVariant PythonQtShell_QPushButton::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7422,7 +7422,7 @@ void PythonQtShell_QPushButton::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7444,7 +7444,7 @@ void PythonQtShell_QPushButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7466,7 +7466,7 @@ void PythonQtShell_QPushButton::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7488,7 +7488,7 @@ int PythonQtShell_QPushButton::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7521,7 +7521,7 @@ QSize PythonQtShell_QPushButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7554,7 +7554,7 @@ void PythonQtShell_QPushButton::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7576,7 +7576,7 @@ void PythonQtShell_QPushButton::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7598,7 +7598,7 @@ void PythonQtShell_QPushButton::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7620,7 +7620,7 @@ void PythonQtShell_QPushButton::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7642,7 +7642,7 @@ void PythonQtShell_QPushButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7664,7 +7664,7 @@ bool PythonQtShell_QPushButton::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7697,7 +7697,7 @@ void PythonQtShell_QPushButton::nextCheckState() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7719,7 +7719,7 @@ QPaintEngine* PythonQtShell_QPushButton::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7752,7 +7752,7 @@ void PythonQtShell_QPushButton::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7774,7 +7774,7 @@ QPaintDevice* PythonQtShell_QPushButton::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7807,7 +7807,7 @@ void PythonQtShell_QPushButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7829,7 +7829,7 @@ void PythonQtShell_QPushButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7851,7 +7851,7 @@ QPainter* PythonQtShell_QPushButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7884,7 +7884,7 @@ void PythonQtShell_QPushButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7906,7 +7906,7 @@ QSize PythonQtShell_QPushButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7939,7 +7939,7 @@ void PythonQtShell_QPushButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7961,7 +7961,7 @@ void PythonQtShell_QPushButton::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7983,7 +7983,7 @@ void PythonQtShell_QPushButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8461,7 +8461,7 @@ void PythonQtShell_QRadioButton::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8483,7 +8483,7 @@ void PythonQtShell_QRadioButton::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8505,7 +8505,7 @@ void PythonQtShell_QRadioButton::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8527,7 +8527,7 @@ void PythonQtShell_QRadioButton::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8549,7 +8549,7 @@ void PythonQtShell_QRadioButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8571,7 +8571,7 @@ void PythonQtShell_QRadioButton::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8593,7 +8593,7 @@ void PythonQtShell_QRadioButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8615,7 +8615,7 @@ int PythonQtShell_QRadioButton::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8648,7 +8648,7 @@ void PythonQtShell_QRadioButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8670,7 +8670,7 @@ void PythonQtShell_QRadioButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8692,7 +8692,7 @@ void PythonQtShell_QRadioButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8714,7 +8714,7 @@ void PythonQtShell_QRadioButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8736,7 +8736,7 @@ void PythonQtShell_QRadioButton::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8758,7 +8758,7 @@ bool PythonQtShell_QRadioButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8791,7 +8791,7 @@ bool PythonQtShell_QRadioButton::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8824,7 +8824,7 @@ void PythonQtShell_QRadioButton::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8846,7 +8846,7 @@ bool PythonQtShell_QRadioButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8879,7 +8879,7 @@ void PythonQtShell_QRadioButton::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8901,7 +8901,7 @@ bool PythonQtShell_QRadioButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8934,7 +8934,7 @@ int PythonQtShell_QRadioButton::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8967,7 +8967,7 @@ void PythonQtShell_QRadioButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8989,7 +8989,7 @@ bool PythonQtShell_QRadioButton::hitButton(const QPoint& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9022,7 +9022,7 @@ void PythonQtShell_QRadioButton::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9044,7 +9044,7 @@ void PythonQtShell_QRadioButton::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9066,7 +9066,7 @@ QVariant PythonQtShell_QRadioButton::inputMethodQuery(Qt::InputMethodQuery arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9099,7 +9099,7 @@ void PythonQtShell_QRadioButton::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9121,7 +9121,7 @@ void PythonQtShell_QRadioButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9143,7 +9143,7 @@ void PythonQtShell_QRadioButton::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9165,7 +9165,7 @@ int PythonQtShell_QRadioButton::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9198,7 +9198,7 @@ QSize PythonQtShell_QRadioButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9231,7 +9231,7 @@ void PythonQtShell_QRadioButton::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9253,7 +9253,7 @@ void PythonQtShell_QRadioButton::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9275,7 +9275,7 @@ void PythonQtShell_QRadioButton::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9297,7 +9297,7 @@ void PythonQtShell_QRadioButton::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9319,7 +9319,7 @@ void PythonQtShell_QRadioButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9341,7 +9341,7 @@ bool PythonQtShell_QRadioButton::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9374,7 +9374,7 @@ void PythonQtShell_QRadioButton::nextCheckState() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9396,7 +9396,7 @@ QPaintEngine* PythonQtShell_QRadioButton::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9429,7 +9429,7 @@ void PythonQtShell_QRadioButton::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9451,7 +9451,7 @@ QPaintDevice* PythonQtShell_QRadioButton::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9484,7 +9484,7 @@ void PythonQtShell_QRadioButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9506,7 +9506,7 @@ void PythonQtShell_QRadioButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9528,7 +9528,7 @@ QPainter* PythonQtShell_QRadioButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9561,7 +9561,7 @@ void PythonQtShell_QRadioButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9583,7 +9583,7 @@ QSize PythonQtShell_QRadioButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9616,7 +9616,7 @@ void PythonQtShell_QRadioButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9638,7 +9638,7 @@ void PythonQtShell_QRadioButton::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9660,7 +9660,7 @@ void PythonQtShell_QRadioButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9724,7 +9724,7 @@ void PythonQtShell_QRasterWindow::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9746,7 +9746,7 @@ void PythonQtShell_QRasterWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9768,7 +9768,7 @@ bool PythonQtShell_QRasterWindow::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9801,7 +9801,7 @@ bool PythonQtShell_QRasterWindow::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9834,7 +9834,7 @@ void PythonQtShell_QRasterWindow::exposeEvent(QExposeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exposeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9856,7 +9856,7 @@ void PythonQtShell_QRasterWindow::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9878,7 +9878,7 @@ QObject* PythonQtShell_QRasterWindow::focusObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9911,7 +9911,7 @@ void PythonQtShell_QRasterWindow::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9933,7 +9933,7 @@ QSurfaceFormat PythonQtShell_QRasterWindow::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9966,7 +9966,7 @@ void PythonQtShell_QRasterWindow::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9988,7 +9988,7 @@ void PythonQtShell_QRasterWindow::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10010,7 +10010,7 @@ void PythonQtShell_QRasterWindow::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10032,7 +10032,7 @@ int PythonQtShell_QRasterWindow::metric(QPaintDevice::PaintDeviceMetric metric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10065,7 +10065,7 @@ void PythonQtShell_QRasterWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10087,7 +10087,7 @@ void PythonQtShell_QRasterWindow::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10109,7 +10109,7 @@ void PythonQtShell_QRasterWindow::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10131,7 +10131,7 @@ void PythonQtShell_QRasterWindow::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10153,7 +10153,7 @@ void PythonQtShell_QRasterWindow::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10175,7 +10175,7 @@ bool PythonQtShell_QRasterWindow::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10208,7 +10208,7 @@ void PythonQtShell_QRasterWindow::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10230,7 +10230,7 @@ QPaintDevice* PythonQtShell_QRasterWindow::redirected(QPoint* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10263,7 +10263,7 @@ void PythonQtShell_QRasterWindow::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10285,7 +10285,7 @@ void PythonQtShell_QRasterWindow::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10307,7 +10307,7 @@ QSize PythonQtShell_QRasterWindow::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10340,7 +10340,7 @@ QSurface::SurfaceType PythonQtShell_QRasterWindow::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10373,7 +10373,7 @@ void PythonQtShell_QRasterWindow::tabletEvent(QTabletEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10395,7 +10395,7 @@ void PythonQtShell_QRasterWindow::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10417,7 +10417,7 @@ void PythonQtShell_QRasterWindow::touchEvent(QTouchEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10439,7 +10439,7 @@ void PythonQtShell_QRasterWindow::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10697,7 +10697,7 @@ void PythonQtShell_QRegExpValidator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10719,7 +10719,7 @@ void PythonQtShell_QRegExpValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10741,7 +10741,7 @@ bool PythonQtShell_QRegExpValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10774,7 +10774,7 @@ bool PythonQtShell_QRegExpValidator::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10807,7 +10807,7 @@ void PythonQtShell_QRegExpValidator::fixup(QString& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10829,7 +10829,7 @@ void PythonQtShell_QRegExpValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10851,7 +10851,7 @@ QValidator::State PythonQtShell_QRegExpValidator::validate(QString& input0, in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10921,7 +10921,7 @@ void PythonQtShell_QRegularExpressionValidator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10943,7 +10943,7 @@ void PythonQtShell_QRegularExpressionValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10965,7 +10965,7 @@ bool PythonQtShell_QRegularExpressionValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10998,7 +10998,7 @@ bool PythonQtShell_QRegularExpressionValidator::eventFilter(QObject* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11031,7 +11031,7 @@ void PythonQtShell_QRegularExpressionValidator::fixup(QString& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11053,7 +11053,7 @@ void PythonQtShell_QRegularExpressionValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11075,7 +11075,7 @@ QValidator::State PythonQtShell_QRegularExpressionValidator::validate(QString& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11277,7 +11277,7 @@ void PythonQtShell_QRubberBand::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11299,7 +11299,7 @@ void PythonQtShell_QRubberBand::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11321,7 +11321,7 @@ void PythonQtShell_QRubberBand::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11343,7 +11343,7 @@ void PythonQtShell_QRubberBand::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11365,7 +11365,7 @@ void PythonQtShell_QRubberBand::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11387,7 +11387,7 @@ void PythonQtShell_QRubberBand::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11409,7 +11409,7 @@ int PythonQtShell_QRubberBand::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11442,7 +11442,7 @@ void PythonQtShell_QRubberBand::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11464,7 +11464,7 @@ void PythonQtShell_QRubberBand::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11486,7 +11486,7 @@ void PythonQtShell_QRubberBand::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11508,7 +11508,7 @@ void PythonQtShell_QRubberBand::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11530,7 +11530,7 @@ void PythonQtShell_QRubberBand::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11552,7 +11552,7 @@ bool PythonQtShell_QRubberBand::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11585,7 +11585,7 @@ bool PythonQtShell_QRubberBand::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11618,7 +11618,7 @@ void PythonQtShell_QRubberBand::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11640,7 +11640,7 @@ bool PythonQtShell_QRubberBand::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11673,7 +11673,7 @@ void PythonQtShell_QRubberBand::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11695,7 +11695,7 @@ bool PythonQtShell_QRubberBand::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11728,7 +11728,7 @@ int PythonQtShell_QRubberBand::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11761,7 +11761,7 @@ void PythonQtShell_QRubberBand::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11783,7 +11783,7 @@ void PythonQtShell_QRubberBand::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11805,7 +11805,7 @@ void PythonQtShell_QRubberBand::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11827,7 +11827,7 @@ QVariant PythonQtShell_QRubberBand::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11860,7 +11860,7 @@ void PythonQtShell_QRubberBand::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11882,7 +11882,7 @@ void PythonQtShell_QRubberBand::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11904,7 +11904,7 @@ void PythonQtShell_QRubberBand::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11926,7 +11926,7 @@ int PythonQtShell_QRubberBand::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11959,7 +11959,7 @@ QSize PythonQtShell_QRubberBand::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11992,7 +11992,7 @@ void PythonQtShell_QRubberBand::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12014,7 +12014,7 @@ void PythonQtShell_QRubberBand::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12036,7 +12036,7 @@ void PythonQtShell_QRubberBand::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12058,7 +12058,7 @@ void PythonQtShell_QRubberBand::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12080,7 +12080,7 @@ void PythonQtShell_QRubberBand::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12102,7 +12102,7 @@ bool PythonQtShell_QRubberBand::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12135,7 +12135,7 @@ QPaintEngine* PythonQtShell_QRubberBand::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12168,7 +12168,7 @@ void PythonQtShell_QRubberBand::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12190,7 +12190,7 @@ QPaintDevice* PythonQtShell_QRubberBand::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12223,7 +12223,7 @@ void PythonQtShell_QRubberBand::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12245,7 +12245,7 @@ void PythonQtShell_QRubberBand::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12267,7 +12267,7 @@ QPainter* PythonQtShell_QRubberBand::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12300,7 +12300,7 @@ void PythonQtShell_QRubberBand::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12322,7 +12322,7 @@ QSize PythonQtShell_QRubberBand::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12355,7 +12355,7 @@ void PythonQtShell_QRubberBand::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12377,7 +12377,7 @@ void PythonQtShell_QRubberBand::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12399,7 +12399,7 @@ void PythonQtShell_QRubberBand::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12679,7 +12679,7 @@ void PythonQtShell_QScrollArea::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12701,7 +12701,7 @@ void PythonQtShell_QScrollArea::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12723,7 +12723,7 @@ void PythonQtShell_QScrollArea::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12745,7 +12745,7 @@ void PythonQtShell_QScrollArea::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12767,7 +12767,7 @@ void PythonQtShell_QScrollArea::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12789,7 +12789,7 @@ void PythonQtShell_QScrollArea::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12811,7 +12811,7 @@ int PythonQtShell_QScrollArea::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12844,7 +12844,7 @@ void PythonQtShell_QScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12866,7 +12866,7 @@ void PythonQtShell_QScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12888,7 +12888,7 @@ void PythonQtShell_QScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12910,7 +12910,7 @@ void PythonQtShell_QScrollArea::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12932,7 +12932,7 @@ void PythonQtShell_QScrollArea::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12954,7 +12954,7 @@ bool PythonQtShell_QScrollArea::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12987,7 +12987,7 @@ bool PythonQtShell_QScrollArea::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13020,7 +13020,7 @@ void PythonQtShell_QScrollArea::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13042,7 +13042,7 @@ bool PythonQtShell_QScrollArea::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13075,7 +13075,7 @@ void PythonQtShell_QScrollArea::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13097,7 +13097,7 @@ bool PythonQtShell_QScrollArea::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13130,7 +13130,7 @@ int PythonQtShell_QScrollArea::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13163,7 +13163,7 @@ void PythonQtShell_QScrollArea::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13185,7 +13185,7 @@ void PythonQtShell_QScrollArea::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13207,7 +13207,7 @@ void PythonQtShell_QScrollArea::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13229,7 +13229,7 @@ QVariant PythonQtShell_QScrollArea::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13262,7 +13262,7 @@ void PythonQtShell_QScrollArea::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13284,7 +13284,7 @@ void PythonQtShell_QScrollArea::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13306,7 +13306,7 @@ void PythonQtShell_QScrollArea::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13328,7 +13328,7 @@ int PythonQtShell_QScrollArea::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13361,7 +13361,7 @@ QSize PythonQtShell_QScrollArea::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13394,7 +13394,7 @@ void PythonQtShell_QScrollArea::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13416,7 +13416,7 @@ void PythonQtShell_QScrollArea::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13438,7 +13438,7 @@ void PythonQtShell_QScrollArea::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13460,7 +13460,7 @@ void PythonQtShell_QScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13482,7 +13482,7 @@ void PythonQtShell_QScrollArea::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13504,7 +13504,7 @@ bool PythonQtShell_QScrollArea::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13537,7 +13537,7 @@ QPaintEngine* PythonQtShell_QScrollArea::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13570,7 +13570,7 @@ void PythonQtShell_QScrollArea::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13592,7 +13592,7 @@ QPaintDevice* PythonQtShell_QScrollArea::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13625,7 +13625,7 @@ void PythonQtShell_QScrollArea::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13647,7 +13647,7 @@ void PythonQtShell_QScrollArea::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13669,7 +13669,7 @@ void PythonQtShell_QScrollArea::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13691,7 +13691,7 @@ void PythonQtShell_QScrollArea::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13713,7 +13713,7 @@ QPainter* PythonQtShell_QScrollArea::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13746,7 +13746,7 @@ void PythonQtShell_QScrollArea::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13768,7 +13768,7 @@ QSize PythonQtShell_QScrollArea::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13801,7 +13801,7 @@ void PythonQtShell_QScrollArea::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13823,7 +13823,7 @@ void PythonQtShell_QScrollArea::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13845,7 +13845,7 @@ bool PythonQtShell_QScrollArea::viewportEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13878,7 +13878,7 @@ QSize PythonQtShell_QScrollArea::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13911,7 +13911,7 @@ void PythonQtShell_QScrollArea::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14001,7 +14001,7 @@ void PythonQtShell_QScrollBar::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14023,7 +14023,7 @@ void PythonQtShell_QScrollBar::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14045,7 +14045,7 @@ void PythonQtShell_QScrollBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14067,7 +14067,7 @@ void PythonQtShell_QScrollBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14089,7 +14089,7 @@ void PythonQtShell_QScrollBar::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14111,7 +14111,7 @@ void PythonQtShell_QScrollBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14133,7 +14133,7 @@ int PythonQtShell_QScrollBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14166,7 +14166,7 @@ void PythonQtShell_QScrollBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14188,7 +14188,7 @@ void PythonQtShell_QScrollBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14210,7 +14210,7 @@ void PythonQtShell_QScrollBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14232,7 +14232,7 @@ void PythonQtShell_QScrollBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14254,7 +14254,7 @@ void PythonQtShell_QScrollBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14276,7 +14276,7 @@ bool PythonQtShell_QScrollBar::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14309,7 +14309,7 @@ bool PythonQtShell_QScrollBar::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14342,7 +14342,7 @@ void PythonQtShell_QScrollBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14364,7 +14364,7 @@ bool PythonQtShell_QScrollBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14397,7 +14397,7 @@ void PythonQtShell_QScrollBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14419,7 +14419,7 @@ bool PythonQtShell_QScrollBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14452,7 +14452,7 @@ int PythonQtShell_QScrollBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14485,7 +14485,7 @@ void PythonQtShell_QScrollBar::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14507,7 +14507,7 @@ void PythonQtShell_QScrollBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14529,7 +14529,7 @@ void PythonQtShell_QScrollBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14551,7 +14551,7 @@ QVariant PythonQtShell_QScrollBar::inputMethodQuery(Qt::InputMethodQuery arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14584,7 +14584,7 @@ void PythonQtShell_QScrollBar::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14606,7 +14606,7 @@ void PythonQtShell_QScrollBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14628,7 +14628,7 @@ void PythonQtShell_QScrollBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14650,7 +14650,7 @@ int PythonQtShell_QScrollBar::metric(QPaintDevice::PaintDeviceMetric arg__1) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14683,7 +14683,7 @@ QSize PythonQtShell_QScrollBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14716,7 +14716,7 @@ void PythonQtShell_QScrollBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14738,7 +14738,7 @@ void PythonQtShell_QScrollBar::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14760,7 +14760,7 @@ void PythonQtShell_QScrollBar::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14782,7 +14782,7 @@ void PythonQtShell_QScrollBar::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14804,7 +14804,7 @@ void PythonQtShell_QScrollBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14826,7 +14826,7 @@ bool PythonQtShell_QScrollBar::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14859,7 +14859,7 @@ QPaintEngine* PythonQtShell_QScrollBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14892,7 +14892,7 @@ void PythonQtShell_QScrollBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14914,7 +14914,7 @@ QPaintDevice* PythonQtShell_QScrollBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14947,7 +14947,7 @@ void PythonQtShell_QScrollBar::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14969,7 +14969,7 @@ void PythonQtShell_QScrollBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14991,7 +14991,7 @@ QPainter* PythonQtShell_QScrollBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15024,7 +15024,7 @@ void PythonQtShell_QScrollBar::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15046,7 +15046,7 @@ QSize PythonQtShell_QScrollBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15079,7 +15079,7 @@ void PythonQtShell_QScrollBar::sliderChange(QAbstractSlider::SliderChange chang { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sliderChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15101,7 +15101,7 @@ void PythonQtShell_QScrollBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15123,7 +15123,7 @@ void PythonQtShell_QScrollBar::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15145,7 +15145,7 @@ void PythonQtShell_QScrollBar::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15494,7 +15494,7 @@ void PythonQtShell_QShortcut::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15516,7 +15516,7 @@ void PythonQtShell_QShortcut::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15538,7 +15538,7 @@ bool PythonQtShell_QShortcut::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15571,7 +15571,7 @@ bool PythonQtShell_QShortcut::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15604,7 +15604,7 @@ void PythonQtShell_QShortcut::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp index 3d5a84b30..bca662560 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp @@ -75,7 +75,7 @@ void PythonQtShell_QSizeGrip::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -97,7 +97,7 @@ void PythonQtShell_QSizeGrip::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -119,7 +119,7 @@ void PythonQtShell_QSizeGrip::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -141,7 +141,7 @@ void PythonQtShell_QSizeGrip::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -163,7 +163,7 @@ void PythonQtShell_QSizeGrip::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -185,7 +185,7 @@ void PythonQtShell_QSizeGrip::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -207,7 +207,7 @@ int PythonQtShell_QSizeGrip::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -240,7 +240,7 @@ void PythonQtShell_QSizeGrip::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -262,7 +262,7 @@ void PythonQtShell_QSizeGrip::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -284,7 +284,7 @@ void PythonQtShell_QSizeGrip::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -306,7 +306,7 @@ void PythonQtShell_QSizeGrip::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -328,7 +328,7 @@ void PythonQtShell_QSizeGrip::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -350,7 +350,7 @@ bool PythonQtShell_QSizeGrip::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -383,7 +383,7 @@ bool PythonQtShell_QSizeGrip::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -416,7 +416,7 @@ void PythonQtShell_QSizeGrip::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -438,7 +438,7 @@ bool PythonQtShell_QSizeGrip::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -471,7 +471,7 @@ void PythonQtShell_QSizeGrip::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -493,7 +493,7 @@ bool PythonQtShell_QSizeGrip::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -526,7 +526,7 @@ int PythonQtShell_QSizeGrip::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -559,7 +559,7 @@ void PythonQtShell_QSizeGrip::hideEvent(QHideEvent* hideEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -581,7 +581,7 @@ void PythonQtShell_QSizeGrip::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -603,7 +603,7 @@ void PythonQtShell_QSizeGrip::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -625,7 +625,7 @@ QVariant PythonQtShell_QSizeGrip::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -658,7 +658,7 @@ void PythonQtShell_QSizeGrip::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -680,7 +680,7 @@ void PythonQtShell_QSizeGrip::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -702,7 +702,7 @@ void PythonQtShell_QSizeGrip::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -724,7 +724,7 @@ int PythonQtShell_QSizeGrip::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -757,7 +757,7 @@ QSize PythonQtShell_QSizeGrip::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -790,7 +790,7 @@ void PythonQtShell_QSizeGrip::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -812,7 +812,7 @@ void PythonQtShell_QSizeGrip::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -834,7 +834,7 @@ void PythonQtShell_QSizeGrip::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -856,7 +856,7 @@ void PythonQtShell_QSizeGrip::mouseReleaseEvent(QMouseEvent* mouseEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -878,7 +878,7 @@ void PythonQtShell_QSizeGrip::moveEvent(QMoveEvent* moveEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -900,7 +900,7 @@ bool PythonQtShell_QSizeGrip::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -933,7 +933,7 @@ QPaintEngine* PythonQtShell_QSizeGrip::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -966,7 +966,7 @@ void PythonQtShell_QSizeGrip::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -988,7 +988,7 @@ QPaintDevice* PythonQtShell_QSizeGrip::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1021,7 +1021,7 @@ void PythonQtShell_QSizeGrip::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1043,7 +1043,7 @@ void PythonQtShell_QSizeGrip::setVisible(bool arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1065,7 +1065,7 @@ QPainter* PythonQtShell_QSizeGrip::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1098,7 +1098,7 @@ void PythonQtShell_QSizeGrip::showEvent(QShowEvent* showEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1120,7 +1120,7 @@ QSize PythonQtShell_QSizeGrip::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1153,7 +1153,7 @@ void PythonQtShell_QSizeGrip::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1175,7 +1175,7 @@ void PythonQtShell_QSizeGrip::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1197,7 +1197,7 @@ void PythonQtShell_QSizeGrip::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1247,7 +1247,7 @@ void PythonQtShell_QSlider::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1269,7 +1269,7 @@ void PythonQtShell_QSlider::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1291,7 +1291,7 @@ void PythonQtShell_QSlider::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1313,7 +1313,7 @@ void PythonQtShell_QSlider::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1335,7 +1335,7 @@ void PythonQtShell_QSlider::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1357,7 +1357,7 @@ void PythonQtShell_QSlider::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1379,7 +1379,7 @@ int PythonQtShell_QSlider::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1412,7 +1412,7 @@ void PythonQtShell_QSlider::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1434,7 +1434,7 @@ void PythonQtShell_QSlider::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1456,7 +1456,7 @@ void PythonQtShell_QSlider::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1478,7 +1478,7 @@ void PythonQtShell_QSlider::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1500,7 +1500,7 @@ void PythonQtShell_QSlider::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1522,7 +1522,7 @@ bool PythonQtShell_QSlider::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1555,7 +1555,7 @@ bool PythonQtShell_QSlider::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1588,7 +1588,7 @@ void PythonQtShell_QSlider::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1610,7 +1610,7 @@ bool PythonQtShell_QSlider::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1643,7 +1643,7 @@ void PythonQtShell_QSlider::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1665,7 +1665,7 @@ bool PythonQtShell_QSlider::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1698,7 +1698,7 @@ int PythonQtShell_QSlider::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1731,7 +1731,7 @@ void PythonQtShell_QSlider::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1753,7 +1753,7 @@ void PythonQtShell_QSlider::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1775,7 +1775,7 @@ void PythonQtShell_QSlider::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1797,7 +1797,7 @@ QVariant PythonQtShell_QSlider::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1830,7 +1830,7 @@ void PythonQtShell_QSlider::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1852,7 +1852,7 @@ void PythonQtShell_QSlider::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1874,7 +1874,7 @@ void PythonQtShell_QSlider::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1896,7 +1896,7 @@ int PythonQtShell_QSlider::metric(QPaintDevice::PaintDeviceMetric arg__1) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1929,7 +1929,7 @@ QSize PythonQtShell_QSlider::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1962,7 +1962,7 @@ void PythonQtShell_QSlider::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1984,7 +1984,7 @@ void PythonQtShell_QSlider::mouseMoveEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2006,7 +2006,7 @@ void PythonQtShell_QSlider::mousePressEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2028,7 +2028,7 @@ void PythonQtShell_QSlider::mouseReleaseEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2050,7 +2050,7 @@ void PythonQtShell_QSlider::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2072,7 +2072,7 @@ bool PythonQtShell_QSlider::nativeEvent(const QByteArray& eventType0, void* m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2105,7 +2105,7 @@ QPaintEngine* PythonQtShell_QSlider::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2138,7 +2138,7 @@ void PythonQtShell_QSlider::paintEvent(QPaintEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2160,7 +2160,7 @@ QPaintDevice* PythonQtShell_QSlider::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2193,7 +2193,7 @@ void PythonQtShell_QSlider::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2215,7 +2215,7 @@ void PythonQtShell_QSlider::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2237,7 +2237,7 @@ QPainter* PythonQtShell_QSlider::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2270,7 +2270,7 @@ void PythonQtShell_QSlider::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2292,7 +2292,7 @@ QSize PythonQtShell_QSlider::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2325,7 +2325,7 @@ void PythonQtShell_QSlider::sliderChange(QAbstractSlider::SliderChange change0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sliderChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2347,7 +2347,7 @@ void PythonQtShell_QSlider::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2369,7 +2369,7 @@ void PythonQtShell_QSlider::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2391,7 +2391,7 @@ void PythonQtShell_QSlider::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2475,7 +2475,7 @@ QModelIndex PythonQtShell_QSortFilterProxyModel::buddy(const QModelIndex& inde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2508,7 +2508,7 @@ bool PythonQtShell_QSortFilterProxyModel::canDropMimeData(const QMimeData* dat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2541,7 +2541,7 @@ bool PythonQtShell_QSortFilterProxyModel::canFetchMore(const QModelIndex& pare { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2574,7 +2574,7 @@ void PythonQtShell_QSortFilterProxyModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2596,7 +2596,7 @@ int PythonQtShell_QSortFilterProxyModel::columnCount(const QModelIndex& parent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2629,7 +2629,7 @@ void PythonQtShell_QSortFilterProxyModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2651,7 +2651,7 @@ QVariant PythonQtShell_QSortFilterProxyModel::data(const QModelIndex& index0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2684,7 +2684,7 @@ bool PythonQtShell_QSortFilterProxyModel::dropMimeData(const QMimeData* data0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2717,7 +2717,7 @@ bool PythonQtShell_QSortFilterProxyModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2750,7 +2750,7 @@ bool PythonQtShell_QSortFilterProxyModel::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2783,7 +2783,7 @@ void PythonQtShell_QSortFilterProxyModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2805,7 +2805,7 @@ bool PythonQtShell_QSortFilterProxyModel::filterAcceptsColumn(int source_colum { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("filterAcceptsColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2838,7 +2838,7 @@ bool PythonQtShell_QSortFilterProxyModel::filterAcceptsRow(int source_row0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("filterAcceptsRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2871,7 +2871,7 @@ Qt::ItemFlags PythonQtShell_QSortFilterProxyModel::flags(const QModelIndex& in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2904,7 +2904,7 @@ bool PythonQtShell_QSortFilterProxyModel::hasChildren(const QModelIndex& paren { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2937,7 +2937,7 @@ QVariant PythonQtShell_QSortFilterProxyModel::headerData(int section0, Qt::Ori { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2970,7 +2970,7 @@ QModelIndex PythonQtShell_QSortFilterProxyModel::index(int row0, int column1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3003,7 +3003,7 @@ bool PythonQtShell_QSortFilterProxyModel::insertColumns(int column0, int coun { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3036,7 +3036,7 @@ bool PythonQtShell_QSortFilterProxyModel::insertRows(int row0, int count1, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3069,7 +3069,7 @@ QMap PythonQtShell_QSortFilterProxyModel::itemData(const QMode { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3102,7 +3102,7 @@ bool PythonQtShell_QSortFilterProxyModel::lessThan(const QModelIndex& source_l { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("lessThan"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3135,7 +3135,7 @@ QModelIndex PythonQtShell_QSortFilterProxyModel::mapFromSource(const QModelInde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3168,7 +3168,7 @@ QItemSelection PythonQtShell_QSortFilterProxyModel::mapSelectionFromSource(cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapSelectionFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3201,7 +3201,7 @@ QItemSelection PythonQtShell_QSortFilterProxyModel::mapSelectionToSource(const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapSelectionToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3234,7 +3234,7 @@ QModelIndex PythonQtShell_QSortFilterProxyModel::mapToSource(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3267,7 +3267,7 @@ QList PythonQtShell_QSortFilterProxyModel::match(const QModelInde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3300,7 +3300,7 @@ QMimeData* PythonQtShell_QSortFilterProxyModel::mimeData(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3333,7 +3333,7 @@ QStringList PythonQtShell_QSortFilterProxyModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3366,7 +3366,7 @@ bool PythonQtShell_QSortFilterProxyModel::moveColumns(const QModelIndex& sourc { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3399,7 +3399,7 @@ bool PythonQtShell_QSortFilterProxyModel::moveRows(const QModelIndex& sourcePa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3432,7 +3432,7 @@ QModelIndex PythonQtShell_QSortFilterProxyModel::parent(const QModelIndex& chi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3465,7 +3465,7 @@ bool PythonQtShell_QSortFilterProxyModel::removeColumns(int column0, int coun { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3498,7 +3498,7 @@ bool PythonQtShell_QSortFilterProxyModel::removeRows(int row0, int count1, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3531,7 +3531,7 @@ void PythonQtShell_QSortFilterProxyModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3553,7 +3553,7 @@ QHash PythonQtShell_QSortFilterProxyModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3586,7 +3586,7 @@ int PythonQtShell_QSortFilterProxyModel::rowCount(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3619,7 +3619,7 @@ bool PythonQtShell_QSortFilterProxyModel::setData(const QModelIndex& index0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3652,7 +3652,7 @@ bool PythonQtShell_QSortFilterProxyModel::setHeaderData(int section0, Qt::Orie { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3685,7 +3685,7 @@ bool PythonQtShell_QSortFilterProxyModel::setItemData(const QModelIndex& index { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3718,7 +3718,7 @@ void PythonQtShell_QSortFilterProxyModel::setSourceModel(QAbstractItemModel* so { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSourceModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3740,7 +3740,7 @@ QModelIndex PythonQtShell_QSortFilterProxyModel::sibling(int row0, int column { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3773,7 +3773,7 @@ void PythonQtShell_QSortFilterProxyModel::sort(int column0, Qt::SortOrder orde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3795,7 +3795,7 @@ QSize PythonQtShell_QSortFilterProxyModel::span(const QModelIndex& index0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3828,7 +3828,7 @@ bool PythonQtShell_QSortFilterProxyModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3861,7 +3861,7 @@ Qt::DropActions PythonQtShell_QSortFilterProxyModel::supportedDragActions() con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3894,7 +3894,7 @@ Qt::DropActions PythonQtShell_QSortFilterProxyModel::supportedDropActions() con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3927,7 +3927,7 @@ void PythonQtShell_QSortFilterProxyModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4092,7 +4092,7 @@ QSizePolicy::ControlTypes PythonQtShell_QSpacerItem::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4125,7 +4125,7 @@ Qt::Orientations PythonQtShell_QSpacerItem::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4158,7 +4158,7 @@ QRect PythonQtShell_QSpacerItem::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4191,7 +4191,7 @@ bool PythonQtShell_QSpacerItem::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4224,7 +4224,7 @@ int PythonQtShell_QSpacerItem::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4257,7 +4257,7 @@ void PythonQtShell_QSpacerItem::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4279,7 +4279,7 @@ bool PythonQtShell_QSpacerItem::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4312,7 +4312,7 @@ QLayout* PythonQtShell_QSpacerItem::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4345,7 +4345,7 @@ QSize PythonQtShell_QSpacerItem::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4378,7 +4378,7 @@ int PythonQtShell_QSpacerItem::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4411,7 +4411,7 @@ QSize PythonQtShell_QSpacerItem::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4444,7 +4444,7 @@ void PythonQtShell_QSpacerItem::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4466,7 +4466,7 @@ QSize PythonQtShell_QSpacerItem::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4499,7 +4499,7 @@ QSpacerItem* PythonQtShell_QSpacerItem::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4532,7 +4532,7 @@ QWidget* PythonQtShell_QSpacerItem::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4585,7 +4585,7 @@ void PythonQtShell_QSpinBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4607,7 +4607,7 @@ void PythonQtShell_QSpinBox::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4629,7 +4629,7 @@ void PythonQtShell_QSpinBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4651,7 +4651,7 @@ void PythonQtShell_QSpinBox::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4673,7 +4673,7 @@ void PythonQtShell_QSpinBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4695,7 +4695,7 @@ void PythonQtShell_QSpinBox::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4717,7 +4717,7 @@ void PythonQtShell_QSpinBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4739,7 +4739,7 @@ int PythonQtShell_QSpinBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4772,7 +4772,7 @@ void PythonQtShell_QSpinBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4794,7 +4794,7 @@ void PythonQtShell_QSpinBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4816,7 +4816,7 @@ void PythonQtShell_QSpinBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4838,7 +4838,7 @@ void PythonQtShell_QSpinBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4860,7 +4860,7 @@ void PythonQtShell_QSpinBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4882,7 +4882,7 @@ bool PythonQtShell_QSpinBox::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4915,7 +4915,7 @@ bool PythonQtShell_QSpinBox::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4948,7 +4948,7 @@ void PythonQtShell_QSpinBox::fixup(QString& str0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4970,7 +4970,7 @@ void PythonQtShell_QSpinBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4992,7 +4992,7 @@ bool PythonQtShell_QSpinBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5025,7 +5025,7 @@ void PythonQtShell_QSpinBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5047,7 +5047,7 @@ bool PythonQtShell_QSpinBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5080,7 +5080,7 @@ int PythonQtShell_QSpinBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5113,7 +5113,7 @@ void PythonQtShell_QSpinBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5135,7 +5135,7 @@ void PythonQtShell_QSpinBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5157,7 +5157,7 @@ void PythonQtShell_QSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5179,7 +5179,7 @@ QVariant PythonQtShell_QSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5212,7 +5212,7 @@ void PythonQtShell_QSpinBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5234,7 +5234,7 @@ void PythonQtShell_QSpinBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5256,7 +5256,7 @@ void PythonQtShell_QSpinBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5278,7 +5278,7 @@ int PythonQtShell_QSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5311,7 +5311,7 @@ QSize PythonQtShell_QSpinBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5344,7 +5344,7 @@ void PythonQtShell_QSpinBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5366,7 +5366,7 @@ void PythonQtShell_QSpinBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5388,7 +5388,7 @@ void PythonQtShell_QSpinBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5410,7 +5410,7 @@ void PythonQtShell_QSpinBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5432,7 +5432,7 @@ void PythonQtShell_QSpinBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5454,7 +5454,7 @@ bool PythonQtShell_QSpinBox::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5487,7 +5487,7 @@ QPaintEngine* PythonQtShell_QSpinBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5520,7 +5520,7 @@ void PythonQtShell_QSpinBox::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5542,7 +5542,7 @@ QPaintDevice* PythonQtShell_QSpinBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5575,7 +5575,7 @@ void PythonQtShell_QSpinBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5597,7 +5597,7 @@ void PythonQtShell_QSpinBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5619,7 +5619,7 @@ QPainter* PythonQtShell_QSpinBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5652,7 +5652,7 @@ void PythonQtShell_QSpinBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5674,7 +5674,7 @@ QSize PythonQtShell_QSpinBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5707,7 +5707,7 @@ void PythonQtShell_QSpinBox::stepBy(int steps0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5729,7 +5729,7 @@ QAbstractSpinBox::StepEnabled PythonQtShell_QSpinBox::stepEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5762,7 +5762,7 @@ void PythonQtShell_QSpinBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5784,7 +5784,7 @@ QString PythonQtShell_QSpinBox::textFromValue(int val0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textFromValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5817,7 +5817,7 @@ void PythonQtShell_QSpinBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5839,7 +5839,7 @@ QValidator::State PythonQtShell_QSpinBox::validate(QString& input0, int& pos1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5872,7 +5872,7 @@ int PythonQtShell_QSpinBox::valueFromText(const QString& text0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("valueFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5905,7 +5905,7 @@ void PythonQtShell_QSpinBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6035,7 +6035,7 @@ void PythonQtShell_QSplashScreen::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6057,7 +6057,7 @@ void PythonQtShell_QSplashScreen::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6079,7 +6079,7 @@ void PythonQtShell_QSplashScreen::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6101,7 +6101,7 @@ void PythonQtShell_QSplashScreen::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6123,7 +6123,7 @@ void PythonQtShell_QSplashScreen::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6145,7 +6145,7 @@ void PythonQtShell_QSplashScreen::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6167,7 +6167,7 @@ int PythonQtShell_QSplashScreen::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6200,7 +6200,7 @@ void PythonQtShell_QSplashScreen::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6222,7 +6222,7 @@ void PythonQtShell_QSplashScreen::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6244,7 +6244,7 @@ void PythonQtShell_QSplashScreen::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6266,7 +6266,7 @@ void PythonQtShell_QSplashScreen::drawContents(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6288,7 +6288,7 @@ void PythonQtShell_QSplashScreen::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6310,7 +6310,7 @@ void PythonQtShell_QSplashScreen::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6332,7 +6332,7 @@ bool PythonQtShell_QSplashScreen::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6365,7 +6365,7 @@ bool PythonQtShell_QSplashScreen::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6398,7 +6398,7 @@ void PythonQtShell_QSplashScreen::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6420,7 +6420,7 @@ bool PythonQtShell_QSplashScreen::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6453,7 +6453,7 @@ void PythonQtShell_QSplashScreen::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6475,7 +6475,7 @@ bool PythonQtShell_QSplashScreen::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6508,7 +6508,7 @@ int PythonQtShell_QSplashScreen::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6541,7 +6541,7 @@ void PythonQtShell_QSplashScreen::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6563,7 +6563,7 @@ void PythonQtShell_QSplashScreen::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6585,7 +6585,7 @@ void PythonQtShell_QSplashScreen::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6607,7 +6607,7 @@ QVariant PythonQtShell_QSplashScreen::inputMethodQuery(Qt::InputMethodQuery ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6640,7 +6640,7 @@ void PythonQtShell_QSplashScreen::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6662,7 +6662,7 @@ void PythonQtShell_QSplashScreen::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6684,7 +6684,7 @@ void PythonQtShell_QSplashScreen::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6706,7 +6706,7 @@ int PythonQtShell_QSplashScreen::metric(QPaintDevice::PaintDeviceMetric arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6739,7 +6739,7 @@ QSize PythonQtShell_QSplashScreen::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6772,7 +6772,7 @@ void PythonQtShell_QSplashScreen::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6794,7 +6794,7 @@ void PythonQtShell_QSplashScreen::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6816,7 +6816,7 @@ void PythonQtShell_QSplashScreen::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6838,7 +6838,7 @@ void PythonQtShell_QSplashScreen::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6860,7 +6860,7 @@ void PythonQtShell_QSplashScreen::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6882,7 +6882,7 @@ bool PythonQtShell_QSplashScreen::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6915,7 +6915,7 @@ QPaintEngine* PythonQtShell_QSplashScreen::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6948,7 +6948,7 @@ void PythonQtShell_QSplashScreen::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6970,7 +6970,7 @@ QPaintDevice* PythonQtShell_QSplashScreen::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7003,7 +7003,7 @@ void PythonQtShell_QSplashScreen::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7025,7 +7025,7 @@ void PythonQtShell_QSplashScreen::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7047,7 +7047,7 @@ QPainter* PythonQtShell_QSplashScreen::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7080,7 +7080,7 @@ void PythonQtShell_QSplashScreen::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7102,7 +7102,7 @@ QSize PythonQtShell_QSplashScreen::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7135,7 +7135,7 @@ void PythonQtShell_QSplashScreen::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7157,7 +7157,7 @@ void PythonQtShell_QSplashScreen::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7179,7 +7179,7 @@ void PythonQtShell_QSplashScreen::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7253,7 +7253,7 @@ void PythonQtShell_QSplitter::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7275,7 +7275,7 @@ void PythonQtShell_QSplitter::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7297,7 +7297,7 @@ void PythonQtShell_QSplitter::childEvent(QChildEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7319,7 +7319,7 @@ void PythonQtShell_QSplitter::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7341,7 +7341,7 @@ void PythonQtShell_QSplitter::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7363,7 +7363,7 @@ QSplitterHandle* PythonQtShell_QSplitter::createHandle() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createHandle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7396,7 +7396,7 @@ void PythonQtShell_QSplitter::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7418,7 +7418,7 @@ int PythonQtShell_QSplitter::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7451,7 +7451,7 @@ void PythonQtShell_QSplitter::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7473,7 +7473,7 @@ void PythonQtShell_QSplitter::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7495,7 +7495,7 @@ void PythonQtShell_QSplitter::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7517,7 +7517,7 @@ void PythonQtShell_QSplitter::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7539,7 +7539,7 @@ void PythonQtShell_QSplitter::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7561,7 +7561,7 @@ bool PythonQtShell_QSplitter::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7594,7 +7594,7 @@ bool PythonQtShell_QSplitter::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7627,7 +7627,7 @@ void PythonQtShell_QSplitter::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7649,7 +7649,7 @@ bool PythonQtShell_QSplitter::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7682,7 +7682,7 @@ void PythonQtShell_QSplitter::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7704,7 +7704,7 @@ bool PythonQtShell_QSplitter::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7737,7 +7737,7 @@ int PythonQtShell_QSplitter::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7770,7 +7770,7 @@ void PythonQtShell_QSplitter::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7792,7 +7792,7 @@ void PythonQtShell_QSplitter::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7814,7 +7814,7 @@ void PythonQtShell_QSplitter::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7836,7 +7836,7 @@ QVariant PythonQtShell_QSplitter::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7869,7 +7869,7 @@ void PythonQtShell_QSplitter::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7891,7 +7891,7 @@ void PythonQtShell_QSplitter::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7913,7 +7913,7 @@ void PythonQtShell_QSplitter::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7935,7 +7935,7 @@ int PythonQtShell_QSplitter::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7968,7 +7968,7 @@ QSize PythonQtShell_QSplitter::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8001,7 +8001,7 @@ void PythonQtShell_QSplitter::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8023,7 +8023,7 @@ void PythonQtShell_QSplitter::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8045,7 +8045,7 @@ void PythonQtShell_QSplitter::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8067,7 +8067,7 @@ void PythonQtShell_QSplitter::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8089,7 +8089,7 @@ void PythonQtShell_QSplitter::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8111,7 +8111,7 @@ bool PythonQtShell_QSplitter::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8144,7 +8144,7 @@ QPaintEngine* PythonQtShell_QSplitter::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8177,7 +8177,7 @@ void PythonQtShell_QSplitter::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8199,7 +8199,7 @@ QPaintDevice* PythonQtShell_QSplitter::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8232,7 +8232,7 @@ void PythonQtShell_QSplitter::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8254,7 +8254,7 @@ void PythonQtShell_QSplitter::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8276,7 +8276,7 @@ QPainter* PythonQtShell_QSplitter::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8309,7 +8309,7 @@ void PythonQtShell_QSplitter::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8331,7 +8331,7 @@ QSize PythonQtShell_QSplitter::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8364,7 +8364,7 @@ void PythonQtShell_QSplitter::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8386,7 +8386,7 @@ void PythonQtShell_QSplitter::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8408,7 +8408,7 @@ void PythonQtShell_QSplitter::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8607,7 +8607,7 @@ void PythonQtShell_QSplitterHandle::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8629,7 +8629,7 @@ void PythonQtShell_QSplitterHandle::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8651,7 +8651,7 @@ void PythonQtShell_QSplitterHandle::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8673,7 +8673,7 @@ void PythonQtShell_QSplitterHandle::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8695,7 +8695,7 @@ void PythonQtShell_QSplitterHandle::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8717,7 +8717,7 @@ void PythonQtShell_QSplitterHandle::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8739,7 +8739,7 @@ int PythonQtShell_QSplitterHandle::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8772,7 +8772,7 @@ void PythonQtShell_QSplitterHandle::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8794,7 +8794,7 @@ void PythonQtShell_QSplitterHandle::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8816,7 +8816,7 @@ void PythonQtShell_QSplitterHandle::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8838,7 +8838,7 @@ void PythonQtShell_QSplitterHandle::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8860,7 +8860,7 @@ void PythonQtShell_QSplitterHandle::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8882,7 +8882,7 @@ bool PythonQtShell_QSplitterHandle::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8915,7 +8915,7 @@ bool PythonQtShell_QSplitterHandle::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8948,7 +8948,7 @@ void PythonQtShell_QSplitterHandle::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8970,7 +8970,7 @@ bool PythonQtShell_QSplitterHandle::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9003,7 +9003,7 @@ void PythonQtShell_QSplitterHandle::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9025,7 +9025,7 @@ bool PythonQtShell_QSplitterHandle::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9058,7 +9058,7 @@ int PythonQtShell_QSplitterHandle::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9091,7 +9091,7 @@ void PythonQtShell_QSplitterHandle::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9113,7 +9113,7 @@ void PythonQtShell_QSplitterHandle::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9135,7 +9135,7 @@ void PythonQtShell_QSplitterHandle::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9157,7 +9157,7 @@ QVariant PythonQtShell_QSplitterHandle::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9190,7 +9190,7 @@ void PythonQtShell_QSplitterHandle::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9212,7 +9212,7 @@ void PythonQtShell_QSplitterHandle::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9234,7 +9234,7 @@ void PythonQtShell_QSplitterHandle::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9256,7 +9256,7 @@ int PythonQtShell_QSplitterHandle::metric(QPaintDevice::PaintDeviceMetric arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9289,7 +9289,7 @@ QSize PythonQtShell_QSplitterHandle::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9322,7 +9322,7 @@ void PythonQtShell_QSplitterHandle::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9344,7 +9344,7 @@ void PythonQtShell_QSplitterHandle::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9366,7 +9366,7 @@ void PythonQtShell_QSplitterHandle::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9388,7 +9388,7 @@ void PythonQtShell_QSplitterHandle::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9410,7 +9410,7 @@ void PythonQtShell_QSplitterHandle::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9432,7 +9432,7 @@ bool PythonQtShell_QSplitterHandle::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9465,7 +9465,7 @@ QPaintEngine* PythonQtShell_QSplitterHandle::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9498,7 +9498,7 @@ void PythonQtShell_QSplitterHandle::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9520,7 +9520,7 @@ QPaintDevice* PythonQtShell_QSplitterHandle::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9553,7 +9553,7 @@ void PythonQtShell_QSplitterHandle::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9575,7 +9575,7 @@ void PythonQtShell_QSplitterHandle::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9597,7 +9597,7 @@ QPainter* PythonQtShell_QSplitterHandle::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9630,7 +9630,7 @@ void PythonQtShell_QSplitterHandle::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9652,7 +9652,7 @@ QSize PythonQtShell_QSplitterHandle::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9685,7 +9685,7 @@ void PythonQtShell_QSplitterHandle::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9707,7 +9707,7 @@ void PythonQtShell_QSplitterHandle::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9729,7 +9729,7 @@ void PythonQtShell_QSplitterHandle::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9809,7 +9809,7 @@ void PythonQtShell_QStackedLayout::addItem(QLayoutItem* item0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9831,7 +9831,7 @@ void PythonQtShell_QStackedLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9853,7 +9853,7 @@ QSizePolicy::ControlTypes PythonQtShell_QStackedLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9886,7 +9886,7 @@ int PythonQtShell_QStackedLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9919,7 +9919,7 @@ void PythonQtShell_QStackedLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9941,7 +9941,7 @@ bool PythonQtShell_QStackedLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9974,7 +9974,7 @@ bool PythonQtShell_QStackedLayout::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10007,7 +10007,7 @@ Qt::Orientations PythonQtShell_QStackedLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10040,7 +10040,7 @@ QRect PythonQtShell_QStackedLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10073,7 +10073,7 @@ bool PythonQtShell_QStackedLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10106,7 +10106,7 @@ int PythonQtShell_QStackedLayout::heightForWidth(int width0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10139,7 +10139,7 @@ int PythonQtShell_QStackedLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10172,7 +10172,7 @@ void PythonQtShell_QStackedLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10194,7 +10194,7 @@ bool PythonQtShell_QStackedLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10227,7 +10227,7 @@ QLayoutItem* PythonQtShell_QStackedLayout::itemAt(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10260,7 +10260,7 @@ QLayout* PythonQtShell_QStackedLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10293,7 +10293,7 @@ QSize PythonQtShell_QStackedLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10326,7 +10326,7 @@ QSize PythonQtShell_QStackedLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10359,7 +10359,7 @@ void PythonQtShell_QStackedLayout::setGeometry(const QRect& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10381,7 +10381,7 @@ QSize PythonQtShell_QStackedLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10414,7 +10414,7 @@ QLayoutItem* PythonQtShell_QStackedLayout::takeAt(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10447,7 +10447,7 @@ void PythonQtShell_QStackedLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10550,7 +10550,7 @@ void PythonQtShell_QStackedWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10572,7 +10572,7 @@ void PythonQtShell_QStackedWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10594,7 +10594,7 @@ void PythonQtShell_QStackedWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10616,7 +10616,7 @@ void PythonQtShell_QStackedWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10638,7 +10638,7 @@ void PythonQtShell_QStackedWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10660,7 +10660,7 @@ void PythonQtShell_QStackedWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10682,7 +10682,7 @@ int PythonQtShell_QStackedWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10715,7 +10715,7 @@ void PythonQtShell_QStackedWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10737,7 +10737,7 @@ void PythonQtShell_QStackedWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10759,7 +10759,7 @@ void PythonQtShell_QStackedWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10781,7 +10781,7 @@ void PythonQtShell_QStackedWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10803,7 +10803,7 @@ void PythonQtShell_QStackedWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10825,7 +10825,7 @@ bool PythonQtShell_QStackedWidget::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10858,7 +10858,7 @@ bool PythonQtShell_QStackedWidget::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10891,7 +10891,7 @@ void PythonQtShell_QStackedWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10913,7 +10913,7 @@ bool PythonQtShell_QStackedWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10946,7 +10946,7 @@ void PythonQtShell_QStackedWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10968,7 +10968,7 @@ bool PythonQtShell_QStackedWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11001,7 +11001,7 @@ int PythonQtShell_QStackedWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11034,7 +11034,7 @@ void PythonQtShell_QStackedWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11056,7 +11056,7 @@ void PythonQtShell_QStackedWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11078,7 +11078,7 @@ void PythonQtShell_QStackedWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11100,7 +11100,7 @@ QVariant PythonQtShell_QStackedWidget::inputMethodQuery(Qt::InputMethodQuery a { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11133,7 +11133,7 @@ void PythonQtShell_QStackedWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11155,7 +11155,7 @@ void PythonQtShell_QStackedWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11177,7 +11177,7 @@ void PythonQtShell_QStackedWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11199,7 +11199,7 @@ int PythonQtShell_QStackedWidget::metric(QPaintDevice::PaintDeviceMetric arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11232,7 +11232,7 @@ QSize PythonQtShell_QStackedWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11265,7 +11265,7 @@ void PythonQtShell_QStackedWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11287,7 +11287,7 @@ void PythonQtShell_QStackedWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11309,7 +11309,7 @@ void PythonQtShell_QStackedWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11331,7 +11331,7 @@ void PythonQtShell_QStackedWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11353,7 +11353,7 @@ void PythonQtShell_QStackedWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11375,7 +11375,7 @@ bool PythonQtShell_QStackedWidget::nativeEvent(const QByteArray& eventType0, v { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11408,7 +11408,7 @@ QPaintEngine* PythonQtShell_QStackedWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11441,7 +11441,7 @@ void PythonQtShell_QStackedWidget::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11463,7 +11463,7 @@ QPaintDevice* PythonQtShell_QStackedWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11496,7 +11496,7 @@ void PythonQtShell_QStackedWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11518,7 +11518,7 @@ void PythonQtShell_QStackedWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11540,7 +11540,7 @@ QPainter* PythonQtShell_QStackedWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11573,7 +11573,7 @@ void PythonQtShell_QStackedWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11595,7 +11595,7 @@ QSize PythonQtShell_QStackedWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11628,7 +11628,7 @@ void PythonQtShell_QStackedWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11650,7 +11650,7 @@ void PythonQtShell_QStackedWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11672,7 +11672,7 @@ void PythonQtShell_QStackedWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11757,7 +11757,7 @@ QStandardItem* PythonQtShell_QStandardItem::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11790,7 +11790,7 @@ QVariant PythonQtShell_QStandardItem::data(int role0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11823,7 +11823,7 @@ void PythonQtShell_QStandardItem::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11845,7 +11845,7 @@ void PythonQtShell_QStandardItem::setData(const QVariant& value0, int role1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11867,7 +11867,7 @@ int PythonQtShell_QStandardItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11900,7 +11900,7 @@ void PythonQtShell_QStandardItem::write(QDataStream& out0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12378,7 +12378,7 @@ QModelIndex PythonQtShell_QStandardItemModel::buddy(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12411,7 +12411,7 @@ bool PythonQtShell_QStandardItemModel::canDropMimeData(const QMimeData* data0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12444,7 +12444,7 @@ bool PythonQtShell_QStandardItemModel::canFetchMore(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12477,7 +12477,7 @@ void PythonQtShell_QStandardItemModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12499,7 +12499,7 @@ int PythonQtShell_QStandardItemModel::columnCount(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12532,7 +12532,7 @@ void PythonQtShell_QStandardItemModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12554,7 +12554,7 @@ QVariant PythonQtShell_QStandardItemModel::data(const QModelIndex& index0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12587,7 +12587,7 @@ bool PythonQtShell_QStandardItemModel::dropMimeData(const QMimeData* data0, Qt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12620,7 +12620,7 @@ bool PythonQtShell_QStandardItemModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12653,7 +12653,7 @@ bool PythonQtShell_QStandardItemModel::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12686,7 +12686,7 @@ void PythonQtShell_QStandardItemModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12708,7 +12708,7 @@ Qt::ItemFlags PythonQtShell_QStandardItemModel::flags(const QModelIndex& index { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12741,7 +12741,7 @@ bool PythonQtShell_QStandardItemModel::hasChildren(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12774,7 +12774,7 @@ QVariant PythonQtShell_QStandardItemModel::headerData(int section0, Qt::Orient { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12807,7 +12807,7 @@ QModelIndex PythonQtShell_QStandardItemModel::index(int row0, int column1, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12840,7 +12840,7 @@ bool PythonQtShell_QStandardItemModel::insertColumns(int column0, int count1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12873,7 +12873,7 @@ bool PythonQtShell_QStandardItemModel::insertRows(int row0, int count1, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12906,7 +12906,7 @@ QMap PythonQtShell_QStandardItemModel::itemData(const QModelIn { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12939,7 +12939,7 @@ QList PythonQtShell_QStandardItemModel::match(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12972,7 +12972,7 @@ QMimeData* PythonQtShell_QStandardItemModel::mimeData(const QList { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13005,7 +13005,7 @@ QStringList PythonQtShell_QStandardItemModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13038,7 +13038,7 @@ bool PythonQtShell_QStandardItemModel::moveColumns(const QModelIndex& sourcePa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13071,7 +13071,7 @@ bool PythonQtShell_QStandardItemModel::moveRows(const QModelIndex& sourceParen { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13104,7 +13104,7 @@ QModelIndex PythonQtShell_QStandardItemModel::parent(const QModelIndex& child0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13137,7 +13137,7 @@ bool PythonQtShell_QStandardItemModel::removeColumns(int column0, int count1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13170,7 +13170,7 @@ bool PythonQtShell_QStandardItemModel::removeRows(int row0, int count1, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13203,7 +13203,7 @@ void PythonQtShell_QStandardItemModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13225,7 +13225,7 @@ QHash PythonQtShell_QStandardItemModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13258,7 +13258,7 @@ int PythonQtShell_QStandardItemModel::rowCount(const QModelIndex& parent0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13291,7 +13291,7 @@ bool PythonQtShell_QStandardItemModel::setData(const QModelIndex& index0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13324,7 +13324,7 @@ bool PythonQtShell_QStandardItemModel::setHeaderData(int section0, Qt::Orienta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13357,7 +13357,7 @@ bool PythonQtShell_QStandardItemModel::setItemData(const QModelIndex& index0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13390,7 +13390,7 @@ QModelIndex PythonQtShell_QStandardItemModel::sibling(int row0, int column1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13423,7 +13423,7 @@ void PythonQtShell_QStandardItemModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13445,7 +13445,7 @@ QSize PythonQtShell_QStandardItemModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13478,7 +13478,7 @@ bool PythonQtShell_QStandardItemModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13511,7 +13511,7 @@ Qt::DropActions PythonQtShell_QStandardItemModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13544,7 +13544,7 @@ Qt::DropActions PythonQtShell_QStandardItemModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13577,7 +13577,7 @@ void PythonQtShell_QStandardItemModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13880,7 +13880,7 @@ void PythonQtShell_QStatusBar::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13902,7 +13902,7 @@ void PythonQtShell_QStatusBar::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13924,7 +13924,7 @@ void PythonQtShell_QStatusBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13946,7 +13946,7 @@ void PythonQtShell_QStatusBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13968,7 +13968,7 @@ void PythonQtShell_QStatusBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13990,7 +13990,7 @@ void PythonQtShell_QStatusBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14012,7 +14012,7 @@ int PythonQtShell_QStatusBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14045,7 +14045,7 @@ void PythonQtShell_QStatusBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14067,7 +14067,7 @@ void PythonQtShell_QStatusBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14089,7 +14089,7 @@ void PythonQtShell_QStatusBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14111,7 +14111,7 @@ void PythonQtShell_QStatusBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14133,7 +14133,7 @@ void PythonQtShell_QStatusBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14155,7 +14155,7 @@ bool PythonQtShell_QStatusBar::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14188,7 +14188,7 @@ bool PythonQtShell_QStatusBar::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14221,7 +14221,7 @@ void PythonQtShell_QStatusBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14243,7 +14243,7 @@ bool PythonQtShell_QStatusBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14276,7 +14276,7 @@ void PythonQtShell_QStatusBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14298,7 +14298,7 @@ bool PythonQtShell_QStatusBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14331,7 +14331,7 @@ int PythonQtShell_QStatusBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14364,7 +14364,7 @@ void PythonQtShell_QStatusBar::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14386,7 +14386,7 @@ void PythonQtShell_QStatusBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14408,7 +14408,7 @@ void PythonQtShell_QStatusBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14430,7 +14430,7 @@ QVariant PythonQtShell_QStatusBar::inputMethodQuery(Qt::InputMethodQuery arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14463,7 +14463,7 @@ void PythonQtShell_QStatusBar::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14485,7 +14485,7 @@ void PythonQtShell_QStatusBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14507,7 +14507,7 @@ void PythonQtShell_QStatusBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14529,7 +14529,7 @@ int PythonQtShell_QStatusBar::metric(QPaintDevice::PaintDeviceMetric arg__1) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14562,7 +14562,7 @@ QSize PythonQtShell_QStatusBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14595,7 +14595,7 @@ void PythonQtShell_QStatusBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14617,7 +14617,7 @@ void PythonQtShell_QStatusBar::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14639,7 +14639,7 @@ void PythonQtShell_QStatusBar::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14661,7 +14661,7 @@ void PythonQtShell_QStatusBar::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14683,7 +14683,7 @@ void PythonQtShell_QStatusBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14705,7 +14705,7 @@ bool PythonQtShell_QStatusBar::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14738,7 +14738,7 @@ QPaintEngine* PythonQtShell_QStatusBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14771,7 +14771,7 @@ void PythonQtShell_QStatusBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14793,7 +14793,7 @@ QPaintDevice* PythonQtShell_QStatusBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14826,7 +14826,7 @@ void PythonQtShell_QStatusBar::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14848,7 +14848,7 @@ void PythonQtShell_QStatusBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14870,7 +14870,7 @@ QPainter* PythonQtShell_QStatusBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14903,7 +14903,7 @@ void PythonQtShell_QStatusBar::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14925,7 +14925,7 @@ QSize PythonQtShell_QStatusBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14958,7 +14958,7 @@ void PythonQtShell_QStatusBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14980,7 +14980,7 @@ void PythonQtShell_QStatusBar::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15002,7 +15002,7 @@ void PythonQtShell_QStatusBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15108,7 +15108,7 @@ QModelIndex PythonQtShell_QStringListModel::buddy(const QModelIndex& index0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15141,7 +15141,7 @@ bool PythonQtShell_QStringListModel::canDropMimeData(const QMimeData* data0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15174,7 +15174,7 @@ bool PythonQtShell_QStringListModel::canFetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15207,7 +15207,7 @@ void PythonQtShell_QStringListModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15229,7 +15229,7 @@ void PythonQtShell_QStringListModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15251,7 +15251,7 @@ QVariant PythonQtShell_QStringListModel::data(const QModelIndex& index0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15284,7 +15284,7 @@ bool PythonQtShell_QStringListModel::dropMimeData(const QMimeData* data0, Qt:: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15317,7 +15317,7 @@ bool PythonQtShell_QStringListModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15350,7 +15350,7 @@ bool PythonQtShell_QStringListModel::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15383,7 +15383,7 @@ void PythonQtShell_QStringListModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15405,7 +15405,7 @@ Qt::ItemFlags PythonQtShell_QStringListModel::flags(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15438,7 +15438,7 @@ QVariant PythonQtShell_QStringListModel::headerData(int section0, Qt::Orientat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15471,7 +15471,7 @@ QModelIndex PythonQtShell_QStringListModel::index(int row0, int column1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15504,7 +15504,7 @@ bool PythonQtShell_QStringListModel::insertColumns(int column0, int count1, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15537,7 +15537,7 @@ bool PythonQtShell_QStringListModel::insertRows(int row0, int count1, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15570,7 +15570,7 @@ QMap PythonQtShell_QStringListModel::itemData(const QModelInde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15603,7 +15603,7 @@ QList PythonQtShell_QStringListModel::match(const QModelIndex& s { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15636,7 +15636,7 @@ QMimeData* PythonQtShell_QStringListModel::mimeData(const QList& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15669,7 +15669,7 @@ QStringList PythonQtShell_QStringListModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15702,7 +15702,7 @@ bool PythonQtShell_QStringListModel::moveColumns(const QModelIndex& sourcePare { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15735,7 +15735,7 @@ bool PythonQtShell_QStringListModel::moveRows(const QModelIndex& sourceParent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15768,7 +15768,7 @@ bool PythonQtShell_QStringListModel::removeColumns(int column0, int count1, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15801,7 +15801,7 @@ bool PythonQtShell_QStringListModel::removeRows(int row0, int count1, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15834,7 +15834,7 @@ void PythonQtShell_QStringListModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15856,7 +15856,7 @@ QHash PythonQtShell_QStringListModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15889,7 +15889,7 @@ int PythonQtShell_QStringListModel::rowCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15922,7 +15922,7 @@ bool PythonQtShell_QStringListModel::setData(const QModelIndex& index0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15955,7 +15955,7 @@ bool PythonQtShell_QStringListModel::setHeaderData(int section0, Qt::Orientati { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15988,7 +15988,7 @@ bool PythonQtShell_QStringListModel::setItemData(const QModelIndex& index0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16021,7 +16021,7 @@ QModelIndex PythonQtShell_QStringListModel::sibling(int row0, int column1, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16054,7 +16054,7 @@ void PythonQtShell_QStringListModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16076,7 +16076,7 @@ QSize PythonQtShell_QStringListModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16109,7 +16109,7 @@ bool PythonQtShell_QStringListModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16142,7 +16142,7 @@ Qt::DropActions PythonQtShell_QStringListModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16175,7 +16175,7 @@ Qt::DropActions PythonQtShell_QStringListModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16208,7 +16208,7 @@ void PythonQtShell_QStringListModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp index a1f645a2d..e412945f0 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp @@ -517,7 +517,7 @@ void PythonQtShell_QStylePlugin::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -539,7 +539,7 @@ QStyle* PythonQtShell_QStylePlugin::create(const QString& key0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -572,7 +572,7 @@ void PythonQtShell_QStylePlugin::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -594,7 +594,7 @@ bool PythonQtShell_QStylePlugin::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -627,7 +627,7 @@ bool PythonQtShell_QStylePlugin::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -660,7 +660,7 @@ void PythonQtShell_QStylePlugin::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -710,7 +710,7 @@ void PythonQtShell_QStyledItemDelegate::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -732,7 +732,7 @@ QWidget* PythonQtShell_QStyledItemDelegate::createEditor(QWidget* parent0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -765,7 +765,7 @@ void PythonQtShell_QStyledItemDelegate::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -787,7 +787,7 @@ void PythonQtShell_QStyledItemDelegate::destroyEditor(QWidget* editor0, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("destroyEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -809,7 +809,7 @@ QString PythonQtShell_QStyledItemDelegate::displayText(const QVariant& value0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("displayText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -842,7 +842,7 @@ bool PythonQtShell_QStyledItemDelegate::editorEvent(QEvent* event0, QAbstractI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -875,7 +875,7 @@ bool PythonQtShell_QStyledItemDelegate::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -908,7 +908,7 @@ bool PythonQtShell_QStyledItemDelegate::eventFilter(QObject* object0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -941,7 +941,7 @@ bool PythonQtShell_QStyledItemDelegate::helpEvent(QHelpEvent* event0, QAbstrac { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -974,7 +974,7 @@ void PythonQtShell_QStyledItemDelegate::initStyleOption(QStyleOptionViewItem* o { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -996,7 +996,7 @@ void PythonQtShell_QStyledItemDelegate::paint(QPainter* painter0, const QStyleO { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1018,7 +1018,7 @@ QVector PythonQtShell_QStyledItemDelegate::paintingRoles() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintingRoles"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1051,7 +1051,7 @@ void PythonQtShell_QStyledItemDelegate::setEditorData(QWidget* editor0, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1073,7 +1073,7 @@ void PythonQtShell_QStyledItemDelegate::setModelData(QWidget* editor0, QAbstrac { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModelData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1095,7 +1095,7 @@ QSize PythonQtShell_QStyledItemDelegate::sizeHint(const QStyleOptionViewItem& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1128,7 +1128,7 @@ void PythonQtShell_QStyledItemDelegate::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1150,7 +1150,7 @@ void PythonQtShell_QStyledItemDelegate::updateEditorGeometry(QWidget* editor0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp b/generated_cpp_511/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp index cad43e18f..b4abeb246 100644 --- a/generated_cpp_511/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp +++ b/generated_cpp_511/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp @@ -56,7 +56,7 @@ int PythonQtShell_QBitmap::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -89,7 +89,7 @@ int PythonQtShell_QBitmap::metric(QPaintDevice::PaintDeviceMetric arg__1) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -122,7 +122,7 @@ QPaintEngine* PythonQtShell_QBitmap::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1503,7 +1503,7 @@ int PythonQtShell_QImage::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1536,7 +1536,7 @@ void PythonQtShell_QImage::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1558,7 +1558,7 @@ int PythonQtShell_QImage::metric(QPaintDevice::PaintDeviceMetric metric0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1591,7 +1591,7 @@ QPaintEngine* PythonQtShell_QImage::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1624,7 +1624,7 @@ QPaintDevice* PythonQtShell_QImage::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1657,7 +1657,7 @@ QPainter* PythonQtShell_QImage::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2874,7 +2874,7 @@ int PythonQtShell_QPixmap::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2907,7 +2907,7 @@ void PythonQtShell_QPixmap::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2929,7 +2929,7 @@ int PythonQtShell_QPixmap::metric(QPaintDevice::PaintDeviceMetric arg__1) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2962,7 +2962,7 @@ QPaintEngine* PythonQtShell_QPixmap::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2995,7 +2995,7 @@ QPaintDevice* PythonQtShell_QPixmap::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3028,7 +3028,7 @@ QPainter* PythonQtShell_QPixmap::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp b/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp index 6fbf6dd01..a15407226 100644 --- a/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp +++ b/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp @@ -46,7 +46,7 @@ void PythonQtShell_QAbstractAudioDeviceInfo::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -68,7 +68,7 @@ void PythonQtShell_QAbstractAudioDeviceInfo::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -90,7 +90,7 @@ QString PythonQtShell_QAbstractAudioDeviceInfo::deviceName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deviceName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -123,7 +123,7 @@ bool PythonQtShell_QAbstractAudioDeviceInfo::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -156,7 +156,7 @@ bool PythonQtShell_QAbstractAudioDeviceInfo::eventFilter(QObject* watched0, QE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -189,7 +189,7 @@ bool PythonQtShell_QAbstractAudioDeviceInfo::isFormatSupported(const QAudioForm { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isFormatSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -222,7 +222,7 @@ QAudioFormat PythonQtShell_QAbstractAudioDeviceInfo::preferredFormat() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preferredFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -255,7 +255,7 @@ QList PythonQtShell_QAbstractAudioDeviceInfo::supportedB { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedByteOrders"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -288,7 +288,7 @@ QList PythonQtShell_QAbstractAudioDeviceInfo::supportedChannelCounts() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedChannelCounts"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -321,7 +321,7 @@ QStringList PythonQtShell_QAbstractAudioDeviceInfo::supportedCodecs() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedCodecs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -354,7 +354,7 @@ QList PythonQtShell_QAbstractAudioDeviceInfo::supportedSampleRates() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedSampleRates"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -387,7 +387,7 @@ QList PythonQtShell_QAbstractAudioDeviceInfo::supportedSampleSizes() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedSampleSizes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -420,7 +420,7 @@ QList PythonQtShell_QAbstractAudioDeviceInfo::suppor { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedSampleTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -453,7 +453,7 @@ void PythonQtShell_QAbstractAudioDeviceInfo::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -543,7 +543,7 @@ int PythonQtShell_QAbstractAudioInput::bufferSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -576,7 +576,7 @@ int PythonQtShell_QAbstractAudioInput::bytesReady() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesReady"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -609,7 +609,7 @@ void PythonQtShell_QAbstractAudioInput::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -631,7 +631,7 @@ void PythonQtShell_QAbstractAudioInput::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -653,7 +653,7 @@ qint64 PythonQtShell_QAbstractAudioInput::elapsedUSecs() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("elapsedUSecs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -686,7 +686,7 @@ QAudio::Error PythonQtShell_QAbstractAudioInput::error() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("error"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -719,7 +719,7 @@ bool PythonQtShell_QAbstractAudioInput::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -752,7 +752,7 @@ bool PythonQtShell_QAbstractAudioInput::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -785,7 +785,7 @@ QAudioFormat PythonQtShell_QAbstractAudioInput::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -818,7 +818,7 @@ int PythonQtShell_QAbstractAudioInput::notifyInterval() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("notifyInterval"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -851,7 +851,7 @@ int PythonQtShell_QAbstractAudioInput::periodSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("periodSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -884,7 +884,7 @@ qint64 PythonQtShell_QAbstractAudioInput::processedUSecs() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("processedUSecs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -917,7 +917,7 @@ void PythonQtShell_QAbstractAudioInput::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -939,7 +939,7 @@ void PythonQtShell_QAbstractAudioInput::resume() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -961,7 +961,7 @@ void PythonQtShell_QAbstractAudioInput::setBufferSize(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -983,7 +983,7 @@ void PythonQtShell_QAbstractAudioInput::setFormat(const QAudioFormat& fmt0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1005,7 +1005,7 @@ void PythonQtShell_QAbstractAudioInput::setNotifyInterval(int milliSeconds0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setNotifyInterval"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1027,7 +1027,7 @@ void PythonQtShell_QAbstractAudioInput::setVolume(qreal arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVolume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1049,7 +1049,7 @@ QIODevice* PythonQtShell_QAbstractAudioInput::start() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("start"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1082,7 +1082,7 @@ void PythonQtShell_QAbstractAudioInput::start(QIODevice* device0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("start"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1104,7 +1104,7 @@ QAudio::State PythonQtShell_QAbstractAudioInput::state() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("state"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1137,7 +1137,7 @@ void PythonQtShell_QAbstractAudioInput::stop() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stop"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1159,7 +1159,7 @@ void PythonQtShell_QAbstractAudioInput::suspend() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("suspend"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1181,7 +1181,7 @@ void PythonQtShell_QAbstractAudioInput::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1203,7 +1203,7 @@ qreal PythonQtShell_QAbstractAudioInput::volume() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("volume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1359,7 +1359,7 @@ int PythonQtShell_QAbstractAudioOutput::bufferSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1392,7 +1392,7 @@ int PythonQtShell_QAbstractAudioOutput::bytesFree() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesFree"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1425,7 +1425,7 @@ QString PythonQtShell_QAbstractAudioOutput::category() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("category"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1458,7 +1458,7 @@ void PythonQtShell_QAbstractAudioOutput::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1480,7 +1480,7 @@ void PythonQtShell_QAbstractAudioOutput::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1502,7 +1502,7 @@ qint64 PythonQtShell_QAbstractAudioOutput::elapsedUSecs() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("elapsedUSecs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1535,7 +1535,7 @@ QAudio::Error PythonQtShell_QAbstractAudioOutput::error() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("error"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1568,7 +1568,7 @@ bool PythonQtShell_QAbstractAudioOutput::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1601,7 +1601,7 @@ bool PythonQtShell_QAbstractAudioOutput::eventFilter(QObject* watched0, QEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1634,7 +1634,7 @@ QAudioFormat PythonQtShell_QAbstractAudioOutput::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1667,7 +1667,7 @@ int PythonQtShell_QAbstractAudioOutput::notifyInterval() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("notifyInterval"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1700,7 +1700,7 @@ int PythonQtShell_QAbstractAudioOutput::periodSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("periodSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1733,7 +1733,7 @@ qint64 PythonQtShell_QAbstractAudioOutput::processedUSecs() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("processedUSecs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1766,7 +1766,7 @@ void PythonQtShell_QAbstractAudioOutput::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1788,7 +1788,7 @@ void PythonQtShell_QAbstractAudioOutput::resume() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1810,7 +1810,7 @@ void PythonQtShell_QAbstractAudioOutput::setBufferSize(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1832,7 +1832,7 @@ void PythonQtShell_QAbstractAudioOutput::setCategory(const QString& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setCategory"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1854,7 +1854,7 @@ void PythonQtShell_QAbstractAudioOutput::setFormat(const QAudioFormat& fmt0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1876,7 +1876,7 @@ void PythonQtShell_QAbstractAudioOutput::setNotifyInterval(int milliSeconds0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setNotifyInterval"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1898,7 +1898,7 @@ void PythonQtShell_QAbstractAudioOutput::setVolume(qreal arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVolume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1920,7 +1920,7 @@ QIODevice* PythonQtShell_QAbstractAudioOutput::start() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("start"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1953,7 +1953,7 @@ void PythonQtShell_QAbstractAudioOutput::start(QIODevice* device0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("start"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1975,7 +1975,7 @@ QAudio::State PythonQtShell_QAbstractAudioOutput::state() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("state"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2008,7 +2008,7 @@ void PythonQtShell_QAbstractAudioOutput::stop() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stop"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2030,7 +2030,7 @@ void PythonQtShell_QAbstractAudioOutput::suspend() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("suspend"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2052,7 +2052,7 @@ void PythonQtShell_QAbstractAudioOutput::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2074,7 +2074,7 @@ qreal PythonQtShell_QAbstractAudioOutput::volume() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("volume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2240,7 +2240,7 @@ QVariant PythonQtShell_QAbstractVideoBuffer::handle() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("handle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2273,7 +2273,7 @@ uchar* PythonQtShell_QAbstractVideoBuffer::map(QAbstractVideoBuffer::MapMode m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("map"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2306,7 +2306,7 @@ QAbstractVideoBuffer::MapMode PythonQtShell_QAbstractVideoBuffer::mapMode() con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2339,7 +2339,7 @@ void PythonQtShell_QAbstractVideoBuffer::release() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("release"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2361,7 +2361,7 @@ void PythonQtShell_QAbstractVideoBuffer::unmap() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2423,7 +2423,7 @@ void PythonQtShell_QAbstractVideoSurface::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2445,7 +2445,7 @@ void PythonQtShell_QAbstractVideoSurface::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2467,7 +2467,7 @@ bool PythonQtShell_QAbstractVideoSurface::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2500,7 +2500,7 @@ bool PythonQtShell_QAbstractVideoSurface::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2533,7 +2533,7 @@ bool PythonQtShell_QAbstractVideoSurface::isFormatSupported(const QVideoSurface { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isFormatSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2566,7 +2566,7 @@ QVideoSurfaceFormat PythonQtShell_QAbstractVideoSurface::nearestFormat(const QV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nearestFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2599,7 +2599,7 @@ bool PythonQtShell_QAbstractVideoSurface::present(const QVideoFrame& frame0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("present"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2632,7 +2632,7 @@ bool PythonQtShell_QAbstractVideoSurface::start(const QVideoSurfaceFormat& for { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("start"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2665,7 +2665,7 @@ void PythonQtShell_QAbstractVideoSurface::stop() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stop"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2687,7 +2687,7 @@ QList PythonQtShell_QAbstractVideoSurface::supported { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedPixelFormats"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2720,7 +2720,7 @@ void PythonQtShell_QAbstractVideoSurface::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2905,7 +2905,7 @@ QMultimedia::AvailabilityStatus PythonQtShell_QAudioDecoder::availability() con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2938,7 +2938,7 @@ bool PythonQtShell_QAudioDecoder::bind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2971,7 +2971,7 @@ void PythonQtShell_QAudioDecoder::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2993,7 +2993,7 @@ void PythonQtShell_QAudioDecoder::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3015,7 +3015,7 @@ bool PythonQtShell_QAudioDecoder::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3048,7 +3048,7 @@ bool PythonQtShell_QAudioDecoder::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3081,7 +3081,7 @@ bool PythonQtShell_QAudioDecoder::isAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3114,7 +3114,7 @@ QMediaService* PythonQtShell_QAudioDecoder::service() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3147,7 +3147,7 @@ void PythonQtShell_QAudioDecoder::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3169,7 +3169,7 @@ void PythonQtShell_QAudioDecoder::unbind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3284,7 +3284,7 @@ QAudioFormat PythonQtShell_QAudioDecoderControl::audioFormat() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("audioFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3317,7 +3317,7 @@ bool PythonQtShell_QAudioDecoderControl::bufferAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bufferAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3350,7 +3350,7 @@ void PythonQtShell_QAudioDecoderControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3372,7 +3372,7 @@ void PythonQtShell_QAudioDecoderControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3394,7 +3394,7 @@ qint64 PythonQtShell_QAudioDecoderControl::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3427,7 +3427,7 @@ bool PythonQtShell_QAudioDecoderControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3460,7 +3460,7 @@ bool PythonQtShell_QAudioDecoderControl::eventFilter(QObject* watched0, QEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3493,7 +3493,7 @@ qint64 PythonQtShell_QAudioDecoderControl::position() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("position"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3526,7 +3526,7 @@ QAudioBuffer PythonQtShell_QAudioDecoderControl::read() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3559,7 +3559,7 @@ void PythonQtShell_QAudioDecoderControl::setAudioFormat(const QAudioFormat& for { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setAudioFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3581,7 +3581,7 @@ void PythonQtShell_QAudioDecoderControl::setSourceDevice(QIODevice* device0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSourceDevice"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3603,7 +3603,7 @@ void PythonQtShell_QAudioDecoderControl::setSourceFilename(const QString& fileN { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSourceFilename"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3625,7 +3625,7 @@ QIODevice* PythonQtShell_QAudioDecoderControl::sourceDevice() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sourceDevice"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3658,7 +3658,7 @@ QString PythonQtShell_QAudioDecoderControl::sourceFilename() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sourceFilename"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3691,7 +3691,7 @@ void PythonQtShell_QAudioDecoderControl::start() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("start"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3713,7 +3713,7 @@ QAudioDecoder::State PythonQtShell_QAudioDecoderControl::state() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("state"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3746,7 +3746,7 @@ void PythonQtShell_QAudioDecoderControl::stop() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stop"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3768,7 +3768,7 @@ void PythonQtShell_QAudioDecoderControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4083,7 +4083,7 @@ QAudioEncoderSettings PythonQtShell_QAudioEncoderSettingsControl::audioSettings { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("audioSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4116,7 +4116,7 @@ void PythonQtShell_QAudioEncoderSettingsControl::childEvent(QChildEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4138,7 +4138,7 @@ QString PythonQtShell_QAudioEncoderSettingsControl::codecDescription(const QStr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("codecDescription"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4171,7 +4171,7 @@ void PythonQtShell_QAudioEncoderSettingsControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4193,7 +4193,7 @@ bool PythonQtShell_QAudioEncoderSettingsControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4226,7 +4226,7 @@ bool PythonQtShell_QAudioEncoderSettingsControl::eventFilter(QObject* watched0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4259,7 +4259,7 @@ void PythonQtShell_QAudioEncoderSettingsControl::setAudioSettings(const QAudioEn { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setAudioSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4281,7 +4281,7 @@ QStringList PythonQtShell_QAudioEncoderSettingsControl::supportedAudioCodecs() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedAudioCodecs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4314,7 +4314,7 @@ QList PythonQtShell_QAudioEncoderSettingsControl::supportedSampleRates(co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedSampleRates"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4347,7 +4347,7 @@ void PythonQtShell_QAudioEncoderSettingsControl::timerEvent(QTimerEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4549,7 +4549,7 @@ void PythonQtShell_QAudioInput::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4571,7 +4571,7 @@ void PythonQtShell_QAudioInput::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4593,7 +4593,7 @@ bool PythonQtShell_QAudioInput::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4626,7 +4626,7 @@ bool PythonQtShell_QAudioInput::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4659,7 +4659,7 @@ void PythonQtShell_QAudioInput::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4803,7 +4803,7 @@ QString PythonQtShell_QAudioInputSelectorControl::activeInput() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("activeInput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4836,7 +4836,7 @@ QList PythonQtShell_QAudioInputSelectorControl::availableInputs() con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availableInputs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4869,7 +4869,7 @@ void PythonQtShell_QAudioInputSelectorControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4891,7 +4891,7 @@ void PythonQtShell_QAudioInputSelectorControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4913,7 +4913,7 @@ QString PythonQtShell_QAudioInputSelectorControl::defaultInput() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("defaultInput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4946,7 +4946,7 @@ bool PythonQtShell_QAudioInputSelectorControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4979,7 +4979,7 @@ bool PythonQtShell_QAudioInputSelectorControl::eventFilter(QObject* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5012,7 +5012,7 @@ QString PythonQtShell_QAudioInputSelectorControl::inputDescription(const QStrin { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputDescription"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5045,7 +5045,7 @@ void PythonQtShell_QAudioInputSelectorControl::setActiveInput(const QString& na { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setActiveInput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5067,7 +5067,7 @@ void PythonQtShell_QAudioInputSelectorControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5132,7 +5132,7 @@ void PythonQtShell_QAudioOutput::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5154,7 +5154,7 @@ void PythonQtShell_QAudioOutput::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5176,7 +5176,7 @@ bool PythonQtShell_QAudioOutput::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5209,7 +5209,7 @@ bool PythonQtShell_QAudioOutput::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5242,7 +5242,7 @@ void PythonQtShell_QAudioOutput::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5396,7 +5396,7 @@ QString PythonQtShell_QAudioOutputSelectorControl::activeOutput() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("activeOutput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5429,7 +5429,7 @@ QList PythonQtShell_QAudioOutputSelectorControl::availableOutputs() c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availableOutputs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5462,7 +5462,7 @@ void PythonQtShell_QAudioOutputSelectorControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5484,7 +5484,7 @@ void PythonQtShell_QAudioOutputSelectorControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5506,7 +5506,7 @@ QString PythonQtShell_QAudioOutputSelectorControl::defaultOutput() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("defaultOutput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5539,7 +5539,7 @@ bool PythonQtShell_QAudioOutputSelectorControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5572,7 +5572,7 @@ bool PythonQtShell_QAudioOutputSelectorControl::eventFilter(QObject* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5605,7 +5605,7 @@ QString PythonQtShell_QAudioOutputSelectorControl::outputDescription(const QStr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("outputDescription"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5638,7 +5638,7 @@ void PythonQtShell_QAudioOutputSelectorControl::setActiveOutput(const QString& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setActiveOutput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5660,7 +5660,7 @@ void PythonQtShell_QAudioOutputSelectorControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5725,7 +5725,7 @@ void PythonQtShell_QAudioProbe::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5747,7 +5747,7 @@ void PythonQtShell_QAudioProbe::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5769,7 +5769,7 @@ bool PythonQtShell_QAudioProbe::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5802,7 +5802,7 @@ bool PythonQtShell_QAudioProbe::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5835,7 +5835,7 @@ void PythonQtShell_QAudioProbe::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5895,7 +5895,7 @@ void PythonQtShell_QAudioRecorder::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5917,7 +5917,7 @@ void PythonQtShell_QAudioRecorder::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5939,7 +5939,7 @@ bool PythonQtShell_QAudioRecorder::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5972,7 +5972,7 @@ bool PythonQtShell_QAudioRecorder::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6005,7 +6005,7 @@ QMediaObject* PythonQtShell_QAudioRecorder::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6038,7 +6038,7 @@ bool PythonQtShell_QAudioRecorder::setMediaObject(QMediaObject* object0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6071,7 +6071,7 @@ void PythonQtShell_QAudioRecorder::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6136,7 +6136,7 @@ QAudio::Role PythonQtShell_QAudioRoleControl::audioRole() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("audioRole"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6169,7 +6169,7 @@ void PythonQtShell_QAudioRoleControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6191,7 +6191,7 @@ void PythonQtShell_QAudioRoleControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6213,7 +6213,7 @@ bool PythonQtShell_QAudioRoleControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6246,7 +6246,7 @@ bool PythonQtShell_QAudioRoleControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6279,7 +6279,7 @@ void PythonQtShell_QAudioRoleControl::setAudioRole(QAudio::Role role0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setAudioRole"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6301,7 +6301,7 @@ QList PythonQtShell_QAudioRoleControl::supportedAudioRoles() con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedAudioRoles"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6334,7 +6334,7 @@ void PythonQtShell_QAudioRoleControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6394,7 +6394,7 @@ QList PythonQtShell_QAudioSystemFactoryInterface::availableDevices { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availableDevices"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6427,7 +6427,7 @@ QAbstractAudioDeviceInfo* PythonQtShell_QAudioSystemFactoryInterface::createDev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createDeviceInfo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6460,7 +6460,7 @@ QAbstractAudioInput* PythonQtShell_QAudioSystemFactoryInterface::createInput(co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createInput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6493,7 +6493,7 @@ QAbstractAudioOutput* PythonQtShell_QAudioSystemFactoryInterface::createOutput( { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createOutput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6556,7 +6556,7 @@ QList PythonQtShell_QAudioSystemPlugin::availableDevices(QAudio::M { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availableDevices"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6589,7 +6589,7 @@ QAbstractAudioDeviceInfo* PythonQtShell_QAudioSystemPlugin::createDeviceInfo(co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createDeviceInfo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6622,7 +6622,7 @@ QAbstractAudioInput* PythonQtShell_QAudioSystemPlugin::createInput(const QByteA { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createInput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6655,7 +6655,7 @@ QAbstractAudioOutput* PythonQtShell_QAudioSystemPlugin::createOutput(const QByt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createOutput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6731,7 +6731,7 @@ QMultimedia::AvailabilityStatus PythonQtShell_QCamera::availability() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6764,7 +6764,7 @@ bool PythonQtShell_QCamera::bind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6797,7 +6797,7 @@ void PythonQtShell_QCamera::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6819,7 +6819,7 @@ void PythonQtShell_QCamera::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6841,7 +6841,7 @@ bool PythonQtShell_QCamera::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6874,7 +6874,7 @@ bool PythonQtShell_QCamera::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6907,7 +6907,7 @@ bool PythonQtShell_QCamera::isAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6940,7 +6940,7 @@ QMediaService* PythonQtShell_QCamera::service() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6973,7 +6973,7 @@ void PythonQtShell_QCamera::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6995,7 +6995,7 @@ void PythonQtShell_QCamera::unbind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7172,7 +7172,7 @@ QVideoFrame::PixelFormat PythonQtShell_QCameraCaptureBufferFormatControl::buffe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bufferFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7205,7 +7205,7 @@ void PythonQtShell_QCameraCaptureBufferFormatControl::childEvent(QChildEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7227,7 +7227,7 @@ void PythonQtShell_QCameraCaptureBufferFormatControl::customEvent(QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7249,7 +7249,7 @@ bool PythonQtShell_QCameraCaptureBufferFormatControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7282,7 +7282,7 @@ bool PythonQtShell_QCameraCaptureBufferFormatControl::eventFilter(QObject* wat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7315,7 +7315,7 @@ void PythonQtShell_QCameraCaptureBufferFormatControl::setBufferFormat(QVideoFram { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setBufferFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7337,7 +7337,7 @@ QList PythonQtShell_QCameraCaptureBufferFormatContro { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedBufferFormats"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7370,7 +7370,7 @@ void PythonQtShell_QCameraCaptureBufferFormatControl::timerEvent(QTimerEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7430,7 +7430,7 @@ QCameraImageCapture::CaptureDestinations PythonQtShell_QCameraCaptureDestinatio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("captureDestination"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7463,7 +7463,7 @@ void PythonQtShell_QCameraCaptureDestinationControl::childEvent(QChildEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7485,7 +7485,7 @@ void PythonQtShell_QCameraCaptureDestinationControl::customEvent(QEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7507,7 +7507,7 @@ bool PythonQtShell_QCameraCaptureDestinationControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7540,7 +7540,7 @@ bool PythonQtShell_QCameraCaptureDestinationControl::eventFilter(QObject* watc { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7573,7 +7573,7 @@ bool PythonQtShell_QCameraCaptureDestinationControl::isCaptureDestinationSuppor { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isCaptureDestinationSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7606,7 +7606,7 @@ void PythonQtShell_QCameraCaptureDestinationControl::setCaptureDestination(QCame { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setCaptureDestination"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7628,7 +7628,7 @@ void PythonQtShell_QCameraCaptureDestinationControl::timerEvent(QTimerEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7688,7 +7688,7 @@ bool PythonQtShell_QCameraControl::canChangeProperty(QCameraControl::PropertyCh { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canChangeProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7721,7 +7721,7 @@ QCamera::CaptureModes PythonQtShell_QCameraControl::captureMode() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("captureMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7754,7 +7754,7 @@ void PythonQtShell_QCameraControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7776,7 +7776,7 @@ void PythonQtShell_QCameraControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7798,7 +7798,7 @@ bool PythonQtShell_QCameraControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7831,7 +7831,7 @@ bool PythonQtShell_QCameraControl::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7864,7 +7864,7 @@ bool PythonQtShell_QCameraControl::isCaptureModeSupported(QCamera::CaptureModes { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isCaptureModeSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7897,7 +7897,7 @@ void PythonQtShell_QCameraControl::setCaptureMode(QCamera::CaptureModes arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setCaptureMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7919,7 +7919,7 @@ void PythonQtShell_QCameraControl::setState(QCamera::State state0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7941,7 +7941,7 @@ QCamera::State PythonQtShell_QCameraControl::state() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("state"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7974,7 +7974,7 @@ QCamera::Status PythonQtShell_QCameraControl::status() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("status"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8007,7 +8007,7 @@ void PythonQtShell_QCameraControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8189,7 +8189,7 @@ QVariant PythonQtShell_QCameraExposureControl::actualValue(QCameraExposureContr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actualValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8222,7 +8222,7 @@ void PythonQtShell_QCameraExposureControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8244,7 +8244,7 @@ void PythonQtShell_QCameraExposureControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8266,7 +8266,7 @@ bool PythonQtShell_QCameraExposureControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8299,7 +8299,7 @@ bool PythonQtShell_QCameraExposureControl::eventFilter(QObject* watched0, QEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8332,7 +8332,7 @@ bool PythonQtShell_QCameraExposureControl::isParameterSupported(QCameraExposure { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isParameterSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8365,7 +8365,7 @@ QVariant PythonQtShell_QCameraExposureControl::requestedValue(QCameraExposureCo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("requestedValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8398,7 +8398,7 @@ bool PythonQtShell_QCameraExposureControl::setValue(QCameraExposureControl::Exp { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8431,7 +8431,7 @@ QList PythonQtShell_QCameraExposureControl::supportedParameterRange( { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedParameterRange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8464,7 +8464,7 @@ void PythonQtShell_QCameraExposureControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8534,7 +8534,7 @@ void PythonQtShell_QCameraFeedbackControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8556,7 +8556,7 @@ void PythonQtShell_QCameraFeedbackControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8578,7 +8578,7 @@ bool PythonQtShell_QCameraFeedbackControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8611,7 +8611,7 @@ bool PythonQtShell_QCameraFeedbackControl::eventFilter(QObject* watched0, QEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8644,7 +8644,7 @@ bool PythonQtShell_QCameraFeedbackControl::isEventFeedbackEnabled(QCameraFeedba { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEventFeedbackEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8677,7 +8677,7 @@ bool PythonQtShell_QCameraFeedbackControl::isEventFeedbackLocked(QCameraFeedbac { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEventFeedbackLocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8710,7 +8710,7 @@ void PythonQtShell_QCameraFeedbackControl::resetEventFeedback(QCameraFeedbackCon { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resetEventFeedback"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8732,7 +8732,7 @@ bool PythonQtShell_QCameraFeedbackControl::setEventFeedbackEnabled(QCameraFeedb { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEventFeedbackEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8765,7 +8765,7 @@ bool PythonQtShell_QCameraFeedbackControl::setEventFeedbackSound(QCameraFeedbac { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEventFeedbackSound"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8798,7 +8798,7 @@ void PythonQtShell_QCameraFeedbackControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8868,7 +8868,7 @@ void PythonQtShell_QCameraFlashControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8890,7 +8890,7 @@ void PythonQtShell_QCameraFlashControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8912,7 +8912,7 @@ bool PythonQtShell_QCameraFlashControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8945,7 +8945,7 @@ bool PythonQtShell_QCameraFlashControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8978,7 +8978,7 @@ QCameraExposure::FlashModes PythonQtShell_QCameraFlashControl::flashMode() cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flashMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9011,7 +9011,7 @@ bool PythonQtShell_QCameraFlashControl::isFlashModeSupported(QCameraExposure::F { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isFlashModeSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9044,7 +9044,7 @@ bool PythonQtShell_QCameraFlashControl::isFlashReady() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isFlashReady"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9077,7 +9077,7 @@ void PythonQtShell_QCameraFlashControl::setFlashMode(QCameraExposure::FlashModes { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFlashMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9099,7 +9099,7 @@ void PythonQtShell_QCameraFlashControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp b/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp index 5ab25358a..7aa06af32 100644 --- a/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp +++ b/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp @@ -149,7 +149,7 @@ void PythonQtShell_QCameraFocusControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -171,7 +171,7 @@ void PythonQtShell_QCameraFocusControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -193,7 +193,7 @@ QPointF PythonQtShell_QCameraFocusControl::customFocusPoint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customFocusPoint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -226,7 +226,7 @@ bool PythonQtShell_QCameraFocusControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -259,7 +259,7 @@ bool PythonQtShell_QCameraFocusControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -292,7 +292,7 @@ QCameraFocus::FocusModes PythonQtShell_QCameraFocusControl::focusMode() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -325,7 +325,7 @@ QCameraFocus::FocusPointMode PythonQtShell_QCameraFocusControl::focusPointMode( { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusPointMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -358,7 +358,7 @@ QList PythonQtShell_QCameraFocusControl::focusZones() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusZones"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -391,7 +391,7 @@ bool PythonQtShell_QCameraFocusControl::isFocusModeSupported(QCameraFocus::Focu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isFocusModeSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -424,7 +424,7 @@ bool PythonQtShell_QCameraFocusControl::isFocusPointModeSupported(QCameraFocus: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isFocusPointModeSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -457,7 +457,7 @@ void PythonQtShell_QCameraFocusControl::setCustomFocusPoint(const QPointF& poin { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setCustomFocusPoint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -479,7 +479,7 @@ void PythonQtShell_QCameraFocusControl::setFocusMode(QCameraFocus::FocusModes m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFocusMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -501,7 +501,7 @@ void PythonQtShell_QCameraFocusControl::setFocusPointMode(QCameraFocus::FocusPoi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFocusPointMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -523,7 +523,7 @@ void PythonQtShell_QCameraFocusControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -662,7 +662,7 @@ void PythonQtShell_QCameraImageCapture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -684,7 +684,7 @@ void PythonQtShell_QCameraImageCapture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -706,7 +706,7 @@ bool PythonQtShell_QCameraImageCapture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -739,7 +739,7 @@ bool PythonQtShell_QCameraImageCapture::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -772,7 +772,7 @@ QMediaObject* PythonQtShell_QCameraImageCapture::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -805,7 +805,7 @@ bool PythonQtShell_QCameraImageCapture::setMediaObject(QMediaObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -838,7 +838,7 @@ void PythonQtShell_QCameraImageCapture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -963,7 +963,7 @@ void PythonQtShell_QCameraImageCaptureControl::cancelCapture() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cancelCapture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -985,7 +985,7 @@ int PythonQtShell_QCameraImageCaptureControl::capture(const QString& fileName0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("capture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1018,7 +1018,7 @@ void PythonQtShell_QCameraImageCaptureControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1040,7 +1040,7 @@ void PythonQtShell_QCameraImageCaptureControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1062,7 +1062,7 @@ QCameraImageCapture::DriveMode PythonQtShell_QCameraImageCaptureControl::driveM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("driveMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1095,7 +1095,7 @@ bool PythonQtShell_QCameraImageCaptureControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1128,7 +1128,7 @@ bool PythonQtShell_QCameraImageCaptureControl::eventFilter(QObject* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1161,7 +1161,7 @@ bool PythonQtShell_QCameraImageCaptureControl::isReadyForCapture() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isReadyForCapture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1194,7 +1194,7 @@ void PythonQtShell_QCameraImageCaptureControl::setDriveMode(QCameraImageCapture: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDriveMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1216,7 +1216,7 @@ void PythonQtShell_QCameraImageCaptureControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1383,7 +1383,7 @@ void PythonQtShell_QCameraImageProcessingControl::childEvent(QChildEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1405,7 +1405,7 @@ void PythonQtShell_QCameraImageProcessingControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1427,7 +1427,7 @@ bool PythonQtShell_QCameraImageProcessingControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1460,7 +1460,7 @@ bool PythonQtShell_QCameraImageProcessingControl::eventFilter(QObject* watched { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1493,7 +1493,7 @@ bool PythonQtShell_QCameraImageProcessingControl::isParameterSupported(QCameraI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isParameterSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1526,7 +1526,7 @@ bool PythonQtShell_QCameraImageProcessingControl::isParameterValueSupported(QCa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isParameterValueSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1559,7 +1559,7 @@ QVariant PythonQtShell_QCameraImageProcessingControl::parameter(QCameraImagePro { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parameter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1592,7 +1592,7 @@ void PythonQtShell_QCameraImageProcessingControl::setParameter(QCameraImageProce { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setParameter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1614,7 +1614,7 @@ void PythonQtShell_QCameraImageProcessingControl::timerEvent(QTimerEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1750,7 +1750,7 @@ int PythonQtShell_QCameraInfoControl::cameraOrientation(const QString& deviceN { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cameraOrientation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1783,7 +1783,7 @@ QCamera::Position PythonQtShell_QCameraInfoControl::cameraPosition(const QStrin { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cameraPosition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1816,7 +1816,7 @@ void PythonQtShell_QCameraInfoControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1838,7 +1838,7 @@ void PythonQtShell_QCameraInfoControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1860,7 +1860,7 @@ bool PythonQtShell_QCameraInfoControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1893,7 +1893,7 @@ bool PythonQtShell_QCameraInfoControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1926,7 +1926,7 @@ void PythonQtShell_QCameraInfoControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1981,7 +1981,7 @@ void PythonQtShell_QCameraLocksControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2003,7 +2003,7 @@ void PythonQtShell_QCameraLocksControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2025,7 +2025,7 @@ bool PythonQtShell_QCameraLocksControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2058,7 +2058,7 @@ bool PythonQtShell_QCameraLocksControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2091,7 +2091,7 @@ QCamera::LockStatus PythonQtShell_QCameraLocksControl::lockStatus(QCamera::Lock { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("lockStatus"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2124,7 +2124,7 @@ void PythonQtShell_QCameraLocksControl::searchAndLock(QCamera::LockTypes locks0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("searchAndLock"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2146,7 +2146,7 @@ QCamera::LockTypes PythonQtShell_QCameraLocksControl::supportedLocks() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedLocks"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2179,7 +2179,7 @@ void PythonQtShell_QCameraLocksControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2201,7 +2201,7 @@ void PythonQtShell_QCameraLocksControl::unlock(QCamera::LockTypes locks0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unlock"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2266,7 +2266,7 @@ void PythonQtShell_QCameraViewfinder::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2288,7 +2288,7 @@ void PythonQtShell_QCameraViewfinder::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2310,7 +2310,7 @@ void PythonQtShell_QCameraViewfinder::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2332,7 +2332,7 @@ void PythonQtShell_QCameraViewfinder::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2354,7 +2354,7 @@ void PythonQtShell_QCameraViewfinder::contextMenuEvent(QContextMenuEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2376,7 +2376,7 @@ void PythonQtShell_QCameraViewfinder::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2398,7 +2398,7 @@ int PythonQtShell_QCameraViewfinder::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2431,7 +2431,7 @@ void PythonQtShell_QCameraViewfinder::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2453,7 +2453,7 @@ void PythonQtShell_QCameraViewfinder::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2475,7 +2475,7 @@ void PythonQtShell_QCameraViewfinder::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2497,7 +2497,7 @@ void PythonQtShell_QCameraViewfinder::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2519,7 +2519,7 @@ void PythonQtShell_QCameraViewfinder::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2541,7 +2541,7 @@ bool PythonQtShell_QCameraViewfinder::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2574,7 +2574,7 @@ bool PythonQtShell_QCameraViewfinder::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2607,7 +2607,7 @@ void PythonQtShell_QCameraViewfinder::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2629,7 +2629,7 @@ bool PythonQtShell_QCameraViewfinder::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2662,7 +2662,7 @@ void PythonQtShell_QCameraViewfinder::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2684,7 +2684,7 @@ bool PythonQtShell_QCameraViewfinder::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2717,7 +2717,7 @@ int PythonQtShell_QCameraViewfinder::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2750,7 +2750,7 @@ void PythonQtShell_QCameraViewfinder::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2772,7 +2772,7 @@ void PythonQtShell_QCameraViewfinder::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2794,7 +2794,7 @@ void PythonQtShell_QCameraViewfinder::inputMethodEvent(QInputMethodEvent* arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2816,7 +2816,7 @@ QVariant PythonQtShell_QCameraViewfinder::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2849,7 +2849,7 @@ void PythonQtShell_QCameraViewfinder::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2871,7 +2871,7 @@ void PythonQtShell_QCameraViewfinder::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2893,7 +2893,7 @@ void PythonQtShell_QCameraViewfinder::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2915,7 +2915,7 @@ QMediaObject* PythonQtShell_QCameraViewfinder::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2948,7 +2948,7 @@ int PythonQtShell_QCameraViewfinder::metric(QPaintDevice::PaintDeviceMetric ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2981,7 +2981,7 @@ QSize PythonQtShell_QCameraViewfinder::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3014,7 +3014,7 @@ void PythonQtShell_QCameraViewfinder::mouseDoubleClickEvent(QMouseEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3036,7 +3036,7 @@ void PythonQtShell_QCameraViewfinder::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3058,7 +3058,7 @@ void PythonQtShell_QCameraViewfinder::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3080,7 +3080,7 @@ void PythonQtShell_QCameraViewfinder::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3102,7 +3102,7 @@ void PythonQtShell_QCameraViewfinder::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3124,7 +3124,7 @@ bool PythonQtShell_QCameraViewfinder::nativeEvent(const QByteArray& eventType0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3157,7 +3157,7 @@ QPaintEngine* PythonQtShell_QCameraViewfinder::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3190,7 +3190,7 @@ void PythonQtShell_QCameraViewfinder::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3212,7 +3212,7 @@ QPaintDevice* PythonQtShell_QCameraViewfinder::redirected(QPoint* offset0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3245,7 +3245,7 @@ void PythonQtShell_QCameraViewfinder::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3267,7 +3267,7 @@ bool PythonQtShell_QCameraViewfinder::setMediaObject(QMediaObject* object0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3300,7 +3300,7 @@ void PythonQtShell_QCameraViewfinder::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3322,7 +3322,7 @@ QPainter* PythonQtShell_QCameraViewfinder::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3355,7 +3355,7 @@ void PythonQtShell_QCameraViewfinder::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3377,7 +3377,7 @@ QSize PythonQtShell_QCameraViewfinder::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3410,7 +3410,7 @@ void PythonQtShell_QCameraViewfinder::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3432,7 +3432,7 @@ void PythonQtShell_QCameraViewfinder::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3454,7 +3454,7 @@ void PythonQtShell_QCameraViewfinder::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3584,7 +3584,7 @@ void PythonQtShell_QCameraViewfinderSettingsControl::childEvent(QChildEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3606,7 +3606,7 @@ void PythonQtShell_QCameraViewfinderSettingsControl::customEvent(QEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3628,7 +3628,7 @@ bool PythonQtShell_QCameraViewfinderSettingsControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3661,7 +3661,7 @@ bool PythonQtShell_QCameraViewfinderSettingsControl::eventFilter(QObject* watc { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3694,7 +3694,7 @@ bool PythonQtShell_QCameraViewfinderSettingsControl::isViewfinderParameterSuppo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isViewfinderParameterSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3727,7 +3727,7 @@ void PythonQtShell_QCameraViewfinderSettingsControl::setViewfinderParameter(QCam { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setViewfinderParameter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3749,7 +3749,7 @@ void PythonQtShell_QCameraViewfinderSettingsControl::timerEvent(QTimerEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3771,7 +3771,7 @@ QVariant PythonQtShell_QCameraViewfinderSettingsControl::viewfinderParameter(QC { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewfinderParameter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3842,7 +3842,7 @@ void PythonQtShell_QCameraViewfinderSettingsControl2::childEvent(QChildEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3864,7 +3864,7 @@ void PythonQtShell_QCameraViewfinderSettingsControl2::customEvent(QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3886,7 +3886,7 @@ bool PythonQtShell_QCameraViewfinderSettingsControl2::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3919,7 +3919,7 @@ bool PythonQtShell_QCameraViewfinderSettingsControl2::eventFilter(QObject* wat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3952,7 +3952,7 @@ void PythonQtShell_QCameraViewfinderSettingsControl2::setViewfinderSettings(cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setViewfinderSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3974,7 +3974,7 @@ QList PythonQtShell_QCameraViewfinderSettingsContro { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedViewfinderSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4007,7 +4007,7 @@ void PythonQtShell_QCameraViewfinderSettingsControl2::timerEvent(QTimerEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4029,7 +4029,7 @@ QCameraViewfinderSettings PythonQtShell_QCameraViewfinderSettingsControl2::view { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewfinderSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4100,7 +4100,7 @@ void PythonQtShell_QCameraZoomControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4122,7 +4122,7 @@ qreal PythonQtShell_QCameraZoomControl::currentDigitalZoom() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentDigitalZoom"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4155,7 +4155,7 @@ qreal PythonQtShell_QCameraZoomControl::currentOpticalZoom() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentOpticalZoom"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4188,7 +4188,7 @@ void PythonQtShell_QCameraZoomControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4210,7 +4210,7 @@ bool PythonQtShell_QCameraZoomControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4243,7 +4243,7 @@ bool PythonQtShell_QCameraZoomControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4276,7 +4276,7 @@ qreal PythonQtShell_QCameraZoomControl::maximumDigitalZoom() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumDigitalZoom"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4309,7 +4309,7 @@ qreal PythonQtShell_QCameraZoomControl::maximumOpticalZoom() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumOpticalZoom"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4342,7 +4342,7 @@ qreal PythonQtShell_QCameraZoomControl::requestedDigitalZoom() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("requestedDigitalZoom"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4375,7 +4375,7 @@ qreal PythonQtShell_QCameraZoomControl::requestedOpticalZoom() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("requestedOpticalZoom"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4408,7 +4408,7 @@ void PythonQtShell_QCameraZoomControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4430,7 +4430,7 @@ void PythonQtShell_QCameraZoomControl::zoomTo(qreal optical0, qreal digital1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("zoomTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4529,7 +4529,7 @@ QRectF PythonQtShell_QGraphicsVideoItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4562,7 +4562,7 @@ void PythonQtShell_QGraphicsVideoItem::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4584,7 +4584,7 @@ void PythonQtShell_QGraphicsVideoItem::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4606,7 +4606,7 @@ bool PythonQtShell_QGraphicsVideoItem::event(QEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4639,7 +4639,7 @@ bool PythonQtShell_QGraphicsVideoItem::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4672,7 +4672,7 @@ QVariant PythonQtShell_QGraphicsVideoItem::itemChange(QGraphicsItem::GraphicsIt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4708,7 +4708,7 @@ QMediaObject* PythonQtShell_QGraphicsVideoItem::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4741,7 +4741,7 @@ void PythonQtShell_QGraphicsVideoItem::paint(QPainter* painter0, const QStyleOp { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4763,7 +4763,7 @@ bool PythonQtShell_QGraphicsVideoItem::setMediaObject(QMediaObject* object0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4796,7 +4796,7 @@ void PythonQtShell_QGraphicsVideoItem::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4891,7 +4891,7 @@ void PythonQtShell_QImageEncoderControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4913,7 +4913,7 @@ void PythonQtShell_QImageEncoderControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4935,7 +4935,7 @@ bool PythonQtShell_QImageEncoderControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4968,7 +4968,7 @@ bool PythonQtShell_QImageEncoderControl::eventFilter(QObject* watched0, QEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5001,7 +5001,7 @@ QString PythonQtShell_QImageEncoderControl::imageCodecDescription(const QString { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("imageCodecDescription"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5034,7 +5034,7 @@ QImageEncoderSettings PythonQtShell_QImageEncoderControl::imageSettings() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("imageSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5067,7 +5067,7 @@ void PythonQtShell_QImageEncoderControl::setImageSettings(const QImageEncoderSet { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setImageSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5089,7 +5089,7 @@ QStringList PythonQtShell_QImageEncoderControl::supportedImageCodecs() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedImageCodecs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5122,7 +5122,7 @@ QList PythonQtShell_QImageEncoderControl::supportedResolutions(const QI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedResolutions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5155,7 +5155,7 @@ void PythonQtShell_QImageEncoderControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5310,7 +5310,7 @@ void PythonQtShell_QMediaAudioProbeControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5332,7 +5332,7 @@ void PythonQtShell_QMediaAudioProbeControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5354,7 +5354,7 @@ bool PythonQtShell_QMediaAudioProbeControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5387,7 +5387,7 @@ bool PythonQtShell_QMediaAudioProbeControl::eventFilter(QObject* watched0, QEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5420,7 +5420,7 @@ void PythonQtShell_QMediaAudioProbeControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5465,7 +5465,7 @@ QMultimedia::AvailabilityStatus PythonQtShell_QMediaAvailabilityControl::availa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5498,7 +5498,7 @@ void PythonQtShell_QMediaAvailabilityControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5520,7 +5520,7 @@ void PythonQtShell_QMediaAvailabilityControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5542,7 +5542,7 @@ bool PythonQtShell_QMediaAvailabilityControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5575,7 +5575,7 @@ bool PythonQtShell_QMediaAvailabilityControl::eventFilter(QObject* watched0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5608,7 +5608,7 @@ void PythonQtShell_QMediaAvailabilityControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5658,7 +5658,7 @@ QMediaObject* PythonQtShell_QMediaBindableInterface::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5691,7 +5691,7 @@ bool PythonQtShell_QMediaBindableInterface::setMediaObject(QMediaObject* objec { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5744,7 +5744,7 @@ void PythonQtShell_QMediaContainerControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5766,7 +5766,7 @@ QString PythonQtShell_QMediaContainerControl::containerDescription(const QStrin { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("containerDescription"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5799,7 +5799,7 @@ QString PythonQtShell_QMediaContainerControl::containerFormat() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("containerFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5832,7 +5832,7 @@ void PythonQtShell_QMediaContainerControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5854,7 +5854,7 @@ bool PythonQtShell_QMediaContainerControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5887,7 +5887,7 @@ bool PythonQtShell_QMediaContainerControl::eventFilter(QObject* watched0, QEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5920,7 +5920,7 @@ void PythonQtShell_QMediaContainerControl::setContainerFormat(const QString& fo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setContainerFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5942,7 +5942,7 @@ QStringList PythonQtShell_QMediaContainerControl::supportedContainers() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedContainers"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5975,7 +5975,7 @@ void PythonQtShell_QMediaContainerControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6115,7 +6115,7 @@ void PythonQtShell_QMediaControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6137,7 +6137,7 @@ void PythonQtShell_QMediaControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6159,7 +6159,7 @@ bool PythonQtShell_QMediaControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6192,7 +6192,7 @@ bool PythonQtShell_QMediaControl::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6225,7 +6225,7 @@ void PythonQtShell_QMediaControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6270,7 +6270,7 @@ void PythonQtShell_QMediaGaplessPlaybackControl::childEvent(QChildEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6292,7 +6292,7 @@ qreal PythonQtShell_QMediaGaplessPlaybackControl::crossfadeTime() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("crossfadeTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6325,7 +6325,7 @@ void PythonQtShell_QMediaGaplessPlaybackControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6347,7 +6347,7 @@ bool PythonQtShell_QMediaGaplessPlaybackControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6380,7 +6380,7 @@ bool PythonQtShell_QMediaGaplessPlaybackControl::eventFilter(QObject* watched0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6413,7 +6413,7 @@ bool PythonQtShell_QMediaGaplessPlaybackControl::isCrossfadeSupported() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isCrossfadeSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6446,7 +6446,7 @@ QMediaContent PythonQtShell_QMediaGaplessPlaybackControl::nextMedia() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextMedia"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6479,7 +6479,7 @@ void PythonQtShell_QMediaGaplessPlaybackControl::setCrossfadeTime(qreal crossfa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setCrossfadeTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6501,7 +6501,7 @@ void PythonQtShell_QMediaGaplessPlaybackControl::setNextMedia(const QMediaConten { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setNextMedia"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6523,7 +6523,7 @@ void PythonQtShell_QMediaGaplessPlaybackControl::timerEvent(QTimerEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6593,7 +6593,7 @@ void PythonQtShell_QMediaNetworkAccessControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6615,7 +6615,7 @@ QNetworkConfiguration PythonQtShell_QMediaNetworkAccessControl::currentConfigur { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentConfiguration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6648,7 +6648,7 @@ void PythonQtShell_QMediaNetworkAccessControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6670,7 +6670,7 @@ bool PythonQtShell_QMediaNetworkAccessControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6703,7 +6703,7 @@ bool PythonQtShell_QMediaNetworkAccessControl::eventFilter(QObject* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6736,7 +6736,7 @@ void PythonQtShell_QMediaNetworkAccessControl::setConfigurations(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setConfigurations"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6758,7 +6758,7 @@ void PythonQtShell_QMediaNetworkAccessControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6813,7 +6813,7 @@ QMultimedia::AvailabilityStatus PythonQtShell_QMediaObject::availability() cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6846,7 +6846,7 @@ bool PythonQtShell_QMediaObject::bind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6879,7 +6879,7 @@ void PythonQtShell_QMediaObject::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6901,7 +6901,7 @@ void PythonQtShell_QMediaObject::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6923,7 +6923,7 @@ bool PythonQtShell_QMediaObject::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6956,7 +6956,7 @@ bool PythonQtShell_QMediaObject::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6989,7 +6989,7 @@ bool PythonQtShell_QMediaObject::isAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7022,7 +7022,7 @@ QMediaService* PythonQtShell_QMediaObject::service() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7055,7 +7055,7 @@ void PythonQtShell_QMediaObject::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7077,7 +7077,7 @@ void PythonQtShell_QMediaObject::unbind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7182,7 +7182,7 @@ QMultimedia::AvailabilityStatus PythonQtShell_QMediaPlayer::availability() cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7215,7 +7215,7 @@ bool PythonQtShell_QMediaPlayer::bind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7248,7 +7248,7 @@ void PythonQtShell_QMediaPlayer::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7270,7 +7270,7 @@ void PythonQtShell_QMediaPlayer::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7292,7 +7292,7 @@ bool PythonQtShell_QMediaPlayer::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7325,7 +7325,7 @@ bool PythonQtShell_QMediaPlayer::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7358,7 +7358,7 @@ bool PythonQtShell_QMediaPlayer::isAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7391,7 +7391,7 @@ QMediaService* PythonQtShell_QMediaPlayer::service() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7424,7 +7424,7 @@ void PythonQtShell_QMediaPlayer::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7446,7 +7446,7 @@ void PythonQtShell_QMediaPlayer::unbind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7636,7 +7636,7 @@ QMediaTimeRange PythonQtShell_QMediaPlayerControl::availablePlaybackRanges() co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availablePlaybackRanges"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7669,7 +7669,7 @@ int PythonQtShell_QMediaPlayerControl::bufferStatus() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bufferStatus"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7702,7 +7702,7 @@ void PythonQtShell_QMediaPlayerControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7724,7 +7724,7 @@ void PythonQtShell_QMediaPlayerControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7746,7 +7746,7 @@ qint64 PythonQtShell_QMediaPlayerControl::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7779,7 +7779,7 @@ bool PythonQtShell_QMediaPlayerControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7812,7 +7812,7 @@ bool PythonQtShell_QMediaPlayerControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7845,7 +7845,7 @@ bool PythonQtShell_QMediaPlayerControl::isAudioAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAudioAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7878,7 +7878,7 @@ bool PythonQtShell_QMediaPlayerControl::isMuted() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isMuted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7911,7 +7911,7 @@ bool PythonQtShell_QMediaPlayerControl::isSeekable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSeekable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7944,7 +7944,7 @@ bool PythonQtShell_QMediaPlayerControl::isVideoAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isVideoAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7977,7 +7977,7 @@ QMediaContent PythonQtShell_QMediaPlayerControl::media() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("media"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8010,7 +8010,7 @@ QMediaPlayer::MediaStatus PythonQtShell_QMediaPlayerControl::mediaStatus() cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaStatus"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8043,7 +8043,7 @@ const QIODevice* PythonQtShell_QMediaPlayerControl::mediaStream() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaStream"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8076,7 +8076,7 @@ void PythonQtShell_QMediaPlayerControl::pause() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pause"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8098,7 +8098,7 @@ void PythonQtShell_QMediaPlayerControl::play() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("play"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8120,7 +8120,7 @@ qreal PythonQtShell_QMediaPlayerControl::playbackRate() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("playbackRate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8153,7 +8153,7 @@ qint64 PythonQtShell_QMediaPlayerControl::position() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("position"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8186,7 +8186,7 @@ void PythonQtShell_QMediaPlayerControl::setMedia(const QMediaContent& media0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMedia"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8208,7 +8208,7 @@ void PythonQtShell_QMediaPlayerControl::setMuted(bool mute0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMuted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8230,7 +8230,7 @@ void PythonQtShell_QMediaPlayerControl::setPlaybackRate(qreal rate0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPlaybackRate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8252,7 +8252,7 @@ void PythonQtShell_QMediaPlayerControl::setPosition(qint64 position0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPosition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8274,7 +8274,7 @@ void PythonQtShell_QMediaPlayerControl::setVolume(int volume0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVolume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8296,7 +8296,7 @@ QMediaPlayer::State PythonQtShell_QMediaPlayerControl::state() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("state"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8329,7 +8329,7 @@ void PythonQtShell_QMediaPlayerControl::stop() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stop"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8351,7 +8351,7 @@ void PythonQtShell_QMediaPlayerControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8373,7 +8373,7 @@ int PythonQtShell_QMediaPlayerControl::volume() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("volume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp b/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp index 8dafba056..c9f2ba41d 100644 --- a/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp +++ b/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp @@ -38,7 +38,7 @@ void PythonQtShell_QMediaPlaylist::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -60,7 +60,7 @@ void PythonQtShell_QMediaPlaylist::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -82,7 +82,7 @@ bool PythonQtShell_QMediaPlaylist::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -115,7 +115,7 @@ bool PythonQtShell_QMediaPlaylist::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -148,7 +148,7 @@ QMediaObject* PythonQtShell_QMediaPlaylist::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -181,7 +181,7 @@ bool PythonQtShell_QMediaPlaylist::setMediaObject(QMediaObject* object0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -214,7 +214,7 @@ void PythonQtShell_QMediaPlaylist::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -384,7 +384,7 @@ void PythonQtShell_QMediaRecorder::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -406,7 +406,7 @@ void PythonQtShell_QMediaRecorder::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -428,7 +428,7 @@ bool PythonQtShell_QMediaRecorder::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -461,7 +461,7 @@ bool PythonQtShell_QMediaRecorder::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -494,7 +494,7 @@ QMediaObject* PythonQtShell_QMediaRecorder::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -527,7 +527,7 @@ bool PythonQtShell_QMediaRecorder::setMediaObject(QMediaObject* object0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -560,7 +560,7 @@ void PythonQtShell_QMediaRecorder::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -770,7 +770,7 @@ void PythonQtShell_QMediaRecorderControl::applySettings() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("applySettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -792,7 +792,7 @@ void PythonQtShell_QMediaRecorderControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -814,7 +814,7 @@ void PythonQtShell_QMediaRecorderControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -836,7 +836,7 @@ qint64 PythonQtShell_QMediaRecorderControl::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -869,7 +869,7 @@ bool PythonQtShell_QMediaRecorderControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -902,7 +902,7 @@ bool PythonQtShell_QMediaRecorderControl::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -935,7 +935,7 @@ bool PythonQtShell_QMediaRecorderControl::isMuted() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isMuted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -968,7 +968,7 @@ QUrl PythonQtShell_QMediaRecorderControl::outputLocation() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("outputLocation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1001,7 +1001,7 @@ void PythonQtShell_QMediaRecorderControl::setMuted(bool muted0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMuted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1023,7 +1023,7 @@ bool PythonQtShell_QMediaRecorderControl::setOutputLocation(const QUrl& locati { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setOutputLocation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1056,7 +1056,7 @@ void PythonQtShell_QMediaRecorderControl::setState(QMediaRecorder::State state0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1078,7 +1078,7 @@ void PythonQtShell_QMediaRecorderControl::setVolume(qreal volume0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVolume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1100,7 +1100,7 @@ QMediaRecorder::State PythonQtShell_QMediaRecorderControl::state() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("state"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1133,7 +1133,7 @@ QMediaRecorder::Status PythonQtShell_QMediaRecorderControl::status() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("status"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1166,7 +1166,7 @@ void PythonQtShell_QMediaRecorderControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1188,7 +1188,7 @@ qreal PythonQtShell_QMediaRecorderControl::volume() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("volume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1432,7 +1432,7 @@ void PythonQtShell_QMediaService::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1454,7 +1454,7 @@ void PythonQtShell_QMediaService::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1476,7 +1476,7 @@ bool PythonQtShell_QMediaService::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1509,7 +1509,7 @@ bool PythonQtShell_QMediaService::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1542,7 +1542,7 @@ void PythonQtShell_QMediaService::releaseControl(QMediaControl* control0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("releaseControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1564,7 +1564,7 @@ QMediaControl* PythonQtShell_QMediaService::requestControl(const char* name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("requestControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1597,7 +1597,7 @@ void PythonQtShell_QMediaService::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1652,7 +1652,7 @@ int PythonQtShell_QMediaServiceCameraInfoInterface::cameraOrientation(const QBy { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cameraOrientation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1685,7 +1685,7 @@ QCamera::Position PythonQtShell_QMediaServiceCameraInfoInterface::cameraPositio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cameraPosition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1738,7 +1738,7 @@ QByteArray PythonQtShell_QMediaServiceDefaultDeviceInterface::defaultDevice(con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("defaultDevice"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1786,7 +1786,7 @@ QMediaService* PythonQtShell_QMediaServiceProviderFactoryInterface::create(cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1819,7 +1819,7 @@ void PythonQtShell_QMediaServiceProviderFactoryInterface::release(QMediaService* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("release"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1928,7 +1928,7 @@ QMediaService* PythonQtShell_QMediaServiceProviderPlugin::create(const QString& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1961,7 +1961,7 @@ void PythonQtShell_QMediaServiceProviderPlugin::release(QMediaService* service0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("release"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2016,7 +2016,7 @@ QString PythonQtShell_QMediaServiceSupportedDevicesInterface::deviceDescription { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deviceDescription"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2049,7 +2049,7 @@ QList PythonQtShell_QMediaServiceSupportedDevicesInterface::device { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devices"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2102,7 +2102,7 @@ QMultimedia::SupportEstimate PythonQtShell_QMediaServiceSupportedFormatsInterfa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasSupport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2135,7 +2135,7 @@ QStringList PythonQtShell_QMediaServiceSupportedFormatsInterface::supportedMime { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedMimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2188,7 +2188,7 @@ void PythonQtShell_QMediaStreamsControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2210,7 +2210,7 @@ void PythonQtShell_QMediaStreamsControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2232,7 +2232,7 @@ bool PythonQtShell_QMediaStreamsControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2265,7 +2265,7 @@ bool PythonQtShell_QMediaStreamsControl::eventFilter(QObject* watched0, QEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2298,7 +2298,7 @@ bool PythonQtShell_QMediaStreamsControl::isActive(int streamNumber0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isActive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2331,7 +2331,7 @@ QVariant PythonQtShell_QMediaStreamsControl::metaData(int streamNumber0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2364,7 +2364,7 @@ void PythonQtShell_QMediaStreamsControl::setActive(int streamNumber0, bool sta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setActive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2386,7 +2386,7 @@ int PythonQtShell_QMediaStreamsControl::streamCount() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("streamCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2419,7 +2419,7 @@ QMediaStreamsControl::StreamType PythonQtShell_QMediaStreamsControl::streamType { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("streamType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2452,7 +2452,7 @@ void PythonQtShell_QMediaStreamsControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2706,7 +2706,7 @@ void PythonQtShell_QMediaVideoProbeControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2728,7 +2728,7 @@ void PythonQtShell_QMediaVideoProbeControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2750,7 +2750,7 @@ bool PythonQtShell_QMediaVideoProbeControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2783,7 +2783,7 @@ bool PythonQtShell_QMediaVideoProbeControl::eventFilter(QObject* watched0, QEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2816,7 +2816,7 @@ void PythonQtShell_QMediaVideoProbeControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2861,7 +2861,7 @@ QStringList PythonQtShell_QMetaDataReaderControl::availableMetaData() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availableMetaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2894,7 +2894,7 @@ void PythonQtShell_QMetaDataReaderControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2916,7 +2916,7 @@ void PythonQtShell_QMetaDataReaderControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2938,7 +2938,7 @@ bool PythonQtShell_QMetaDataReaderControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2971,7 +2971,7 @@ bool PythonQtShell_QMetaDataReaderControl::eventFilter(QObject* watched0, QEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3004,7 +3004,7 @@ bool PythonQtShell_QMetaDataReaderControl::isMetaDataAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isMetaDataAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3037,7 +3037,7 @@ QVariant PythonQtShell_QMetaDataReaderControl::metaData(const QString& key0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3070,7 +3070,7 @@ void PythonQtShell_QMetaDataReaderControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3130,7 +3130,7 @@ QStringList PythonQtShell_QMetaDataWriterControl::availableMetaData() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availableMetaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3163,7 +3163,7 @@ void PythonQtShell_QMetaDataWriterControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3185,7 +3185,7 @@ void PythonQtShell_QMetaDataWriterControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3207,7 +3207,7 @@ bool PythonQtShell_QMetaDataWriterControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3240,7 +3240,7 @@ bool PythonQtShell_QMetaDataWriterControl::eventFilter(QObject* watched0, QEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3273,7 +3273,7 @@ bool PythonQtShell_QMetaDataWriterControl::isMetaDataAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isMetaDataAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3306,7 +3306,7 @@ bool PythonQtShell_QMetaDataWriterControl::isWritable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isWritable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3339,7 +3339,7 @@ QVariant PythonQtShell_QMetaDataWriterControl::metaData(const QString& key0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3372,7 +3372,7 @@ void PythonQtShell_QMetaDataWriterControl::setMetaData(const QString& key0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMetaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3394,7 +3394,7 @@ void PythonQtShell_QMetaDataWriterControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3466,7 +3466,7 @@ void PythonQtShell_QRadioData::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3488,7 +3488,7 @@ void PythonQtShell_QRadioData::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3510,7 +3510,7 @@ bool PythonQtShell_QRadioData::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3543,7 +3543,7 @@ bool PythonQtShell_QRadioData::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3576,7 +3576,7 @@ QMediaObject* PythonQtShell_QRadioData::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3609,7 +3609,7 @@ bool PythonQtShell_QRadioData::setMediaObject(QMediaObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3642,7 +3642,7 @@ void PythonQtShell_QRadioData::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3732,7 +3732,7 @@ void PythonQtShell_QRadioDataControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3754,7 +3754,7 @@ void PythonQtShell_QRadioDataControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3776,7 +3776,7 @@ QRadioData::Error PythonQtShell_QRadioDataControl::error() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("error"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3809,7 +3809,7 @@ QString PythonQtShell_QRadioDataControl::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3842,7 +3842,7 @@ bool PythonQtShell_QRadioDataControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3875,7 +3875,7 @@ bool PythonQtShell_QRadioDataControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3908,7 +3908,7 @@ bool PythonQtShell_QRadioDataControl::isAlternativeFrequenciesEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAlternativeFrequenciesEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3941,7 +3941,7 @@ QRadioData::ProgramType PythonQtShell_QRadioDataControl::programType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("programType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3974,7 +3974,7 @@ QString PythonQtShell_QRadioDataControl::programTypeName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("programTypeName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4007,7 +4007,7 @@ QString PythonQtShell_QRadioDataControl::radioText() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("radioText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4040,7 +4040,7 @@ void PythonQtShell_QRadioDataControl::setAlternativeFrequenciesEnabled(bool ena { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setAlternativeFrequenciesEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4062,7 +4062,7 @@ QString PythonQtShell_QRadioDataControl::stationId() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stationId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4095,7 +4095,7 @@ QString PythonQtShell_QRadioDataControl::stationName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stationName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4128,7 +4128,7 @@ void PythonQtShell_QRadioDataControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4218,7 +4218,7 @@ QMultimedia::AvailabilityStatus PythonQtShell_QRadioTuner::availability() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4251,7 +4251,7 @@ bool PythonQtShell_QRadioTuner::bind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4284,7 +4284,7 @@ void PythonQtShell_QRadioTuner::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4306,7 +4306,7 @@ void PythonQtShell_QRadioTuner::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4328,7 +4328,7 @@ bool PythonQtShell_QRadioTuner::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4361,7 +4361,7 @@ bool PythonQtShell_QRadioTuner::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4394,7 +4394,7 @@ bool PythonQtShell_QRadioTuner::isAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4427,7 +4427,7 @@ QMediaService* PythonQtShell_QRadioTuner::service() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4460,7 +4460,7 @@ void PythonQtShell_QRadioTuner::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4482,7 +4482,7 @@ void PythonQtShell_QRadioTuner::unbind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4612,7 +4612,7 @@ QRadioTuner::Band PythonQtShell_QRadioTunerControl::band() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("band"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4645,7 +4645,7 @@ void PythonQtShell_QRadioTunerControl::cancelSearch() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cancelSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4667,7 +4667,7 @@ void PythonQtShell_QRadioTunerControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4689,7 +4689,7 @@ void PythonQtShell_QRadioTunerControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4711,7 +4711,7 @@ QRadioTuner::Error PythonQtShell_QRadioTunerControl::error() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("error"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4744,7 +4744,7 @@ QString PythonQtShell_QRadioTunerControl::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4777,7 +4777,7 @@ bool PythonQtShell_QRadioTunerControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4810,7 +4810,7 @@ bool PythonQtShell_QRadioTunerControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4843,7 +4843,7 @@ int PythonQtShell_QRadioTunerControl::frequency() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("frequency"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4876,7 +4876,7 @@ QPair PythonQtShell_QRadioTunerControl::frequencyRange(QRadioTuner: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("frequencyRange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4909,7 +4909,7 @@ int PythonQtShell_QRadioTunerControl::frequencyStep(QRadioTuner::Band b0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("frequencyStep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4942,7 +4942,7 @@ bool PythonQtShell_QRadioTunerControl::isAntennaConnected() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAntennaConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4975,7 +4975,7 @@ bool PythonQtShell_QRadioTunerControl::isBandSupported(QRadioTuner::Band b0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isBandSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5008,7 +5008,7 @@ bool PythonQtShell_QRadioTunerControl::isMuted() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isMuted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5041,7 +5041,7 @@ bool PythonQtShell_QRadioTunerControl::isSearching() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSearching"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5074,7 +5074,7 @@ bool PythonQtShell_QRadioTunerControl::isStereo() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isStereo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5107,7 +5107,7 @@ void PythonQtShell_QRadioTunerControl::searchAllStations(QRadioTuner::SearchMode { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("searchAllStations"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5129,7 +5129,7 @@ void PythonQtShell_QRadioTunerControl::searchBackward() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("searchBackward"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5151,7 +5151,7 @@ void PythonQtShell_QRadioTunerControl::searchForward() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("searchForward"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5173,7 +5173,7 @@ void PythonQtShell_QRadioTunerControl::setBand(QRadioTuner::Band b0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setBand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5195,7 +5195,7 @@ void PythonQtShell_QRadioTunerControl::setFrequency(int frequency0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFrequency"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5217,7 +5217,7 @@ void PythonQtShell_QRadioTunerControl::setMuted(bool muted0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMuted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5239,7 +5239,7 @@ void PythonQtShell_QRadioTunerControl::setStereoMode(QRadioTuner::StereoMode mo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setStereoMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5261,7 +5261,7 @@ void PythonQtShell_QRadioTunerControl::setVolume(int volume0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVolume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5283,7 +5283,7 @@ int PythonQtShell_QRadioTunerControl::signalStrength() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("signalStrength"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5316,7 +5316,7 @@ void PythonQtShell_QRadioTunerControl::start() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("start"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5338,7 +5338,7 @@ QRadioTuner::State PythonQtShell_QRadioTunerControl::state() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("state"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5371,7 +5371,7 @@ QRadioTuner::StereoMode PythonQtShell_QRadioTunerControl::stereoMode() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stereoMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5404,7 +5404,7 @@ void PythonQtShell_QRadioTunerControl::stop() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stop"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5426,7 +5426,7 @@ void PythonQtShell_QRadioTunerControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5448,7 +5448,7 @@ int PythonQtShell_QRadioTunerControl::volume() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("volume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5634,7 +5634,7 @@ void PythonQtShell_QSound::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5656,7 +5656,7 @@ void PythonQtShell_QSound::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5678,7 +5678,7 @@ bool PythonQtShell_QSound::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5711,7 +5711,7 @@ bool PythonQtShell_QSound::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5744,7 +5744,7 @@ void PythonQtShell_QSound::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5819,7 +5819,7 @@ void PythonQtShell_QSoundEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5841,7 +5841,7 @@ void PythonQtShell_QSoundEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5863,7 +5863,7 @@ bool PythonQtShell_QSoundEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5896,7 +5896,7 @@ bool PythonQtShell_QSoundEffect::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5929,7 +5929,7 @@ void PythonQtShell_QSoundEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6049,7 +6049,7 @@ void PythonQtShell_QVideoDeviceSelectorControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6071,7 +6071,7 @@ void PythonQtShell_QVideoDeviceSelectorControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6093,7 +6093,7 @@ int PythonQtShell_QVideoDeviceSelectorControl::defaultDevice() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("defaultDevice"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6126,7 +6126,7 @@ int PythonQtShell_QVideoDeviceSelectorControl::deviceCount() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deviceCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6159,7 +6159,7 @@ QString PythonQtShell_QVideoDeviceSelectorControl::deviceDescription(int index { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deviceDescription"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6192,7 +6192,7 @@ QString PythonQtShell_QVideoDeviceSelectorControl::deviceName(int index0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deviceName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6225,7 +6225,7 @@ bool PythonQtShell_QVideoDeviceSelectorControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6258,7 +6258,7 @@ bool PythonQtShell_QVideoDeviceSelectorControl::eventFilter(QObject* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6291,7 +6291,7 @@ int PythonQtShell_QVideoDeviceSelectorControl::selectedDevice() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedDevice"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6324,7 +6324,7 @@ void PythonQtShell_QVideoDeviceSelectorControl::setSelectedDevice(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectedDevice"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6346,7 +6346,7 @@ void PythonQtShell_QVideoDeviceSelectorControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6531,7 +6531,7 @@ void PythonQtShell_QVideoEncoderSettingsControl::childEvent(QChildEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6553,7 +6553,7 @@ void PythonQtShell_QVideoEncoderSettingsControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6575,7 +6575,7 @@ bool PythonQtShell_QVideoEncoderSettingsControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6608,7 +6608,7 @@ bool PythonQtShell_QVideoEncoderSettingsControl::eventFilter(QObject* watched0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6641,7 +6641,7 @@ void PythonQtShell_QVideoEncoderSettingsControl::setVideoSettings(const QVideoEn { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVideoSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6663,7 +6663,7 @@ QList PythonQtShell_QVideoEncoderSettingsControl::supportedFrameRates(c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedFrameRates"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6696,7 +6696,7 @@ QList PythonQtShell_QVideoEncoderSettingsControl::supportedResolutions( { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedResolutions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6729,7 +6729,7 @@ QStringList PythonQtShell_QVideoEncoderSettingsControl::supportedVideoCodecs() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedVideoCodecs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6762,7 +6762,7 @@ void PythonQtShell_QVideoEncoderSettingsControl::timerEvent(QTimerEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6784,7 +6784,7 @@ QString PythonQtShell_QVideoEncoderSettingsControl::videoCodecDescription(const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("videoCodecDescription"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6817,7 +6817,7 @@ QVideoEncoderSettings PythonQtShell_QVideoEncoderSettingsControl::videoSettings { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("videoSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7107,7 +7107,7 @@ void PythonQtShell_QVideoProbe::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7129,7 +7129,7 @@ void PythonQtShell_QVideoProbe::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7151,7 +7151,7 @@ bool PythonQtShell_QVideoProbe::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7184,7 +7184,7 @@ bool PythonQtShell_QVideoProbe::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7217,7 +7217,7 @@ void PythonQtShell_QVideoProbe::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp b/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp index f9abe2d77..f2462a1b8 100644 --- a/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp +++ b/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp @@ -47,7 +47,7 @@ void PythonQtShell_QVideoRendererControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -69,7 +69,7 @@ void PythonQtShell_QVideoRendererControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -91,7 +91,7 @@ bool PythonQtShell_QVideoRendererControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -124,7 +124,7 @@ bool PythonQtShell_QVideoRendererControl::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -157,7 +157,7 @@ void PythonQtShell_QVideoRendererControl::setSurface(QAbstractVideoSurface* sur { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSurface"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -179,7 +179,7 @@ QAbstractVideoSurface* PythonQtShell_QVideoRendererControl::surface() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surface"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -212,7 +212,7 @@ void PythonQtShell_QVideoRendererControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -428,7 +428,7 @@ void PythonQtShell_QVideoWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -450,7 +450,7 @@ void PythonQtShell_QVideoWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -472,7 +472,7 @@ void PythonQtShell_QVideoWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -494,7 +494,7 @@ void PythonQtShell_QVideoWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -516,7 +516,7 @@ void PythonQtShell_QVideoWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -538,7 +538,7 @@ void PythonQtShell_QVideoWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -560,7 +560,7 @@ int PythonQtShell_QVideoWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -593,7 +593,7 @@ void PythonQtShell_QVideoWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -615,7 +615,7 @@ void PythonQtShell_QVideoWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -637,7 +637,7 @@ void PythonQtShell_QVideoWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -659,7 +659,7 @@ void PythonQtShell_QVideoWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -681,7 +681,7 @@ void PythonQtShell_QVideoWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -703,7 +703,7 @@ bool PythonQtShell_QVideoWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -736,7 +736,7 @@ bool PythonQtShell_QVideoWidget::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -769,7 +769,7 @@ void PythonQtShell_QVideoWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -791,7 +791,7 @@ bool PythonQtShell_QVideoWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -824,7 +824,7 @@ void PythonQtShell_QVideoWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -846,7 +846,7 @@ bool PythonQtShell_QVideoWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -879,7 +879,7 @@ int PythonQtShell_QVideoWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -912,7 +912,7 @@ void PythonQtShell_QVideoWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -934,7 +934,7 @@ void PythonQtShell_QVideoWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -956,7 +956,7 @@ void PythonQtShell_QVideoWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -978,7 +978,7 @@ QVariant PythonQtShell_QVideoWidget::inputMethodQuery(Qt::InputMethodQuery arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1011,7 +1011,7 @@ void PythonQtShell_QVideoWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1033,7 +1033,7 @@ void PythonQtShell_QVideoWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1055,7 +1055,7 @@ void PythonQtShell_QVideoWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1077,7 +1077,7 @@ QMediaObject* PythonQtShell_QVideoWidget::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1110,7 +1110,7 @@ int PythonQtShell_QVideoWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1143,7 +1143,7 @@ QSize PythonQtShell_QVideoWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1176,7 +1176,7 @@ void PythonQtShell_QVideoWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1198,7 +1198,7 @@ void PythonQtShell_QVideoWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1220,7 +1220,7 @@ void PythonQtShell_QVideoWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1242,7 +1242,7 @@ void PythonQtShell_QVideoWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1264,7 +1264,7 @@ void PythonQtShell_QVideoWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1286,7 +1286,7 @@ bool PythonQtShell_QVideoWidget::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1319,7 +1319,7 @@ QPaintEngine* PythonQtShell_QVideoWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1352,7 +1352,7 @@ void PythonQtShell_QVideoWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1374,7 +1374,7 @@ QPaintDevice* PythonQtShell_QVideoWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1407,7 +1407,7 @@ void PythonQtShell_QVideoWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1429,7 +1429,7 @@ bool PythonQtShell_QVideoWidget::setMediaObject(QMediaObject* object0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1462,7 +1462,7 @@ void PythonQtShell_QVideoWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1484,7 +1484,7 @@ QPainter* PythonQtShell_QVideoWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1517,7 +1517,7 @@ void PythonQtShell_QVideoWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1539,7 +1539,7 @@ QSize PythonQtShell_QVideoWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1572,7 +1572,7 @@ void PythonQtShell_QVideoWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1594,7 +1594,7 @@ void PythonQtShell_QVideoWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1616,7 +1616,7 @@ void PythonQtShell_QVideoWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1691,7 +1691,7 @@ Qt::AspectRatioMode PythonQtShell_QVideoWidgetControl::aspectRatioMode() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("aspectRatioMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1724,7 +1724,7 @@ int PythonQtShell_QVideoWidgetControl::brightness() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("brightness"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1757,7 +1757,7 @@ void PythonQtShell_QVideoWidgetControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1779,7 +1779,7 @@ int PythonQtShell_QVideoWidgetControl::contrast() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contrast"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1812,7 +1812,7 @@ void PythonQtShell_QVideoWidgetControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1834,7 +1834,7 @@ bool PythonQtShell_QVideoWidgetControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1867,7 +1867,7 @@ bool PythonQtShell_QVideoWidgetControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1900,7 +1900,7 @@ int PythonQtShell_QVideoWidgetControl::hue() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1933,7 +1933,7 @@ bool PythonQtShell_QVideoWidgetControl::isFullScreen() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isFullScreen"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1966,7 +1966,7 @@ int PythonQtShell_QVideoWidgetControl::saturation() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("saturation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1999,7 +1999,7 @@ void PythonQtShell_QVideoWidgetControl::setAspectRatioMode(Qt::AspectRatioMode { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setAspectRatioMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2021,7 +2021,7 @@ void PythonQtShell_QVideoWidgetControl::setBrightness(int brightness0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setBrightness"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2043,7 +2043,7 @@ void PythonQtShell_QVideoWidgetControl::setContrast(int contrast0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setContrast"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2065,7 +2065,7 @@ void PythonQtShell_QVideoWidgetControl::setFullScreen(bool fullScreen0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFullScreen"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2087,7 +2087,7 @@ void PythonQtShell_QVideoWidgetControl::setHue(int hue0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2109,7 +2109,7 @@ void PythonQtShell_QVideoWidgetControl::setSaturation(int saturation0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSaturation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2131,7 +2131,7 @@ void PythonQtShell_QVideoWidgetControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2153,7 +2153,7 @@ QWidget* PythonQtShell_QVideoWidgetControl::videoWidget() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("videoWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2274,7 +2274,7 @@ Qt::AspectRatioMode PythonQtShell_QVideoWindowControl::aspectRatioMode() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("aspectRatioMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2307,7 +2307,7 @@ int PythonQtShell_QVideoWindowControl::brightness() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("brightness"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2340,7 +2340,7 @@ void PythonQtShell_QVideoWindowControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2362,7 +2362,7 @@ int PythonQtShell_QVideoWindowControl::contrast() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contrast"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2395,7 +2395,7 @@ void PythonQtShell_QVideoWindowControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2417,7 +2417,7 @@ QRect PythonQtShell_QVideoWindowControl::displayRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("displayRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2450,7 +2450,7 @@ bool PythonQtShell_QVideoWindowControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2483,7 +2483,7 @@ bool PythonQtShell_QVideoWindowControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2516,7 +2516,7 @@ int PythonQtShell_QVideoWindowControl::hue() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2549,7 +2549,7 @@ bool PythonQtShell_QVideoWindowControl::isFullScreen() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isFullScreen"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2582,7 +2582,7 @@ QSize PythonQtShell_QVideoWindowControl::nativeSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2615,7 +2615,7 @@ void PythonQtShell_QVideoWindowControl::repaint() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("repaint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2637,7 +2637,7 @@ int PythonQtShell_QVideoWindowControl::saturation() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("saturation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2670,7 +2670,7 @@ void PythonQtShell_QVideoWindowControl::setAspectRatioMode(Qt::AspectRatioMode { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setAspectRatioMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2692,7 +2692,7 @@ void PythonQtShell_QVideoWindowControl::setBrightness(int brightness0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setBrightness"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2714,7 +2714,7 @@ void PythonQtShell_QVideoWindowControl::setContrast(int contrast0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setContrast"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2736,7 +2736,7 @@ void PythonQtShell_QVideoWindowControl::setDisplayRect(const QRect& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDisplayRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2758,7 +2758,7 @@ void PythonQtShell_QVideoWindowControl::setFullScreen(bool fullScreen0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFullScreen"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2780,7 +2780,7 @@ void PythonQtShell_QVideoWindowControl::setHue(int hue0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2802,7 +2802,7 @@ void PythonQtShell_QVideoWindowControl::setSaturation(int saturation0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSaturation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2824,7 +2824,7 @@ void PythonQtShell_QVideoWindowControl::setWinId(WId id0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setWinId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2846,7 +2846,7 @@ void PythonQtShell_QVideoWindowControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2868,7 +2868,7 @@ WId PythonQtShell_QVideoWindowControl::winId() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("winId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_network/com_trolltech_qt_network0.cpp b/generated_cpp_511/com_trolltech_qt_network/com_trolltech_qt_network0.cpp index fa122fea0..742e5a74e 100644 --- a/generated_cpp_511/com_trolltech_qt_network/com_trolltech_qt_network0.cpp +++ b/generated_cpp_511/com_trolltech_qt_network/com_trolltech_qt_network0.cpp @@ -49,7 +49,7 @@ qint64 PythonQtShell_QAbstractNetworkCache::cacheSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cacheSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -82,7 +82,7 @@ void PythonQtShell_QAbstractNetworkCache::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -104,7 +104,7 @@ void PythonQtShell_QAbstractNetworkCache::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -126,7 +126,7 @@ void PythonQtShell_QAbstractNetworkCache::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -148,7 +148,7 @@ QIODevice* PythonQtShell_QAbstractNetworkCache::data(const QUrl& url0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -181,7 +181,7 @@ bool PythonQtShell_QAbstractNetworkCache::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -214,7 +214,7 @@ bool PythonQtShell_QAbstractNetworkCache::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -247,7 +247,7 @@ void PythonQtShell_QAbstractNetworkCache::insert(QIODevice* device0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -269,7 +269,7 @@ QNetworkCacheMetaData PythonQtShell_QAbstractNetworkCache::metaData(const QUrl& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -302,7 +302,7 @@ QIODevice* PythonQtShell_QAbstractNetworkCache::prepare(const QNetworkCacheMeta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("prepare"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -335,7 +335,7 @@ bool PythonQtShell_QAbstractNetworkCache::remove(const QUrl& url0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("remove"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -368,7 +368,7 @@ void PythonQtShell_QAbstractNetworkCache::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -390,7 +390,7 @@ void PythonQtShell_QAbstractNetworkCache::updateMetaData(const QNetworkCacheMeta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateMetaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -470,7 +470,7 @@ bool PythonQtShell_QAbstractSocket::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -503,7 +503,7 @@ qint64 PythonQtShell_QAbstractSocket::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -536,7 +536,7 @@ qint64 PythonQtShell_QAbstractSocket::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -569,7 +569,7 @@ bool PythonQtShell_QAbstractSocket::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -602,7 +602,7 @@ void PythonQtShell_QAbstractSocket::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -624,7 +624,7 @@ void PythonQtShell_QAbstractSocket::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -646,7 +646,7 @@ void PythonQtShell_QAbstractSocket::connectToHost(const QHostAddress& address0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -668,7 +668,7 @@ void PythonQtShell_QAbstractSocket::connectToHost(const QString& hostName0, uns { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -690,7 +690,7 @@ void PythonQtShell_QAbstractSocket::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -712,7 +712,7 @@ void PythonQtShell_QAbstractSocket::disconnectFromHost() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("disconnectFromHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -734,7 +734,7 @@ bool PythonQtShell_QAbstractSocket::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -767,7 +767,7 @@ bool PythonQtShell_QAbstractSocket::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -800,7 +800,7 @@ bool PythonQtShell_QAbstractSocket::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -833,7 +833,7 @@ bool PythonQtShell_QAbstractSocket::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -866,7 +866,7 @@ qint64 PythonQtShell_QAbstractSocket::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -899,7 +899,7 @@ qint64 PythonQtShell_QAbstractSocket::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -932,7 +932,7 @@ qint64 PythonQtShell_QAbstractSocket::readLineData(char* data0, qint64 maxlen { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -965,7 +965,7 @@ bool PythonQtShell_QAbstractSocket::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -998,7 +998,7 @@ void PythonQtShell_QAbstractSocket::resume() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1020,7 +1020,7 @@ bool PythonQtShell_QAbstractSocket::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1053,7 +1053,7 @@ void PythonQtShell_QAbstractSocket::setReadBufferSize(qint64 size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1075,7 +1075,7 @@ bool PythonQtShell_QAbstractSocket::setSocketDescriptor(qintptr socketDescript { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSocketDescriptor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1108,7 +1108,7 @@ void PythonQtShell_QAbstractSocket::setSocketOption(QAbstractSocket::SocketOptio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSocketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1130,7 +1130,7 @@ qint64 PythonQtShell_QAbstractSocket::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1163,7 +1163,7 @@ qintptr PythonQtShell_QAbstractSocket::socketDescriptor() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("socketDescriptor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1196,7 +1196,7 @@ QVariant PythonQtShell_QAbstractSocket::socketOption(QAbstractSocket::SocketOpt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("socketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1229,7 +1229,7 @@ void PythonQtShell_QAbstractSocket::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1251,7 +1251,7 @@ bool PythonQtShell_QAbstractSocket::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1284,7 +1284,7 @@ bool PythonQtShell_QAbstractSocket::waitForConnected(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1317,7 +1317,7 @@ bool PythonQtShell_QAbstractSocket::waitForDisconnected(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForDisconnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1350,7 +1350,7 @@ bool PythonQtShell_QAbstractSocket::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1383,7 +1383,7 @@ qint64 PythonQtShell_QAbstractSocket::writeData(const char* data0, qint64 len { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1759,7 +1759,7 @@ void PythonQtShell_QDnsLookup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1781,7 +1781,7 @@ void PythonQtShell_QDnsLookup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1803,7 +1803,7 @@ bool PythonQtShell_QDnsLookup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1836,7 +1836,7 @@ bool PythonQtShell_QDnsLookup::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1869,7 +1869,7 @@ void PythonQtShell_QDnsLookup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2468,7 +2468,7 @@ void PythonQtShell_QHttpMultiPart::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2490,7 +2490,7 @@ void PythonQtShell_QHttpMultiPart::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2512,7 +2512,7 @@ bool PythonQtShell_QHttpMultiPart::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2545,7 +2545,7 @@ bool PythonQtShell_QHttpMultiPart::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2578,7 +2578,7 @@ void PythonQtShell_QHttpMultiPart::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2707,7 +2707,7 @@ void PythonQtShell_QLocalServer::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2729,7 +2729,7 @@ void PythonQtShell_QLocalServer::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2751,7 +2751,7 @@ bool PythonQtShell_QLocalServer::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2784,7 +2784,7 @@ bool PythonQtShell_QLocalServer::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2817,7 +2817,7 @@ bool PythonQtShell_QLocalServer::hasPendingConnections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasPendingConnections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2850,7 +2850,7 @@ void PythonQtShell_QLocalServer::incomingConnection(quintptr socketDescriptor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("incomingConnection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2872,7 +2872,7 @@ QLocalSocket* PythonQtShell_QLocalServer::nextPendingConnection() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextPendingConnection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2905,7 +2905,7 @@ void PythonQtShell_QLocalServer::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3040,7 +3040,7 @@ bool PythonQtShell_QLocalSocket::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3073,7 +3073,7 @@ qint64 PythonQtShell_QLocalSocket::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3106,7 +3106,7 @@ qint64 PythonQtShell_QLocalSocket::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3139,7 +3139,7 @@ bool PythonQtShell_QLocalSocket::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3172,7 +3172,7 @@ void PythonQtShell_QLocalSocket::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3194,7 +3194,7 @@ void PythonQtShell_QLocalSocket::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3216,7 +3216,7 @@ void PythonQtShell_QLocalSocket::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3238,7 +3238,7 @@ bool PythonQtShell_QLocalSocket::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3271,7 +3271,7 @@ bool PythonQtShell_QLocalSocket::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3304,7 +3304,7 @@ bool PythonQtShell_QLocalSocket::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3337,7 +3337,7 @@ bool PythonQtShell_QLocalSocket::open(QIODevice::OpenMode openMode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3370,7 +3370,7 @@ qint64 PythonQtShell_QLocalSocket::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3403,7 +3403,7 @@ qint64 PythonQtShell_QLocalSocket::readData(char* arg__1, qint64 arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3436,7 +3436,7 @@ qint64 PythonQtShell_QLocalSocket::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3469,7 +3469,7 @@ bool PythonQtShell_QLocalSocket::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3502,7 +3502,7 @@ bool PythonQtShell_QLocalSocket::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3535,7 +3535,7 @@ qint64 PythonQtShell_QLocalSocket::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3568,7 +3568,7 @@ void PythonQtShell_QLocalSocket::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3590,7 +3590,7 @@ bool PythonQtShell_QLocalSocket::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3623,7 +3623,7 @@ bool PythonQtShell_QLocalSocket::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3656,7 +3656,7 @@ qint64 PythonQtShell_QLocalSocket::writeData(const char* arg__1, qint64 arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3797,7 +3797,7 @@ void PythonQtShell_QNetworkAccessManager::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3819,7 +3819,7 @@ QNetworkReply* PythonQtShell_QNetworkAccessManager::createRequest(QNetworkAcces { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createRequest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3852,7 +3852,7 @@ void PythonQtShell_QNetworkAccessManager::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3874,7 +3874,7 @@ bool PythonQtShell_QNetworkAccessManager::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3907,7 +3907,7 @@ bool PythonQtShell_QNetworkAccessManager::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3940,7 +3940,7 @@ void PythonQtShell_QNetworkAccessManager::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4475,7 +4475,7 @@ void PythonQtShell_QNetworkConfigurationManager::childEvent(QChildEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4497,7 +4497,7 @@ void PythonQtShell_QNetworkConfigurationManager::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4519,7 +4519,7 @@ bool PythonQtShell_QNetworkConfigurationManager::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4552,7 +4552,7 @@ bool PythonQtShell_QNetworkConfigurationManager::eventFilter(QObject* watched0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4585,7 +4585,7 @@ void PythonQtShell_QNetworkConfigurationManager::timerEvent(QTimerEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4782,7 +4782,7 @@ void PythonQtShell_QNetworkCookieJar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4804,7 +4804,7 @@ QList PythonQtShell_QNetworkCookieJar::cookiesForUrl(const QUr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cookiesForUrl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4837,7 +4837,7 @@ void PythonQtShell_QNetworkCookieJar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4859,7 +4859,7 @@ bool PythonQtShell_QNetworkCookieJar::deleteCookie(const QNetworkCookie& cooki { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deleteCookie"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4892,7 +4892,7 @@ bool PythonQtShell_QNetworkCookieJar::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4925,7 +4925,7 @@ bool PythonQtShell_QNetworkCookieJar::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4958,7 +4958,7 @@ bool PythonQtShell_QNetworkCookieJar::insertCookie(const QNetworkCookie& cooki { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertCookie"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4991,7 +4991,7 @@ bool PythonQtShell_QNetworkCookieJar::setCookiesFromUrl(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setCookiesFromUrl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5024,7 +5024,7 @@ void PythonQtShell_QNetworkCookieJar::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5046,7 +5046,7 @@ bool PythonQtShell_QNetworkCookieJar::updateCookie(const QNetworkCookie& cooki { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCookie"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5079,7 +5079,7 @@ bool PythonQtShell_QNetworkCookieJar::validateCookie(const QNetworkCookie& coo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validateCookie"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5279,7 +5279,7 @@ qint64 PythonQtShell_QNetworkDiskCache::cacheSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cacheSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5312,7 +5312,7 @@ void PythonQtShell_QNetworkDiskCache::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5334,7 +5334,7 @@ void PythonQtShell_QNetworkDiskCache::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5356,7 +5356,7 @@ void PythonQtShell_QNetworkDiskCache::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5378,7 +5378,7 @@ QIODevice* PythonQtShell_QNetworkDiskCache::data(const QUrl& url0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5411,7 +5411,7 @@ bool PythonQtShell_QNetworkDiskCache::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5444,7 +5444,7 @@ bool PythonQtShell_QNetworkDiskCache::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5477,7 +5477,7 @@ qint64 PythonQtShell_QNetworkDiskCache::expire() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expire"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5510,7 +5510,7 @@ void PythonQtShell_QNetworkDiskCache::insert(QIODevice* device0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5532,7 +5532,7 @@ QNetworkCacheMetaData PythonQtShell_QNetworkDiskCache::metaData(const QUrl& ur { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5565,7 +5565,7 @@ QIODevice* PythonQtShell_QNetworkDiskCache::prepare(const QNetworkCacheMetaData { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("prepare"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5598,7 +5598,7 @@ bool PythonQtShell_QNetworkDiskCache::remove(const QUrl& url0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("remove"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5631,7 +5631,7 @@ void PythonQtShell_QNetworkDiskCache::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5653,7 +5653,7 @@ void PythonQtShell_QNetworkDiskCache::updateMetaData(const QNetworkCacheMetaData { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateMetaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5971,7 +5971,7 @@ QList PythonQtShell_QNetworkProxyFactory::queryProxy(const QNet { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("queryProxy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_network/com_trolltech_qt_network1.cpp b/generated_cpp_511/com_trolltech_qt_network/com_trolltech_qt_network1.cpp index e49ec42ae..2bf4e53f5 100644 --- a/generated_cpp_511/com_trolltech_qt_network/com_trolltech_qt_network1.cpp +++ b/generated_cpp_511/com_trolltech_qt_network/com_trolltech_qt_network1.cpp @@ -45,7 +45,7 @@ void PythonQtShell_QNetworkReply::abort() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("abort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -67,7 +67,7 @@ bool PythonQtShell_QNetworkReply::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -100,7 +100,7 @@ qint64 PythonQtShell_QNetworkReply::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -133,7 +133,7 @@ qint64 PythonQtShell_QNetworkReply::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -166,7 +166,7 @@ bool PythonQtShell_QNetworkReply::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -199,7 +199,7 @@ void PythonQtShell_QNetworkReply::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -221,7 +221,7 @@ void PythonQtShell_QNetworkReply::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -243,7 +243,7 @@ void PythonQtShell_QNetworkReply::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -265,7 +265,7 @@ bool PythonQtShell_QNetworkReply::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -298,7 +298,7 @@ bool PythonQtShell_QNetworkReply::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -331,7 +331,7 @@ void PythonQtShell_QNetworkReply::ignoreSslErrors() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ignoreSslErrors"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -353,7 +353,7 @@ void PythonQtShell_QNetworkReply::ignoreSslErrorsImplementation(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ignoreSslErrorsImplementation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -375,7 +375,7 @@ bool PythonQtShell_QNetworkReply::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -408,7 +408,7 @@ bool PythonQtShell_QNetworkReply::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -441,7 +441,7 @@ qint64 PythonQtShell_QNetworkReply::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -474,7 +474,7 @@ qint64 PythonQtShell_QNetworkReply::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -507,7 +507,7 @@ qint64 PythonQtShell_QNetworkReply::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -540,7 +540,7 @@ bool PythonQtShell_QNetworkReply::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -573,7 +573,7 @@ bool PythonQtShell_QNetworkReply::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -606,7 +606,7 @@ void PythonQtShell_QNetworkReply::setReadBufferSize(qint64 size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -628,7 +628,7 @@ void PythonQtShell_QNetworkReply::setSslConfigurationImplementation(const QSslCo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSslConfigurationImplementation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -650,7 +650,7 @@ qint64 PythonQtShell_QNetworkReply::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -683,7 +683,7 @@ void PythonQtShell_QNetworkReply::sslConfigurationImplementation(QSslConfigurati { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sslConfigurationImplementation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -705,7 +705,7 @@ void PythonQtShell_QNetworkReply::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -727,7 +727,7 @@ bool PythonQtShell_QNetworkReply::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -760,7 +760,7 @@ bool PythonQtShell_QNetworkReply::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -793,7 +793,7 @@ qint64 PythonQtShell_QNetworkReply::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1084,7 +1084,7 @@ void PythonQtShell_QNetworkSession::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1106,7 +1106,7 @@ void PythonQtShell_QNetworkSession::connectNotify(const QMetaMethod& signal0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectNotify"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1128,7 +1128,7 @@ void PythonQtShell_QNetworkSession::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1150,7 +1150,7 @@ void PythonQtShell_QNetworkSession::disconnectNotify(const QMetaMethod& signal0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("disconnectNotify"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1172,7 +1172,7 @@ bool PythonQtShell_QNetworkSession::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1205,7 +1205,7 @@ bool PythonQtShell_QNetworkSession::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1238,7 +1238,7 @@ void PythonQtShell_QNetworkSession::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2191,7 +2191,7 @@ bool PythonQtShell_QSslSocket::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2224,7 +2224,7 @@ qint64 PythonQtShell_QSslSocket::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2257,7 +2257,7 @@ qint64 PythonQtShell_QSslSocket::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2290,7 +2290,7 @@ bool PythonQtShell_QSslSocket::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2323,7 +2323,7 @@ void PythonQtShell_QSslSocket::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2345,7 +2345,7 @@ void PythonQtShell_QSslSocket::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2367,7 +2367,7 @@ void PythonQtShell_QSslSocket::connectToHost(const QString& hostName0, unsigned { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2389,7 +2389,7 @@ void PythonQtShell_QSslSocket::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2411,7 +2411,7 @@ void PythonQtShell_QSslSocket::disconnectFromHost() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("disconnectFromHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2433,7 +2433,7 @@ bool PythonQtShell_QSslSocket::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2466,7 +2466,7 @@ bool PythonQtShell_QSslSocket::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2499,7 +2499,7 @@ bool PythonQtShell_QSslSocket::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2532,7 +2532,7 @@ bool PythonQtShell_QSslSocket::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2565,7 +2565,7 @@ qint64 PythonQtShell_QSslSocket::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2598,7 +2598,7 @@ qint64 PythonQtShell_QSslSocket::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2631,7 +2631,7 @@ qint64 PythonQtShell_QSslSocket::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2664,7 +2664,7 @@ bool PythonQtShell_QSslSocket::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2697,7 +2697,7 @@ void PythonQtShell_QSslSocket::resume() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2719,7 +2719,7 @@ bool PythonQtShell_QSslSocket::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2752,7 +2752,7 @@ void PythonQtShell_QSslSocket::setReadBufferSize(qint64 size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2774,7 +2774,7 @@ bool PythonQtShell_QSslSocket::setSocketDescriptor(qintptr socketDescriptor0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSocketDescriptor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2807,7 +2807,7 @@ void PythonQtShell_QSslSocket::setSocketOption(QAbstractSocket::SocketOption op { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSocketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2829,7 +2829,7 @@ qint64 PythonQtShell_QSslSocket::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2862,7 +2862,7 @@ qintptr PythonQtShell_QSslSocket::socketDescriptor() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("socketDescriptor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2895,7 +2895,7 @@ QVariant PythonQtShell_QSslSocket::socketOption(QAbstractSocket::SocketOption { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("socketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2928,7 +2928,7 @@ void PythonQtShell_QSslSocket::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2950,7 +2950,7 @@ bool PythonQtShell_QSslSocket::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2983,7 +2983,7 @@ bool PythonQtShell_QSslSocket::waitForConnected(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3016,7 +3016,7 @@ bool PythonQtShell_QSslSocket::waitForDisconnected(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForDisconnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3049,7 +3049,7 @@ bool PythonQtShell_QSslSocket::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3082,7 +3082,7 @@ qint64 PythonQtShell_QSslSocket::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3414,7 +3414,7 @@ void PythonQtShell_QTcpServer::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3436,7 +3436,7 @@ void PythonQtShell_QTcpServer::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3458,7 +3458,7 @@ bool PythonQtShell_QTcpServer::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3491,7 +3491,7 @@ bool PythonQtShell_QTcpServer::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3524,7 +3524,7 @@ bool PythonQtShell_QTcpServer::hasPendingConnections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasPendingConnections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3557,7 +3557,7 @@ void PythonQtShell_QTcpServer::incomingConnection(qintptr handle0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("incomingConnection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3579,7 +3579,7 @@ QTcpSocket* PythonQtShell_QTcpServer::nextPendingConnection() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextPendingConnection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3612,7 +3612,7 @@ void PythonQtShell_QTcpServer::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3757,7 +3757,7 @@ bool PythonQtShell_QTcpSocket::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3790,7 +3790,7 @@ qint64 PythonQtShell_QTcpSocket::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3823,7 +3823,7 @@ qint64 PythonQtShell_QTcpSocket::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3856,7 +3856,7 @@ bool PythonQtShell_QTcpSocket::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3889,7 +3889,7 @@ void PythonQtShell_QTcpSocket::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3911,7 +3911,7 @@ void PythonQtShell_QTcpSocket::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3933,7 +3933,7 @@ void PythonQtShell_QTcpSocket::connectToHost(const QHostAddress& address0, unsi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3955,7 +3955,7 @@ void PythonQtShell_QTcpSocket::connectToHost(const QString& hostName0, unsigned { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3977,7 +3977,7 @@ void PythonQtShell_QTcpSocket::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3999,7 +3999,7 @@ void PythonQtShell_QTcpSocket::disconnectFromHost() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("disconnectFromHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4021,7 +4021,7 @@ bool PythonQtShell_QTcpSocket::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4054,7 +4054,7 @@ bool PythonQtShell_QTcpSocket::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4087,7 +4087,7 @@ bool PythonQtShell_QTcpSocket::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4120,7 +4120,7 @@ bool PythonQtShell_QTcpSocket::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4153,7 +4153,7 @@ qint64 PythonQtShell_QTcpSocket::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4186,7 +4186,7 @@ qint64 PythonQtShell_QTcpSocket::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4219,7 +4219,7 @@ qint64 PythonQtShell_QTcpSocket::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4252,7 +4252,7 @@ bool PythonQtShell_QTcpSocket::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4285,7 +4285,7 @@ void PythonQtShell_QTcpSocket::resume() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4307,7 +4307,7 @@ bool PythonQtShell_QTcpSocket::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4340,7 +4340,7 @@ void PythonQtShell_QTcpSocket::setReadBufferSize(qint64 size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4362,7 +4362,7 @@ bool PythonQtShell_QTcpSocket::setSocketDescriptor(qintptr socketDescriptor0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSocketDescriptor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4395,7 +4395,7 @@ void PythonQtShell_QTcpSocket::setSocketOption(QAbstractSocket::SocketOption op { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSocketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4417,7 +4417,7 @@ qint64 PythonQtShell_QTcpSocket::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4450,7 +4450,7 @@ qintptr PythonQtShell_QTcpSocket::socketDescriptor() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("socketDescriptor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4483,7 +4483,7 @@ QVariant PythonQtShell_QTcpSocket::socketOption(QAbstractSocket::SocketOption { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("socketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4516,7 +4516,7 @@ void PythonQtShell_QTcpSocket::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4538,7 +4538,7 @@ bool PythonQtShell_QTcpSocket::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4571,7 +4571,7 @@ bool PythonQtShell_QTcpSocket::waitForConnected(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4604,7 +4604,7 @@ bool PythonQtShell_QTcpSocket::waitForDisconnected(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForDisconnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4637,7 +4637,7 @@ bool PythonQtShell_QTcpSocket::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4670,7 +4670,7 @@ qint64 PythonQtShell_QTcpSocket::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4726,7 +4726,7 @@ bool PythonQtShell_QUdpSocket::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4759,7 +4759,7 @@ qint64 PythonQtShell_QUdpSocket::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4792,7 +4792,7 @@ qint64 PythonQtShell_QUdpSocket::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4825,7 +4825,7 @@ bool PythonQtShell_QUdpSocket::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4858,7 +4858,7 @@ void PythonQtShell_QUdpSocket::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4880,7 +4880,7 @@ void PythonQtShell_QUdpSocket::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4902,7 +4902,7 @@ void PythonQtShell_QUdpSocket::connectToHost(const QHostAddress& address0, unsi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4924,7 +4924,7 @@ void PythonQtShell_QUdpSocket::connectToHost(const QString& hostName0, unsigned { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4946,7 +4946,7 @@ void PythonQtShell_QUdpSocket::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4968,7 +4968,7 @@ void PythonQtShell_QUdpSocket::disconnectFromHost() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("disconnectFromHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4990,7 +4990,7 @@ bool PythonQtShell_QUdpSocket::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5023,7 +5023,7 @@ bool PythonQtShell_QUdpSocket::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5056,7 +5056,7 @@ bool PythonQtShell_QUdpSocket::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5089,7 +5089,7 @@ bool PythonQtShell_QUdpSocket::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5122,7 +5122,7 @@ qint64 PythonQtShell_QUdpSocket::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5155,7 +5155,7 @@ qint64 PythonQtShell_QUdpSocket::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5188,7 +5188,7 @@ qint64 PythonQtShell_QUdpSocket::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5221,7 +5221,7 @@ bool PythonQtShell_QUdpSocket::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5254,7 +5254,7 @@ void PythonQtShell_QUdpSocket::resume() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5276,7 +5276,7 @@ bool PythonQtShell_QUdpSocket::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5309,7 +5309,7 @@ void PythonQtShell_QUdpSocket::setReadBufferSize(qint64 size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5331,7 +5331,7 @@ bool PythonQtShell_QUdpSocket::setSocketDescriptor(qintptr socketDescriptor0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSocketDescriptor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5364,7 +5364,7 @@ void PythonQtShell_QUdpSocket::setSocketOption(QAbstractSocket::SocketOption op { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSocketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5386,7 +5386,7 @@ qint64 PythonQtShell_QUdpSocket::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5419,7 +5419,7 @@ qintptr PythonQtShell_QUdpSocket::socketDescriptor() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("socketDescriptor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5452,7 +5452,7 @@ QVariant PythonQtShell_QUdpSocket::socketOption(QAbstractSocket::SocketOption { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("socketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5485,7 +5485,7 @@ void PythonQtShell_QUdpSocket::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5507,7 +5507,7 @@ bool PythonQtShell_QUdpSocket::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5540,7 +5540,7 @@ bool PythonQtShell_QUdpSocket::waitForConnected(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5573,7 +5573,7 @@ bool PythonQtShell_QUdpSocket::waitForDisconnected(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForDisconnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5606,7 +5606,7 @@ bool PythonQtShell_QUdpSocket::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5639,7 +5639,7 @@ qint64 PythonQtShell_QUdpSocket::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp b/generated_cpp_511/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp index 22a580219..8dd89095e 100644 --- a/generated_cpp_511/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp +++ b/generated_cpp_511/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp @@ -230,7 +230,7 @@ bool PythonQtShell_QGLContext::chooseContext(const QGLContext* shareContext0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("chooseContext"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -263,7 +263,7 @@ bool PythonQtShell_QGLContext::create(const QGLContext* shareContext0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -296,7 +296,7 @@ void PythonQtShell_QGLContext::doneCurrent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doneCurrent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -318,7 +318,7 @@ void PythonQtShell_QGLContext::makeCurrent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("makeCurrent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -340,7 +340,7 @@ void PythonQtShell_QGLContext::swapBuffers() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("swapBuffers"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -862,7 +862,7 @@ int PythonQtShell_QGLFramebufferObject::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -895,7 +895,7 @@ void PythonQtShell_QGLFramebufferObject::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -917,7 +917,7 @@ int PythonQtShell_QGLFramebufferObject::metric(QPaintDevice::PaintDeviceMetric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -950,7 +950,7 @@ QPaintEngine* PythonQtShell_QGLFramebufferObject::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -983,7 +983,7 @@ QPaintDevice* PythonQtShell_QGLFramebufferObject::redirected(QPoint* offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1016,7 +1016,7 @@ QPainter* PythonQtShell_QGLFramebufferObject::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1734,7 +1734,7 @@ int PythonQtShell_QGLPixelBuffer::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1767,7 +1767,7 @@ void PythonQtShell_QGLPixelBuffer::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1789,7 +1789,7 @@ int PythonQtShell_QGLPixelBuffer::metric(QPaintDevice::PaintDeviceMetric metri { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1822,7 +1822,7 @@ QPaintEngine* PythonQtShell_QGLPixelBuffer::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1855,7 +1855,7 @@ QPaintDevice* PythonQtShell_QGLPixelBuffer::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1888,7 +1888,7 @@ QPainter* PythonQtShell_QGLPixelBuffer::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2030,7 +2030,7 @@ void PythonQtShell_QGLShader::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2052,7 +2052,7 @@ void PythonQtShell_QGLShader::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2074,7 +2074,7 @@ bool PythonQtShell_QGLShader::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2107,7 +2107,7 @@ bool PythonQtShell_QGLShader::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2140,7 +2140,7 @@ void PythonQtShell_QGLShader::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2239,7 +2239,7 @@ void PythonQtShell_QGLShaderProgram::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2261,7 +2261,7 @@ void PythonQtShell_QGLShaderProgram::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2283,7 +2283,7 @@ bool PythonQtShell_QGLShaderProgram::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2316,7 +2316,7 @@ bool PythonQtShell_QGLShaderProgram::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2349,7 +2349,7 @@ bool PythonQtShell_QGLShaderProgram::link() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("link"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2382,7 +2382,7 @@ void PythonQtShell_QGLShaderProgram::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2986,7 +2986,7 @@ void PythonQtShell_QGLWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3008,7 +3008,7 @@ void PythonQtShell_QGLWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3030,7 +3030,7 @@ void PythonQtShell_QGLWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3052,7 +3052,7 @@ void PythonQtShell_QGLWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3074,7 +3074,7 @@ void PythonQtShell_QGLWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3096,7 +3096,7 @@ void PythonQtShell_QGLWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3118,7 +3118,7 @@ int PythonQtShell_QGLWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3151,7 +3151,7 @@ void PythonQtShell_QGLWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3173,7 +3173,7 @@ void PythonQtShell_QGLWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3195,7 +3195,7 @@ void PythonQtShell_QGLWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3217,7 +3217,7 @@ void PythonQtShell_QGLWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3239,7 +3239,7 @@ void PythonQtShell_QGLWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3261,7 +3261,7 @@ bool PythonQtShell_QGLWidget::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3294,7 +3294,7 @@ bool PythonQtShell_QGLWidget::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3327,7 +3327,7 @@ void PythonQtShell_QGLWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3349,7 +3349,7 @@ bool PythonQtShell_QGLWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3382,7 +3382,7 @@ void PythonQtShell_QGLWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3404,7 +3404,7 @@ void PythonQtShell_QGLWidget::glDraw() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("glDraw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3426,7 +3426,7 @@ void PythonQtShell_QGLWidget::glInit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("glInit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3448,7 +3448,7 @@ bool PythonQtShell_QGLWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3481,7 +3481,7 @@ int PythonQtShell_QGLWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3514,7 +3514,7 @@ void PythonQtShell_QGLWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3536,7 +3536,7 @@ void PythonQtShell_QGLWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3558,7 +3558,7 @@ void PythonQtShell_QGLWidget::initializeGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initializeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3580,7 +3580,7 @@ void PythonQtShell_QGLWidget::initializeOverlayGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initializeOverlayGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3602,7 +3602,7 @@ void PythonQtShell_QGLWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3624,7 +3624,7 @@ QVariant PythonQtShell_QGLWidget::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3657,7 +3657,7 @@ void PythonQtShell_QGLWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3679,7 +3679,7 @@ void PythonQtShell_QGLWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3701,7 +3701,7 @@ void PythonQtShell_QGLWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3723,7 +3723,7 @@ int PythonQtShell_QGLWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3756,7 +3756,7 @@ QSize PythonQtShell_QGLWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3789,7 +3789,7 @@ void PythonQtShell_QGLWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3811,7 +3811,7 @@ void PythonQtShell_QGLWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3833,7 +3833,7 @@ void PythonQtShell_QGLWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3855,7 +3855,7 @@ void PythonQtShell_QGLWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3877,7 +3877,7 @@ void PythonQtShell_QGLWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3899,7 +3899,7 @@ bool PythonQtShell_QGLWidget::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3932,7 +3932,7 @@ QPaintEngine* PythonQtShell_QGLWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3965,7 +3965,7 @@ void PythonQtShell_QGLWidget::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3987,7 +3987,7 @@ void PythonQtShell_QGLWidget::paintGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4009,7 +4009,7 @@ void PythonQtShell_QGLWidget::paintOverlayGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintOverlayGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4031,7 +4031,7 @@ QPaintDevice* PythonQtShell_QGLWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4064,7 +4064,7 @@ void PythonQtShell_QGLWidget::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4086,7 +4086,7 @@ void PythonQtShell_QGLWidget::resizeGL(int w0, int h1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4108,7 +4108,7 @@ void PythonQtShell_QGLWidget::resizeOverlayGL(int w0, int h1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeOverlayGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4130,7 +4130,7 @@ void PythonQtShell_QGLWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4152,7 +4152,7 @@ QPainter* PythonQtShell_QGLWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4185,7 +4185,7 @@ void PythonQtShell_QGLWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4207,7 +4207,7 @@ QSize PythonQtShell_QGLWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4240,7 +4240,7 @@ void PythonQtShell_QGLWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4262,7 +4262,7 @@ void PythonQtShell_QGLWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4284,7 +4284,7 @@ void PythonQtShell_QGLWidget::updateGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4306,7 +4306,7 @@ void PythonQtShell_QGLWidget::updateOverlayGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateOverlayGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4328,7 +4328,7 @@ void PythonQtShell_QGLWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp b/generated_cpp_511/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp index 4570204a8..d020a69a4 100644 --- a/generated_cpp_511/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp +++ b/generated_cpp_511/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp @@ -41,7 +41,7 @@ void PythonQtShell_QJSEngine::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -63,7 +63,7 @@ void PythonQtShell_QJSEngine::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -85,7 +85,7 @@ bool PythonQtShell_QJSEngine::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -118,7 +118,7 @@ bool PythonQtShell_QJSEngine::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -151,7 +151,7 @@ void PythonQtShell_QJSEngine::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -474,7 +474,7 @@ QUrl PythonQtShell_QQmlAbstractUrlInterceptor::intercept(const QUrl& path0, QQ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("intercept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -522,7 +522,7 @@ void PythonQtShell_QQmlApplicationEngine::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -544,7 +544,7 @@ void PythonQtShell_QQmlApplicationEngine::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -566,7 +566,7 @@ bool PythonQtShell_QQmlApplicationEngine::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -599,7 +599,7 @@ bool PythonQtShell_QQmlApplicationEngine::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -632,7 +632,7 @@ void PythonQtShell_QQmlApplicationEngine::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -695,7 +695,7 @@ QObject* PythonQtShell_QQmlComponent::beginCreate(QQmlContext* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("beginCreate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -728,7 +728,7 @@ void PythonQtShell_QQmlComponent::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -750,7 +750,7 @@ void PythonQtShell_QQmlComponent::completeCreate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("completeCreate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -772,7 +772,7 @@ QObject* PythonQtShell_QQmlComponent::create(QQmlContext* context0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -805,7 +805,7 @@ void PythonQtShell_QQmlComponent::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -827,7 +827,7 @@ bool PythonQtShell_QQmlComponent::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -860,7 +860,7 @@ bool PythonQtShell_QQmlComponent::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -893,7 +893,7 @@ void PythonQtShell_QQmlComponent::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1028,7 +1028,7 @@ void PythonQtShell_QQmlContext::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1050,7 +1050,7 @@ void PythonQtShell_QQmlContext::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1072,7 +1072,7 @@ bool PythonQtShell_QQmlContext::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1105,7 +1105,7 @@ bool PythonQtShell_QQmlContext::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1138,7 +1138,7 @@ void PythonQtShell_QQmlContext::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1293,7 +1293,7 @@ void PythonQtShell_QQmlEngine::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1315,7 +1315,7 @@ void PythonQtShell_QQmlEngine::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1337,7 +1337,7 @@ bool PythonQtShell_QQmlEngine::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1370,7 +1370,7 @@ bool PythonQtShell_QQmlEngine::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1403,7 +1403,7 @@ void PythonQtShell_QQmlEngine::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1684,7 +1684,7 @@ void PythonQtShell_QQmlExpression::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1706,7 +1706,7 @@ void PythonQtShell_QQmlExpression::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1728,7 +1728,7 @@ bool PythonQtShell_QQmlExpression::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1761,7 +1761,7 @@ bool PythonQtShell_QQmlExpression::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1794,7 +1794,7 @@ void PythonQtShell_QQmlExpression::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1922,7 +1922,7 @@ void PythonQtShell_QQmlExtensionInterface::initializeEngine(QQmlEngine* engine0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initializeEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1944,7 +1944,7 @@ void PythonQtShell_QQmlExtensionInterface::registerTypes(const char* uri0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("registerTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1981,7 +1981,7 @@ void PythonQtShell_QQmlExtensionPlugin::initializeEngine(QQmlEngine* engine0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initializeEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2003,7 +2003,7 @@ void PythonQtShell_QQmlExtensionPlugin::registerTypes(const char* uri0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("registerTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2197,7 +2197,7 @@ void PythonQtShell_QQmlFileSelector::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2219,7 +2219,7 @@ void PythonQtShell_QQmlFileSelector::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2241,7 +2241,7 @@ bool PythonQtShell_QQmlFileSelector::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2274,7 +2274,7 @@ bool PythonQtShell_QQmlFileSelector::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2307,7 +2307,7 @@ void PythonQtShell_QQmlFileSelector::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2377,7 +2377,7 @@ void PythonQtShell_QQmlIncubationController::incubatingObjectCountChanged(int a { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("incubatingObjectCountChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2429,7 +2429,7 @@ void PythonQtShell_QQmlIncubator::setInitialState(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setInitialState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2451,7 +2451,7 @@ void PythonQtShell_QQmlIncubator::statusChanged(QQmlIncubator::Status arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("statusChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2733,7 +2733,7 @@ QNetworkAccessManager* PythonQtShell_QQmlNetworkAccessManagerFactory::create(QO { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2781,7 +2781,7 @@ void PythonQtShell_QQmlParserStatus::classBegin() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("classBegin"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2803,7 +2803,7 @@ void PythonQtShell_QQmlParserStatus::componentComplete() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("componentComplete"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3029,7 +3029,7 @@ void PythonQtShell_QQmlPropertyMap::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3051,7 +3051,7 @@ void PythonQtShell_QQmlPropertyMap::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3073,7 +3073,7 @@ bool PythonQtShell_QQmlPropertyMap::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3106,7 +3106,7 @@ bool PythonQtShell_QQmlPropertyMap::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3139,7 +3139,7 @@ void PythonQtShell_QQmlPropertyMap::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3161,7 +3161,7 @@ QVariant PythonQtShell_QQmlPropertyMap::updateValue(const QString& key0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3267,7 +3267,7 @@ void PythonQtShell_QQmlPropertyValueSource::setTarget(const QQmlProperty& arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setTarget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3359,7 +3359,7 @@ void PythonQtShell_QQmlTypesExtensionInterface::registerTypes(const char* uri0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("registerTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp b/generated_cpp_511/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp index 722efcdeb..1780955b8 100644 --- a/generated_cpp_511/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp +++ b/generated_cpp_511/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp @@ -80,7 +80,7 @@ QRectF PythonQtShell_QQuickFramebufferObject::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -113,7 +113,7 @@ bool PythonQtShell_QQuickFramebufferObject::childMouseEventFilter(QQuickItem* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childMouseEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -146,7 +146,7 @@ void PythonQtShell_QQuickFramebufferObject::classBegin() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("classBegin"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -168,7 +168,7 @@ QRectF PythonQtShell_QQuickFramebufferObject::clipRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clipRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -201,7 +201,7 @@ void PythonQtShell_QQuickFramebufferObject::componentComplete() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("componentComplete"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -223,7 +223,7 @@ bool PythonQtShell_QQuickFramebufferObject::contains(const QPointF& point0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -256,7 +256,7 @@ QQuickFramebufferObject::Renderer* PythonQtShell_QQuickFramebufferObject::creat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createRenderer"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -289,7 +289,7 @@ void PythonQtShell_QQuickFramebufferObject::dragEnterEvent(QDragEnterEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -311,7 +311,7 @@ void PythonQtShell_QQuickFramebufferObject::dragLeaveEvent(QDragLeaveEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -333,7 +333,7 @@ void PythonQtShell_QQuickFramebufferObject::dragMoveEvent(QDragMoveEvent* arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -355,7 +355,7 @@ void PythonQtShell_QQuickFramebufferObject::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -377,7 +377,7 @@ bool PythonQtShell_QQuickFramebufferObject::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -410,7 +410,7 @@ void PythonQtShell_QQuickFramebufferObject::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -432,7 +432,7 @@ void PythonQtShell_QQuickFramebufferObject::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -454,7 +454,7 @@ void PythonQtShell_QQuickFramebufferObject::geometryChanged(const QRectF& newGe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometryChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -476,7 +476,7 @@ void PythonQtShell_QQuickFramebufferObject::hoverEnterEvent(QHoverEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -498,7 +498,7 @@ void PythonQtShell_QQuickFramebufferObject::hoverLeaveEvent(QHoverEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -520,7 +520,7 @@ void PythonQtShell_QQuickFramebufferObject::hoverMoveEvent(QHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -542,7 +542,7 @@ void PythonQtShell_QQuickFramebufferObject::inputMethodEvent(QInputMethodEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -564,7 +564,7 @@ QVariant PythonQtShell_QQuickFramebufferObject::inputMethodQuery(Qt::InputMetho { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -597,7 +597,7 @@ bool PythonQtShell_QQuickFramebufferObject::isTextureProvider() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isTextureProvider"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -630,7 +630,7 @@ void PythonQtShell_QQuickFramebufferObject::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -652,7 +652,7 @@ void PythonQtShell_QQuickFramebufferObject::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -674,7 +674,7 @@ void PythonQtShell_QQuickFramebufferObject::mouseDoubleClickEvent(QMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -696,7 +696,7 @@ void PythonQtShell_QQuickFramebufferObject::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -718,7 +718,7 @@ void PythonQtShell_QQuickFramebufferObject::mousePressEvent(QMouseEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -740,7 +740,7 @@ void PythonQtShell_QQuickFramebufferObject::mouseReleaseEvent(QMouseEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -762,7 +762,7 @@ void PythonQtShell_QQuickFramebufferObject::mouseUngrabEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseUngrabEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -784,7 +784,7 @@ void PythonQtShell_QQuickFramebufferObject::releaseResources() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("releaseResources"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -806,7 +806,7 @@ QSGTextureProvider* PythonQtShell_QQuickFramebufferObject::textureProvider() co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textureProvider"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -839,7 +839,7 @@ void PythonQtShell_QQuickFramebufferObject::touchEvent(QTouchEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -861,7 +861,7 @@ void PythonQtShell_QQuickFramebufferObject::touchUngrabEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchUngrabEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -883,7 +883,7 @@ QSGNode* PythonQtShell_QQuickFramebufferObject::updatePaintNode(QSGNode* arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updatePaintNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -916,7 +916,7 @@ void PythonQtShell_QQuickFramebufferObject::updatePolish() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updatePolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -938,7 +938,7 @@ void PythonQtShell_QQuickFramebufferObject::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -960,7 +960,7 @@ void PythonQtShell_QQuickFramebufferObject::windowDeactivateEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowDeactivateEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1030,7 +1030,7 @@ QOpenGLFramebufferObject* PythonQtShell_QQuickFramebufferObject__Renderer::crea { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createFramebufferObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1063,7 +1063,7 @@ void PythonQtShell_QQuickFramebufferObject__Renderer::render() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("render"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1085,7 +1085,7 @@ void PythonQtShell_QQuickFramebufferObject__Renderer::synchronize(QQuickFramebuf { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("synchronize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1159,7 +1159,7 @@ QRectF PythonQtShell_QQuickItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1192,7 +1192,7 @@ bool PythonQtShell_QQuickItem::childMouseEventFilter(QQuickItem* arg__1, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childMouseEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1225,7 +1225,7 @@ void PythonQtShell_QQuickItem::classBegin() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("classBegin"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1247,7 +1247,7 @@ QRectF PythonQtShell_QQuickItem::clipRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clipRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1280,7 +1280,7 @@ void PythonQtShell_QQuickItem::componentComplete() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("componentComplete"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1302,7 +1302,7 @@ bool PythonQtShell_QQuickItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1335,7 +1335,7 @@ void PythonQtShell_QQuickItem::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1357,7 +1357,7 @@ void PythonQtShell_QQuickItem::dragLeaveEvent(QDragLeaveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1379,7 +1379,7 @@ void PythonQtShell_QQuickItem::dragMoveEvent(QDragMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1401,7 +1401,7 @@ void PythonQtShell_QQuickItem::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1423,7 +1423,7 @@ bool PythonQtShell_QQuickItem::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1456,7 +1456,7 @@ void PythonQtShell_QQuickItem::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1478,7 +1478,7 @@ void PythonQtShell_QQuickItem::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1500,7 +1500,7 @@ void PythonQtShell_QQuickItem::geometryChanged(const QRectF& newGeometry0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometryChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1522,7 +1522,7 @@ void PythonQtShell_QQuickItem::hoverEnterEvent(QHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1544,7 +1544,7 @@ void PythonQtShell_QQuickItem::hoverLeaveEvent(QHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1566,7 +1566,7 @@ void PythonQtShell_QQuickItem::hoverMoveEvent(QHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1588,7 +1588,7 @@ void PythonQtShell_QQuickItem::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1610,7 +1610,7 @@ QVariant PythonQtShell_QQuickItem::inputMethodQuery(Qt::InputMethodQuery query { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1643,7 +1643,7 @@ bool PythonQtShell_QQuickItem::isTextureProvider() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isTextureProvider"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1676,7 +1676,7 @@ void PythonQtShell_QQuickItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1698,7 +1698,7 @@ void PythonQtShell_QQuickItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1720,7 +1720,7 @@ void PythonQtShell_QQuickItem::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1742,7 +1742,7 @@ void PythonQtShell_QQuickItem::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1764,7 +1764,7 @@ void PythonQtShell_QQuickItem::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1786,7 +1786,7 @@ void PythonQtShell_QQuickItem::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1808,7 +1808,7 @@ void PythonQtShell_QQuickItem::mouseUngrabEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseUngrabEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1830,7 +1830,7 @@ void PythonQtShell_QQuickItem::releaseResources() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("releaseResources"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1852,7 +1852,7 @@ QSGTextureProvider* PythonQtShell_QQuickItem::textureProvider() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textureProvider"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1885,7 +1885,7 @@ void PythonQtShell_QQuickItem::touchEvent(QTouchEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1907,7 +1907,7 @@ void PythonQtShell_QQuickItem::touchUngrabEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchUngrabEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1929,7 +1929,7 @@ QSGNode* PythonQtShell_QQuickItem::updatePaintNode(QSGNode* arg__1, QQuickItem { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updatePaintNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1962,7 +1962,7 @@ void PythonQtShell_QQuickItem::updatePolish() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updatePolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1984,7 +1984,7 @@ void PythonQtShell_QQuickItem::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2006,7 +2006,7 @@ void PythonQtShell_QQuickItem::windowDeactivateEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowDeactivateEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2787,7 +2787,7 @@ QRectF PythonQtShell_QQuickPaintedItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2820,7 +2820,7 @@ bool PythonQtShell_QQuickPaintedItem::childMouseEventFilter(QQuickItem* arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childMouseEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2853,7 +2853,7 @@ void PythonQtShell_QQuickPaintedItem::classBegin() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("classBegin"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2875,7 +2875,7 @@ QRectF PythonQtShell_QQuickPaintedItem::clipRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clipRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2908,7 +2908,7 @@ void PythonQtShell_QQuickPaintedItem::componentComplete() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("componentComplete"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2930,7 +2930,7 @@ bool PythonQtShell_QQuickPaintedItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2963,7 +2963,7 @@ void PythonQtShell_QQuickPaintedItem::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2985,7 +2985,7 @@ void PythonQtShell_QQuickPaintedItem::dragLeaveEvent(QDragLeaveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3007,7 +3007,7 @@ void PythonQtShell_QQuickPaintedItem::dragMoveEvent(QDragMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3029,7 +3029,7 @@ void PythonQtShell_QQuickPaintedItem::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3051,7 +3051,7 @@ bool PythonQtShell_QQuickPaintedItem::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3084,7 +3084,7 @@ void PythonQtShell_QQuickPaintedItem::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3106,7 +3106,7 @@ void PythonQtShell_QQuickPaintedItem::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3128,7 +3128,7 @@ void PythonQtShell_QQuickPaintedItem::geometryChanged(const QRectF& newGeometry { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometryChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3150,7 +3150,7 @@ void PythonQtShell_QQuickPaintedItem::hoverEnterEvent(QHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3172,7 +3172,7 @@ void PythonQtShell_QQuickPaintedItem::hoverLeaveEvent(QHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3194,7 +3194,7 @@ void PythonQtShell_QQuickPaintedItem::hoverMoveEvent(QHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3216,7 +3216,7 @@ void PythonQtShell_QQuickPaintedItem::inputMethodEvent(QInputMethodEvent* arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3238,7 +3238,7 @@ QVariant PythonQtShell_QQuickPaintedItem::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3271,7 +3271,7 @@ bool PythonQtShell_QQuickPaintedItem::isTextureProvider() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isTextureProvider"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3304,7 +3304,7 @@ void PythonQtShell_QQuickPaintedItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3326,7 +3326,7 @@ void PythonQtShell_QQuickPaintedItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3348,7 +3348,7 @@ void PythonQtShell_QQuickPaintedItem::mouseDoubleClickEvent(QMouseEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3370,7 +3370,7 @@ void PythonQtShell_QQuickPaintedItem::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3392,7 +3392,7 @@ void PythonQtShell_QQuickPaintedItem::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3414,7 +3414,7 @@ void PythonQtShell_QQuickPaintedItem::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3436,7 +3436,7 @@ void PythonQtShell_QQuickPaintedItem::mouseUngrabEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseUngrabEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3458,7 +3458,7 @@ void PythonQtShell_QQuickPaintedItem::paint(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3480,7 +3480,7 @@ void PythonQtShell_QQuickPaintedItem::releaseResources() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("releaseResources"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3502,7 +3502,7 @@ QSGTextureProvider* PythonQtShell_QQuickPaintedItem::textureProvider() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textureProvider"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3535,7 +3535,7 @@ void PythonQtShell_QQuickPaintedItem::touchEvent(QTouchEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3557,7 +3557,7 @@ void PythonQtShell_QQuickPaintedItem::touchUngrabEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchUngrabEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3579,7 +3579,7 @@ QSGNode* PythonQtShell_QQuickPaintedItem::updatePaintNode(QSGNode* arg__1, QQu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updatePaintNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3612,7 +3612,7 @@ void PythonQtShell_QQuickPaintedItem::updatePolish() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updatePolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3634,7 +3634,7 @@ void PythonQtShell_QQuickPaintedItem::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3656,7 +3656,7 @@ void PythonQtShell_QQuickPaintedItem::windowDeactivateEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowDeactivateEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3806,7 +3806,7 @@ void PythonQtShell_QQuickRenderControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3828,7 +3828,7 @@ void PythonQtShell_QQuickRenderControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3850,7 +3850,7 @@ bool PythonQtShell_QQuickRenderControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3883,7 +3883,7 @@ bool PythonQtShell_QQuickRenderControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3916,7 +3916,7 @@ QWindow* PythonQtShell_QQuickRenderControl::renderWindow(QPoint* offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("renderWindow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3949,7 +3949,7 @@ void PythonQtShell_QQuickRenderControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4039,7 +4039,7 @@ void PythonQtShell_QQuickTextDocument::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4061,7 +4061,7 @@ void PythonQtShell_QQuickTextDocument::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4083,7 +4083,7 @@ bool PythonQtShell_QQuickTextDocument::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4116,7 +4116,7 @@ bool PythonQtShell_QQuickTextDocument::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4149,7 +4149,7 @@ void PythonQtShell_QQuickTextDocument::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4199,7 +4199,7 @@ void PythonQtShell_QQuickTransform::applyTo(QMatrix4x4* matrix0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4221,7 +4221,7 @@ void PythonQtShell_QQuickTransform::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4243,7 +4243,7 @@ void PythonQtShell_QQuickTransform::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4265,7 +4265,7 @@ bool PythonQtShell_QQuickTransform::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4298,7 +4298,7 @@ bool PythonQtShell_QQuickTransform::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4331,7 +4331,7 @@ void PythonQtShell_QQuickTransform::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4391,7 +4391,7 @@ void PythonQtShell_QQuickView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4413,7 +4413,7 @@ void PythonQtShell_QQuickView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4435,7 +4435,7 @@ bool PythonQtShell_QQuickView::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4468,7 +4468,7 @@ bool PythonQtShell_QQuickView::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4501,7 +4501,7 @@ void PythonQtShell_QQuickView::exposeEvent(QExposeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exposeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4523,7 +4523,7 @@ void PythonQtShell_QQuickView::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4545,7 +4545,7 @@ QObject* PythonQtShell_QQuickView::focusObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4578,7 +4578,7 @@ void PythonQtShell_QQuickView::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4600,7 +4600,7 @@ QSurfaceFormat PythonQtShell_QQuickView::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4633,7 +4633,7 @@ void PythonQtShell_QQuickView::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4655,7 +4655,7 @@ void PythonQtShell_QQuickView::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4677,7 +4677,7 @@ void PythonQtShell_QQuickView::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4699,7 +4699,7 @@ void PythonQtShell_QQuickView::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4721,7 +4721,7 @@ void PythonQtShell_QQuickView::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4743,7 +4743,7 @@ void PythonQtShell_QQuickView::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4765,7 +4765,7 @@ void PythonQtShell_QQuickView::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4787,7 +4787,7 @@ void PythonQtShell_QQuickView::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4809,7 +4809,7 @@ bool PythonQtShell_QQuickView::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4842,7 +4842,7 @@ void PythonQtShell_QQuickView::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4864,7 +4864,7 @@ void PythonQtShell_QQuickView::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4886,7 +4886,7 @@ QSize PythonQtShell_QQuickView::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4919,7 +4919,7 @@ QSurface::SurfaceType PythonQtShell_QQuickView::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4952,7 +4952,7 @@ void PythonQtShell_QQuickView::tabletEvent(QTabletEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4974,7 +4974,7 @@ void PythonQtShell_QQuickView::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4996,7 +4996,7 @@ void PythonQtShell_QQuickView::touchEvent(QTouchEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5018,7 +5018,7 @@ void PythonQtShell_QQuickView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5125,7 +5125,7 @@ void PythonQtShell_QQuickWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5147,7 +5147,7 @@ void PythonQtShell_QQuickWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5169,7 +5169,7 @@ void PythonQtShell_QQuickWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5191,7 +5191,7 @@ void PythonQtShell_QQuickWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5213,7 +5213,7 @@ void PythonQtShell_QQuickWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5235,7 +5235,7 @@ void PythonQtShell_QQuickWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5257,7 +5257,7 @@ int PythonQtShell_QQuickWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5290,7 +5290,7 @@ void PythonQtShell_QQuickWidget::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5312,7 +5312,7 @@ void PythonQtShell_QQuickWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5334,7 +5334,7 @@ void PythonQtShell_QQuickWidget::dragMoveEvent(QDragMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5356,7 +5356,7 @@ void PythonQtShell_QQuickWidget::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5378,7 +5378,7 @@ void PythonQtShell_QQuickWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5400,7 +5400,7 @@ bool PythonQtShell_QQuickWidget::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5433,7 +5433,7 @@ bool PythonQtShell_QQuickWidget::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5466,7 +5466,7 @@ void PythonQtShell_QQuickWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5488,7 +5488,7 @@ bool PythonQtShell_QQuickWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5521,7 +5521,7 @@ void PythonQtShell_QQuickWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5543,7 +5543,7 @@ bool PythonQtShell_QQuickWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5576,7 +5576,7 @@ int PythonQtShell_QQuickWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5609,7 +5609,7 @@ void PythonQtShell_QQuickWidget::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5631,7 +5631,7 @@ void PythonQtShell_QQuickWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5653,7 +5653,7 @@ void PythonQtShell_QQuickWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5675,7 +5675,7 @@ QVariant PythonQtShell_QQuickWidget::inputMethodQuery(Qt::InputMethodQuery arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5708,7 +5708,7 @@ void PythonQtShell_QQuickWidget::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5730,7 +5730,7 @@ void PythonQtShell_QQuickWidget::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5752,7 +5752,7 @@ void PythonQtShell_QQuickWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5774,7 +5774,7 @@ int PythonQtShell_QQuickWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5807,7 +5807,7 @@ QSize PythonQtShell_QQuickWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5840,7 +5840,7 @@ void PythonQtShell_QQuickWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5862,7 +5862,7 @@ void PythonQtShell_QQuickWidget::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5884,7 +5884,7 @@ void PythonQtShell_QQuickWidget::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5906,7 +5906,7 @@ void PythonQtShell_QQuickWidget::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5928,7 +5928,7 @@ void PythonQtShell_QQuickWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5950,7 +5950,7 @@ bool PythonQtShell_QQuickWidget::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5983,7 +5983,7 @@ QPaintEngine* PythonQtShell_QQuickWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6016,7 +6016,7 @@ void PythonQtShell_QQuickWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6038,7 +6038,7 @@ QPaintDevice* PythonQtShell_QQuickWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6071,7 +6071,7 @@ void PythonQtShell_QQuickWidget::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6093,7 +6093,7 @@ void PythonQtShell_QQuickWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6115,7 +6115,7 @@ QPainter* PythonQtShell_QQuickWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6148,7 +6148,7 @@ void PythonQtShell_QQuickWidget::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6170,7 +6170,7 @@ QSize PythonQtShell_QQuickWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6203,7 +6203,7 @@ void PythonQtShell_QQuickWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6225,7 +6225,7 @@ void PythonQtShell_QQuickWidget::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6247,7 +6247,7 @@ void PythonQtShell_QQuickWidget::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6375,7 +6375,7 @@ void PythonQtShell_QQuickWindow::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6397,7 +6397,7 @@ void PythonQtShell_QQuickWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6419,7 +6419,7 @@ bool PythonQtShell_QQuickWindow::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6452,7 +6452,7 @@ bool PythonQtShell_QQuickWindow::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6485,7 +6485,7 @@ void PythonQtShell_QQuickWindow::exposeEvent(QExposeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exposeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6507,7 +6507,7 @@ void PythonQtShell_QQuickWindow::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6529,7 +6529,7 @@ QObject* PythonQtShell_QQuickWindow::focusObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6562,7 +6562,7 @@ void PythonQtShell_QQuickWindow::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6584,7 +6584,7 @@ QSurfaceFormat PythonQtShell_QQuickWindow::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6617,7 +6617,7 @@ void PythonQtShell_QQuickWindow::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6639,7 +6639,7 @@ void PythonQtShell_QQuickWindow::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6661,7 +6661,7 @@ void PythonQtShell_QQuickWindow::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6683,7 +6683,7 @@ void PythonQtShell_QQuickWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6705,7 +6705,7 @@ void PythonQtShell_QQuickWindow::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6727,7 +6727,7 @@ void PythonQtShell_QQuickWindow::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6749,7 +6749,7 @@ void PythonQtShell_QQuickWindow::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6771,7 +6771,7 @@ void PythonQtShell_QQuickWindow::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6793,7 +6793,7 @@ bool PythonQtShell_QQuickWindow::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6826,7 +6826,7 @@ void PythonQtShell_QQuickWindow::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6848,7 +6848,7 @@ void PythonQtShell_QQuickWindow::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6870,7 +6870,7 @@ QSize PythonQtShell_QQuickWindow::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6903,7 +6903,7 @@ QSurface::SurfaceType PythonQtShell_QQuickWindow::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6936,7 +6936,7 @@ void PythonQtShell_QQuickWindow::tabletEvent(QTabletEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6958,7 +6958,7 @@ void PythonQtShell_QQuickWindow::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6980,7 +6980,7 @@ void PythonQtShell_QQuickWindow::touchEvent(QTouchEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7002,7 +7002,7 @@ void PythonQtShell_QQuickWindow::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7228,7 +7228,7 @@ void PythonQtShell_QSGAbstractRenderer::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7250,7 +7250,7 @@ void PythonQtShell_QSGAbstractRenderer::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7272,7 +7272,7 @@ bool PythonQtShell_QSGAbstractRenderer::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7305,7 +7305,7 @@ bool PythonQtShell_QSGAbstractRenderer::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7338,7 +7338,7 @@ void PythonQtShell_QSGAbstractRenderer::nodeChanged(QSGNode* node0, QSGNode::Di { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nodeChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7360,7 +7360,7 @@ void PythonQtShell_QSGAbstractRenderer::renderScene(uint fboId0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("renderScene"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7382,7 +7382,7 @@ void PythonQtShell_QSGAbstractRenderer::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7502,7 +7502,7 @@ bool PythonQtShell_QSGBasicGeometryNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7535,7 +7535,7 @@ void PythonQtShell_QSGBasicGeometryNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7602,7 +7602,7 @@ bool PythonQtShell_QSGClipNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7635,7 +7635,7 @@ void PythonQtShell_QSGClipNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7687,7 +7687,7 @@ void PythonQtShell_QSGDynamicTexture::bind() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7709,7 +7709,7 @@ void PythonQtShell_QSGDynamicTexture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7731,7 +7731,7 @@ void PythonQtShell_QSGDynamicTexture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7753,7 +7753,7 @@ bool PythonQtShell_QSGDynamicTexture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7786,7 +7786,7 @@ bool PythonQtShell_QSGDynamicTexture::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7819,7 +7819,7 @@ bool PythonQtShell_QSGDynamicTexture::hasAlphaChannel() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasAlphaChannel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7852,7 +7852,7 @@ bool PythonQtShell_QSGDynamicTexture::hasMipmaps() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasMipmaps"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7885,7 +7885,7 @@ bool PythonQtShell_QSGDynamicTexture::isAtlasTexture() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAtlasTexture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7918,7 +7918,7 @@ QRectF PythonQtShell_QSGDynamicTexture::normalizedTextureSubRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("normalizedTextureSubRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7951,7 +7951,7 @@ QSGTexture* PythonQtShell_QSGDynamicTexture::removedFromAtlas() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removedFromAtlas"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7984,7 +7984,7 @@ int PythonQtShell_QSGDynamicTexture::textureId() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textureId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8017,7 +8017,7 @@ QSize PythonQtShell_QSGDynamicTexture::textureSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textureSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8050,7 +8050,7 @@ void PythonQtShell_QSGDynamicTexture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8072,7 +8072,7 @@ bool PythonQtShell_QSGDynamicTexture::updateTexture() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateTexture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8133,7 +8133,7 @@ void PythonQtShell_QSGEngine::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8155,7 +8155,7 @@ void PythonQtShell_QSGEngine::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8177,7 +8177,7 @@ bool PythonQtShell_QSGEngine::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8210,7 +8210,7 @@ bool PythonQtShell_QSGEngine::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8243,7 +8243,7 @@ void PythonQtShell_QSGEngine::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8318,7 +8318,7 @@ QSGMaterialType* PythonQtShell_QSGFlatColorMaterial::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8576,7 +8576,7 @@ bool PythonQtShell_QSGGeometryNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8609,7 +8609,7 @@ void PythonQtShell_QSGGeometryNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8825,7 +8825,7 @@ bool PythonQtShell_QSGNinePatchNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8858,7 +8858,7 @@ void PythonQtShell_QSGNinePatchNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8880,7 +8880,7 @@ void PythonQtShell_QSGNinePatchNode::setBounds(const QRectF& bounds0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setBounds"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8902,7 +8902,7 @@ void PythonQtShell_QSGNinePatchNode::setDevicePixelRatio(qreal ratio0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDevicePixelRatio"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8924,7 +8924,7 @@ void PythonQtShell_QSGNinePatchNode::setPadding(qreal left0, qreal top1, qreal { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPadding"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8946,7 +8946,7 @@ void PythonQtShell_QSGNinePatchNode::setTexture(QSGTexture* texture0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setTexture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8968,7 +8968,7 @@ void PythonQtShell_QSGNinePatchNode::update() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("update"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9030,7 +9030,7 @@ bool PythonQtShell_QSGNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9063,7 +9063,7 @@ void PythonQtShell_QSGNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp b/generated_cpp_511/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp index 49072cf30..8023141cc 100644 --- a/generated_cpp_511/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp +++ b/generated_cpp_511/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp @@ -27,7 +27,7 @@ void PythonQtShell_QSGNodeVisitor::enterClipNode(QSGClipNode* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterClipNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -49,7 +49,7 @@ void PythonQtShell_QSGNodeVisitor::enterGeometryNode(QSGGeometryNode* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterGeometryNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -71,7 +71,7 @@ void PythonQtShell_QSGNodeVisitor::enterOpacityNode(QSGOpacityNode* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterOpacityNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -93,7 +93,7 @@ void PythonQtShell_QSGNodeVisitor::enterTransformNode(QSGTransformNode* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterTransformNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -115,7 +115,7 @@ void PythonQtShell_QSGNodeVisitor::leaveClipNode(QSGClipNode* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveClipNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -137,7 +137,7 @@ void PythonQtShell_QSGNodeVisitor::leaveGeometryNode(QSGGeometryNode* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveGeometryNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -159,7 +159,7 @@ void PythonQtShell_QSGNodeVisitor::leaveOpacityNode(QSGOpacityNode* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveOpacityNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -181,7 +181,7 @@ void PythonQtShell_QSGNodeVisitor::leaveTransformNode(QSGTransformNode* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveTransformNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -203,7 +203,7 @@ void PythonQtShell_QSGNodeVisitor::visitChildren(QSGNode* n0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visitChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -225,7 +225,7 @@ void PythonQtShell_QSGNodeVisitor::visitNode(QSGNode* n0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visitNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -307,7 +307,7 @@ bool PythonQtShell_QSGOpacityNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -340,7 +340,7 @@ void PythonQtShell_QSGOpacityNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -399,7 +399,7 @@ QColor PythonQtShell_QSGRectangleNode::color() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("color"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -432,7 +432,7 @@ bool PythonQtShell_QSGRectangleNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -465,7 +465,7 @@ void PythonQtShell_QSGRectangleNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -487,7 +487,7 @@ QRectF PythonQtShell_QSGRectangleNode::rect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -520,7 +520,7 @@ void PythonQtShell_QSGRectangleNode::setColor(const QColor& color0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setColor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -542,7 +542,7 @@ void PythonQtShell_QSGRectangleNode::setRect(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -599,7 +599,7 @@ bool PythonQtShell_QSGRenderNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -632,7 +632,7 @@ void PythonQtShell_QSGRenderNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -654,7 +654,7 @@ QRectF PythonQtShell_QSGRenderNode::rect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -687,7 +687,7 @@ void PythonQtShell_QSGRenderNode::releaseResources() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("releaseResources"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -709,7 +709,7 @@ void PythonQtShell_QSGRenderNode::render(const QSGRenderNode::RenderState* stat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("render"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -771,7 +771,7 @@ const QRegion* PythonQtShell_QSGRenderNode__RenderState::clipRegion() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clipRegion"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -804,7 +804,7 @@ void* PythonQtShell_QSGRenderNode__RenderState::get(const char* state0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("get"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -837,7 +837,7 @@ const QMatrix4x4* PythonQtShell_QSGRenderNode__RenderState::projectionMatrix() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("projectionMatrix"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -870,7 +870,7 @@ bool PythonQtShell_QSGRenderNode__RenderState::scissorEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scissorEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -903,7 +903,7 @@ QRect PythonQtShell_QSGRenderNode__RenderState::scissorRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scissorRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -936,7 +936,7 @@ bool PythonQtShell_QSGRenderNode__RenderState::stencilEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stencilEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -969,7 +969,7 @@ int PythonQtShell_QSGRenderNode__RenderState::stencilValue() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stencilValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1047,7 +1047,7 @@ bool PythonQtShell_QSGRootNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1080,7 +1080,7 @@ void PythonQtShell_QSGRootNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1119,7 +1119,7 @@ void PythonQtShell_QSGTexture::bind() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1141,7 +1141,7 @@ void PythonQtShell_QSGTexture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1163,7 +1163,7 @@ void PythonQtShell_QSGTexture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1185,7 +1185,7 @@ bool PythonQtShell_QSGTexture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1218,7 +1218,7 @@ bool PythonQtShell_QSGTexture::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1251,7 +1251,7 @@ bool PythonQtShell_QSGTexture::hasAlphaChannel() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasAlphaChannel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1284,7 +1284,7 @@ bool PythonQtShell_QSGTexture::hasMipmaps() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasMipmaps"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1317,7 +1317,7 @@ bool PythonQtShell_QSGTexture::isAtlasTexture() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAtlasTexture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1350,7 +1350,7 @@ QRectF PythonQtShell_QSGTexture::normalizedTextureSubRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("normalizedTextureSubRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1383,7 +1383,7 @@ QSGTexture* PythonQtShell_QSGTexture::removedFromAtlas() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removedFromAtlas"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1416,7 +1416,7 @@ int PythonQtShell_QSGTexture::textureId() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textureId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1449,7 +1449,7 @@ QSize PythonQtShell_QSGTexture::textureSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textureSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1482,7 +1482,7 @@ void PythonQtShell_QSGTexture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1627,7 +1627,7 @@ QSGMaterialType* PythonQtShell_QSGTextureMaterial::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1675,7 +1675,7 @@ void PythonQtShell_QSGTextureProvider::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1697,7 +1697,7 @@ void PythonQtShell_QSGTextureProvider::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1719,7 +1719,7 @@ bool PythonQtShell_QSGTextureProvider::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1752,7 +1752,7 @@ bool PythonQtShell_QSGTextureProvider::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1785,7 +1785,7 @@ QSGTexture* PythonQtShell_QSGTextureProvider::texture() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("texture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1818,7 +1818,7 @@ void PythonQtShell_QSGTextureProvider::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1868,7 +1868,7 @@ bool PythonQtShell_QSGTransformNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1901,7 +1901,7 @@ void PythonQtShell_QSGTransformNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp b/generated_cpp_511/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp index ad16ce959..3274af168 100644 --- a/generated_cpp_511/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp +++ b/generated_cpp_511/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp @@ -277,7 +277,7 @@ bool PythonQtShell_QSqlDriver::beginTransaction() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("beginTransaction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -310,7 +310,7 @@ bool PythonQtShell_QSqlDriver::cancelQuery() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cancelQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -343,7 +343,7 @@ void PythonQtShell_QSqlDriver::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -365,7 +365,7 @@ void PythonQtShell_QSqlDriver::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -387,7 +387,7 @@ bool PythonQtShell_QSqlDriver::commitTransaction() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitTransaction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -420,7 +420,7 @@ QSqlResult* PythonQtShell_QSqlDriver::createResult() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createResult"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -453,7 +453,7 @@ void PythonQtShell_QSqlDriver::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -475,7 +475,7 @@ QString PythonQtShell_QSqlDriver::escapeIdentifier(const QString& identifier0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("escapeIdentifier"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -508,7 +508,7 @@ bool PythonQtShell_QSqlDriver::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -541,7 +541,7 @@ bool PythonQtShell_QSqlDriver::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -574,7 +574,7 @@ QString PythonQtShell_QSqlDriver::formatValue(const QSqlField& field0, bool t { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("formatValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -607,7 +607,7 @@ QVariant PythonQtShell_QSqlDriver::handle() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("handle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -640,7 +640,7 @@ bool PythonQtShell_QSqlDriver::hasFeature(QSqlDriver::DriverFeature f0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -673,7 +673,7 @@ bool PythonQtShell_QSqlDriver::isIdentifierEscaped(const QString& identifier0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIdentifierEscaped"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -706,7 +706,7 @@ bool PythonQtShell_QSqlDriver::isOpen() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isOpen"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -739,7 +739,7 @@ bool PythonQtShell_QSqlDriver::open(const QString& db0, const QString& user1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -772,7 +772,7 @@ QSqlIndex PythonQtShell_QSqlDriver::primaryIndex(const QString& tableName0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("primaryIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -805,7 +805,7 @@ QSqlRecord PythonQtShell_QSqlDriver::record(const QString& tableName0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("record"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -838,7 +838,7 @@ bool PythonQtShell_QSqlDriver::rollbackTransaction() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rollbackTransaction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -871,7 +871,7 @@ void PythonQtShell_QSqlDriver::setLastError(const QSqlError& e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setLastError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -893,7 +893,7 @@ void PythonQtShell_QSqlDriver::setOpen(bool o0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setOpen"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -915,7 +915,7 @@ void PythonQtShell_QSqlDriver::setOpenError(bool e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setOpenError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -937,7 +937,7 @@ QString PythonQtShell_QSqlDriver::sqlStatement(QSqlDriver::StatementType type0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sqlStatement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -970,7 +970,7 @@ QString PythonQtShell_QSqlDriver::stripDelimiters(const QString& identifier0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stripDelimiters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1003,7 +1003,7 @@ bool PythonQtShell_QSqlDriver::subscribeToNotification(const QString& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("subscribeToNotification"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1036,7 +1036,7 @@ QStringList PythonQtShell_QSqlDriver::subscribedToNotifications() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("subscribedToNotifications"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1069,7 +1069,7 @@ QStringList PythonQtShell_QSqlDriver::tables(QSql::TableType tableType0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tables"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1102,7 +1102,7 @@ void PythonQtShell_QSqlDriver::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1124,7 +1124,7 @@ bool PythonQtShell_QSqlDriver::unsubscribeFromNotification(const QString& name { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unsubscribeFromNotification"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1320,7 +1320,7 @@ QSqlDriver* PythonQtShell_QSqlDriverCreatorBase::createObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1893,7 +1893,7 @@ QModelIndex PythonQtShell_QSqlQueryModel::buddy(const QModelIndex& index0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1926,7 +1926,7 @@ bool PythonQtShell_QSqlQueryModel::canDropMimeData(const QMimeData* data0, Qt: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1959,7 +1959,7 @@ bool PythonQtShell_QSqlQueryModel::canFetchMore(const QModelIndex& parent0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1992,7 +1992,7 @@ void PythonQtShell_QSqlQueryModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2014,7 +2014,7 @@ void PythonQtShell_QSqlQueryModel::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2036,7 +2036,7 @@ int PythonQtShell_QSqlQueryModel::columnCount(const QModelIndex& parent0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2069,7 +2069,7 @@ void PythonQtShell_QSqlQueryModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2091,7 +2091,7 @@ QVariant PythonQtShell_QSqlQueryModel::data(const QModelIndex& item0, int rol { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2124,7 +2124,7 @@ bool PythonQtShell_QSqlQueryModel::dropMimeData(const QMimeData* data0, Qt::Dr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2157,7 +2157,7 @@ bool PythonQtShell_QSqlQueryModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2190,7 +2190,7 @@ bool PythonQtShell_QSqlQueryModel::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2223,7 +2223,7 @@ void PythonQtShell_QSqlQueryModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2245,7 +2245,7 @@ Qt::ItemFlags PythonQtShell_QSqlQueryModel::flags(const QModelIndex& index0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2278,7 +2278,7 @@ QVariant PythonQtShell_QSqlQueryModel::headerData(int section0, Qt::Orientatio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2311,7 +2311,7 @@ QModelIndex PythonQtShell_QSqlQueryModel::index(int row0, int column1, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2344,7 +2344,7 @@ QModelIndex PythonQtShell_QSqlQueryModel::indexInQuery(const QModelIndex& item { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexInQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2377,7 +2377,7 @@ bool PythonQtShell_QSqlQueryModel::insertColumns(int column0, int count1, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2410,7 +2410,7 @@ bool PythonQtShell_QSqlQueryModel::insertRows(int row0, int count1, const QMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2443,7 +2443,7 @@ QMap PythonQtShell_QSqlQueryModel::itemData(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2476,7 +2476,7 @@ QList PythonQtShell_QSqlQueryModel::match(const QModelIndex& sta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2509,7 +2509,7 @@ QMimeData* PythonQtShell_QSqlQueryModel::mimeData(const QList& i { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2542,7 +2542,7 @@ QStringList PythonQtShell_QSqlQueryModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2575,7 +2575,7 @@ bool PythonQtShell_QSqlQueryModel::moveColumns(const QModelIndex& sourceParent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2608,7 +2608,7 @@ bool PythonQtShell_QSqlQueryModel::moveRows(const QModelIndex& sourceParent0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2641,7 +2641,7 @@ void PythonQtShell_QSqlQueryModel::queryChange() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("queryChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2663,7 +2663,7 @@ bool PythonQtShell_QSqlQueryModel::removeColumns(int column0, int count1, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2696,7 +2696,7 @@ bool PythonQtShell_QSqlQueryModel::removeRows(int row0, int count1, const QMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2729,7 +2729,7 @@ void PythonQtShell_QSqlQueryModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2751,7 +2751,7 @@ QHash PythonQtShell_QSqlQueryModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2784,7 +2784,7 @@ int PythonQtShell_QSqlQueryModel::rowCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2817,7 +2817,7 @@ bool PythonQtShell_QSqlQueryModel::setData(const QModelIndex& index0, const QV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2850,7 +2850,7 @@ bool PythonQtShell_QSqlQueryModel::setHeaderData(int section0, Qt::Orientation { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2883,7 +2883,7 @@ bool PythonQtShell_QSqlQueryModel::setItemData(const QModelIndex& index0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2916,7 +2916,7 @@ QModelIndex PythonQtShell_QSqlQueryModel::sibling(int row0, int column1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2949,7 +2949,7 @@ void PythonQtShell_QSqlQueryModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2971,7 +2971,7 @@ QSize PythonQtShell_QSqlQueryModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3004,7 +3004,7 @@ bool PythonQtShell_QSqlQueryModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3037,7 +3037,7 @@ Qt::DropActions PythonQtShell_QSqlQueryModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3070,7 +3070,7 @@ Qt::DropActions PythonQtShell_QSqlQueryModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3103,7 +3103,7 @@ void PythonQtShell_QSqlQueryModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3440,7 +3440,7 @@ QModelIndex PythonQtShell_QSqlRelationalTableModel::buddy(const QModelIndex& i { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3473,7 +3473,7 @@ bool PythonQtShell_QSqlRelationalTableModel::canDropMimeData(const QMimeData* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3506,7 +3506,7 @@ bool PythonQtShell_QSqlRelationalTableModel::canFetchMore(const QModelIndex& p { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3539,7 +3539,7 @@ void PythonQtShell_QSqlRelationalTableModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3561,7 +3561,7 @@ void PythonQtShell_QSqlRelationalTableModel::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3583,7 +3583,7 @@ int PythonQtShell_QSqlRelationalTableModel::columnCount(const QModelIndex& par { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3616,7 +3616,7 @@ void PythonQtShell_QSqlRelationalTableModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3638,7 +3638,7 @@ QVariant PythonQtShell_QSqlRelationalTableModel::data(const QModelIndex& item0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3671,7 +3671,7 @@ bool PythonQtShell_QSqlRelationalTableModel::deleteRowFromTable(int row0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deleteRowFromTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3704,7 +3704,7 @@ bool PythonQtShell_QSqlRelationalTableModel::dropMimeData(const QMimeData* dat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3737,7 +3737,7 @@ bool PythonQtShell_QSqlRelationalTableModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3770,7 +3770,7 @@ bool PythonQtShell_QSqlRelationalTableModel::eventFilter(QObject* watched0, QE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3803,7 +3803,7 @@ void PythonQtShell_QSqlRelationalTableModel::fetchMore(const QModelIndex& paren { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3825,7 +3825,7 @@ Qt::ItemFlags PythonQtShell_QSqlRelationalTableModel::flags(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3858,7 +3858,7 @@ QVariant PythonQtShell_QSqlRelationalTableModel::headerData(int section0, Qt:: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3891,7 +3891,7 @@ QModelIndex PythonQtShell_QSqlRelationalTableModel::index(int row0, int colum { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3924,7 +3924,7 @@ QModelIndex PythonQtShell_QSqlRelationalTableModel::indexInQuery(const QModelIn { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexInQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3957,7 +3957,7 @@ bool PythonQtShell_QSqlRelationalTableModel::insertColumns(int column0, int c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3990,7 +3990,7 @@ bool PythonQtShell_QSqlRelationalTableModel::insertRowIntoTable(const QSqlRecor { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRowIntoTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4023,7 +4023,7 @@ bool PythonQtShell_QSqlRelationalTableModel::insertRows(int row0, int count1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4056,7 +4056,7 @@ QMap PythonQtShell_QSqlRelationalTableModel::itemData(const QM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4089,7 +4089,7 @@ QList PythonQtShell_QSqlRelationalTableModel::match(const QModelI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4122,7 +4122,7 @@ QMimeData* PythonQtShell_QSqlRelationalTableModel::mimeData(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4155,7 +4155,7 @@ QStringList PythonQtShell_QSqlRelationalTableModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4188,7 +4188,7 @@ bool PythonQtShell_QSqlRelationalTableModel::moveColumns(const QModelIndex& so { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4221,7 +4221,7 @@ bool PythonQtShell_QSqlRelationalTableModel::moveRows(const QModelIndex& sourc { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4254,7 +4254,7 @@ QString PythonQtShell_QSqlRelationalTableModel::orderByClause() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("orderByClause"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4287,7 +4287,7 @@ void PythonQtShell_QSqlRelationalTableModel::queryChange() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("queryChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4309,7 +4309,7 @@ QSqlTableModel* PythonQtShell_QSqlRelationalTableModel::relationModel(int colu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("relationModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4342,7 +4342,7 @@ bool PythonQtShell_QSqlRelationalTableModel::removeColumns(int column0, int c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4375,7 +4375,7 @@ bool PythonQtShell_QSqlRelationalTableModel::removeRows(int row0, int count1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4408,7 +4408,7 @@ void PythonQtShell_QSqlRelationalTableModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4430,7 +4430,7 @@ void PythonQtShell_QSqlRelationalTableModel::revertRow(int row0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revertRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4452,7 +4452,7 @@ QHash PythonQtShell_QSqlRelationalTableModel::roleNames() co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4485,7 +4485,7 @@ int PythonQtShell_QSqlRelationalTableModel::rowCount(const QModelIndex& parent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4518,7 +4518,7 @@ bool PythonQtShell_QSqlRelationalTableModel::select() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4551,7 +4551,7 @@ bool PythonQtShell_QSqlRelationalTableModel::selectRow(int row0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4584,7 +4584,7 @@ QString PythonQtShell_QSqlRelationalTableModel::selectStatement() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectStatement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4617,7 +4617,7 @@ bool PythonQtShell_QSqlRelationalTableModel::setData(const QModelIndex& item0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4650,7 +4650,7 @@ void PythonQtShell_QSqlRelationalTableModel::setEditStrategy(QSqlTableModel::Edi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEditStrategy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4672,7 +4672,7 @@ void PythonQtShell_QSqlRelationalTableModel::setFilter(const QString& filter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4694,7 +4694,7 @@ bool PythonQtShell_QSqlRelationalTableModel::setHeaderData(int section0, Qt::O { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4727,7 +4727,7 @@ bool PythonQtShell_QSqlRelationalTableModel::setItemData(const QModelIndex& in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4760,7 +4760,7 @@ void PythonQtShell_QSqlRelationalTableModel::setRelation(int column0, const QSq { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRelation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4782,7 +4782,7 @@ void PythonQtShell_QSqlRelationalTableModel::setSort(int column0, Qt::SortOrder { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4804,7 +4804,7 @@ void PythonQtShell_QSqlRelationalTableModel::setTable(const QString& tableName0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4826,7 +4826,7 @@ QModelIndex PythonQtShell_QSqlRelationalTableModel::sibling(int row0, int col { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4859,7 +4859,7 @@ void PythonQtShell_QSqlRelationalTableModel::sort(int column0, Qt::SortOrder o { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4881,7 +4881,7 @@ QSize PythonQtShell_QSqlRelationalTableModel::span(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4914,7 +4914,7 @@ bool PythonQtShell_QSqlRelationalTableModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4947,7 +4947,7 @@ Qt::DropActions PythonQtShell_QSqlRelationalTableModel::supportedDragActions() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4980,7 +4980,7 @@ Qt::DropActions PythonQtShell_QSqlRelationalTableModel::supportedDropActions() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5013,7 +5013,7 @@ void PythonQtShell_QSqlRelationalTableModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5035,7 +5035,7 @@ bool PythonQtShell_QSqlRelationalTableModel::updateRowInTable(int row0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateRowInTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5111,7 +5111,7 @@ void PythonQtShell_QSqlResult::bindValue(const QString& placeholder0, const QVa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bindValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5133,7 +5133,7 @@ void PythonQtShell_QSqlResult::bindValue(int pos0, const QVariant& val1, QSql: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bindValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5155,7 +5155,7 @@ QVariant PythonQtShell_QSqlResult::data(int i0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5188,7 +5188,7 @@ void PythonQtShell_QSqlResult::detachFromResultSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("detachFromResultSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5210,7 +5210,7 @@ bool PythonQtShell_QSqlResult::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5243,7 +5243,7 @@ bool PythonQtShell_QSqlResult::execBatch(bool arrayBind0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("execBatch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5276,7 +5276,7 @@ bool PythonQtShell_QSqlResult::fetch(int i0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5309,7 +5309,7 @@ bool PythonQtShell_QSqlResult::fetchFirst() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchFirst"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5342,7 +5342,7 @@ bool PythonQtShell_QSqlResult::fetchLast() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchLast"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5375,7 +5375,7 @@ bool PythonQtShell_QSqlResult::fetchNext() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchNext"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5408,7 +5408,7 @@ bool PythonQtShell_QSqlResult::fetchPrevious() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchPrevious"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5441,7 +5441,7 @@ QVariant PythonQtShell_QSqlResult::handle() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("handle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5474,7 +5474,7 @@ bool PythonQtShell_QSqlResult::isNull(int i0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isNull"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5507,7 +5507,7 @@ QVariant PythonQtShell_QSqlResult::lastInsertId() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("lastInsertId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5540,7 +5540,7 @@ bool PythonQtShell_QSqlResult::nextResult() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextResult"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5573,7 +5573,7 @@ int PythonQtShell_QSqlResult::numRowsAffected() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("numRowsAffected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5606,7 +5606,7 @@ bool PythonQtShell_QSqlResult::prepare(const QString& query0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("prepare"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5639,7 +5639,7 @@ QSqlRecord PythonQtShell_QSqlResult::record() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("record"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5672,7 +5672,7 @@ bool PythonQtShell_QSqlResult::reset(const QString& sqlquery0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5705,7 +5705,7 @@ bool PythonQtShell_QSqlResult::savePrepare(const QString& sqlquery0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("savePrepare"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5738,7 +5738,7 @@ void PythonQtShell_QSqlResult::setActive(bool a0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setActive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5760,7 +5760,7 @@ void PythonQtShell_QSqlResult::setAt(int at0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5782,7 +5782,7 @@ void PythonQtShell_QSqlResult::setForwardOnly(bool forward0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setForwardOnly"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5804,7 +5804,7 @@ void PythonQtShell_QSqlResult::setLastError(const QSqlError& e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setLastError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5826,7 +5826,7 @@ void PythonQtShell_QSqlResult::setNumericalPrecisionPolicy(QSql::NumericalPrecis { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setNumericalPrecisionPolicy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5848,7 +5848,7 @@ void PythonQtShell_QSqlResult::setQuery(const QString& query0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5870,7 +5870,7 @@ void PythonQtShell_QSqlResult::setSelect(bool s0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5892,7 +5892,7 @@ int PythonQtShell_QSqlResult::size() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6185,7 +6185,7 @@ QModelIndex PythonQtShell_QSqlTableModel::buddy(const QModelIndex& index0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6218,7 +6218,7 @@ bool PythonQtShell_QSqlTableModel::canDropMimeData(const QMimeData* data0, Qt: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6251,7 +6251,7 @@ bool PythonQtShell_QSqlTableModel::canFetchMore(const QModelIndex& parent0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6284,7 +6284,7 @@ void PythonQtShell_QSqlTableModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6306,7 +6306,7 @@ void PythonQtShell_QSqlTableModel::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6328,7 +6328,7 @@ int PythonQtShell_QSqlTableModel::columnCount(const QModelIndex& parent0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6361,7 +6361,7 @@ void PythonQtShell_QSqlTableModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6383,7 +6383,7 @@ QVariant PythonQtShell_QSqlTableModel::data(const QModelIndex& idx0, int role { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6416,7 +6416,7 @@ bool PythonQtShell_QSqlTableModel::deleteRowFromTable(int row0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deleteRowFromTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6449,7 +6449,7 @@ bool PythonQtShell_QSqlTableModel::dropMimeData(const QMimeData* data0, Qt::Dr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6482,7 +6482,7 @@ bool PythonQtShell_QSqlTableModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6515,7 +6515,7 @@ bool PythonQtShell_QSqlTableModel::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6548,7 +6548,7 @@ void PythonQtShell_QSqlTableModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6570,7 +6570,7 @@ Qt::ItemFlags PythonQtShell_QSqlTableModel::flags(const QModelIndex& index0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6603,7 +6603,7 @@ QVariant PythonQtShell_QSqlTableModel::headerData(int section0, Qt::Orientatio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6636,7 +6636,7 @@ QModelIndex PythonQtShell_QSqlTableModel::index(int row0, int column1, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6669,7 +6669,7 @@ QModelIndex PythonQtShell_QSqlTableModel::indexInQuery(const QModelIndex& item { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexInQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6702,7 +6702,7 @@ bool PythonQtShell_QSqlTableModel::insertColumns(int column0, int count1, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6735,7 +6735,7 @@ bool PythonQtShell_QSqlTableModel::insertRowIntoTable(const QSqlRecord& values { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRowIntoTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6768,7 +6768,7 @@ bool PythonQtShell_QSqlTableModel::insertRows(int row0, int count1, const QMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6801,7 +6801,7 @@ QMap PythonQtShell_QSqlTableModel::itemData(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6834,7 +6834,7 @@ QList PythonQtShell_QSqlTableModel::match(const QModelIndex& sta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6867,7 +6867,7 @@ QMimeData* PythonQtShell_QSqlTableModel::mimeData(const QList& i { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6900,7 +6900,7 @@ QStringList PythonQtShell_QSqlTableModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6933,7 +6933,7 @@ bool PythonQtShell_QSqlTableModel::moveColumns(const QModelIndex& sourceParent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6966,7 +6966,7 @@ bool PythonQtShell_QSqlTableModel::moveRows(const QModelIndex& sourceParent0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6999,7 +6999,7 @@ QString PythonQtShell_QSqlTableModel::orderByClause() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("orderByClause"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7032,7 +7032,7 @@ void PythonQtShell_QSqlTableModel::queryChange() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("queryChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7054,7 +7054,7 @@ bool PythonQtShell_QSqlTableModel::removeColumns(int column0, int count1, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7087,7 +7087,7 @@ bool PythonQtShell_QSqlTableModel::removeRows(int row0, int count1, const QMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7120,7 +7120,7 @@ void PythonQtShell_QSqlTableModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7142,7 +7142,7 @@ void PythonQtShell_QSqlTableModel::revertRow(int row0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revertRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7164,7 +7164,7 @@ QHash PythonQtShell_QSqlTableModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7197,7 +7197,7 @@ int PythonQtShell_QSqlTableModel::rowCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7230,7 +7230,7 @@ bool PythonQtShell_QSqlTableModel::select() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7263,7 +7263,7 @@ bool PythonQtShell_QSqlTableModel::selectRow(int row0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7296,7 +7296,7 @@ QString PythonQtShell_QSqlTableModel::selectStatement() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectStatement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7329,7 +7329,7 @@ bool PythonQtShell_QSqlTableModel::setData(const QModelIndex& index0, const QV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7362,7 +7362,7 @@ void PythonQtShell_QSqlTableModel::setEditStrategy(QSqlTableModel::EditStrategy { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEditStrategy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7384,7 +7384,7 @@ void PythonQtShell_QSqlTableModel::setFilter(const QString& filter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7406,7 +7406,7 @@ bool PythonQtShell_QSqlTableModel::setHeaderData(int section0, Qt::Orientation { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7439,7 +7439,7 @@ bool PythonQtShell_QSqlTableModel::setItemData(const QModelIndex& index0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7472,7 +7472,7 @@ void PythonQtShell_QSqlTableModel::setSort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7494,7 +7494,7 @@ void PythonQtShell_QSqlTableModel::setTable(const QString& tableName0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7516,7 +7516,7 @@ QModelIndex PythonQtShell_QSqlTableModel::sibling(int row0, int column1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7549,7 +7549,7 @@ void PythonQtShell_QSqlTableModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7571,7 +7571,7 @@ QSize PythonQtShell_QSqlTableModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7604,7 +7604,7 @@ bool PythonQtShell_QSqlTableModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7637,7 +7637,7 @@ Qt::DropActions PythonQtShell_QSqlTableModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7670,7 +7670,7 @@ Qt::DropActions PythonQtShell_QSqlTableModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7703,7 +7703,7 @@ void PythonQtShell_QSqlTableModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7725,7 +7725,7 @@ bool PythonQtShell_QSqlTableModel::updateRowInTable(int row0, const QSqlRecord { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateRowInTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp b/generated_cpp_511/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp index e17a3a70d..9219c779e 100644 --- a/generated_cpp_511/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp +++ b/generated_cpp_511/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp @@ -58,7 +58,7 @@ QRectF PythonQtShell_QGraphicsSvgItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -91,7 +91,7 @@ void PythonQtShell_QGraphicsSvgItem::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -113,7 +113,7 @@ void PythonQtShell_QGraphicsSvgItem::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -135,7 +135,7 @@ bool PythonQtShell_QGraphicsSvgItem::event(QEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -168,7 +168,7 @@ bool PythonQtShell_QGraphicsSvgItem::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -201,7 +201,7 @@ void PythonQtShell_QGraphicsSvgItem::paint(QPainter* painter0, const QStyleOpti { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -223,7 +223,7 @@ void PythonQtShell_QGraphicsSvgItem::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -245,7 +245,7 @@ int PythonQtShell_QGraphicsSvgItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -360,7 +360,7 @@ int PythonQtShell_QSvgGenerator::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -393,7 +393,7 @@ void PythonQtShell_QSvgGenerator::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -415,7 +415,7 @@ int PythonQtShell_QSvgGenerator::metric(QPaintDevice::PaintDeviceMetric metric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -448,7 +448,7 @@ QPaintEngine* PythonQtShell_QSvgGenerator::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -481,7 +481,7 @@ QPaintDevice* PythonQtShell_QSvgGenerator::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -514,7 +514,7 @@ QPainter* PythonQtShell_QSvgGenerator::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -637,7 +637,7 @@ void PythonQtShell_QSvgRenderer::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -659,7 +659,7 @@ void PythonQtShell_QSvgRenderer::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -681,7 +681,7 @@ bool PythonQtShell_QSvgRenderer::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -714,7 +714,7 @@ bool PythonQtShell_QSvgRenderer::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -747,7 +747,7 @@ void PythonQtShell_QSvgRenderer::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -879,7 +879,7 @@ void PythonQtShell_QSvgWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -901,7 +901,7 @@ void PythonQtShell_QSvgWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -923,7 +923,7 @@ void PythonQtShell_QSvgWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -945,7 +945,7 @@ void PythonQtShell_QSvgWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -967,7 +967,7 @@ void PythonQtShell_QSvgWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -989,7 +989,7 @@ void PythonQtShell_QSvgWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1011,7 +1011,7 @@ int PythonQtShell_QSvgWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1044,7 +1044,7 @@ void PythonQtShell_QSvgWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1066,7 +1066,7 @@ void PythonQtShell_QSvgWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1088,7 +1088,7 @@ void PythonQtShell_QSvgWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1110,7 +1110,7 @@ void PythonQtShell_QSvgWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1132,7 +1132,7 @@ void PythonQtShell_QSvgWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1154,7 +1154,7 @@ bool PythonQtShell_QSvgWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1187,7 +1187,7 @@ bool PythonQtShell_QSvgWidget::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1220,7 +1220,7 @@ void PythonQtShell_QSvgWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1242,7 +1242,7 @@ bool PythonQtShell_QSvgWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1275,7 +1275,7 @@ void PythonQtShell_QSvgWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1297,7 +1297,7 @@ bool PythonQtShell_QSvgWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1330,7 +1330,7 @@ int PythonQtShell_QSvgWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1363,7 +1363,7 @@ void PythonQtShell_QSvgWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1385,7 +1385,7 @@ void PythonQtShell_QSvgWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1407,7 +1407,7 @@ void PythonQtShell_QSvgWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1429,7 +1429,7 @@ QVariant PythonQtShell_QSvgWidget::inputMethodQuery(Qt::InputMethodQuery arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1462,7 +1462,7 @@ void PythonQtShell_QSvgWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1484,7 +1484,7 @@ void PythonQtShell_QSvgWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1506,7 +1506,7 @@ void PythonQtShell_QSvgWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1528,7 +1528,7 @@ int PythonQtShell_QSvgWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1561,7 +1561,7 @@ QSize PythonQtShell_QSvgWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1594,7 +1594,7 @@ void PythonQtShell_QSvgWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1616,7 +1616,7 @@ void PythonQtShell_QSvgWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1638,7 +1638,7 @@ void PythonQtShell_QSvgWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1660,7 +1660,7 @@ void PythonQtShell_QSvgWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1682,7 +1682,7 @@ void PythonQtShell_QSvgWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1704,7 +1704,7 @@ bool PythonQtShell_QSvgWidget::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1737,7 +1737,7 @@ QPaintEngine* PythonQtShell_QSvgWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1770,7 +1770,7 @@ void PythonQtShell_QSvgWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1792,7 +1792,7 @@ QPaintDevice* PythonQtShell_QSvgWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1825,7 +1825,7 @@ void PythonQtShell_QSvgWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1847,7 +1847,7 @@ void PythonQtShell_QSvgWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1869,7 +1869,7 @@ QPainter* PythonQtShell_QSvgWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1902,7 +1902,7 @@ void PythonQtShell_QSvgWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1924,7 +1924,7 @@ QSize PythonQtShell_QSvgWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1957,7 +1957,7 @@ void PythonQtShell_QSvgWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1979,7 +1979,7 @@ void PythonQtShell_QSvgWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2001,7 +2001,7 @@ void PythonQtShell_QSvgWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp b/generated_cpp_511/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp index 112489bcc..a0e419f12 100644 --- a/generated_cpp_511/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp +++ b/generated_cpp_511/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp @@ -25,7 +25,7 @@ void PythonQtShell_QUiLoader::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -47,7 +47,7 @@ QAction* PythonQtShell_QUiLoader::createAction(QObject* parent0, const QString { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -80,7 +80,7 @@ QActionGroup* PythonQtShell_QUiLoader::createActionGroup(QObject* parent0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createActionGroup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -113,7 +113,7 @@ QLayout* PythonQtShell_QUiLoader::createLayout(const QString& className0, QObj { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -146,7 +146,7 @@ QWidget* PythonQtShell_QUiLoader::createWidget(const QString& className0, QWid { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -179,7 +179,7 @@ void PythonQtShell_QUiLoader::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -201,7 +201,7 @@ bool PythonQtShell_QUiLoader::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -234,7 +234,7 @@ bool PythonQtShell_QUiLoader::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -267,7 +267,7 @@ void PythonQtShell_QUiLoader::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp b/generated_cpp_511/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp index 00a408cb3..d2abb0e4f 100644 --- a/generated_cpp_511/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp +++ b/generated_cpp_511/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp @@ -1161,7 +1161,7 @@ bool PythonQtShell_QXmlContentHandler::characters(const QString& ch0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1194,7 +1194,7 @@ bool PythonQtShell_QXmlContentHandler::endDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1227,7 +1227,7 @@ bool PythonQtShell_QXmlContentHandler::endElement(const QString& namespaceURI0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1260,7 +1260,7 @@ bool PythonQtShell_QXmlContentHandler::endPrefixMapping(const QString& prefix0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endPrefixMapping"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1293,7 +1293,7 @@ QString PythonQtShell_QXmlContentHandler::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1326,7 +1326,7 @@ bool PythonQtShell_QXmlContentHandler::ignorableWhitespace(const QString& ch0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ignorableWhitespace"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1359,7 +1359,7 @@ bool PythonQtShell_QXmlContentHandler::processingInstruction(const QString& ta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1392,7 +1392,7 @@ void PythonQtShell_QXmlContentHandler::setDocumentLocator(QXmlLocator* locator0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDocumentLocator"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1414,7 +1414,7 @@ bool PythonQtShell_QXmlContentHandler::skippedEntity(const QString& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("skippedEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1447,7 +1447,7 @@ bool PythonQtShell_QXmlContentHandler::startDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1480,7 +1480,7 @@ bool PythonQtShell_QXmlContentHandler::startElement(const QString& namespaceUR { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1513,7 +1513,7 @@ bool PythonQtShell_QXmlContentHandler::startPrefixMapping(const QString& prefi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startPrefixMapping"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1616,7 +1616,7 @@ QString PythonQtShell_QXmlDTDHandler::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1649,7 +1649,7 @@ bool PythonQtShell_QXmlDTDHandler::notationDecl(const QString& name0, const QS { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("notationDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1682,7 +1682,7 @@ bool PythonQtShell_QXmlDTDHandler::unparsedEntityDecl(const QString& name0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unparsedEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1740,7 +1740,7 @@ bool PythonQtShell_QXmlDeclHandler::attributeDecl(const QString& eName0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("attributeDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1773,7 +1773,7 @@ QString PythonQtShell_QXmlDeclHandler::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1806,7 +1806,7 @@ bool PythonQtShell_QXmlDeclHandler::externalEntityDecl(const QString& name0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("externalEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1839,7 +1839,7 @@ bool PythonQtShell_QXmlDeclHandler::internalEntityDecl(const QString& name0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("internalEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1902,7 +1902,7 @@ bool PythonQtShell_QXmlDefaultHandler::attributeDecl(const QString& eName0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("attributeDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1935,7 +1935,7 @@ bool PythonQtShell_QXmlDefaultHandler::characters(const QString& ch0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1968,7 +1968,7 @@ bool PythonQtShell_QXmlDefaultHandler::comment(const QString& ch0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2001,7 +2001,7 @@ bool PythonQtShell_QXmlDefaultHandler::endCDATA() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endCDATA"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2034,7 +2034,7 @@ bool PythonQtShell_QXmlDefaultHandler::endDTD() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endDTD"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2067,7 +2067,7 @@ bool PythonQtShell_QXmlDefaultHandler::endDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2100,7 +2100,7 @@ bool PythonQtShell_QXmlDefaultHandler::endElement(const QString& namespaceURI0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2133,7 +2133,7 @@ bool PythonQtShell_QXmlDefaultHandler::endEntity(const QString& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2166,7 +2166,7 @@ bool PythonQtShell_QXmlDefaultHandler::endPrefixMapping(const QString& prefix0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endPrefixMapping"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2199,7 +2199,7 @@ bool PythonQtShell_QXmlDefaultHandler::error(const QXmlParseException& excepti { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("error"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2232,7 +2232,7 @@ QString PythonQtShell_QXmlDefaultHandler::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2265,7 +2265,7 @@ bool PythonQtShell_QXmlDefaultHandler::externalEntityDecl(const QString& name0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("externalEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2298,7 +2298,7 @@ bool PythonQtShell_QXmlDefaultHandler::fatalError(const QXmlParseException& ex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fatalError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2331,7 +2331,7 @@ bool PythonQtShell_QXmlDefaultHandler::ignorableWhitespace(const QString& ch0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ignorableWhitespace"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2364,7 +2364,7 @@ bool PythonQtShell_QXmlDefaultHandler::internalEntityDecl(const QString& name0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("internalEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2397,7 +2397,7 @@ bool PythonQtShell_QXmlDefaultHandler::notationDecl(const QString& name0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("notationDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2430,7 +2430,7 @@ bool PythonQtShell_QXmlDefaultHandler::processingInstruction(const QString& ta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2463,7 +2463,7 @@ bool PythonQtShell_QXmlDefaultHandler::resolveEntity(const QString& publicId0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resolveEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2496,7 +2496,7 @@ void PythonQtShell_QXmlDefaultHandler::setDocumentLocator(QXmlLocator* locator0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDocumentLocator"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2518,7 +2518,7 @@ bool PythonQtShell_QXmlDefaultHandler::skippedEntity(const QString& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("skippedEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2551,7 +2551,7 @@ bool PythonQtShell_QXmlDefaultHandler::startCDATA() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startCDATA"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2584,7 +2584,7 @@ bool PythonQtShell_QXmlDefaultHandler::startDTD(const QString& name0, const QS { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDTD"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2617,7 +2617,7 @@ bool PythonQtShell_QXmlDefaultHandler::startDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2650,7 +2650,7 @@ bool PythonQtShell_QXmlDefaultHandler::startElement(const QString& namespaceUR { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2683,7 +2683,7 @@ bool PythonQtShell_QXmlDefaultHandler::startEntity(const QString& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2716,7 +2716,7 @@ bool PythonQtShell_QXmlDefaultHandler::startPrefixMapping(const QString& prefi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startPrefixMapping"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2749,7 +2749,7 @@ bool PythonQtShell_QXmlDefaultHandler::unparsedEntityDecl(const QString& name0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unparsedEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2782,7 +2782,7 @@ bool PythonQtShell_QXmlDefaultHandler::warning(const QXmlParseException& excep { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("warning"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2825,7 +2825,7 @@ QString PythonQtShell_QXmlEntityResolver::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2858,7 +2858,7 @@ bool PythonQtShell_QXmlEntityResolver::resolveEntity(const QString& publicId0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resolveEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2911,7 +2911,7 @@ bool PythonQtShell_QXmlErrorHandler::error(const QXmlParseException& exception { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("error"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2944,7 +2944,7 @@ QString PythonQtShell_QXmlErrorHandler::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2977,7 +2977,7 @@ bool PythonQtShell_QXmlErrorHandler::fatalError(const QXmlParseException& exce { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fatalError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3010,7 +3010,7 @@ bool PythonQtShell_QXmlErrorHandler::warning(const QXmlParseException& excepti { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("warning"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3073,7 +3073,7 @@ QString PythonQtShell_QXmlInputSource::data() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3106,7 +3106,7 @@ void PythonQtShell_QXmlInputSource::fetchData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3128,7 +3128,7 @@ QString PythonQtShell_QXmlInputSource::fromRawData(const QByteArray& data0, bo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fromRawData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3161,7 +3161,7 @@ QChar PythonQtShell_QXmlInputSource::next() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("next"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3194,7 +3194,7 @@ void PythonQtShell_QXmlInputSource::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3216,7 +3216,7 @@ void PythonQtShell_QXmlInputSource::setData(const QByteArray& dat0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3238,7 +3238,7 @@ void PythonQtShell_QXmlInputSource::setData(const QString& dat0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3309,7 +3309,7 @@ bool PythonQtShell_QXmlLexicalHandler::comment(const QString& ch0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3342,7 +3342,7 @@ bool PythonQtShell_QXmlLexicalHandler::endCDATA() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endCDATA"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3375,7 +3375,7 @@ bool PythonQtShell_QXmlLexicalHandler::endDTD() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endDTD"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3408,7 +3408,7 @@ bool PythonQtShell_QXmlLexicalHandler::endEntity(const QString& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3441,7 +3441,7 @@ QString PythonQtShell_QXmlLexicalHandler::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3474,7 +3474,7 @@ bool PythonQtShell_QXmlLexicalHandler::startCDATA() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startCDATA"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3507,7 +3507,7 @@ bool PythonQtShell_QXmlLexicalHandler::startDTD(const QString& name0, const QS { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDTD"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3540,7 +3540,7 @@ bool PythonQtShell_QXmlLexicalHandler::startEntity(const QString& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3623,7 +3623,7 @@ int PythonQtShell_QXmlLocator::columnNumber() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnNumber"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3656,7 +3656,7 @@ int PythonQtShell_QXmlLocator::lineNumber() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("lineNumber"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3744,7 +3744,7 @@ QXmlDTDHandler* PythonQtShell_QXmlReader::DTDHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("DTDHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3777,7 +3777,7 @@ QXmlContentHandler* PythonQtShell_QXmlReader::contentHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contentHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3810,7 +3810,7 @@ QXmlDeclHandler* PythonQtShell_QXmlReader::declHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("declHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3843,7 +3843,7 @@ QXmlEntityResolver* PythonQtShell_QXmlReader::entityResolver() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("entityResolver"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3876,7 +3876,7 @@ QXmlErrorHandler* PythonQtShell_QXmlReader::errorHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3909,7 +3909,7 @@ bool PythonQtShell_QXmlReader::feature(const QString& name0, bool* ok1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("feature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3942,7 +3942,7 @@ bool PythonQtShell_QXmlReader::hasFeature(const QString& name0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3975,7 +3975,7 @@ bool PythonQtShell_QXmlReader::hasProperty(const QString& name0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4008,7 +4008,7 @@ QXmlLexicalHandler* PythonQtShell_QXmlReader::lexicalHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("lexicalHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4041,7 +4041,7 @@ bool PythonQtShell_QXmlReader::parse(const QXmlInputSource& input0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4074,7 +4074,7 @@ bool PythonQtShell_QXmlReader::parse(const QXmlInputSource* input0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4107,7 +4107,7 @@ void* PythonQtShell_QXmlReader::property(const QString& name0, bool* ok1) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("property"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4140,7 +4140,7 @@ void PythonQtShell_QXmlReader::setContentHandler(QXmlContentHandler* handler0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setContentHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4162,7 +4162,7 @@ void PythonQtShell_QXmlReader::setDTDHandler(QXmlDTDHandler* handler0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDTDHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4184,7 +4184,7 @@ void PythonQtShell_QXmlReader::setDeclHandler(QXmlDeclHandler* handler0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDeclHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4206,7 +4206,7 @@ void PythonQtShell_QXmlReader::setEntityResolver(QXmlEntityResolver* handler0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEntityResolver"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4228,7 +4228,7 @@ void PythonQtShell_QXmlReader::setErrorHandler(QXmlErrorHandler* handler0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setErrorHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4250,7 +4250,7 @@ void PythonQtShell_QXmlReader::setFeature(const QString& name0, bool value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4272,7 +4272,7 @@ void PythonQtShell_QXmlReader::setLexicalHandler(QXmlLexicalHandler* handler0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setLexicalHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4294,7 +4294,7 @@ void PythonQtShell_QXmlReader::setProperty(const QString& name0, void* value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4426,7 +4426,7 @@ QXmlDTDHandler* PythonQtShell_QXmlSimpleReader::DTDHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("DTDHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4459,7 +4459,7 @@ QXmlContentHandler* PythonQtShell_QXmlSimpleReader::contentHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contentHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4492,7 +4492,7 @@ QXmlDeclHandler* PythonQtShell_QXmlSimpleReader::declHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("declHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4525,7 +4525,7 @@ QXmlEntityResolver* PythonQtShell_QXmlSimpleReader::entityResolver() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("entityResolver"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4558,7 +4558,7 @@ QXmlErrorHandler* PythonQtShell_QXmlSimpleReader::errorHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4591,7 +4591,7 @@ bool PythonQtShell_QXmlSimpleReader::feature(const QString& name0, bool* ok1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("feature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4624,7 +4624,7 @@ bool PythonQtShell_QXmlSimpleReader::hasFeature(const QString& name0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4657,7 +4657,7 @@ bool PythonQtShell_QXmlSimpleReader::hasProperty(const QString& name0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4690,7 +4690,7 @@ QXmlLexicalHandler* PythonQtShell_QXmlSimpleReader::lexicalHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("lexicalHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4723,7 +4723,7 @@ bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource& input0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4756,7 +4756,7 @@ bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource* input0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4789,7 +4789,7 @@ bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource* input0, bool { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4822,7 +4822,7 @@ bool PythonQtShell_QXmlSimpleReader::parseContinue() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parseContinue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4855,7 +4855,7 @@ void* PythonQtShell_QXmlSimpleReader::property(const QString& name0, bool* ok { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("property"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4888,7 +4888,7 @@ void PythonQtShell_QXmlSimpleReader::setContentHandler(QXmlContentHandler* hand { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setContentHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4910,7 +4910,7 @@ void PythonQtShell_QXmlSimpleReader::setDTDHandler(QXmlDTDHandler* handler0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDTDHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4932,7 +4932,7 @@ void PythonQtShell_QXmlSimpleReader::setDeclHandler(QXmlDeclHandler* handler0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDeclHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4954,7 +4954,7 @@ void PythonQtShell_QXmlSimpleReader::setEntityResolver(QXmlEntityResolver* hand { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEntityResolver"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4976,7 +4976,7 @@ void PythonQtShell_QXmlSimpleReader::setErrorHandler(QXmlErrorHandler* handler0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setErrorHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4998,7 +4998,7 @@ void PythonQtShell_QXmlSimpleReader::setFeature(const QString& name0, bool val { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5020,7 +5020,7 @@ void PythonQtShell_QXmlSimpleReader::setLexicalHandler(QXmlLexicalHandler* hand { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setLexicalHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5042,7 +5042,7 @@ void PythonQtShell_QXmlSimpleReader::setProperty(const QString& name0, void* v { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_511/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp b/generated_cpp_511/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp index ae6773d78..9476670b6 100644 --- a/generated_cpp_511/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp +++ b/generated_cpp_511/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp @@ -33,7 +33,7 @@ void PythonQtShell_QAbstractMessageHandler::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -55,7 +55,7 @@ void PythonQtShell_QAbstractMessageHandler::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -77,7 +77,7 @@ bool PythonQtShell_QAbstractMessageHandler::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -110,7 +110,7 @@ bool PythonQtShell_QAbstractMessageHandler::eventFilter(QObject* watched0, QEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -143,7 +143,7 @@ void PythonQtShell_QAbstractMessageHandler::handleMessage(QtMsgType type0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("handleMessage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -165,7 +165,7 @@ void PythonQtShell_QAbstractMessageHandler::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -220,7 +220,7 @@ void PythonQtShell_QAbstractUriResolver::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -242,7 +242,7 @@ void PythonQtShell_QAbstractUriResolver::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -264,7 +264,7 @@ bool PythonQtShell_QAbstractUriResolver::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -297,7 +297,7 @@ bool PythonQtShell_QAbstractUriResolver::eventFilter(QObject* watched0, QEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -330,7 +330,7 @@ QUrl PythonQtShell_QAbstractUriResolver::resolve(const QUrl& relative0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resolve"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -363,7 +363,7 @@ void PythonQtShell_QAbstractUriResolver::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -413,7 +413,7 @@ QVector PythonQtShell_QAbstractXmlNodeModel::attributes(co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("attributes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -446,7 +446,7 @@ QUrl PythonQtShell_QAbstractXmlNodeModel::baseUri(const QXmlNodeModelIndex& ni { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("baseUri"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -479,7 +479,7 @@ QXmlNodeModelIndex::DocumentOrder PythonQtShell_QAbstractXmlNodeModel::compareO { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("compareOrder"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -512,7 +512,7 @@ QUrl PythonQtShell_QAbstractXmlNodeModel::documentUri(const QXmlNodeModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("documentUri"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -545,7 +545,7 @@ QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::elementById(const QXmlN { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("elementById"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -578,7 +578,7 @@ bool PythonQtShell_QAbstractXmlNodeModel::isDeepEqual(const QXmlNodeModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isDeepEqual"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -611,7 +611,7 @@ QXmlNodeModelIndex::NodeKind PythonQtShell_QAbstractXmlNodeModel::kind(const QX { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("kind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -644,7 +644,7 @@ QXmlName PythonQtShell_QAbstractXmlNodeModel::name(const QXmlNodeModelIndex& n { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("name"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -677,7 +677,7 @@ QVector PythonQtShell_QAbstractXmlNodeModel::namespaceBindings(const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("namespaceBindings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -710,7 +710,7 @@ short PythonQtShell_QAbstractXmlNodeModel::namespaceForPrefix(const QXmlNodeMod { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("namespaceForPrefix"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -743,7 +743,7 @@ QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::nextFromSimpleAxis(QAbs { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextFromSimpleAxis"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -776,7 +776,7 @@ QVector PythonQtShell_QAbstractXmlNodeModel::nodesByIdref( { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nodesByIdref"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -809,7 +809,7 @@ QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::root(const QXmlNodeMode { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("root"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -842,7 +842,7 @@ QString PythonQtShell_QAbstractXmlNodeModel::stringValue(const QXmlNodeModelInd { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stringValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -875,7 +875,7 @@ QVariant PythonQtShell_QAbstractXmlNodeModel::typedValue(const QXmlNodeModelInd { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("typedValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1013,7 +1013,7 @@ void PythonQtShell_QAbstractXmlReceiver::atomicValue(const QVariant& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atomicValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1035,7 +1035,7 @@ void PythonQtShell_QAbstractXmlReceiver::attribute(const QXmlName& name0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("attribute"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1057,7 +1057,7 @@ void PythonQtShell_QAbstractXmlReceiver::characters(const QStringRef& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1079,7 +1079,7 @@ void PythonQtShell_QAbstractXmlReceiver::comment(const QString& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1101,7 +1101,7 @@ void PythonQtShell_QAbstractXmlReceiver::endDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1123,7 +1123,7 @@ void PythonQtShell_QAbstractXmlReceiver::endElement() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1145,7 +1145,7 @@ void PythonQtShell_QAbstractXmlReceiver::endOfSequence() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1167,7 +1167,7 @@ void PythonQtShell_QAbstractXmlReceiver::namespaceBinding(const QXmlName& name0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("namespaceBinding"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1189,7 +1189,7 @@ void PythonQtShell_QAbstractXmlReceiver::processingInstruction(const QXmlName& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1211,7 +1211,7 @@ void PythonQtShell_QAbstractXmlReceiver::startDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1233,7 +1233,7 @@ void PythonQtShell_QAbstractXmlReceiver::startElement(const QXmlName& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1255,7 +1255,7 @@ void PythonQtShell_QAbstractXmlReceiver::startOfSequence() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1277,7 +1277,7 @@ void PythonQtShell_QAbstractXmlReceiver::whitespaceOnly(const QStringRef& value { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("whitespaceOnly"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1378,7 +1378,7 @@ QVector PythonQtShell_QSimpleXmlNodeModel::attributes(cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("attributes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1411,7 +1411,7 @@ QUrl PythonQtShell_QSimpleXmlNodeModel::baseUri(const QXmlNodeModelIndex& node { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("baseUri"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1444,7 +1444,7 @@ QXmlNodeModelIndex::DocumentOrder PythonQtShell_QSimpleXmlNodeModel::compareOrd { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("compareOrder"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1477,7 +1477,7 @@ QUrl PythonQtShell_QSimpleXmlNodeModel::documentUri(const QXmlNodeModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("documentUri"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1510,7 +1510,7 @@ QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::elementById(const QXmlNam { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("elementById"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1543,7 +1543,7 @@ bool PythonQtShell_QSimpleXmlNodeModel::isDeepEqual(const QXmlNodeModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isDeepEqual"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1576,7 +1576,7 @@ QXmlNodeModelIndex::NodeKind PythonQtShell_QSimpleXmlNodeModel::kind(const QXml { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("kind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1609,7 +1609,7 @@ QXmlName PythonQtShell_QSimpleXmlNodeModel::name(const QXmlNodeModelIndex& ni0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("name"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1642,7 +1642,7 @@ QVector PythonQtShell_QSimpleXmlNodeModel::namespaceBindings(const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("namespaceBindings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1675,7 +1675,7 @@ short PythonQtShell_QSimpleXmlNodeModel::namespaceForPrefix(const QXmlNodeModel { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("namespaceForPrefix"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1708,7 +1708,7 @@ QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::nextFromSimpleAxis(QAbstr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextFromSimpleAxis"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1741,7 +1741,7 @@ QVector PythonQtShell_QSimpleXmlNodeModel::nodesByIdref(co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nodesByIdref"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1774,7 +1774,7 @@ QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::root(const QXmlNodeModelI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("root"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1807,7 +1807,7 @@ QString PythonQtShell_QSimpleXmlNodeModel::stringValue(const QXmlNodeModelIndex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stringValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1840,7 +1840,7 @@ QVariant PythonQtShell_QSimpleXmlNodeModel::typedValue(const QXmlNodeModelIndex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("typedValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1954,7 +1954,7 @@ void PythonQtShell_QXmlFormatter::atomicValue(const QVariant& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atomicValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1976,7 +1976,7 @@ void PythonQtShell_QXmlFormatter::attribute(const QXmlName& name0, const QStrin { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("attribute"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1998,7 +1998,7 @@ void PythonQtShell_QXmlFormatter::characters(const QStringRef& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2020,7 +2020,7 @@ void PythonQtShell_QXmlFormatter::comment(const QString& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2042,7 +2042,7 @@ void PythonQtShell_QXmlFormatter::endDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2064,7 +2064,7 @@ void PythonQtShell_QXmlFormatter::endElement() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2086,7 +2086,7 @@ void PythonQtShell_QXmlFormatter::endOfSequence() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2108,7 +2108,7 @@ void PythonQtShell_QXmlFormatter::namespaceBinding(const QXmlName& nb0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("namespaceBinding"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2130,7 +2130,7 @@ void PythonQtShell_QXmlFormatter::processingInstruction(const QXmlName& name0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2152,7 +2152,7 @@ void PythonQtShell_QXmlFormatter::startDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2174,7 +2174,7 @@ void PythonQtShell_QXmlFormatter::startElement(const QXmlName& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2196,7 +2196,7 @@ void PythonQtShell_QXmlFormatter::startOfSequence() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2218,7 +2218,7 @@ void PythonQtShell_QXmlFormatter::whitespaceOnly(const QStringRef& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("whitespaceOnly"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2740,7 +2740,7 @@ void PythonQtShell_QXmlSerializer::atomicValue(const QVariant& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atomicValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2762,7 +2762,7 @@ void PythonQtShell_QXmlSerializer::attribute(const QXmlName& name0, const QStri { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("attribute"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2784,7 +2784,7 @@ void PythonQtShell_QXmlSerializer::characters(const QStringRef& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2806,7 +2806,7 @@ void PythonQtShell_QXmlSerializer::comment(const QString& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2828,7 +2828,7 @@ void PythonQtShell_QXmlSerializer::endDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2850,7 +2850,7 @@ void PythonQtShell_QXmlSerializer::endElement() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2872,7 +2872,7 @@ void PythonQtShell_QXmlSerializer::endOfSequence() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2894,7 +2894,7 @@ void PythonQtShell_QXmlSerializer::namespaceBinding(const QXmlName& nb0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("namespaceBinding"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2916,7 +2916,7 @@ void PythonQtShell_QXmlSerializer::processingInstruction(const QXmlName& name0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2938,7 +2938,7 @@ void PythonQtShell_QXmlSerializer::startDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2960,7 +2960,7 @@ void PythonQtShell_QXmlSerializer::startElement(const QXmlName& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2982,7 +2982,7 @@ void PythonQtShell_QXmlSerializer::startOfSequence() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3004,7 +3004,7 @@ void PythonQtShell_QXmlSerializer::whitespaceOnly(const QStringRef& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("whitespaceOnly"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_core/com_trolltech_qt_core0.cpp b/generated_cpp_515/com_trolltech_qt_core/com_trolltech_qt_core0.cpp index 63bc31f0b..bde2aeeb0 100644 --- a/generated_cpp_515/com_trolltech_qt_core/com_trolltech_qt_core0.cpp +++ b/generated_cpp_515/com_trolltech_qt_core/com_trolltech_qt_core0.cpp @@ -54,7 +54,7 @@ void PythonQtShell_QAbstractAnimation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -76,7 +76,7 @@ void PythonQtShell_QAbstractAnimation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -98,7 +98,7 @@ int PythonQtShell_QAbstractAnimation::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -131,7 +131,7 @@ bool PythonQtShell_QAbstractAnimation::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -164,7 +164,7 @@ bool PythonQtShell_QAbstractAnimation::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -197,7 +197,7 @@ void PythonQtShell_QAbstractAnimation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -219,7 +219,7 @@ void PythonQtShell_QAbstractAnimation::updateCurrentTime(int currentTime0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -241,7 +241,7 @@ void PythonQtShell_QAbstractAnimation::updateDirection(QAbstractAnimation::Direc { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -263,7 +263,7 @@ void PythonQtShell_QAbstractAnimation::updateState(QAbstractAnimation::State ne { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -378,7 +378,7 @@ QModelIndex PythonQtShell_QAbstractItemModel::buddy(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -411,7 +411,7 @@ bool PythonQtShell_QAbstractItemModel::canDropMimeData(const QMimeData* data0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -444,7 +444,7 @@ bool PythonQtShell_QAbstractItemModel::canFetchMore(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -477,7 +477,7 @@ void PythonQtShell_QAbstractItemModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -499,7 +499,7 @@ int PythonQtShell_QAbstractItemModel::columnCount(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -532,7 +532,7 @@ void PythonQtShell_QAbstractItemModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -554,7 +554,7 @@ QVariant PythonQtShell_QAbstractItemModel::data(const QModelIndex& index0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -587,7 +587,7 @@ bool PythonQtShell_QAbstractItemModel::dropMimeData(const QMimeData* data0, Qt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -620,7 +620,7 @@ bool PythonQtShell_QAbstractItemModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -653,7 +653,7 @@ bool PythonQtShell_QAbstractItemModel::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -686,7 +686,7 @@ void PythonQtShell_QAbstractItemModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -708,7 +708,7 @@ Qt::ItemFlags PythonQtShell_QAbstractItemModel::flags(const QModelIndex& index { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -741,7 +741,7 @@ bool PythonQtShell_QAbstractItemModel::hasChildren(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -774,7 +774,7 @@ QVariant PythonQtShell_QAbstractItemModel::headerData(int section0, Qt::Orient { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -807,7 +807,7 @@ QModelIndex PythonQtShell_QAbstractItemModel::index(int row0, int column1, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -840,7 +840,7 @@ bool PythonQtShell_QAbstractItemModel::insertColumns(int column0, int count1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -873,7 +873,7 @@ bool PythonQtShell_QAbstractItemModel::insertRows(int row0, int count1, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -906,7 +906,7 @@ QMap PythonQtShell_QAbstractItemModel::itemData(const QModelIn { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -939,7 +939,7 @@ QList PythonQtShell_QAbstractItemModel::match(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -972,7 +972,7 @@ QMimeData* PythonQtShell_QAbstractItemModel::mimeData(const QList { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1005,7 +1005,7 @@ QStringList PythonQtShell_QAbstractItemModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1038,7 +1038,7 @@ bool PythonQtShell_QAbstractItemModel::moveColumns(const QModelIndex& sourcePa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1071,7 +1071,7 @@ bool PythonQtShell_QAbstractItemModel::moveRows(const QModelIndex& sourceParen { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1104,7 +1104,7 @@ QModelIndex PythonQtShell_QAbstractItemModel::parent(const QModelIndex& child0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1137,7 +1137,7 @@ bool PythonQtShell_QAbstractItemModel::removeColumns(int column0, int count1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1170,7 +1170,7 @@ bool PythonQtShell_QAbstractItemModel::removeRows(int row0, int count1, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1203,7 +1203,7 @@ void PythonQtShell_QAbstractItemModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1225,7 +1225,7 @@ QHash PythonQtShell_QAbstractItemModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1258,7 +1258,7 @@ int PythonQtShell_QAbstractItemModel::rowCount(const QModelIndex& parent0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1291,7 +1291,7 @@ bool PythonQtShell_QAbstractItemModel::setData(const QModelIndex& index0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1324,7 +1324,7 @@ bool PythonQtShell_QAbstractItemModel::setHeaderData(int section0, Qt::Orienta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1357,7 +1357,7 @@ bool PythonQtShell_QAbstractItemModel::setItemData(const QModelIndex& index0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1390,7 +1390,7 @@ QModelIndex PythonQtShell_QAbstractItemModel::sibling(int row0, int column1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1423,7 +1423,7 @@ void PythonQtShell_QAbstractItemModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1445,7 +1445,7 @@ QSize PythonQtShell_QAbstractItemModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1478,7 +1478,7 @@ bool PythonQtShell_QAbstractItemModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1511,7 +1511,7 @@ Qt::DropActions PythonQtShell_QAbstractItemModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1544,7 +1544,7 @@ Qt::DropActions PythonQtShell_QAbstractItemModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1577,7 +1577,7 @@ void PythonQtShell_QAbstractItemModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1922,7 +1922,7 @@ QModelIndex PythonQtShell_QAbstractListModel::buddy(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1955,7 +1955,7 @@ bool PythonQtShell_QAbstractListModel::canDropMimeData(const QMimeData* data0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1988,7 +1988,7 @@ bool PythonQtShell_QAbstractListModel::canFetchMore(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2021,7 +2021,7 @@ void PythonQtShell_QAbstractListModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2043,7 +2043,7 @@ void PythonQtShell_QAbstractListModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2065,7 +2065,7 @@ QVariant PythonQtShell_QAbstractListModel::data(const QModelIndex& index0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2098,7 +2098,7 @@ bool PythonQtShell_QAbstractListModel::dropMimeData(const QMimeData* data0, Qt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2131,7 +2131,7 @@ bool PythonQtShell_QAbstractListModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2164,7 +2164,7 @@ bool PythonQtShell_QAbstractListModel::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2197,7 +2197,7 @@ void PythonQtShell_QAbstractListModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2219,7 +2219,7 @@ Qt::ItemFlags PythonQtShell_QAbstractListModel::flags(const QModelIndex& index { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2252,7 +2252,7 @@ QVariant PythonQtShell_QAbstractListModel::headerData(int section0, Qt::Orient { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2285,7 +2285,7 @@ QModelIndex PythonQtShell_QAbstractListModel::index(int row0, int column1, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2318,7 +2318,7 @@ bool PythonQtShell_QAbstractListModel::insertColumns(int column0, int count1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2351,7 +2351,7 @@ bool PythonQtShell_QAbstractListModel::insertRows(int row0, int count1, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2384,7 +2384,7 @@ QMap PythonQtShell_QAbstractListModel::itemData(const QModelIn { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2417,7 +2417,7 @@ QList PythonQtShell_QAbstractListModel::match(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2450,7 +2450,7 @@ QMimeData* PythonQtShell_QAbstractListModel::mimeData(const QList { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2483,7 +2483,7 @@ QStringList PythonQtShell_QAbstractListModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2516,7 +2516,7 @@ bool PythonQtShell_QAbstractListModel::moveColumns(const QModelIndex& sourcePa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2549,7 +2549,7 @@ bool PythonQtShell_QAbstractListModel::moveRows(const QModelIndex& sourceParen { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2582,7 +2582,7 @@ bool PythonQtShell_QAbstractListModel::removeColumns(int column0, int count1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2615,7 +2615,7 @@ bool PythonQtShell_QAbstractListModel::removeRows(int row0, int count1, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2648,7 +2648,7 @@ void PythonQtShell_QAbstractListModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2670,7 +2670,7 @@ QHash PythonQtShell_QAbstractListModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2703,7 +2703,7 @@ int PythonQtShell_QAbstractListModel::rowCount(const QModelIndex& parent0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2736,7 +2736,7 @@ bool PythonQtShell_QAbstractListModel::setData(const QModelIndex& index0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2769,7 +2769,7 @@ bool PythonQtShell_QAbstractListModel::setHeaderData(int section0, Qt::Orienta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2802,7 +2802,7 @@ bool PythonQtShell_QAbstractListModel::setItemData(const QModelIndex& index0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2835,7 +2835,7 @@ QModelIndex PythonQtShell_QAbstractListModel::sibling(int row0, int column1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2868,7 +2868,7 @@ void PythonQtShell_QAbstractListModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2890,7 +2890,7 @@ QSize PythonQtShell_QAbstractListModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2923,7 +2923,7 @@ bool PythonQtShell_QAbstractListModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2956,7 +2956,7 @@ Qt::DropActions PythonQtShell_QAbstractListModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2989,7 +2989,7 @@ Qt::DropActions PythonQtShell_QAbstractListModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3022,7 +3022,7 @@ void PythonQtShell_QAbstractListModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3067,7 +3067,7 @@ void PythonQtShell_QAbstractState::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3089,7 +3089,7 @@ void PythonQtShell_QAbstractState::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3111,7 +3111,7 @@ bool PythonQtShell_QAbstractState::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3144,7 +3144,7 @@ bool PythonQtShell_QAbstractState::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3177,7 +3177,7 @@ void PythonQtShell_QAbstractState::onEntry(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3199,7 +3199,7 @@ void PythonQtShell_QAbstractState::onExit(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3221,7 +3221,7 @@ void PythonQtShell_QAbstractState::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3291,7 +3291,7 @@ void PythonQtShell_QAbstractTransition::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3313,7 +3313,7 @@ void PythonQtShell_QAbstractTransition::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3335,7 +3335,7 @@ bool PythonQtShell_QAbstractTransition::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3368,7 +3368,7 @@ bool PythonQtShell_QAbstractTransition::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3401,7 +3401,7 @@ bool PythonQtShell_QAbstractTransition::eventTest(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3434,7 +3434,7 @@ void PythonQtShell_QAbstractTransition::onTransition(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3456,7 +3456,7 @@ void PythonQtShell_QAbstractTransition::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3566,7 +3566,7 @@ void PythonQtShell_QAnimationGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3588,7 +3588,7 @@ void PythonQtShell_QAnimationGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3610,7 +3610,7 @@ int PythonQtShell_QAnimationGroup::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3643,7 +3643,7 @@ bool PythonQtShell_QAnimationGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3676,7 +3676,7 @@ bool PythonQtShell_QAnimationGroup::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3709,7 +3709,7 @@ void PythonQtShell_QAnimationGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3731,7 +3731,7 @@ void PythonQtShell_QAnimationGroup::updateCurrentTime(int currentTime0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3753,7 +3753,7 @@ void PythonQtShell_QAnimationGroup::updateDirection(QAbstractAnimation::Directio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3775,7 +3775,7 @@ void PythonQtShell_QAnimationGroup::updateState(QAbstractAnimation::State newSt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3956,7 +3956,7 @@ bool PythonQtShell_QBuffer::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3989,7 +3989,7 @@ qint64 PythonQtShell_QBuffer::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4022,7 +4022,7 @@ qint64 PythonQtShell_QBuffer::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4055,7 +4055,7 @@ bool PythonQtShell_QBuffer::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4088,7 +4088,7 @@ void PythonQtShell_QBuffer::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4110,7 +4110,7 @@ void PythonQtShell_QBuffer::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4132,7 +4132,7 @@ void PythonQtShell_QBuffer::connectNotify(const QMetaMethod& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectNotify"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4154,7 +4154,7 @@ void PythonQtShell_QBuffer::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4176,7 +4176,7 @@ void PythonQtShell_QBuffer::disconnectNotify(const QMetaMethod& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("disconnectNotify"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4198,7 +4198,7 @@ bool PythonQtShell_QBuffer::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4231,7 +4231,7 @@ bool PythonQtShell_QBuffer::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4264,7 +4264,7 @@ bool PythonQtShell_QBuffer::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4297,7 +4297,7 @@ bool PythonQtShell_QBuffer::open(QIODevice::OpenMode openMode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4330,7 +4330,7 @@ qint64 PythonQtShell_QBuffer::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4363,7 +4363,7 @@ qint64 PythonQtShell_QBuffer::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4396,7 +4396,7 @@ qint64 PythonQtShell_QBuffer::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4429,7 +4429,7 @@ bool PythonQtShell_QBuffer::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4462,7 +4462,7 @@ bool PythonQtShell_QBuffer::seek(qint64 off0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4495,7 +4495,7 @@ qint64 PythonQtShell_QBuffer::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4528,7 +4528,7 @@ void PythonQtShell_QBuffer::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4550,7 +4550,7 @@ bool PythonQtShell_QBuffer::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4583,7 +4583,7 @@ bool PythonQtShell_QBuffer::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4616,7 +4616,7 @@ qint64 PythonQtShell_QBuffer::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_core/com_trolltech_qt_core1.cpp b/generated_cpp_515/com_trolltech_qt_core/com_trolltech_qt_core1.cpp index a26bc6daa..3709dad88 100644 --- a/generated_cpp_515/com_trolltech_qt_core/com_trolltech_qt_core1.cpp +++ b/generated_cpp_515/com_trolltech_qt_core/com_trolltech_qt_core1.cpp @@ -704,7 +704,7 @@ void PythonQtShell_QEventLoop::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -726,7 +726,7 @@ void PythonQtShell_QEventLoop::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -748,7 +748,7 @@ bool PythonQtShell_QEventLoop::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -781,7 +781,7 @@ bool PythonQtShell_QEventLoop::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -814,7 +814,7 @@ void PythonQtShell_QEventLoop::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -889,7 +889,7 @@ void PythonQtShell_QEventTransition::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -911,7 +911,7 @@ void PythonQtShell_QEventTransition::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -933,7 +933,7 @@ bool PythonQtShell_QEventTransition::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -966,7 +966,7 @@ bool PythonQtShell_QEventTransition::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -999,7 +999,7 @@ bool PythonQtShell_QEventTransition::eventTest(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1032,7 +1032,7 @@ void PythonQtShell_QEventTransition::onTransition(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1054,7 +1054,7 @@ void PythonQtShell_QEventTransition::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1123,7 +1123,7 @@ QStringList PythonQtShell_QFactoryInterface::keys() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keys"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1171,7 +1171,7 @@ bool PythonQtShell_QFile::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1204,7 +1204,7 @@ qint64 PythonQtShell_QFile::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1237,7 +1237,7 @@ qint64 PythonQtShell_QFile::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1270,7 +1270,7 @@ bool PythonQtShell_QFile::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1303,7 +1303,7 @@ void PythonQtShell_QFile::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1325,7 +1325,7 @@ void PythonQtShell_QFile::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1347,7 +1347,7 @@ void PythonQtShell_QFile::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1369,7 +1369,7 @@ bool PythonQtShell_QFile::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1402,7 +1402,7 @@ bool PythonQtShell_QFile::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1435,7 +1435,7 @@ QString PythonQtShell_QFile::fileName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fileName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1468,7 +1468,7 @@ bool PythonQtShell_QFile::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1501,7 +1501,7 @@ bool PythonQtShell_QFile::open(QIODevice::OpenMode flags0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1534,7 +1534,7 @@ QFileDevice::Permissions PythonQtShell_QFile::permissions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("permissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1567,7 +1567,7 @@ qint64 PythonQtShell_QFile::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1600,7 +1600,7 @@ qint64 PythonQtShell_QFile::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1633,7 +1633,7 @@ qint64 PythonQtShell_QFile::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1666,7 +1666,7 @@ bool PythonQtShell_QFile::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1699,7 +1699,7 @@ bool PythonQtShell_QFile::resize(qint64 sz0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1732,7 +1732,7 @@ bool PythonQtShell_QFile::seek(qint64 offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1765,7 +1765,7 @@ bool PythonQtShell_QFile::setPermissions(QFileDevice::Permissions permissionSp { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1798,7 +1798,7 @@ qint64 PythonQtShell_QFile::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1831,7 +1831,7 @@ void PythonQtShell_QFile::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1853,7 +1853,7 @@ bool PythonQtShell_QFile::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1886,7 +1886,7 @@ bool PythonQtShell_QFile::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1919,7 +1919,7 @@ qint64 PythonQtShell_QFile::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2092,7 +2092,7 @@ bool PythonQtShell_QFileDevice::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2125,7 +2125,7 @@ qint64 PythonQtShell_QFileDevice::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2158,7 +2158,7 @@ qint64 PythonQtShell_QFileDevice::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2191,7 +2191,7 @@ bool PythonQtShell_QFileDevice::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2224,7 +2224,7 @@ void PythonQtShell_QFileDevice::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2246,7 +2246,7 @@ void PythonQtShell_QFileDevice::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2268,7 +2268,7 @@ void PythonQtShell_QFileDevice::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2290,7 +2290,7 @@ bool PythonQtShell_QFileDevice::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2323,7 +2323,7 @@ bool PythonQtShell_QFileDevice::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2356,7 +2356,7 @@ QString PythonQtShell_QFileDevice::fileName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fileName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2389,7 +2389,7 @@ bool PythonQtShell_QFileDevice::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2422,7 +2422,7 @@ bool PythonQtShell_QFileDevice::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2455,7 +2455,7 @@ QFileDevice::Permissions PythonQtShell_QFileDevice::permissions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("permissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2488,7 +2488,7 @@ qint64 PythonQtShell_QFileDevice::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2521,7 +2521,7 @@ qint64 PythonQtShell_QFileDevice::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2554,7 +2554,7 @@ qint64 PythonQtShell_QFileDevice::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2587,7 +2587,7 @@ bool PythonQtShell_QFileDevice::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2620,7 +2620,7 @@ bool PythonQtShell_QFileDevice::resize(qint64 sz0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2653,7 +2653,7 @@ bool PythonQtShell_QFileDevice::seek(qint64 offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2686,7 +2686,7 @@ bool PythonQtShell_QFileDevice::setPermissions(QFileDevice::Permissions permis { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2719,7 +2719,7 @@ qint64 PythonQtShell_QFileDevice::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2752,7 +2752,7 @@ void PythonQtShell_QFileDevice::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2774,7 +2774,7 @@ bool PythonQtShell_QFileDevice::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2807,7 +2807,7 @@ bool PythonQtShell_QFileDevice::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2840,7 +2840,7 @@ qint64 PythonQtShell_QFileDevice::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3249,7 +3249,7 @@ void PythonQtShell_QFileSelector::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3271,7 +3271,7 @@ void PythonQtShell_QFileSelector::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3293,7 +3293,7 @@ bool PythonQtShell_QFileSelector::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3326,7 +3326,7 @@ bool PythonQtShell_QFileSelector::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3359,7 +3359,7 @@ void PythonQtShell_QFileSelector::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3429,7 +3429,7 @@ void PythonQtShell_QFileSystemWatcher::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3451,7 +3451,7 @@ void PythonQtShell_QFileSystemWatcher::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3473,7 +3473,7 @@ bool PythonQtShell_QFileSystemWatcher::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3506,7 +3506,7 @@ bool PythonQtShell_QFileSystemWatcher::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3539,7 +3539,7 @@ void PythonQtShell_QFileSystemWatcher::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3618,7 +3618,7 @@ void PythonQtShell_QFinalState::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3640,7 +3640,7 @@ void PythonQtShell_QFinalState::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3662,7 +3662,7 @@ bool PythonQtShell_QFinalState::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3695,7 +3695,7 @@ bool PythonQtShell_QFinalState::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3728,7 +3728,7 @@ void PythonQtShell_QFinalState::onEntry(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3750,7 +3750,7 @@ void PythonQtShell_QFinalState::onExit(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3772,7 +3772,7 @@ void PythonQtShell_QFinalState::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3817,7 +3817,7 @@ void PythonQtShell_QHistoryState::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3839,7 +3839,7 @@ void PythonQtShell_QHistoryState::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3861,7 +3861,7 @@ bool PythonQtShell_QHistoryState::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3894,7 +3894,7 @@ bool PythonQtShell_QHistoryState::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3927,7 +3927,7 @@ void PythonQtShell_QHistoryState::onEntry(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3949,7 +3949,7 @@ void PythonQtShell_QHistoryState::onExit(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3971,7 +3971,7 @@ void PythonQtShell_QHistoryState::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4050,7 +4050,7 @@ bool PythonQtShell_QIODevice::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4083,7 +4083,7 @@ qint64 PythonQtShell_QIODevice::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4116,7 +4116,7 @@ qint64 PythonQtShell_QIODevice::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4149,7 +4149,7 @@ bool PythonQtShell_QIODevice::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4182,7 +4182,7 @@ void PythonQtShell_QIODevice::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4204,7 +4204,7 @@ void PythonQtShell_QIODevice::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4226,7 +4226,7 @@ void PythonQtShell_QIODevice::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4248,7 +4248,7 @@ bool PythonQtShell_QIODevice::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4281,7 +4281,7 @@ bool PythonQtShell_QIODevice::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4314,7 +4314,7 @@ bool PythonQtShell_QIODevice::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4347,7 +4347,7 @@ bool PythonQtShell_QIODevice::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4380,7 +4380,7 @@ qint64 PythonQtShell_QIODevice::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4413,7 +4413,7 @@ qint64 PythonQtShell_QIODevice::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4446,7 +4446,7 @@ qint64 PythonQtShell_QIODevice::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4479,7 +4479,7 @@ bool PythonQtShell_QIODevice::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4512,7 +4512,7 @@ bool PythonQtShell_QIODevice::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4545,7 +4545,7 @@ qint64 PythonQtShell_QIODevice::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4578,7 +4578,7 @@ void PythonQtShell_QIODevice::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4600,7 +4600,7 @@ bool PythonQtShell_QIODevice::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4633,7 +4633,7 @@ bool PythonQtShell_QIODevice::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4666,7 +4666,7 @@ qint64 PythonQtShell_QIODevice::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4951,7 +4951,7 @@ QModelIndex PythonQtShell_QIdentityProxyModel::buddy(const QModelIndex& index0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4984,7 +4984,7 @@ bool PythonQtShell_QIdentityProxyModel::canDropMimeData(const QMimeData* data0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5017,7 +5017,7 @@ bool PythonQtShell_QIdentityProxyModel::canFetchMore(const QModelIndex& parent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5050,7 +5050,7 @@ void PythonQtShell_QIdentityProxyModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5072,7 +5072,7 @@ int PythonQtShell_QIdentityProxyModel::columnCount(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5105,7 +5105,7 @@ void PythonQtShell_QIdentityProxyModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5127,7 +5127,7 @@ QVariant PythonQtShell_QIdentityProxyModel::data(const QModelIndex& proxyIndex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5160,7 +5160,7 @@ bool PythonQtShell_QIdentityProxyModel::dropMimeData(const QMimeData* data0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5193,7 +5193,7 @@ bool PythonQtShell_QIdentityProxyModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5226,7 +5226,7 @@ bool PythonQtShell_QIdentityProxyModel::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5259,7 +5259,7 @@ void PythonQtShell_QIdentityProxyModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5281,7 +5281,7 @@ Qt::ItemFlags PythonQtShell_QIdentityProxyModel::flags(const QModelIndex& inde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5314,7 +5314,7 @@ bool PythonQtShell_QIdentityProxyModel::hasChildren(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5347,7 +5347,7 @@ QVariant PythonQtShell_QIdentityProxyModel::headerData(int section0, Qt::Orien { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5380,7 +5380,7 @@ QModelIndex PythonQtShell_QIdentityProxyModel::index(int row0, int column1, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5413,7 +5413,7 @@ bool PythonQtShell_QIdentityProxyModel::insertColumns(int column0, int count1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5446,7 +5446,7 @@ bool PythonQtShell_QIdentityProxyModel::insertRows(int row0, int count1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5479,7 +5479,7 @@ QMap PythonQtShell_QIdentityProxyModel::itemData(const QModelI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5512,7 +5512,7 @@ QModelIndex PythonQtShell_QIdentityProxyModel::mapFromSource(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5545,7 +5545,7 @@ QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionFromSource(const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapSelectionFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5578,7 +5578,7 @@ QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionToSource(const QI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapSelectionToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5611,7 +5611,7 @@ QModelIndex PythonQtShell_QIdentityProxyModel::mapToSource(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5644,7 +5644,7 @@ QList PythonQtShell_QIdentityProxyModel::match(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5677,7 +5677,7 @@ QMimeData* PythonQtShell_QIdentityProxyModel::mimeData(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5710,7 +5710,7 @@ QStringList PythonQtShell_QIdentityProxyModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5743,7 +5743,7 @@ bool PythonQtShell_QIdentityProxyModel::moveColumns(const QModelIndex& sourceP { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5776,7 +5776,7 @@ bool PythonQtShell_QIdentityProxyModel::moveRows(const QModelIndex& sourcePare { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5809,7 +5809,7 @@ QModelIndex PythonQtShell_QIdentityProxyModel::parent(const QModelIndex& child { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5842,7 +5842,7 @@ bool PythonQtShell_QIdentityProxyModel::removeColumns(int column0, int count1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5875,7 +5875,7 @@ bool PythonQtShell_QIdentityProxyModel::removeRows(int row0, int count1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5908,7 +5908,7 @@ void PythonQtShell_QIdentityProxyModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5930,7 +5930,7 @@ QHash PythonQtShell_QIdentityProxyModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5963,7 +5963,7 @@ int PythonQtShell_QIdentityProxyModel::rowCount(const QModelIndex& parent0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5996,7 +5996,7 @@ bool PythonQtShell_QIdentityProxyModel::setData(const QModelIndex& index0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6029,7 +6029,7 @@ bool PythonQtShell_QIdentityProxyModel::setHeaderData(int section0, Qt::Orient { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6062,7 +6062,7 @@ bool PythonQtShell_QIdentityProxyModel::setItemData(const QModelIndex& index0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6095,7 +6095,7 @@ void PythonQtShell_QIdentityProxyModel::setSourceModel(QAbstractItemModel* sour { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSourceModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6117,7 +6117,7 @@ QModelIndex PythonQtShell_QIdentityProxyModel::sibling(int row0, int column1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6150,7 +6150,7 @@ void PythonQtShell_QIdentityProxyModel::sort(int column0, Qt::SortOrder order1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6172,7 +6172,7 @@ QSize PythonQtShell_QIdentityProxyModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6205,7 +6205,7 @@ bool PythonQtShell_QIdentityProxyModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6238,7 +6238,7 @@ Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6271,7 +6271,7 @@ Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6304,7 +6304,7 @@ void PythonQtShell_QIdentityProxyModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6995,7 +6995,7 @@ void PythonQtShell_QLibrary::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7017,7 +7017,7 @@ void PythonQtShell_QLibrary::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7039,7 +7039,7 @@ bool PythonQtShell_QLibrary::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7072,7 +7072,7 @@ bool PythonQtShell_QLibrary::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7105,7 +7105,7 @@ void PythonQtShell_QLibrary::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_core/com_trolltech_qt_core2.cpp b/generated_cpp_515/com_trolltech_qt_core/com_trolltech_qt_core2.cpp index ea829b1bd..4565599a9 100644 --- a/generated_cpp_515/com_trolltech_qt_core/com_trolltech_qt_core2.cpp +++ b/generated_cpp_515/com_trolltech_qt_core/com_trolltech_qt_core2.cpp @@ -622,7 +622,7 @@ void PythonQtShell_QMimeData::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -644,7 +644,7 @@ void PythonQtShell_QMimeData::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -666,7 +666,7 @@ bool PythonQtShell_QMimeData::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -699,7 +699,7 @@ bool PythonQtShell_QMimeData::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -732,7 +732,7 @@ QStringList PythonQtShell_QMimeData::formats() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("formats"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -765,7 +765,7 @@ bool PythonQtShell_QMimeData::hasFormat(const QString& mimetype0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -798,7 +798,7 @@ QVariant PythonQtShell_QMimeData::retrieveData(const QString& mimetype0, QVari { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("retrieveData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -831,7 +831,7 @@ void PythonQtShell_QMimeData::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1307,7 +1307,7 @@ void PythonQtShell_QObject::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1329,7 +1329,7 @@ void PythonQtShell_QObject::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1351,7 +1351,7 @@ bool PythonQtShell_QObject::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1384,7 +1384,7 @@ bool PythonQtShell_QObject::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1417,7 +1417,7 @@ void PythonQtShell_QObject::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1669,7 +1669,7 @@ void PythonQtShell_QParallelAnimationGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1691,7 +1691,7 @@ void PythonQtShell_QParallelAnimationGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1713,7 +1713,7 @@ int PythonQtShell_QParallelAnimationGroup::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1746,7 +1746,7 @@ bool PythonQtShell_QParallelAnimationGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1779,7 +1779,7 @@ bool PythonQtShell_QParallelAnimationGroup::eventFilter(QObject* watched0, QEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1812,7 +1812,7 @@ void PythonQtShell_QParallelAnimationGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1834,7 +1834,7 @@ void PythonQtShell_QParallelAnimationGroup::updateCurrentTime(int currentTime0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1856,7 +1856,7 @@ void PythonQtShell_QParallelAnimationGroup::updateDirection(QAbstractAnimation:: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1878,7 +1878,7 @@ void PythonQtShell_QParallelAnimationGroup::updateState(QAbstractAnimation::Stat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1923,7 +1923,7 @@ void PythonQtShell_QPauseAnimation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1945,7 +1945,7 @@ void PythonQtShell_QPauseAnimation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1967,7 +1967,7 @@ int PythonQtShell_QPauseAnimation::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2000,7 +2000,7 @@ bool PythonQtShell_QPauseAnimation::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2033,7 +2033,7 @@ bool PythonQtShell_QPauseAnimation::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2066,7 +2066,7 @@ void PythonQtShell_QPauseAnimation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2088,7 +2088,7 @@ void PythonQtShell_QPauseAnimation::updateCurrentTime(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2110,7 +2110,7 @@ void PythonQtShell_QPauseAnimation::updateDirection(QAbstractAnimation::Directio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2132,7 +2132,7 @@ void PythonQtShell_QPauseAnimation::updateState(QAbstractAnimation::State newSt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2292,7 +2292,7 @@ bool PythonQtShell_QProcess::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2325,7 +2325,7 @@ qint64 PythonQtShell_QProcess::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2358,7 +2358,7 @@ qint64 PythonQtShell_QProcess::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2391,7 +2391,7 @@ bool PythonQtShell_QProcess::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2424,7 +2424,7 @@ void PythonQtShell_QProcess::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2446,7 +2446,7 @@ void PythonQtShell_QProcess::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2468,7 +2468,7 @@ void PythonQtShell_QProcess::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2490,7 +2490,7 @@ bool PythonQtShell_QProcess::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2523,7 +2523,7 @@ bool PythonQtShell_QProcess::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2556,7 +2556,7 @@ bool PythonQtShell_QProcess::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2589,7 +2589,7 @@ bool PythonQtShell_QProcess::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2622,7 +2622,7 @@ qint64 PythonQtShell_QProcess::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2655,7 +2655,7 @@ qint64 PythonQtShell_QProcess::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2688,7 +2688,7 @@ qint64 PythonQtShell_QProcess::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2721,7 +2721,7 @@ bool PythonQtShell_QProcess::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2754,7 +2754,7 @@ bool PythonQtShell_QProcess::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2787,7 +2787,7 @@ void PythonQtShell_QProcess::setupChildProcess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupChildProcess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2809,7 +2809,7 @@ qint64 PythonQtShell_QProcess::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2842,7 +2842,7 @@ void PythonQtShell_QProcess::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2864,7 +2864,7 @@ bool PythonQtShell_QProcess::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2897,7 +2897,7 @@ bool PythonQtShell_QProcess::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2930,7 +2930,7 @@ qint64 PythonQtShell_QProcess::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3291,7 +3291,7 @@ void PythonQtShell_QPropertyAnimation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3313,7 +3313,7 @@ void PythonQtShell_QPropertyAnimation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3335,7 +3335,7 @@ int PythonQtShell_QPropertyAnimation::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3368,7 +3368,7 @@ bool PythonQtShell_QPropertyAnimation::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3401,7 +3401,7 @@ bool PythonQtShell_QPropertyAnimation::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3434,7 +3434,7 @@ QVariant PythonQtShell_QPropertyAnimation::interpolated(const QVariant& from0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("interpolated"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3467,7 +3467,7 @@ void PythonQtShell_QPropertyAnimation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3489,7 +3489,7 @@ void PythonQtShell_QPropertyAnimation::updateCurrentTime(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3511,7 +3511,7 @@ void PythonQtShell_QPropertyAnimation::updateCurrentValue(const QVariant& value { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3533,7 +3533,7 @@ void PythonQtShell_QPropertyAnimation::updateDirection(QAbstractAnimation::Direc { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3555,7 +3555,7 @@ void PythonQtShell_QPropertyAnimation::updateState(QAbstractAnimation::State ne { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_core/com_trolltech_qt_core3.cpp b/generated_cpp_515/com_trolltech_qt_core/com_trolltech_qt_core3.cpp index 733d1875a..c5e81d11a 100644 --- a/generated_cpp_515/com_trolltech_qt_core/com_trolltech_qt_core3.cpp +++ b/generated_cpp_515/com_trolltech_qt_core/com_trolltech_qt_core3.cpp @@ -47,7 +47,7 @@ void PythonQtShell_QRunnable::run() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("run"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -94,7 +94,7 @@ bool PythonQtShell_QSaveFile::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -127,7 +127,7 @@ qint64 PythonQtShell_QSaveFile::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -160,7 +160,7 @@ qint64 PythonQtShell_QSaveFile::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -193,7 +193,7 @@ bool PythonQtShell_QSaveFile::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -226,7 +226,7 @@ void PythonQtShell_QSaveFile::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -248,7 +248,7 @@ void PythonQtShell_QSaveFile::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -270,7 +270,7 @@ bool PythonQtShell_QSaveFile::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -303,7 +303,7 @@ bool PythonQtShell_QSaveFile::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -336,7 +336,7 @@ QString PythonQtShell_QSaveFile::fileName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fileName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -369,7 +369,7 @@ bool PythonQtShell_QSaveFile::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -402,7 +402,7 @@ bool PythonQtShell_QSaveFile::open(QIODevice::OpenMode flags0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -435,7 +435,7 @@ QFileDevice::Permissions PythonQtShell_QSaveFile::permissions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("permissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -468,7 +468,7 @@ qint64 PythonQtShell_QSaveFile::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -501,7 +501,7 @@ qint64 PythonQtShell_QSaveFile::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -534,7 +534,7 @@ qint64 PythonQtShell_QSaveFile::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -567,7 +567,7 @@ bool PythonQtShell_QSaveFile::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -600,7 +600,7 @@ bool PythonQtShell_QSaveFile::resize(qint64 sz0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -633,7 +633,7 @@ bool PythonQtShell_QSaveFile::seek(qint64 offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -666,7 +666,7 @@ bool PythonQtShell_QSaveFile::setPermissions(QFileDevice::Permissions permissi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -699,7 +699,7 @@ qint64 PythonQtShell_QSaveFile::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -732,7 +732,7 @@ void PythonQtShell_QSaveFile::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -754,7 +754,7 @@ bool PythonQtShell_QSaveFile::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -787,7 +787,7 @@ bool PythonQtShell_QSaveFile::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -820,7 +820,7 @@ qint64 PythonQtShell_QSaveFile::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -940,7 +940,7 @@ void PythonQtShell_QSequentialAnimationGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -962,7 +962,7 @@ void PythonQtShell_QSequentialAnimationGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -984,7 +984,7 @@ int PythonQtShell_QSequentialAnimationGroup::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1017,7 +1017,7 @@ bool PythonQtShell_QSequentialAnimationGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1050,7 +1050,7 @@ bool PythonQtShell_QSequentialAnimationGroup::eventFilter(QObject* watched0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1083,7 +1083,7 @@ void PythonQtShell_QSequentialAnimationGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1105,7 +1105,7 @@ void PythonQtShell_QSequentialAnimationGroup::updateCurrentTime(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1127,7 +1127,7 @@ void PythonQtShell_QSequentialAnimationGroup::updateDirection(QAbstractAnimation { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1149,7 +1149,7 @@ void PythonQtShell_QSequentialAnimationGroup::updateState(QAbstractAnimation::St { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1209,7 +1209,7 @@ void PythonQtShell_QSettings::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1231,7 +1231,7 @@ void PythonQtShell_QSettings::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1253,7 +1253,7 @@ bool PythonQtShell_QSettings::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1286,7 +1286,7 @@ bool PythonQtShell_QSettings::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1319,7 +1319,7 @@ void PythonQtShell_QSettings::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1549,7 +1549,7 @@ void PythonQtShell_QSharedMemory::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1571,7 +1571,7 @@ void PythonQtShell_QSharedMemory::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1593,7 +1593,7 @@ bool PythonQtShell_QSharedMemory::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1626,7 +1626,7 @@ bool PythonQtShell_QSharedMemory::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1659,7 +1659,7 @@ void PythonQtShell_QSharedMemory::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1803,7 +1803,7 @@ void PythonQtShell_QSignalMapper::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1825,7 +1825,7 @@ void PythonQtShell_QSignalMapper::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1847,7 +1847,7 @@ bool PythonQtShell_QSignalMapper::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1880,7 +1880,7 @@ bool PythonQtShell_QSignalMapper::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1913,7 +1913,7 @@ void PythonQtShell_QSignalMapper::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2003,7 +2003,7 @@ void PythonQtShell_QSignalTransition::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2025,7 +2025,7 @@ void PythonQtShell_QSignalTransition::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2047,7 +2047,7 @@ bool PythonQtShell_QSignalTransition::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2080,7 +2080,7 @@ bool PythonQtShell_QSignalTransition::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2113,7 +2113,7 @@ bool PythonQtShell_QSignalTransition::eventTest(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2146,7 +2146,7 @@ void PythonQtShell_QSignalTransition::onTransition(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2168,7 +2168,7 @@ void PythonQtShell_QSignalTransition::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2237,7 +2237,7 @@ void PythonQtShell_QSocketNotifier::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2259,7 +2259,7 @@ void PythonQtShell_QSocketNotifier::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2281,7 +2281,7 @@ bool PythonQtShell_QSocketNotifier::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2314,7 +2314,7 @@ bool PythonQtShell_QSocketNotifier::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2347,7 +2347,7 @@ void PythonQtShell_QSocketNotifier::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2454,7 +2454,7 @@ void PythonQtShell_QState::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2476,7 +2476,7 @@ void PythonQtShell_QState::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2498,7 +2498,7 @@ bool PythonQtShell_QState::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2531,7 +2531,7 @@ bool PythonQtShell_QState::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2564,7 +2564,7 @@ void PythonQtShell_QState::onEntry(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2586,7 +2586,7 @@ void PythonQtShell_QState::onExit(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2608,7 +2608,7 @@ void PythonQtShell_QState::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2717,7 +2717,7 @@ void PythonQtShell_QStateMachine::beginMicrostep(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("beginMicrostep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2739,7 +2739,7 @@ void PythonQtShell_QStateMachine::beginSelectTransitions(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("beginSelectTransitions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2761,7 +2761,7 @@ void PythonQtShell_QStateMachine::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2783,7 +2783,7 @@ void PythonQtShell_QStateMachine::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2805,7 +2805,7 @@ void PythonQtShell_QStateMachine::endMicrostep(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endMicrostep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2827,7 +2827,7 @@ void PythonQtShell_QStateMachine::endSelectTransitions(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endSelectTransitions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2849,7 +2849,7 @@ bool PythonQtShell_QStateMachine::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2882,7 +2882,7 @@ bool PythonQtShell_QStateMachine::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2915,7 +2915,7 @@ void PythonQtShell_QStateMachine::onEntry(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2937,7 +2937,7 @@ void PythonQtShell_QStateMachine::onExit(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2959,7 +2959,7 @@ void PythonQtShell_QStateMachine::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3475,7 +3475,7 @@ bool PythonQtShell_QTemporaryFile::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3508,7 +3508,7 @@ qint64 PythonQtShell_QTemporaryFile::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3541,7 +3541,7 @@ qint64 PythonQtShell_QTemporaryFile::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3574,7 +3574,7 @@ bool PythonQtShell_QTemporaryFile::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3607,7 +3607,7 @@ void PythonQtShell_QTemporaryFile::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3629,7 +3629,7 @@ void PythonQtShell_QTemporaryFile::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3651,7 +3651,7 @@ void PythonQtShell_QTemporaryFile::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3673,7 +3673,7 @@ bool PythonQtShell_QTemporaryFile::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3706,7 +3706,7 @@ bool PythonQtShell_QTemporaryFile::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3739,7 +3739,7 @@ QString PythonQtShell_QTemporaryFile::fileName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("uniqueFilename"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3772,7 +3772,7 @@ bool PythonQtShell_QTemporaryFile::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3805,7 +3805,7 @@ bool PythonQtShell_QTemporaryFile::open(QIODevice::OpenMode flags0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3838,7 +3838,7 @@ QFileDevice::Permissions PythonQtShell_QTemporaryFile::permissions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("permissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3871,7 +3871,7 @@ qint64 PythonQtShell_QTemporaryFile::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3904,7 +3904,7 @@ qint64 PythonQtShell_QTemporaryFile::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3937,7 +3937,7 @@ qint64 PythonQtShell_QTemporaryFile::readLineData(char* data0, qint64 maxlen1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3970,7 +3970,7 @@ bool PythonQtShell_QTemporaryFile::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4003,7 +4003,7 @@ bool PythonQtShell_QTemporaryFile::resize(qint64 sz0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4036,7 +4036,7 @@ bool PythonQtShell_QTemporaryFile::seek(qint64 offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4069,7 +4069,7 @@ bool PythonQtShell_QTemporaryFile::setPermissions(QFileDevice::Permissions per { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4102,7 +4102,7 @@ qint64 PythonQtShell_QTemporaryFile::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4135,7 +4135,7 @@ void PythonQtShell_QTemporaryFile::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4157,7 +4157,7 @@ bool PythonQtShell_QTemporaryFile::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4190,7 +4190,7 @@ bool PythonQtShell_QTemporaryFile::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4223,7 +4223,7 @@ qint64 PythonQtShell_QTemporaryFile::writeData(const char* data0, qint64 len1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4415,7 +4415,7 @@ QList PythonQtShell_QTextCodec::aliases() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("aliases"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4448,7 +4448,7 @@ QByteArray PythonQtShell_QTextCodec::convertFromUnicode(const QChar* in0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("convertFromUnicode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4481,7 +4481,7 @@ QString PythonQtShell_QTextCodec::convertToUnicode(const char* in0, int lengt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("convertToUnicode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4514,7 +4514,7 @@ int PythonQtShell_QTextCodec::mibEnum() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mibEnum"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4547,7 +4547,7 @@ QByteArray PythonQtShell_QTextCodec::name() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("name"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5013,7 +5013,7 @@ void PythonQtShell_QThread::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5035,7 +5035,7 @@ void PythonQtShell_QThread::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5057,7 +5057,7 @@ bool PythonQtShell_QThread::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5090,7 +5090,7 @@ bool PythonQtShell_QThread::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5123,7 +5123,7 @@ void PythonQtShell_QThread::run() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("run"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5145,7 +5145,7 @@ void PythonQtShell_QThread::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5310,7 +5310,7 @@ void PythonQtShell_QThreadPool::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5332,7 +5332,7 @@ void PythonQtShell_QThreadPool::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5354,7 +5354,7 @@ bool PythonQtShell_QThreadPool::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5387,7 +5387,7 @@ bool PythonQtShell_QThreadPool::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5420,7 +5420,7 @@ void PythonQtShell_QThreadPool::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5550,7 +5550,7 @@ void PythonQtShell_QTimeLine::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5572,7 +5572,7 @@ void PythonQtShell_QTimeLine::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5594,7 +5594,7 @@ bool PythonQtShell_QTimeLine::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5627,7 +5627,7 @@ bool PythonQtShell_QTimeLine::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5660,7 +5660,7 @@ void PythonQtShell_QTimeLine::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5682,7 +5682,7 @@ qreal PythonQtShell_QTimeLine::valueForTime(int msec0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("valueForTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_core/com_trolltech_qt_core4.cpp b/generated_cpp_515/com_trolltech_qt_core/com_trolltech_qt_core4.cpp index d554ae39c..e66f92b13 100644 --- a/generated_cpp_515/com_trolltech_qt_core/com_trolltech_qt_core4.cpp +++ b/generated_cpp_515/com_trolltech_qt_core/com_trolltech_qt_core4.cpp @@ -33,7 +33,7 @@ void PythonQtShell_QTimer::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -55,7 +55,7 @@ void PythonQtShell_QTimer::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -77,7 +77,7 @@ bool PythonQtShell_QTimer::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -110,7 +110,7 @@ bool PythonQtShell_QTimer::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -143,7 +143,7 @@ void PythonQtShell_QTimer::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -258,7 +258,7 @@ void PythonQtShell_QTranslator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -280,7 +280,7 @@ void PythonQtShell_QTranslator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -302,7 +302,7 @@ bool PythonQtShell_QTranslator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -335,7 +335,7 @@ bool PythonQtShell_QTranslator::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -368,7 +368,7 @@ bool PythonQtShell_QTranslator::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -401,7 +401,7 @@ void PythonQtShell_QTranslator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -423,7 +423,7 @@ QString PythonQtShell_QTranslator::translate(const char* context0, const char* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("translate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -786,7 +786,7 @@ void PythonQtShell_QVariantAnimation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -808,7 +808,7 @@ void PythonQtShell_QVariantAnimation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -830,7 +830,7 @@ int PythonQtShell_QVariantAnimation::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -863,7 +863,7 @@ bool PythonQtShell_QVariantAnimation::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -896,7 +896,7 @@ bool PythonQtShell_QVariantAnimation::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -929,7 +929,7 @@ QVariant PythonQtShell_QVariantAnimation::interpolated(const QVariant& from0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("interpolated"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -962,7 +962,7 @@ void PythonQtShell_QVariantAnimation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -984,7 +984,7 @@ void PythonQtShell_QVariantAnimation::updateCurrentTime(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1006,7 +1006,7 @@ void PythonQtShell_QVariantAnimation::updateCurrentValue(const QVariant& value0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1028,7 +1028,7 @@ void PythonQtShell_QVariantAnimation::updateDirection(QAbstractAnimation::Direct { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1050,7 +1050,7 @@ void PythonQtShell_QVariantAnimation::updateState(QAbstractAnimation::State new { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1232,7 +1232,7 @@ QString PythonQtShell_QXmlStreamEntityResolver::resolveEntity(const QString& p { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resolveEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1265,7 +1265,7 @@ QString PythonQtShell_QXmlStreamEntityResolver::resolveUndeclaredEntity(const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resolveUndeclaredEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp b/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp index e49e8ac74..c0b8ca0cc 100644 --- a/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp +++ b/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp @@ -108,7 +108,7 @@ void PythonQtShell_QAbstractButton::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -130,7 +130,7 @@ void PythonQtShell_QAbstractButton::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -152,7 +152,7 @@ void PythonQtShell_QAbstractButton::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -174,7 +174,7 @@ void PythonQtShell_QAbstractButton::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -196,7 +196,7 @@ void PythonQtShell_QAbstractButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -218,7 +218,7 @@ void PythonQtShell_QAbstractButton::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -240,7 +240,7 @@ void PythonQtShell_QAbstractButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -262,7 +262,7 @@ int PythonQtShell_QAbstractButton::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -295,7 +295,7 @@ void PythonQtShell_QAbstractButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -317,7 +317,7 @@ void PythonQtShell_QAbstractButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -339,7 +339,7 @@ void PythonQtShell_QAbstractButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -361,7 +361,7 @@ void PythonQtShell_QAbstractButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -383,7 +383,7 @@ void PythonQtShell_QAbstractButton::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -405,7 +405,7 @@ bool PythonQtShell_QAbstractButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -438,7 +438,7 @@ bool PythonQtShell_QAbstractButton::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -471,7 +471,7 @@ void PythonQtShell_QAbstractButton::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -493,7 +493,7 @@ bool PythonQtShell_QAbstractButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -526,7 +526,7 @@ void PythonQtShell_QAbstractButton::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -548,7 +548,7 @@ bool PythonQtShell_QAbstractButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -581,7 +581,7 @@ int PythonQtShell_QAbstractButton::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -614,7 +614,7 @@ void PythonQtShell_QAbstractButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -636,7 +636,7 @@ bool PythonQtShell_QAbstractButton::hitButton(const QPoint& pos0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -669,7 +669,7 @@ void PythonQtShell_QAbstractButton::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -691,7 +691,7 @@ void PythonQtShell_QAbstractButton::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -713,7 +713,7 @@ QVariant PythonQtShell_QAbstractButton::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -746,7 +746,7 @@ void PythonQtShell_QAbstractButton::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -768,7 +768,7 @@ void PythonQtShell_QAbstractButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -790,7 +790,7 @@ void PythonQtShell_QAbstractButton::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -812,7 +812,7 @@ int PythonQtShell_QAbstractButton::metric(QPaintDevice::PaintDeviceMetric arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -845,7 +845,7 @@ QSize PythonQtShell_QAbstractButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -878,7 +878,7 @@ void PythonQtShell_QAbstractButton::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -900,7 +900,7 @@ void PythonQtShell_QAbstractButton::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -922,7 +922,7 @@ void PythonQtShell_QAbstractButton::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -944,7 +944,7 @@ void PythonQtShell_QAbstractButton::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -966,7 +966,7 @@ void PythonQtShell_QAbstractButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -988,7 +988,7 @@ bool PythonQtShell_QAbstractButton::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1021,7 +1021,7 @@ void PythonQtShell_QAbstractButton::nextCheckState() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1043,7 +1043,7 @@ QPaintEngine* PythonQtShell_QAbstractButton::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1076,7 +1076,7 @@ void PythonQtShell_QAbstractButton::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1098,7 +1098,7 @@ QPaintDevice* PythonQtShell_QAbstractButton::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1131,7 +1131,7 @@ void PythonQtShell_QAbstractButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1153,7 +1153,7 @@ void PythonQtShell_QAbstractButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1175,7 +1175,7 @@ QPainter* PythonQtShell_QAbstractButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1208,7 +1208,7 @@ void PythonQtShell_QAbstractButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1230,7 +1230,7 @@ QSize PythonQtShell_QAbstractButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1263,7 +1263,7 @@ void PythonQtShell_QAbstractButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1285,7 +1285,7 @@ void PythonQtShell_QAbstractButton::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1307,7 +1307,7 @@ void PythonQtShell_QAbstractButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1472,7 +1472,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1494,7 +1494,7 @@ QRectF PythonQtShell_QAbstractGraphicsShapeItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1527,7 +1527,7 @@ bool PythonQtShell_QAbstractGraphicsShapeItem::collidesWithItem(const QGraphics { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1560,7 +1560,7 @@ bool PythonQtShell_QAbstractGraphicsShapeItem::collidesWithPath(const QPainterP { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1593,7 +1593,7 @@ bool PythonQtShell_QAbstractGraphicsShapeItem::contains(const QPointF& point0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1626,7 +1626,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::contextMenuEvent(QGraphicsSceneCo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1648,7 +1648,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::dragEnterEvent(QGraphicsSceneDrag { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1670,7 +1670,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::dragLeaveEvent(QGraphicsSceneDrag { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1692,7 +1692,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::dragMoveEvent(QGraphicsSceneDragD { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1714,7 +1714,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::dropEvent(QGraphicsSceneDragDropE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1736,7 +1736,7 @@ QVariant PythonQtShell_QAbstractGraphicsShapeItem::extension(const QVariant& v { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1769,7 +1769,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::focusInEvent(QFocusEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1791,7 +1791,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::focusOutEvent(QFocusEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1813,7 +1813,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::hoverEnterEvent(QGraphicsSceneHov { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1835,7 +1835,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::hoverLeaveEvent(QGraphicsSceneHov { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1857,7 +1857,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::hoverMoveEvent(QGraphicsSceneHove { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1879,7 +1879,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::inputMethodEvent(QInputMethodEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1901,7 +1901,7 @@ QVariant PythonQtShell_QAbstractGraphicsShapeItem::inputMethodQuery(Qt::InputMe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1934,7 +1934,7 @@ bool PythonQtShell_QAbstractGraphicsShapeItem::isObscuredBy(const QGraphicsItem { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1967,7 +1967,7 @@ QVariant PythonQtShell_QAbstractGraphicsShapeItem::itemChange(QGraphicsItem::Gr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2003,7 +2003,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2025,7 +2025,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::keyReleaseEvent(QKeyEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2047,7 +2047,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::mouseDoubleClickEvent(QGraphicsSc { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2069,7 +2069,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::mouseMoveEvent(QGraphicsSceneMous { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2091,7 +2091,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::mousePressEvent(QGraphicsSceneMou { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2113,7 +2113,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::mouseReleaseEvent(QGraphicsSceneM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2135,7 +2135,7 @@ QPainterPath PythonQtShell_QAbstractGraphicsShapeItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2168,7 +2168,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::paint(QPainter* painter0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2190,7 +2190,7 @@ bool PythonQtShell_QAbstractGraphicsShapeItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2223,7 +2223,7 @@ bool PythonQtShell_QAbstractGraphicsShapeItem::sceneEventFilter(QGraphicsItem* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2256,7 +2256,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::setExtension(QGraphicsItem::Exten { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2278,7 +2278,7 @@ QPainterPath PythonQtShell_QAbstractGraphicsShapeItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2311,7 +2311,7 @@ bool PythonQtShell_QAbstractGraphicsShapeItem::supportsExtension(QGraphicsItem: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2344,7 +2344,7 @@ int PythonQtShell_QAbstractGraphicsShapeItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2377,7 +2377,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::wheelEvent(QGraphicsSceneWheelEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2429,7 +2429,7 @@ void PythonQtShell_QAbstractItemDelegate::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2451,7 +2451,7 @@ QWidget* PythonQtShell_QAbstractItemDelegate::createEditor(QWidget* parent0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2484,7 +2484,7 @@ void PythonQtShell_QAbstractItemDelegate::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2506,7 +2506,7 @@ void PythonQtShell_QAbstractItemDelegate::destroyEditor(QWidget* editor0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("destroyEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2528,7 +2528,7 @@ bool PythonQtShell_QAbstractItemDelegate::editorEvent(QEvent* event0, QAbstrac { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2561,7 +2561,7 @@ bool PythonQtShell_QAbstractItemDelegate::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2594,7 +2594,7 @@ bool PythonQtShell_QAbstractItemDelegate::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2627,7 +2627,7 @@ bool PythonQtShell_QAbstractItemDelegate::helpEvent(QHelpEvent* event0, QAbstr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2660,7 +2660,7 @@ void PythonQtShell_QAbstractItemDelegate::paint(QPainter* painter0, const QStyl { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2682,7 +2682,7 @@ QVector PythonQtShell_QAbstractItemDelegate::paintingRoles() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintingRoles"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2715,7 +2715,7 @@ void PythonQtShell_QAbstractItemDelegate::setEditorData(QWidget* editor0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2737,7 +2737,7 @@ void PythonQtShell_QAbstractItemDelegate::setModelData(QWidget* editor0, QAbstr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModelData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2759,7 +2759,7 @@ QSize PythonQtShell_QAbstractItemDelegate::sizeHint(const QStyleOptionViewItem& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2792,7 +2792,7 @@ void PythonQtShell_QAbstractItemDelegate::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2814,7 +2814,7 @@ void PythonQtShell_QAbstractItemDelegate::updateEditorGeometry(QWidget* editor0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2909,7 +2909,7 @@ void PythonQtShell_QAbstractItemView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2931,7 +2931,7 @@ void PythonQtShell_QAbstractItemView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2953,7 +2953,7 @@ void PythonQtShell_QAbstractItemView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2975,7 +2975,7 @@ void PythonQtShell_QAbstractItemView::closeEditor(QWidget* editor0, QAbstractIt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2997,7 +2997,7 @@ void PythonQtShell_QAbstractItemView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3019,7 +3019,7 @@ void PythonQtShell_QAbstractItemView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3041,7 +3041,7 @@ void PythonQtShell_QAbstractItemView::contextMenuEvent(QContextMenuEvent* arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3063,7 +3063,7 @@ void PythonQtShell_QAbstractItemView::currentChanged(const QModelIndex& current { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3085,7 +3085,7 @@ void PythonQtShell_QAbstractItemView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3107,7 +3107,7 @@ void PythonQtShell_QAbstractItemView::dataChanged(const QModelIndex& topLeft0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3129,7 +3129,7 @@ int PythonQtShell_QAbstractItemView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3162,7 +3162,7 @@ void PythonQtShell_QAbstractItemView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3184,7 +3184,7 @@ void PythonQtShell_QAbstractItemView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3206,7 +3206,7 @@ void PythonQtShell_QAbstractItemView::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3228,7 +3228,7 @@ void PythonQtShell_QAbstractItemView::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3250,7 +3250,7 @@ void PythonQtShell_QAbstractItemView::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3272,7 +3272,7 @@ bool PythonQtShell_QAbstractItemView::edit(const QModelIndex& index0, QAbstrac { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3305,7 +3305,7 @@ void PythonQtShell_QAbstractItemView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3327,7 +3327,7 @@ void PythonQtShell_QAbstractItemView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3349,7 +3349,7 @@ bool PythonQtShell_QAbstractItemView::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3382,7 +3382,7 @@ bool PythonQtShell_QAbstractItemView::eventFilter(QObject* object0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3415,7 +3415,7 @@ void PythonQtShell_QAbstractItemView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3437,7 +3437,7 @@ bool PythonQtShell_QAbstractItemView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3470,7 +3470,7 @@ void PythonQtShell_QAbstractItemView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3492,7 +3492,7 @@ bool PythonQtShell_QAbstractItemView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3525,7 +3525,7 @@ int PythonQtShell_QAbstractItemView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3558,7 +3558,7 @@ void PythonQtShell_QAbstractItemView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3580,7 +3580,7 @@ int PythonQtShell_QAbstractItemView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3613,7 +3613,7 @@ void PythonQtShell_QAbstractItemView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3635,7 +3635,7 @@ void PythonQtShell_QAbstractItemView::horizontalScrollbarValueChanged(int value { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3657,7 +3657,7 @@ QModelIndex PythonQtShell_QAbstractItemView::indexAt(const QPoint& point0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3690,7 +3690,7 @@ void PythonQtShell_QAbstractItemView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3712,7 +3712,7 @@ void PythonQtShell_QAbstractItemView::inputMethodEvent(QInputMethodEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3734,7 +3734,7 @@ QVariant PythonQtShell_QAbstractItemView::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3767,7 +3767,7 @@ bool PythonQtShell_QAbstractItemView::isIndexHidden(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3800,7 +3800,7 @@ void PythonQtShell_QAbstractItemView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3822,7 +3822,7 @@ void PythonQtShell_QAbstractItemView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3844,7 +3844,7 @@ void PythonQtShell_QAbstractItemView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3866,7 +3866,7 @@ void PythonQtShell_QAbstractItemView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3888,7 +3888,7 @@ int PythonQtShell_QAbstractItemView::metric(QPaintDevice::PaintDeviceMetric ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3921,7 +3921,7 @@ QSize PythonQtShell_QAbstractItemView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3954,7 +3954,7 @@ void PythonQtShell_QAbstractItemView::mouseDoubleClickEvent(QMouseEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3976,7 +3976,7 @@ void PythonQtShell_QAbstractItemView::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3998,7 +3998,7 @@ void PythonQtShell_QAbstractItemView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4020,7 +4020,7 @@ void PythonQtShell_QAbstractItemView::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4042,7 +4042,7 @@ QModelIndex PythonQtShell_QAbstractItemView::moveCursor(QAbstractItemView::Curs { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4075,7 +4075,7 @@ void PythonQtShell_QAbstractItemView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4097,7 +4097,7 @@ bool PythonQtShell_QAbstractItemView::nativeEvent(const QByteArray& eventType0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4130,7 +4130,7 @@ QPaintEngine* PythonQtShell_QAbstractItemView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4163,7 +4163,7 @@ void PythonQtShell_QAbstractItemView::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4185,7 +4185,7 @@ QPaintDevice* PythonQtShell_QAbstractItemView::redirected(QPoint* offset0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4218,7 +4218,7 @@ void PythonQtShell_QAbstractItemView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4240,7 +4240,7 @@ void PythonQtShell_QAbstractItemView::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4262,7 +4262,7 @@ void PythonQtShell_QAbstractItemView::rowsAboutToBeRemoved(const QModelIndex& p { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4284,7 +4284,7 @@ void PythonQtShell_QAbstractItemView::rowsInserted(const QModelIndex& parent0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4306,7 +4306,7 @@ void PythonQtShell_QAbstractItemView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4328,7 +4328,7 @@ void PythonQtShell_QAbstractItemView::scrollTo(const QModelIndex& index0, QAbst { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4350,7 +4350,7 @@ void PythonQtShell_QAbstractItemView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4372,7 +4372,7 @@ QList PythonQtShell_QAbstractItemView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4405,7 +4405,7 @@ void PythonQtShell_QAbstractItemView::selectionChanged(const QItemSelection& se { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4427,7 +4427,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QAbstractItemView::selectionC { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4460,7 +4460,7 @@ void PythonQtShell_QAbstractItemView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4482,7 +4482,7 @@ void PythonQtShell_QAbstractItemView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4504,7 +4504,7 @@ void PythonQtShell_QAbstractItemView::setSelection(const QRect& rect0, QItemSel { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4526,7 +4526,7 @@ void PythonQtShell_QAbstractItemView::setSelectionModel(QItemSelectionModel* se { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4548,7 +4548,7 @@ void PythonQtShell_QAbstractItemView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4570,7 +4570,7 @@ void PythonQtShell_QAbstractItemView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4592,7 +4592,7 @@ QPainter* PythonQtShell_QAbstractItemView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4625,7 +4625,7 @@ void PythonQtShell_QAbstractItemView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4647,7 +4647,7 @@ QSize PythonQtShell_QAbstractItemView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4680,7 +4680,7 @@ int PythonQtShell_QAbstractItemView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4713,7 +4713,7 @@ int PythonQtShell_QAbstractItemView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4746,7 +4746,7 @@ void PythonQtShell_QAbstractItemView::startDrag(Qt::DropActions supportedAction { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4768,7 +4768,7 @@ void PythonQtShell_QAbstractItemView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4790,7 +4790,7 @@ void PythonQtShell_QAbstractItemView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4812,7 +4812,7 @@ void PythonQtShell_QAbstractItemView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4834,7 +4834,7 @@ void PythonQtShell_QAbstractItemView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4856,7 +4856,7 @@ void PythonQtShell_QAbstractItemView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4878,7 +4878,7 @@ int PythonQtShell_QAbstractItemView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4911,7 +4911,7 @@ void PythonQtShell_QAbstractItemView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4933,7 +4933,7 @@ void PythonQtShell_QAbstractItemView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4955,7 +4955,7 @@ QStyleOptionViewItem PythonQtShell_QAbstractItemView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4988,7 +4988,7 @@ bool PythonQtShell_QAbstractItemView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5021,7 +5021,7 @@ QSize PythonQtShell_QAbstractItemView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5054,7 +5054,7 @@ QRect PythonQtShell_QAbstractItemView::visualRect(const QModelIndex& index0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5087,7 +5087,7 @@ QRegion PythonQtShell_QAbstractItemView::visualRegionForSelection(const QItemSe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5120,7 +5120,7 @@ void PythonQtShell_QAbstractItemView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5570,7 +5570,7 @@ void PythonQtShell_QAbstractPrintDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5592,7 +5592,7 @@ void PythonQtShell_QAbstractPrintDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5614,7 +5614,7 @@ void PythonQtShell_QAbstractPrintDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5636,7 +5636,7 @@ void PythonQtShell_QAbstractPrintDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5658,7 +5658,7 @@ void PythonQtShell_QAbstractPrintDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5680,7 +5680,7 @@ void PythonQtShell_QAbstractPrintDialog::contextMenuEvent(QContextMenuEvent* ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5702,7 +5702,7 @@ void PythonQtShell_QAbstractPrintDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5724,7 +5724,7 @@ int PythonQtShell_QAbstractPrintDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5757,7 +5757,7 @@ void PythonQtShell_QAbstractPrintDialog::done(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5779,7 +5779,7 @@ void PythonQtShell_QAbstractPrintDialog::dragEnterEvent(QDragEnterEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5801,7 +5801,7 @@ void PythonQtShell_QAbstractPrintDialog::dragLeaveEvent(QDragLeaveEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5823,7 +5823,7 @@ void PythonQtShell_QAbstractPrintDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5845,7 +5845,7 @@ void PythonQtShell_QAbstractPrintDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5867,7 +5867,7 @@ void PythonQtShell_QAbstractPrintDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5889,7 +5889,7 @@ bool PythonQtShell_QAbstractPrintDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5922,7 +5922,7 @@ bool PythonQtShell_QAbstractPrintDialog::eventFilter(QObject* arg__1, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5955,7 +5955,7 @@ int PythonQtShell_QAbstractPrintDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5988,7 +5988,7 @@ void PythonQtShell_QAbstractPrintDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6010,7 +6010,7 @@ bool PythonQtShell_QAbstractPrintDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6043,7 +6043,7 @@ void PythonQtShell_QAbstractPrintDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6065,7 +6065,7 @@ bool PythonQtShell_QAbstractPrintDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6098,7 +6098,7 @@ int PythonQtShell_QAbstractPrintDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6131,7 +6131,7 @@ void PythonQtShell_QAbstractPrintDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6153,7 +6153,7 @@ void PythonQtShell_QAbstractPrintDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6175,7 +6175,7 @@ void PythonQtShell_QAbstractPrintDialog::inputMethodEvent(QInputMethodEvent* ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6197,7 +6197,7 @@ QVariant PythonQtShell_QAbstractPrintDialog::inputMethodQuery(Qt::InputMethodQu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6230,7 +6230,7 @@ void PythonQtShell_QAbstractPrintDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6252,7 +6252,7 @@ void PythonQtShell_QAbstractPrintDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6274,7 +6274,7 @@ void PythonQtShell_QAbstractPrintDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6296,7 +6296,7 @@ int PythonQtShell_QAbstractPrintDialog::metric(QPaintDevice::PaintDeviceMetric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6329,7 +6329,7 @@ QSize PythonQtShell_QAbstractPrintDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6362,7 +6362,7 @@ void PythonQtShell_QAbstractPrintDialog::mouseDoubleClickEvent(QMouseEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6384,7 +6384,7 @@ void PythonQtShell_QAbstractPrintDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6406,7 +6406,7 @@ void PythonQtShell_QAbstractPrintDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6428,7 +6428,7 @@ void PythonQtShell_QAbstractPrintDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6450,7 +6450,7 @@ void PythonQtShell_QAbstractPrintDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6472,7 +6472,7 @@ bool PythonQtShell_QAbstractPrintDialog::nativeEvent(const QByteArray& eventTy { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6505,7 +6505,7 @@ void PythonQtShell_QAbstractPrintDialog::open() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6527,7 +6527,7 @@ QPaintEngine* PythonQtShell_QAbstractPrintDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6560,7 +6560,7 @@ void PythonQtShell_QAbstractPrintDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6582,7 +6582,7 @@ QPaintDevice* PythonQtShell_QAbstractPrintDialog::redirected(QPoint* offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6615,7 +6615,7 @@ void PythonQtShell_QAbstractPrintDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6637,7 +6637,7 @@ void PythonQtShell_QAbstractPrintDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6659,7 +6659,7 @@ void PythonQtShell_QAbstractPrintDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6681,7 +6681,7 @@ QPainter* PythonQtShell_QAbstractPrintDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6714,7 +6714,7 @@ void PythonQtShell_QAbstractPrintDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6736,7 +6736,7 @@ QSize PythonQtShell_QAbstractPrintDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6769,7 +6769,7 @@ void PythonQtShell_QAbstractPrintDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6791,7 +6791,7 @@ void PythonQtShell_QAbstractPrintDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6813,7 +6813,7 @@ void PythonQtShell_QAbstractPrintDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6928,7 +6928,7 @@ QModelIndex PythonQtShell_QAbstractProxyModel::buddy(const QModelIndex& index0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6961,7 +6961,7 @@ bool PythonQtShell_QAbstractProxyModel::canDropMimeData(const QMimeData* data0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6994,7 +6994,7 @@ bool PythonQtShell_QAbstractProxyModel::canFetchMore(const QModelIndex& parent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7027,7 +7027,7 @@ void PythonQtShell_QAbstractProxyModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7049,7 +7049,7 @@ int PythonQtShell_QAbstractProxyModel::columnCount(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7082,7 +7082,7 @@ void PythonQtShell_QAbstractProxyModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7104,7 +7104,7 @@ QVariant PythonQtShell_QAbstractProxyModel::data(const QModelIndex& proxyIndex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7137,7 +7137,7 @@ bool PythonQtShell_QAbstractProxyModel::dropMimeData(const QMimeData* data0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7170,7 +7170,7 @@ bool PythonQtShell_QAbstractProxyModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7203,7 +7203,7 @@ bool PythonQtShell_QAbstractProxyModel::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7236,7 +7236,7 @@ void PythonQtShell_QAbstractProxyModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7258,7 +7258,7 @@ Qt::ItemFlags PythonQtShell_QAbstractProxyModel::flags(const QModelIndex& inde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7291,7 +7291,7 @@ bool PythonQtShell_QAbstractProxyModel::hasChildren(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7324,7 +7324,7 @@ QVariant PythonQtShell_QAbstractProxyModel::headerData(int section0, Qt::Orien { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7357,7 +7357,7 @@ QModelIndex PythonQtShell_QAbstractProxyModel::index(int row0, int column1, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7390,7 +7390,7 @@ bool PythonQtShell_QAbstractProxyModel::insertColumns(int column0, int count1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7423,7 +7423,7 @@ bool PythonQtShell_QAbstractProxyModel::insertRows(int row0, int count1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7456,7 +7456,7 @@ QMap PythonQtShell_QAbstractProxyModel::itemData(const QModelI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7489,7 +7489,7 @@ QModelIndex PythonQtShell_QAbstractProxyModel::mapFromSource(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7522,7 +7522,7 @@ QItemSelection PythonQtShell_QAbstractProxyModel::mapSelectionFromSource(const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapSelectionFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7555,7 +7555,7 @@ QItemSelection PythonQtShell_QAbstractProxyModel::mapSelectionToSource(const QI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapSelectionToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7588,7 +7588,7 @@ QModelIndex PythonQtShell_QAbstractProxyModel::mapToSource(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7621,7 +7621,7 @@ QList PythonQtShell_QAbstractProxyModel::match(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7654,7 +7654,7 @@ QMimeData* PythonQtShell_QAbstractProxyModel::mimeData(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7687,7 +7687,7 @@ QStringList PythonQtShell_QAbstractProxyModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7720,7 +7720,7 @@ bool PythonQtShell_QAbstractProxyModel::moveColumns(const QModelIndex& sourceP { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7753,7 +7753,7 @@ bool PythonQtShell_QAbstractProxyModel::moveRows(const QModelIndex& sourcePare { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7786,7 +7786,7 @@ QModelIndex PythonQtShell_QAbstractProxyModel::parent(const QModelIndex& child { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7819,7 +7819,7 @@ bool PythonQtShell_QAbstractProxyModel::removeColumns(int column0, int count1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7852,7 +7852,7 @@ bool PythonQtShell_QAbstractProxyModel::removeRows(int row0, int count1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7885,7 +7885,7 @@ void PythonQtShell_QAbstractProxyModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7907,7 +7907,7 @@ QHash PythonQtShell_QAbstractProxyModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7940,7 +7940,7 @@ int PythonQtShell_QAbstractProxyModel::rowCount(const QModelIndex& parent0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7973,7 +7973,7 @@ bool PythonQtShell_QAbstractProxyModel::setData(const QModelIndex& index0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8006,7 +8006,7 @@ bool PythonQtShell_QAbstractProxyModel::setHeaderData(int section0, Qt::Orient { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8039,7 +8039,7 @@ bool PythonQtShell_QAbstractProxyModel::setItemData(const QModelIndex& index0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8072,7 +8072,7 @@ void PythonQtShell_QAbstractProxyModel::setSourceModel(QAbstractItemModel* sour { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSourceModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8094,7 +8094,7 @@ QModelIndex PythonQtShell_QAbstractProxyModel::sibling(int row0, int column1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8127,7 +8127,7 @@ void PythonQtShell_QAbstractProxyModel::sort(int column0, Qt::SortOrder order1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8149,7 +8149,7 @@ QSize PythonQtShell_QAbstractProxyModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8182,7 +8182,7 @@ bool PythonQtShell_QAbstractProxyModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8215,7 +8215,7 @@ Qt::DropActions PythonQtShell_QAbstractProxyModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8248,7 +8248,7 @@ Qt::DropActions PythonQtShell_QAbstractProxyModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8281,7 +8281,7 @@ void PythonQtShell_QAbstractProxyModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8356,7 +8356,7 @@ void PythonQtShell_QAbstractScrollArea::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8378,7 +8378,7 @@ void PythonQtShell_QAbstractScrollArea::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8400,7 +8400,7 @@ void PythonQtShell_QAbstractScrollArea::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8422,7 +8422,7 @@ void PythonQtShell_QAbstractScrollArea::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8444,7 +8444,7 @@ void PythonQtShell_QAbstractScrollArea::contextMenuEvent(QContextMenuEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8466,7 +8466,7 @@ void PythonQtShell_QAbstractScrollArea::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8488,7 +8488,7 @@ int PythonQtShell_QAbstractScrollArea::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8521,7 +8521,7 @@ void PythonQtShell_QAbstractScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8543,7 +8543,7 @@ void PythonQtShell_QAbstractScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8565,7 +8565,7 @@ void PythonQtShell_QAbstractScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8587,7 +8587,7 @@ void PythonQtShell_QAbstractScrollArea::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8609,7 +8609,7 @@ void PythonQtShell_QAbstractScrollArea::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8631,7 +8631,7 @@ bool PythonQtShell_QAbstractScrollArea::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8664,7 +8664,7 @@ bool PythonQtShell_QAbstractScrollArea::eventFilter(QObject* arg__1, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8697,7 +8697,7 @@ void PythonQtShell_QAbstractScrollArea::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8719,7 +8719,7 @@ bool PythonQtShell_QAbstractScrollArea::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8752,7 +8752,7 @@ void PythonQtShell_QAbstractScrollArea::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8774,7 +8774,7 @@ bool PythonQtShell_QAbstractScrollArea::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8807,7 +8807,7 @@ int PythonQtShell_QAbstractScrollArea::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8840,7 +8840,7 @@ void PythonQtShell_QAbstractScrollArea::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8862,7 +8862,7 @@ void PythonQtShell_QAbstractScrollArea::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8884,7 +8884,7 @@ void PythonQtShell_QAbstractScrollArea::inputMethodEvent(QInputMethodEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8906,7 +8906,7 @@ QVariant PythonQtShell_QAbstractScrollArea::inputMethodQuery(Qt::InputMethodQue { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8939,7 +8939,7 @@ void PythonQtShell_QAbstractScrollArea::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8961,7 +8961,7 @@ void PythonQtShell_QAbstractScrollArea::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8983,7 +8983,7 @@ void PythonQtShell_QAbstractScrollArea::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9005,7 +9005,7 @@ int PythonQtShell_QAbstractScrollArea::metric(QPaintDevice::PaintDeviceMetric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9038,7 +9038,7 @@ QSize PythonQtShell_QAbstractScrollArea::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9071,7 +9071,7 @@ void PythonQtShell_QAbstractScrollArea::mouseDoubleClickEvent(QMouseEvent* arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9093,7 +9093,7 @@ void PythonQtShell_QAbstractScrollArea::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9115,7 +9115,7 @@ void PythonQtShell_QAbstractScrollArea::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9137,7 +9137,7 @@ void PythonQtShell_QAbstractScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9159,7 +9159,7 @@ void PythonQtShell_QAbstractScrollArea::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9181,7 +9181,7 @@ bool PythonQtShell_QAbstractScrollArea::nativeEvent(const QByteArray& eventTyp { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9214,7 +9214,7 @@ QPaintEngine* PythonQtShell_QAbstractScrollArea::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9247,7 +9247,7 @@ void PythonQtShell_QAbstractScrollArea::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9269,7 +9269,7 @@ QPaintDevice* PythonQtShell_QAbstractScrollArea::redirected(QPoint* offset0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9302,7 +9302,7 @@ void PythonQtShell_QAbstractScrollArea::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9324,7 +9324,7 @@ void PythonQtShell_QAbstractScrollArea::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9346,7 +9346,7 @@ void PythonQtShell_QAbstractScrollArea::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9368,7 +9368,7 @@ void PythonQtShell_QAbstractScrollArea::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9390,7 +9390,7 @@ QPainter* PythonQtShell_QAbstractScrollArea::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9423,7 +9423,7 @@ void PythonQtShell_QAbstractScrollArea::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9445,7 +9445,7 @@ QSize PythonQtShell_QAbstractScrollArea::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9478,7 +9478,7 @@ void PythonQtShell_QAbstractScrollArea::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9500,7 +9500,7 @@ void PythonQtShell_QAbstractScrollArea::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9522,7 +9522,7 @@ bool PythonQtShell_QAbstractScrollArea::viewportEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9555,7 +9555,7 @@ QSize PythonQtShell_QAbstractScrollArea::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9588,7 +9588,7 @@ void PythonQtShell_QAbstractScrollArea::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9758,7 +9758,7 @@ void PythonQtShell_QAbstractSlider::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9780,7 +9780,7 @@ void PythonQtShell_QAbstractSlider::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9802,7 +9802,7 @@ void PythonQtShell_QAbstractSlider::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9824,7 +9824,7 @@ void PythonQtShell_QAbstractSlider::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9846,7 +9846,7 @@ void PythonQtShell_QAbstractSlider::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9868,7 +9868,7 @@ void PythonQtShell_QAbstractSlider::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9890,7 +9890,7 @@ int PythonQtShell_QAbstractSlider::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9923,7 +9923,7 @@ void PythonQtShell_QAbstractSlider::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9945,7 +9945,7 @@ void PythonQtShell_QAbstractSlider::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9967,7 +9967,7 @@ void PythonQtShell_QAbstractSlider::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9989,7 +9989,7 @@ void PythonQtShell_QAbstractSlider::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10011,7 +10011,7 @@ void PythonQtShell_QAbstractSlider::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10033,7 +10033,7 @@ bool PythonQtShell_QAbstractSlider::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10066,7 +10066,7 @@ bool PythonQtShell_QAbstractSlider::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10099,7 +10099,7 @@ void PythonQtShell_QAbstractSlider::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10121,7 +10121,7 @@ bool PythonQtShell_QAbstractSlider::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10154,7 +10154,7 @@ void PythonQtShell_QAbstractSlider::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10176,7 +10176,7 @@ bool PythonQtShell_QAbstractSlider::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10209,7 +10209,7 @@ int PythonQtShell_QAbstractSlider::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10242,7 +10242,7 @@ void PythonQtShell_QAbstractSlider::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10264,7 +10264,7 @@ void PythonQtShell_QAbstractSlider::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10286,7 +10286,7 @@ void PythonQtShell_QAbstractSlider::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10308,7 +10308,7 @@ QVariant PythonQtShell_QAbstractSlider::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10341,7 +10341,7 @@ void PythonQtShell_QAbstractSlider::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10363,7 +10363,7 @@ void PythonQtShell_QAbstractSlider::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10385,7 +10385,7 @@ void PythonQtShell_QAbstractSlider::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10407,7 +10407,7 @@ int PythonQtShell_QAbstractSlider::metric(QPaintDevice::PaintDeviceMetric arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10440,7 +10440,7 @@ QSize PythonQtShell_QAbstractSlider::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10473,7 +10473,7 @@ void PythonQtShell_QAbstractSlider::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10495,7 +10495,7 @@ void PythonQtShell_QAbstractSlider::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10517,7 +10517,7 @@ void PythonQtShell_QAbstractSlider::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10539,7 +10539,7 @@ void PythonQtShell_QAbstractSlider::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10561,7 +10561,7 @@ void PythonQtShell_QAbstractSlider::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10583,7 +10583,7 @@ bool PythonQtShell_QAbstractSlider::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10616,7 +10616,7 @@ QPaintEngine* PythonQtShell_QAbstractSlider::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10649,7 +10649,7 @@ void PythonQtShell_QAbstractSlider::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10671,7 +10671,7 @@ QPaintDevice* PythonQtShell_QAbstractSlider::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10704,7 +10704,7 @@ void PythonQtShell_QAbstractSlider::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10726,7 +10726,7 @@ void PythonQtShell_QAbstractSlider::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10748,7 +10748,7 @@ QPainter* PythonQtShell_QAbstractSlider::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10781,7 +10781,7 @@ void PythonQtShell_QAbstractSlider::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10803,7 +10803,7 @@ QSize PythonQtShell_QAbstractSlider::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10836,7 +10836,7 @@ void PythonQtShell_QAbstractSlider::sliderChange(QAbstractSlider::SliderChange { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sliderChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10858,7 +10858,7 @@ void PythonQtShell_QAbstractSlider::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10880,7 +10880,7 @@ void PythonQtShell_QAbstractSlider::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10902,7 +10902,7 @@ void PythonQtShell_QAbstractSlider::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11067,7 +11067,7 @@ void PythonQtShell_QAbstractSpinBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11089,7 +11089,7 @@ void PythonQtShell_QAbstractSpinBox::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11111,7 +11111,7 @@ void PythonQtShell_QAbstractSpinBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11133,7 +11133,7 @@ void PythonQtShell_QAbstractSpinBox::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11155,7 +11155,7 @@ void PythonQtShell_QAbstractSpinBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11177,7 +11177,7 @@ void PythonQtShell_QAbstractSpinBox::contextMenuEvent(QContextMenuEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11199,7 +11199,7 @@ void PythonQtShell_QAbstractSpinBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11221,7 +11221,7 @@ int PythonQtShell_QAbstractSpinBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11254,7 +11254,7 @@ void PythonQtShell_QAbstractSpinBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11276,7 +11276,7 @@ void PythonQtShell_QAbstractSpinBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11298,7 +11298,7 @@ void PythonQtShell_QAbstractSpinBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11320,7 +11320,7 @@ void PythonQtShell_QAbstractSpinBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11342,7 +11342,7 @@ void PythonQtShell_QAbstractSpinBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11364,7 +11364,7 @@ bool PythonQtShell_QAbstractSpinBox::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11397,7 +11397,7 @@ bool PythonQtShell_QAbstractSpinBox::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11430,7 +11430,7 @@ void PythonQtShell_QAbstractSpinBox::fixup(QString& input0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11452,7 +11452,7 @@ void PythonQtShell_QAbstractSpinBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11474,7 +11474,7 @@ bool PythonQtShell_QAbstractSpinBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11507,7 +11507,7 @@ void PythonQtShell_QAbstractSpinBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11529,7 +11529,7 @@ bool PythonQtShell_QAbstractSpinBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11562,7 +11562,7 @@ int PythonQtShell_QAbstractSpinBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11595,7 +11595,7 @@ void PythonQtShell_QAbstractSpinBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11617,7 +11617,7 @@ void PythonQtShell_QAbstractSpinBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11639,7 +11639,7 @@ void PythonQtShell_QAbstractSpinBox::inputMethodEvent(QInputMethodEvent* arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11661,7 +11661,7 @@ QVariant PythonQtShell_QAbstractSpinBox::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11694,7 +11694,7 @@ void PythonQtShell_QAbstractSpinBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11716,7 +11716,7 @@ void PythonQtShell_QAbstractSpinBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11738,7 +11738,7 @@ void PythonQtShell_QAbstractSpinBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11760,7 +11760,7 @@ int PythonQtShell_QAbstractSpinBox::metric(QPaintDevice::PaintDeviceMetric arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11793,7 +11793,7 @@ QSize PythonQtShell_QAbstractSpinBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11826,7 +11826,7 @@ void PythonQtShell_QAbstractSpinBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11848,7 +11848,7 @@ void PythonQtShell_QAbstractSpinBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11870,7 +11870,7 @@ void PythonQtShell_QAbstractSpinBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11892,7 +11892,7 @@ void PythonQtShell_QAbstractSpinBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11914,7 +11914,7 @@ void PythonQtShell_QAbstractSpinBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11936,7 +11936,7 @@ bool PythonQtShell_QAbstractSpinBox::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11969,7 +11969,7 @@ QPaintEngine* PythonQtShell_QAbstractSpinBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12002,7 +12002,7 @@ void PythonQtShell_QAbstractSpinBox::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12024,7 +12024,7 @@ QPaintDevice* PythonQtShell_QAbstractSpinBox::redirected(QPoint* offset0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12057,7 +12057,7 @@ void PythonQtShell_QAbstractSpinBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12079,7 +12079,7 @@ void PythonQtShell_QAbstractSpinBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12101,7 +12101,7 @@ QPainter* PythonQtShell_QAbstractSpinBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12134,7 +12134,7 @@ void PythonQtShell_QAbstractSpinBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12156,7 +12156,7 @@ QSize PythonQtShell_QAbstractSpinBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12189,7 +12189,7 @@ void PythonQtShell_QAbstractSpinBox::stepBy(int steps0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12211,7 +12211,7 @@ QAbstractSpinBox::StepEnabled PythonQtShell_QAbstractSpinBox::stepEnabled() con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12244,7 +12244,7 @@ void PythonQtShell_QAbstractSpinBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12266,7 +12266,7 @@ void PythonQtShell_QAbstractSpinBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12288,7 +12288,7 @@ QValidator::State PythonQtShell_QAbstractSpinBox::validate(QString& input0, in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12321,7 +12321,7 @@ void PythonQtShell_QAbstractSpinBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12526,7 +12526,7 @@ QModelIndex PythonQtShell_QAbstractTableModel::buddy(const QModelIndex& index0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12559,7 +12559,7 @@ bool PythonQtShell_QAbstractTableModel::canDropMimeData(const QMimeData* data0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12592,7 +12592,7 @@ bool PythonQtShell_QAbstractTableModel::canFetchMore(const QModelIndex& parent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12625,7 +12625,7 @@ void PythonQtShell_QAbstractTableModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12647,7 +12647,7 @@ int PythonQtShell_QAbstractTableModel::columnCount(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12680,7 +12680,7 @@ void PythonQtShell_QAbstractTableModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12702,7 +12702,7 @@ QVariant PythonQtShell_QAbstractTableModel::data(const QModelIndex& index0, in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12735,7 +12735,7 @@ bool PythonQtShell_QAbstractTableModel::dropMimeData(const QMimeData* data0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12768,7 +12768,7 @@ bool PythonQtShell_QAbstractTableModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12801,7 +12801,7 @@ bool PythonQtShell_QAbstractTableModel::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12834,7 +12834,7 @@ void PythonQtShell_QAbstractTableModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12856,7 +12856,7 @@ Qt::ItemFlags PythonQtShell_QAbstractTableModel::flags(const QModelIndex& inde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12889,7 +12889,7 @@ QVariant PythonQtShell_QAbstractTableModel::headerData(int section0, Qt::Orien { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12922,7 +12922,7 @@ QModelIndex PythonQtShell_QAbstractTableModel::index(int row0, int column1, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12955,7 +12955,7 @@ bool PythonQtShell_QAbstractTableModel::insertColumns(int column0, int count1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12988,7 +12988,7 @@ bool PythonQtShell_QAbstractTableModel::insertRows(int row0, int count1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13021,7 +13021,7 @@ QMap PythonQtShell_QAbstractTableModel::itemData(const QModelI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13054,7 +13054,7 @@ QList PythonQtShell_QAbstractTableModel::match(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13087,7 +13087,7 @@ QMimeData* PythonQtShell_QAbstractTableModel::mimeData(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13120,7 +13120,7 @@ QStringList PythonQtShell_QAbstractTableModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13153,7 +13153,7 @@ bool PythonQtShell_QAbstractTableModel::moveColumns(const QModelIndex& sourceP { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13186,7 +13186,7 @@ bool PythonQtShell_QAbstractTableModel::moveRows(const QModelIndex& sourcePare { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13219,7 +13219,7 @@ bool PythonQtShell_QAbstractTableModel::removeColumns(int column0, int count1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13252,7 +13252,7 @@ bool PythonQtShell_QAbstractTableModel::removeRows(int row0, int count1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13285,7 +13285,7 @@ void PythonQtShell_QAbstractTableModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13307,7 +13307,7 @@ QHash PythonQtShell_QAbstractTableModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13340,7 +13340,7 @@ int PythonQtShell_QAbstractTableModel::rowCount(const QModelIndex& parent0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13373,7 +13373,7 @@ bool PythonQtShell_QAbstractTableModel::setData(const QModelIndex& index0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13406,7 +13406,7 @@ bool PythonQtShell_QAbstractTableModel::setHeaderData(int section0, Qt::Orient { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13439,7 +13439,7 @@ bool PythonQtShell_QAbstractTableModel::setItemData(const QModelIndex& index0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13472,7 +13472,7 @@ QModelIndex PythonQtShell_QAbstractTableModel::sibling(int row0, int column1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13505,7 +13505,7 @@ void PythonQtShell_QAbstractTableModel::sort(int column0, Qt::SortOrder order1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13527,7 +13527,7 @@ QSize PythonQtShell_QAbstractTableModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13560,7 +13560,7 @@ bool PythonQtShell_QAbstractTableModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13593,7 +13593,7 @@ Qt::DropActions PythonQtShell_QAbstractTableModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13626,7 +13626,7 @@ Qt::DropActions PythonQtShell_QAbstractTableModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13659,7 +13659,7 @@ void PythonQtShell_QAbstractTableModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13704,7 +13704,7 @@ QRectF PythonQtShell_QAbstractTextDocumentLayout::blockBoundingRect(const QText { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("blockBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13737,7 +13737,7 @@ void PythonQtShell_QAbstractTextDocumentLayout::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13759,7 +13759,7 @@ void PythonQtShell_QAbstractTextDocumentLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13781,7 +13781,7 @@ void PythonQtShell_QAbstractTextDocumentLayout::documentChanged(int from0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("documentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13803,7 +13803,7 @@ QSizeF PythonQtShell_QAbstractTextDocumentLayout::documentSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("documentSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13836,7 +13836,7 @@ void PythonQtShell_QAbstractTextDocumentLayout::draw(QPainter* painter0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13858,7 +13858,7 @@ void PythonQtShell_QAbstractTextDocumentLayout::drawInlineObject(QPainter* pain { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13880,7 +13880,7 @@ bool PythonQtShell_QAbstractTextDocumentLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13913,7 +13913,7 @@ bool PythonQtShell_QAbstractTextDocumentLayout::eventFilter(QObject* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13946,7 +13946,7 @@ QRectF PythonQtShell_QAbstractTextDocumentLayout::frameBoundingRect(QTextFrame* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("frameBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13979,7 +13979,7 @@ int PythonQtShell_QAbstractTextDocumentLayout::hitTest(const QPointF& point0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14012,7 +14012,7 @@ int PythonQtShell_QAbstractTextDocumentLayout::pageCount() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pageCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14045,7 +14045,7 @@ void PythonQtShell_QAbstractTextDocumentLayout::positionInlineObject(QTextInline { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("positionInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14067,7 +14067,7 @@ void PythonQtShell_QAbstractTextDocumentLayout::resizeInlineObject(QTextInlineOb { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14089,7 +14089,7 @@ void PythonQtShell_QAbstractTextDocumentLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14296,7 +14296,7 @@ void PythonQtShell_QAction::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14318,7 +14318,7 @@ void PythonQtShell_QAction::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14340,7 +14340,7 @@ bool PythonQtShell_QAction::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14373,7 +14373,7 @@ bool PythonQtShell_QAction::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14406,7 +14406,7 @@ void PythonQtShell_QAction::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14727,7 +14727,7 @@ void PythonQtShell_QActionGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14749,7 +14749,7 @@ void PythonQtShell_QActionGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14771,7 +14771,7 @@ bool PythonQtShell_QActionGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14804,7 +14804,7 @@ bool PythonQtShell_QActionGroup::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14837,7 +14837,7 @@ void PythonQtShell_QActionGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15220,7 +15220,7 @@ void PythonQtShell_QBoxLayout::addItem(QLayoutItem* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15242,7 +15242,7 @@ void PythonQtShell_QBoxLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15264,7 +15264,7 @@ QSizePolicy::ControlTypes PythonQtShell_QBoxLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15297,7 +15297,7 @@ int PythonQtShell_QBoxLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15330,7 +15330,7 @@ void PythonQtShell_QBoxLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15352,7 +15352,7 @@ bool PythonQtShell_QBoxLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15385,7 +15385,7 @@ bool PythonQtShell_QBoxLayout::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15418,7 +15418,7 @@ Qt::Orientations PythonQtShell_QBoxLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15451,7 +15451,7 @@ QRect PythonQtShell_QBoxLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15484,7 +15484,7 @@ bool PythonQtShell_QBoxLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15517,7 +15517,7 @@ int PythonQtShell_QBoxLayout::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15550,7 +15550,7 @@ int PythonQtShell_QBoxLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15583,7 +15583,7 @@ void PythonQtShell_QBoxLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15605,7 +15605,7 @@ bool PythonQtShell_QBoxLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15638,7 +15638,7 @@ QLayoutItem* PythonQtShell_QBoxLayout::itemAt(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15671,7 +15671,7 @@ QLayout* PythonQtShell_QBoxLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15704,7 +15704,7 @@ QSize PythonQtShell_QBoxLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15737,7 +15737,7 @@ int PythonQtShell_QBoxLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15770,7 +15770,7 @@ QSize PythonQtShell_QBoxLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15803,7 +15803,7 @@ void PythonQtShell_QBoxLayout::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15825,7 +15825,7 @@ QSize PythonQtShell_QBoxLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15858,7 +15858,7 @@ QSpacerItem* PythonQtShell_QBoxLayout::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15891,7 +15891,7 @@ QLayoutItem* PythonQtShell_QBoxLayout::takeAt(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15924,7 +15924,7 @@ void PythonQtShell_QBoxLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15946,7 +15946,7 @@ QWidget* PythonQtShell_QBoxLayout::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16102,7 +16102,7 @@ void PythonQtShell_QButtonGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16124,7 +16124,7 @@ void PythonQtShell_QButtonGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16146,7 +16146,7 @@ bool PythonQtShell_QButtonGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16179,7 +16179,7 @@ bool PythonQtShell_QButtonGroup::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16212,7 +16212,7 @@ void PythonQtShell_QButtonGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16307,7 +16307,7 @@ void PythonQtShell_QCalendarWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16329,7 +16329,7 @@ void PythonQtShell_QCalendarWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16351,7 +16351,7 @@ void PythonQtShell_QCalendarWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16373,7 +16373,7 @@ void PythonQtShell_QCalendarWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16395,7 +16395,7 @@ void PythonQtShell_QCalendarWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16417,7 +16417,7 @@ void PythonQtShell_QCalendarWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16439,7 +16439,7 @@ int PythonQtShell_QCalendarWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16472,7 +16472,7 @@ void PythonQtShell_QCalendarWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16494,7 +16494,7 @@ void PythonQtShell_QCalendarWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16516,7 +16516,7 @@ void PythonQtShell_QCalendarWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16538,7 +16538,7 @@ void PythonQtShell_QCalendarWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16560,7 +16560,7 @@ void PythonQtShell_QCalendarWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16582,7 +16582,7 @@ bool PythonQtShell_QCalendarWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16615,7 +16615,7 @@ bool PythonQtShell_QCalendarWidget::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16648,7 +16648,7 @@ void PythonQtShell_QCalendarWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16670,7 +16670,7 @@ bool PythonQtShell_QCalendarWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16703,7 +16703,7 @@ void PythonQtShell_QCalendarWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16725,7 +16725,7 @@ bool PythonQtShell_QCalendarWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16758,7 +16758,7 @@ int PythonQtShell_QCalendarWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16791,7 +16791,7 @@ void PythonQtShell_QCalendarWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16813,7 +16813,7 @@ void PythonQtShell_QCalendarWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16835,7 +16835,7 @@ void PythonQtShell_QCalendarWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16857,7 +16857,7 @@ QVariant PythonQtShell_QCalendarWidget::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16890,7 +16890,7 @@ void PythonQtShell_QCalendarWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16912,7 +16912,7 @@ void PythonQtShell_QCalendarWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16934,7 +16934,7 @@ void PythonQtShell_QCalendarWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16956,7 +16956,7 @@ int PythonQtShell_QCalendarWidget::metric(QPaintDevice::PaintDeviceMetric arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16989,7 +16989,7 @@ QSize PythonQtShell_QCalendarWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17022,7 +17022,7 @@ void PythonQtShell_QCalendarWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17044,7 +17044,7 @@ void PythonQtShell_QCalendarWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17066,7 +17066,7 @@ void PythonQtShell_QCalendarWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17088,7 +17088,7 @@ void PythonQtShell_QCalendarWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17110,7 +17110,7 @@ void PythonQtShell_QCalendarWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17132,7 +17132,7 @@ bool PythonQtShell_QCalendarWidget::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17165,7 +17165,7 @@ void PythonQtShell_QCalendarWidget::paintCell(QPainter* painter0, const QRect& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintCell"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17187,7 +17187,7 @@ QPaintEngine* PythonQtShell_QCalendarWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17220,7 +17220,7 @@ void PythonQtShell_QCalendarWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17242,7 +17242,7 @@ QPaintDevice* PythonQtShell_QCalendarWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17275,7 +17275,7 @@ void PythonQtShell_QCalendarWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17297,7 +17297,7 @@ void PythonQtShell_QCalendarWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17319,7 +17319,7 @@ QPainter* PythonQtShell_QCalendarWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17352,7 +17352,7 @@ void PythonQtShell_QCalendarWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17374,7 +17374,7 @@ QSize PythonQtShell_QCalendarWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17407,7 +17407,7 @@ void PythonQtShell_QCalendarWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17429,7 +17429,7 @@ void PythonQtShell_QCalendarWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17451,7 +17451,7 @@ void PythonQtShell_QCalendarWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17661,7 +17661,7 @@ void PythonQtShell_QCheckBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17683,7 +17683,7 @@ void PythonQtShell_QCheckBox::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17705,7 +17705,7 @@ void PythonQtShell_QCheckBox::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17727,7 +17727,7 @@ void PythonQtShell_QCheckBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17749,7 +17749,7 @@ void PythonQtShell_QCheckBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17771,7 +17771,7 @@ void PythonQtShell_QCheckBox::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17793,7 +17793,7 @@ void PythonQtShell_QCheckBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17815,7 +17815,7 @@ int PythonQtShell_QCheckBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17848,7 +17848,7 @@ void PythonQtShell_QCheckBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17870,7 +17870,7 @@ void PythonQtShell_QCheckBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17892,7 +17892,7 @@ void PythonQtShell_QCheckBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17914,7 +17914,7 @@ void PythonQtShell_QCheckBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17936,7 +17936,7 @@ void PythonQtShell_QCheckBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17958,7 +17958,7 @@ bool PythonQtShell_QCheckBox::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17991,7 +17991,7 @@ bool PythonQtShell_QCheckBox::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18024,7 +18024,7 @@ void PythonQtShell_QCheckBox::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18046,7 +18046,7 @@ bool PythonQtShell_QCheckBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18079,7 +18079,7 @@ void PythonQtShell_QCheckBox::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18101,7 +18101,7 @@ bool PythonQtShell_QCheckBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18134,7 +18134,7 @@ int PythonQtShell_QCheckBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18167,7 +18167,7 @@ void PythonQtShell_QCheckBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18189,7 +18189,7 @@ bool PythonQtShell_QCheckBox::hitButton(const QPoint& pos0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18222,7 +18222,7 @@ void PythonQtShell_QCheckBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18244,7 +18244,7 @@ void PythonQtShell_QCheckBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18266,7 +18266,7 @@ QVariant PythonQtShell_QCheckBox::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18299,7 +18299,7 @@ void PythonQtShell_QCheckBox::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18321,7 +18321,7 @@ void PythonQtShell_QCheckBox::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18343,7 +18343,7 @@ void PythonQtShell_QCheckBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18365,7 +18365,7 @@ int PythonQtShell_QCheckBox::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18398,7 +18398,7 @@ QSize PythonQtShell_QCheckBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18431,7 +18431,7 @@ void PythonQtShell_QCheckBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18453,7 +18453,7 @@ void PythonQtShell_QCheckBox::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18475,7 +18475,7 @@ void PythonQtShell_QCheckBox::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18497,7 +18497,7 @@ void PythonQtShell_QCheckBox::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18519,7 +18519,7 @@ void PythonQtShell_QCheckBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18541,7 +18541,7 @@ bool PythonQtShell_QCheckBox::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18574,7 +18574,7 @@ void PythonQtShell_QCheckBox::nextCheckState() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18596,7 +18596,7 @@ QPaintEngine* PythonQtShell_QCheckBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18629,7 +18629,7 @@ void PythonQtShell_QCheckBox::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18651,7 +18651,7 @@ QPaintDevice* PythonQtShell_QCheckBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18684,7 +18684,7 @@ void PythonQtShell_QCheckBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18706,7 +18706,7 @@ void PythonQtShell_QCheckBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18728,7 +18728,7 @@ QPainter* PythonQtShell_QCheckBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18761,7 +18761,7 @@ void PythonQtShell_QCheckBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18783,7 +18783,7 @@ QSize PythonQtShell_QCheckBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18816,7 +18816,7 @@ void PythonQtShell_QCheckBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18838,7 +18838,7 @@ void PythonQtShell_QCheckBox::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18860,7 +18860,7 @@ void PythonQtShell_QCheckBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19027,7 +19027,7 @@ void PythonQtShell_QColorDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19049,7 +19049,7 @@ void PythonQtShell_QColorDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19071,7 +19071,7 @@ void PythonQtShell_QColorDialog::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19093,7 +19093,7 @@ void PythonQtShell_QColorDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19115,7 +19115,7 @@ void PythonQtShell_QColorDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19137,7 +19137,7 @@ void PythonQtShell_QColorDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19159,7 +19159,7 @@ void PythonQtShell_QColorDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19181,7 +19181,7 @@ int PythonQtShell_QColorDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19214,7 +19214,7 @@ void PythonQtShell_QColorDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19236,7 +19236,7 @@ void PythonQtShell_QColorDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19258,7 +19258,7 @@ void PythonQtShell_QColorDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19280,7 +19280,7 @@ void PythonQtShell_QColorDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19302,7 +19302,7 @@ void PythonQtShell_QColorDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19324,7 +19324,7 @@ void PythonQtShell_QColorDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19346,7 +19346,7 @@ bool PythonQtShell_QColorDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19379,7 +19379,7 @@ bool PythonQtShell_QColorDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19412,7 +19412,7 @@ int PythonQtShell_QColorDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19445,7 +19445,7 @@ void PythonQtShell_QColorDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19467,7 +19467,7 @@ bool PythonQtShell_QColorDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19500,7 +19500,7 @@ void PythonQtShell_QColorDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19522,7 +19522,7 @@ bool PythonQtShell_QColorDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19555,7 +19555,7 @@ int PythonQtShell_QColorDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19588,7 +19588,7 @@ void PythonQtShell_QColorDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19610,7 +19610,7 @@ void PythonQtShell_QColorDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19632,7 +19632,7 @@ void PythonQtShell_QColorDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19654,7 +19654,7 @@ QVariant PythonQtShell_QColorDialog::inputMethodQuery(Qt::InputMethodQuery arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19687,7 +19687,7 @@ void PythonQtShell_QColorDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19709,7 +19709,7 @@ void PythonQtShell_QColorDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19731,7 +19731,7 @@ void PythonQtShell_QColorDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19753,7 +19753,7 @@ int PythonQtShell_QColorDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19786,7 +19786,7 @@ QSize PythonQtShell_QColorDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19819,7 +19819,7 @@ void PythonQtShell_QColorDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19841,7 +19841,7 @@ void PythonQtShell_QColorDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19863,7 +19863,7 @@ void PythonQtShell_QColorDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19885,7 +19885,7 @@ void PythonQtShell_QColorDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19907,7 +19907,7 @@ void PythonQtShell_QColorDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19929,7 +19929,7 @@ bool PythonQtShell_QColorDialog::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19962,7 +19962,7 @@ QPaintEngine* PythonQtShell_QColorDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19995,7 +19995,7 @@ void PythonQtShell_QColorDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20017,7 +20017,7 @@ QPaintDevice* PythonQtShell_QColorDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20050,7 +20050,7 @@ void PythonQtShell_QColorDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20072,7 +20072,7 @@ void PythonQtShell_QColorDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20094,7 +20094,7 @@ void PythonQtShell_QColorDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20116,7 +20116,7 @@ QPainter* PythonQtShell_QColorDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20149,7 +20149,7 @@ void PythonQtShell_QColorDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20171,7 +20171,7 @@ QSize PythonQtShell_QColorDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20204,7 +20204,7 @@ void PythonQtShell_QColorDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20226,7 +20226,7 @@ void PythonQtShell_QColorDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20248,7 +20248,7 @@ void PythonQtShell_QColorDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20525,7 +20525,7 @@ void PythonQtShell_QColumnView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20547,7 +20547,7 @@ void PythonQtShell_QColumnView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20569,7 +20569,7 @@ void PythonQtShell_QColumnView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20591,7 +20591,7 @@ void PythonQtShell_QColumnView::closeEditor(QWidget* editor0, QAbstractItemDele { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20613,7 +20613,7 @@ void PythonQtShell_QColumnView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20635,7 +20635,7 @@ void PythonQtShell_QColumnView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20657,7 +20657,7 @@ void PythonQtShell_QColumnView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20679,7 +20679,7 @@ QAbstractItemView* PythonQtShell_QColumnView::createColumn(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20712,7 +20712,7 @@ void PythonQtShell_QColumnView::currentChanged(const QModelIndex& current0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20734,7 +20734,7 @@ void PythonQtShell_QColumnView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20756,7 +20756,7 @@ void PythonQtShell_QColumnView::dataChanged(const QModelIndex& topLeft0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20778,7 +20778,7 @@ int PythonQtShell_QColumnView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20811,7 +20811,7 @@ void PythonQtShell_QColumnView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20833,7 +20833,7 @@ void PythonQtShell_QColumnView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20855,7 +20855,7 @@ void PythonQtShell_QColumnView::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20877,7 +20877,7 @@ void PythonQtShell_QColumnView::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20899,7 +20899,7 @@ void PythonQtShell_QColumnView::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20921,7 +20921,7 @@ bool PythonQtShell_QColumnView::edit(const QModelIndex& index0, QAbstractItemV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20954,7 +20954,7 @@ void PythonQtShell_QColumnView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20976,7 +20976,7 @@ void PythonQtShell_QColumnView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20998,7 +20998,7 @@ bool PythonQtShell_QColumnView::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21031,7 +21031,7 @@ bool PythonQtShell_QColumnView::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21064,7 +21064,7 @@ void PythonQtShell_QColumnView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21086,7 +21086,7 @@ bool PythonQtShell_QColumnView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21119,7 +21119,7 @@ void PythonQtShell_QColumnView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21141,7 +21141,7 @@ bool PythonQtShell_QColumnView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21174,7 +21174,7 @@ int PythonQtShell_QColumnView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21207,7 +21207,7 @@ void PythonQtShell_QColumnView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21229,7 +21229,7 @@ int PythonQtShell_QColumnView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21262,7 +21262,7 @@ void PythonQtShell_QColumnView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21284,7 +21284,7 @@ void PythonQtShell_QColumnView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21306,7 +21306,7 @@ QModelIndex PythonQtShell_QColumnView::indexAt(const QPoint& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21339,7 +21339,7 @@ void PythonQtShell_QColumnView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21361,7 +21361,7 @@ void PythonQtShell_QColumnView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21383,7 +21383,7 @@ QVariant PythonQtShell_QColumnView::inputMethodQuery(Qt::InputMethodQuery quer { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21416,7 +21416,7 @@ bool PythonQtShell_QColumnView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21449,7 +21449,7 @@ void PythonQtShell_QColumnView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21471,7 +21471,7 @@ void PythonQtShell_QColumnView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21493,7 +21493,7 @@ void PythonQtShell_QColumnView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21515,7 +21515,7 @@ void PythonQtShell_QColumnView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21537,7 +21537,7 @@ int PythonQtShell_QColumnView::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21570,7 +21570,7 @@ QSize PythonQtShell_QColumnView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21603,7 +21603,7 @@ void PythonQtShell_QColumnView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21625,7 +21625,7 @@ void PythonQtShell_QColumnView::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21647,7 +21647,7 @@ void PythonQtShell_QColumnView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21669,7 +21669,7 @@ void PythonQtShell_QColumnView::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21691,7 +21691,7 @@ QModelIndex PythonQtShell_QColumnView::moveCursor(QAbstractItemView::CursorActi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21724,7 +21724,7 @@ void PythonQtShell_QColumnView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21746,7 +21746,7 @@ bool PythonQtShell_QColumnView::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21779,7 +21779,7 @@ QPaintEngine* PythonQtShell_QColumnView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21812,7 +21812,7 @@ void PythonQtShell_QColumnView::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21834,7 +21834,7 @@ QPaintDevice* PythonQtShell_QColumnView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21867,7 +21867,7 @@ void PythonQtShell_QColumnView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21889,7 +21889,7 @@ void PythonQtShell_QColumnView::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21911,7 +21911,7 @@ void PythonQtShell_QColumnView::rowsAboutToBeRemoved(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21933,7 +21933,7 @@ void PythonQtShell_QColumnView::rowsInserted(const QModelIndex& parent0, int s { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21955,7 +21955,7 @@ void PythonQtShell_QColumnView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21977,7 +21977,7 @@ void PythonQtShell_QColumnView::scrollTo(const QModelIndex& index0, QAbstractIt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21999,7 +21999,7 @@ void PythonQtShell_QColumnView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22021,7 +22021,7 @@ QList PythonQtShell_QColumnView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22054,7 +22054,7 @@ void PythonQtShell_QColumnView::selectionChanged(const QItemSelection& selected { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22076,7 +22076,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QColumnView::selectionCommand { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22109,7 +22109,7 @@ void PythonQtShell_QColumnView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22131,7 +22131,7 @@ void PythonQtShell_QColumnView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22153,7 +22153,7 @@ void PythonQtShell_QColumnView::setSelection(const QRect& rect0, QItemSelection { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22175,7 +22175,7 @@ void PythonQtShell_QColumnView::setSelectionModel(QItemSelectionModel* selectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22197,7 +22197,7 @@ void PythonQtShell_QColumnView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22219,7 +22219,7 @@ void PythonQtShell_QColumnView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22241,7 +22241,7 @@ QPainter* PythonQtShell_QColumnView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22274,7 +22274,7 @@ void PythonQtShell_QColumnView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22296,7 +22296,7 @@ QSize PythonQtShell_QColumnView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22329,7 +22329,7 @@ int PythonQtShell_QColumnView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22362,7 +22362,7 @@ int PythonQtShell_QColumnView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22395,7 +22395,7 @@ void PythonQtShell_QColumnView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22417,7 +22417,7 @@ void PythonQtShell_QColumnView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22439,7 +22439,7 @@ void PythonQtShell_QColumnView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22461,7 +22461,7 @@ void PythonQtShell_QColumnView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22483,7 +22483,7 @@ void PythonQtShell_QColumnView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22505,7 +22505,7 @@ void PythonQtShell_QColumnView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22527,7 +22527,7 @@ int PythonQtShell_QColumnView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22560,7 +22560,7 @@ void PythonQtShell_QColumnView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22582,7 +22582,7 @@ void PythonQtShell_QColumnView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22604,7 +22604,7 @@ QStyleOptionViewItem PythonQtShell_QColumnView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22637,7 +22637,7 @@ bool PythonQtShell_QColumnView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22670,7 +22670,7 @@ QSize PythonQtShell_QColumnView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22703,7 +22703,7 @@ QRect PythonQtShell_QColumnView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22736,7 +22736,7 @@ QRegion PythonQtShell_QColumnView::visualRegionForSelection(const QItemSelectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22769,7 +22769,7 @@ void PythonQtShell_QColumnView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22854,7 +22854,7 @@ void PythonQtShell_QComboBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22876,7 +22876,7 @@ void PythonQtShell_QComboBox::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22898,7 +22898,7 @@ void PythonQtShell_QComboBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22920,7 +22920,7 @@ void PythonQtShell_QComboBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22942,7 +22942,7 @@ void PythonQtShell_QComboBox::contextMenuEvent(QContextMenuEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22964,7 +22964,7 @@ void PythonQtShell_QComboBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22986,7 +22986,7 @@ int PythonQtShell_QComboBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23019,7 +23019,7 @@ void PythonQtShell_QComboBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23041,7 +23041,7 @@ void PythonQtShell_QComboBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23063,7 +23063,7 @@ void PythonQtShell_QComboBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23085,7 +23085,7 @@ void PythonQtShell_QComboBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23107,7 +23107,7 @@ void PythonQtShell_QComboBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23129,7 +23129,7 @@ bool PythonQtShell_QComboBox::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23162,7 +23162,7 @@ bool PythonQtShell_QComboBox::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23195,7 +23195,7 @@ void PythonQtShell_QComboBox::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23217,7 +23217,7 @@ bool PythonQtShell_QComboBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23250,7 +23250,7 @@ void PythonQtShell_QComboBox::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23272,7 +23272,7 @@ bool PythonQtShell_QComboBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23305,7 +23305,7 @@ int PythonQtShell_QComboBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23338,7 +23338,7 @@ void PythonQtShell_QComboBox::hideEvent(QHideEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23360,7 +23360,7 @@ void PythonQtShell_QComboBox::hidePopup() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hidePopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23382,7 +23382,7 @@ void PythonQtShell_QComboBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23404,7 +23404,7 @@ void PythonQtShell_QComboBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23426,7 +23426,7 @@ QVariant PythonQtShell_QComboBox::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23459,7 +23459,7 @@ void PythonQtShell_QComboBox::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23481,7 +23481,7 @@ void PythonQtShell_QComboBox::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23503,7 +23503,7 @@ void PythonQtShell_QComboBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23525,7 +23525,7 @@ int PythonQtShell_QComboBox::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23558,7 +23558,7 @@ QSize PythonQtShell_QComboBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23591,7 +23591,7 @@ void PythonQtShell_QComboBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23613,7 +23613,7 @@ void PythonQtShell_QComboBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23635,7 +23635,7 @@ void PythonQtShell_QComboBox::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23657,7 +23657,7 @@ void PythonQtShell_QComboBox::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23679,7 +23679,7 @@ void PythonQtShell_QComboBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23701,7 +23701,7 @@ bool PythonQtShell_QComboBox::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23734,7 +23734,7 @@ QPaintEngine* PythonQtShell_QComboBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23767,7 +23767,7 @@ void PythonQtShell_QComboBox::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23789,7 +23789,7 @@ QPaintDevice* PythonQtShell_QComboBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23822,7 +23822,7 @@ void PythonQtShell_QComboBox::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23844,7 +23844,7 @@ void PythonQtShell_QComboBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23866,7 +23866,7 @@ QPainter* PythonQtShell_QComboBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23899,7 +23899,7 @@ void PythonQtShell_QComboBox::showEvent(QShowEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23921,7 +23921,7 @@ void PythonQtShell_QComboBox::showPopup() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showPopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23943,7 +23943,7 @@ QSize PythonQtShell_QComboBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23976,7 +23976,7 @@ void PythonQtShell_QComboBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23998,7 +23998,7 @@ void PythonQtShell_QComboBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24020,7 +24020,7 @@ void PythonQtShell_QComboBox::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp b/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp index 5d01c696f..9cda3aa6b 100644 --- a/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp +++ b/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp @@ -77,7 +77,7 @@ void PythonQtShell_QCommandLinkButton::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -99,7 +99,7 @@ void PythonQtShell_QCommandLinkButton::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -121,7 +121,7 @@ void PythonQtShell_QCommandLinkButton::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -143,7 +143,7 @@ void PythonQtShell_QCommandLinkButton::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -165,7 +165,7 @@ void PythonQtShell_QCommandLinkButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -187,7 +187,7 @@ void PythonQtShell_QCommandLinkButton::contextMenuEvent(QContextMenuEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -209,7 +209,7 @@ void PythonQtShell_QCommandLinkButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -231,7 +231,7 @@ int PythonQtShell_QCommandLinkButton::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -264,7 +264,7 @@ void PythonQtShell_QCommandLinkButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -286,7 +286,7 @@ void PythonQtShell_QCommandLinkButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -308,7 +308,7 @@ void PythonQtShell_QCommandLinkButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -330,7 +330,7 @@ void PythonQtShell_QCommandLinkButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -352,7 +352,7 @@ void PythonQtShell_QCommandLinkButton::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -374,7 +374,7 @@ bool PythonQtShell_QCommandLinkButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -407,7 +407,7 @@ bool PythonQtShell_QCommandLinkButton::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -440,7 +440,7 @@ void PythonQtShell_QCommandLinkButton::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -462,7 +462,7 @@ bool PythonQtShell_QCommandLinkButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -495,7 +495,7 @@ void PythonQtShell_QCommandLinkButton::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -517,7 +517,7 @@ bool PythonQtShell_QCommandLinkButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -550,7 +550,7 @@ int PythonQtShell_QCommandLinkButton::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -583,7 +583,7 @@ void PythonQtShell_QCommandLinkButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -605,7 +605,7 @@ bool PythonQtShell_QCommandLinkButton::hitButton(const QPoint& pos0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -638,7 +638,7 @@ void PythonQtShell_QCommandLinkButton::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -660,7 +660,7 @@ void PythonQtShell_QCommandLinkButton::inputMethodEvent(QInputMethodEvent* arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -682,7 +682,7 @@ QVariant PythonQtShell_QCommandLinkButton::inputMethodQuery(Qt::InputMethodQuer { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -715,7 +715,7 @@ void PythonQtShell_QCommandLinkButton::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -737,7 +737,7 @@ void PythonQtShell_QCommandLinkButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -759,7 +759,7 @@ void PythonQtShell_QCommandLinkButton::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -781,7 +781,7 @@ int PythonQtShell_QCommandLinkButton::metric(QPaintDevice::PaintDeviceMetric a { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -814,7 +814,7 @@ QSize PythonQtShell_QCommandLinkButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -847,7 +847,7 @@ void PythonQtShell_QCommandLinkButton::mouseDoubleClickEvent(QMouseEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -869,7 +869,7 @@ void PythonQtShell_QCommandLinkButton::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -891,7 +891,7 @@ void PythonQtShell_QCommandLinkButton::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -913,7 +913,7 @@ void PythonQtShell_QCommandLinkButton::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -935,7 +935,7 @@ void PythonQtShell_QCommandLinkButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -957,7 +957,7 @@ bool PythonQtShell_QCommandLinkButton::nativeEvent(const QByteArray& eventType { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -990,7 +990,7 @@ void PythonQtShell_QCommandLinkButton::nextCheckState() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1012,7 +1012,7 @@ QPaintEngine* PythonQtShell_QCommandLinkButton::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1045,7 +1045,7 @@ void PythonQtShell_QCommandLinkButton::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1067,7 +1067,7 @@ QPaintDevice* PythonQtShell_QCommandLinkButton::redirected(QPoint* offset0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1100,7 +1100,7 @@ void PythonQtShell_QCommandLinkButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1122,7 +1122,7 @@ void PythonQtShell_QCommandLinkButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1144,7 +1144,7 @@ QPainter* PythonQtShell_QCommandLinkButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1177,7 +1177,7 @@ void PythonQtShell_QCommandLinkButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1199,7 +1199,7 @@ QSize PythonQtShell_QCommandLinkButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1232,7 +1232,7 @@ void PythonQtShell_QCommandLinkButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1254,7 +1254,7 @@ void PythonQtShell_QCommandLinkButton::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1276,7 +1276,7 @@ void PythonQtShell_QCommandLinkButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1339,7 +1339,7 @@ void PythonQtShell_QCommonStyle::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1361,7 +1361,7 @@ void PythonQtShell_QCommonStyle::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1383,7 +1383,7 @@ void PythonQtShell_QCommonStyle::drawComplexControl(QStyle::ComplexControl cc0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1405,7 +1405,7 @@ void PythonQtShell_QCommonStyle::drawControl(QStyle::ControlElement element0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1427,7 +1427,7 @@ void PythonQtShell_QCommonStyle::drawItemPixmap(QPainter* painter0, const QRect { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawItemPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1449,7 +1449,7 @@ void PythonQtShell_QCommonStyle::drawItemText(QPainter* painter0, const QRect& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawItemText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1471,7 +1471,7 @@ void PythonQtShell_QCommonStyle::drawPrimitive(QStyle::PrimitiveElement pe0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawPrimitive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1493,7 +1493,7 @@ bool PythonQtShell_QCommonStyle::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1526,7 +1526,7 @@ bool PythonQtShell_QCommonStyle::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1559,7 +1559,7 @@ QPixmap PythonQtShell_QCommonStyle::generatedIconPixmap(QIcon::Mode iconMode0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("generatedIconPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1592,7 +1592,7 @@ QStyle::SubControl PythonQtShell_QCommonStyle::hitTestComplexControl(QStyle::Co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitTestComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1625,7 +1625,7 @@ QRect PythonQtShell_QCommonStyle::itemPixmapRect(const QRect& r0, int flags1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemPixmapRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1658,7 +1658,7 @@ int PythonQtShell_QCommonStyle::layoutSpacing(QSizePolicy::ControlType control { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layoutSpacing"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1691,7 +1691,7 @@ int PythonQtShell_QCommonStyle::pixelMetric(QStyle::PixelMetric m0, const QSty { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pixelMetric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1724,7 +1724,7 @@ void PythonQtShell_QCommonStyle::polish(QApplication* app0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1746,7 +1746,7 @@ void PythonQtShell_QCommonStyle::polish(QPalette& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1768,7 +1768,7 @@ void PythonQtShell_QCommonStyle::polish(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1790,7 +1790,7 @@ QSize PythonQtShell_QCommonStyle::sizeFromContents(QStyle::ContentsType ct0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1823,7 +1823,7 @@ QIcon PythonQtShell_QCommonStyle::standardIcon(QStyle::StandardPixmap standard { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("standardIcon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1856,7 +1856,7 @@ QPalette PythonQtShell_QCommonStyle::standardPalette() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("standardPalette"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1889,7 +1889,7 @@ QPixmap PythonQtShell_QCommonStyle::standardPixmap(QStyle::StandardPixmap sp0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("standardPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1922,7 +1922,7 @@ int PythonQtShell_QCommonStyle::styleHint(QStyle::StyleHint sh0, const QStyleO { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("styleHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1955,7 +1955,7 @@ QRect PythonQtShell_QCommonStyle::subControlRect(QStyle::ComplexControl cc0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("subControlRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1988,7 +1988,7 @@ QRect PythonQtShell_QCommonStyle::subElementRect(QStyle::SubElement r0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("subElementRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2021,7 +2021,7 @@ void PythonQtShell_QCommonStyle::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2043,7 +2043,7 @@ void PythonQtShell_QCommonStyle::unpolish(QApplication* application0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2065,7 +2065,7 @@ void PythonQtShell_QCommonStyle::unpolish(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2110,7 +2110,7 @@ void PythonQtShell_QCompleter::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2132,7 +2132,7 @@ void PythonQtShell_QCompleter::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2154,7 +2154,7 @@ bool PythonQtShell_QCompleter::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2187,7 +2187,7 @@ bool PythonQtShell_QCompleter::eventFilter(QObject* o0, QEvent* e1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2220,7 +2220,7 @@ QString PythonQtShell_QCompleter::pathFromIndex(const QModelIndex& index0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pathFromIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2253,7 +2253,7 @@ QStringList PythonQtShell_QCompleter::splitPath(const QString& path0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("splitPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2286,7 +2286,7 @@ void PythonQtShell_QCompleter::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2489,7 +2489,7 @@ QModelIndex PythonQtShell_QConcatenateTablesProxyModel::buddy(const QModelIndex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2522,7 +2522,7 @@ bool PythonQtShell_QConcatenateTablesProxyModel::canDropMimeData(const QMimeDat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2555,7 +2555,7 @@ bool PythonQtShell_QConcatenateTablesProxyModel::canFetchMore(const QModelIndex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2588,7 +2588,7 @@ void PythonQtShell_QConcatenateTablesProxyModel::childEvent(QChildEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2610,7 +2610,7 @@ int PythonQtShell_QConcatenateTablesProxyModel::columnCount(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2643,7 +2643,7 @@ void PythonQtShell_QConcatenateTablesProxyModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2665,7 +2665,7 @@ QVariant PythonQtShell_QConcatenateTablesProxyModel::data(const QModelIndex& i { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2698,7 +2698,7 @@ bool PythonQtShell_QConcatenateTablesProxyModel::dropMimeData(const QMimeData* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2731,7 +2731,7 @@ bool PythonQtShell_QConcatenateTablesProxyModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2764,7 +2764,7 @@ bool PythonQtShell_QConcatenateTablesProxyModel::eventFilter(QObject* watched0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2797,7 +2797,7 @@ void PythonQtShell_QConcatenateTablesProxyModel::fetchMore(const QModelIndex& p { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2819,7 +2819,7 @@ Qt::ItemFlags PythonQtShell_QConcatenateTablesProxyModel::flags(const QModelInd { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2852,7 +2852,7 @@ bool PythonQtShell_QConcatenateTablesProxyModel::hasChildren(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2885,7 +2885,7 @@ QVariant PythonQtShell_QConcatenateTablesProxyModel::headerData(int section0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2918,7 +2918,7 @@ QModelIndex PythonQtShell_QConcatenateTablesProxyModel::index(int row0, int c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2951,7 +2951,7 @@ bool PythonQtShell_QConcatenateTablesProxyModel::insertColumns(int column0, in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2984,7 +2984,7 @@ bool PythonQtShell_QConcatenateTablesProxyModel::insertRows(int row0, int cou { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3017,7 +3017,7 @@ QMap PythonQtShell_QConcatenateTablesProxyModel::itemData(cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3050,7 +3050,7 @@ QList PythonQtShell_QConcatenateTablesProxyModel::match(const QMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3083,7 +3083,7 @@ QMimeData* PythonQtShell_QConcatenateTablesProxyModel::mimeData(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3116,7 +3116,7 @@ QStringList PythonQtShell_QConcatenateTablesProxyModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3149,7 +3149,7 @@ bool PythonQtShell_QConcatenateTablesProxyModel::moveColumns(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3182,7 +3182,7 @@ bool PythonQtShell_QConcatenateTablesProxyModel::moveRows(const QModelIndex& s { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3215,7 +3215,7 @@ QModelIndex PythonQtShell_QConcatenateTablesProxyModel::parent(const QModelInde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3248,7 +3248,7 @@ bool PythonQtShell_QConcatenateTablesProxyModel::removeColumns(int column0, in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3281,7 +3281,7 @@ bool PythonQtShell_QConcatenateTablesProxyModel::removeRows(int row0, int cou { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3314,7 +3314,7 @@ void PythonQtShell_QConcatenateTablesProxyModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3336,7 +3336,7 @@ QHash PythonQtShell_QConcatenateTablesProxyModel::roleNames( { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3369,7 +3369,7 @@ int PythonQtShell_QConcatenateTablesProxyModel::rowCount(const QModelIndex& pa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3402,7 +3402,7 @@ bool PythonQtShell_QConcatenateTablesProxyModel::setData(const QModelIndex& in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3435,7 +3435,7 @@ bool PythonQtShell_QConcatenateTablesProxyModel::setHeaderData(int section0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3468,7 +3468,7 @@ bool PythonQtShell_QConcatenateTablesProxyModel::setItemData(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3501,7 +3501,7 @@ QModelIndex PythonQtShell_QConcatenateTablesProxyModel::sibling(int row0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3534,7 +3534,7 @@ void PythonQtShell_QConcatenateTablesProxyModel::sort(int column0, Qt::SortOrde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3556,7 +3556,7 @@ QSize PythonQtShell_QConcatenateTablesProxyModel::span(const QModelIndex& inde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3589,7 +3589,7 @@ bool PythonQtShell_QConcatenateTablesProxyModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3622,7 +3622,7 @@ Qt::DropActions PythonQtShell_QConcatenateTablesProxyModel::supportedDragAction { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3655,7 +3655,7 @@ Qt::DropActions PythonQtShell_QConcatenateTablesProxyModel::supportedDropAction { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3688,7 +3688,7 @@ void PythonQtShell_QConcatenateTablesProxyModel::timerEvent(QTimerEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3850,7 +3850,7 @@ void PythonQtShell_QDataWidgetMapper::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3872,7 +3872,7 @@ void PythonQtShell_QDataWidgetMapper::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3894,7 +3894,7 @@ bool PythonQtShell_QDataWidgetMapper::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3927,7 +3927,7 @@ bool PythonQtShell_QDataWidgetMapper::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3960,7 +3960,7 @@ void PythonQtShell_QDataWidgetMapper::setCurrentIndex(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setCurrentIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3982,7 +3982,7 @@ void PythonQtShell_QDataWidgetMapper::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4117,7 +4117,7 @@ void PythonQtShell_QDateEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4139,7 +4139,7 @@ void PythonQtShell_QDateEdit::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4161,7 +4161,7 @@ void PythonQtShell_QDateEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4183,7 +4183,7 @@ void PythonQtShell_QDateEdit::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4205,7 +4205,7 @@ void PythonQtShell_QDateEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4227,7 +4227,7 @@ void PythonQtShell_QDateEdit::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4249,7 +4249,7 @@ void PythonQtShell_QDateEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4271,7 +4271,7 @@ QDateTime PythonQtShell_QDateEdit::dateTimeFromText(const QString& text0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dateTimeFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4304,7 +4304,7 @@ int PythonQtShell_QDateEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4337,7 +4337,7 @@ void PythonQtShell_QDateEdit::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4359,7 +4359,7 @@ void PythonQtShell_QDateEdit::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4381,7 +4381,7 @@ void PythonQtShell_QDateEdit::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4403,7 +4403,7 @@ void PythonQtShell_QDateEdit::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4425,7 +4425,7 @@ void PythonQtShell_QDateEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4447,7 +4447,7 @@ bool PythonQtShell_QDateEdit::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4480,7 +4480,7 @@ bool PythonQtShell_QDateEdit::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4513,7 +4513,7 @@ void PythonQtShell_QDateEdit::fixup(QString& input0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4535,7 +4535,7 @@ void PythonQtShell_QDateEdit::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4557,7 +4557,7 @@ bool PythonQtShell_QDateEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4590,7 +4590,7 @@ void PythonQtShell_QDateEdit::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4612,7 +4612,7 @@ bool PythonQtShell_QDateEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4645,7 +4645,7 @@ int PythonQtShell_QDateEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4678,7 +4678,7 @@ void PythonQtShell_QDateEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4700,7 +4700,7 @@ void PythonQtShell_QDateEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4722,7 +4722,7 @@ void PythonQtShell_QDateEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4744,7 +4744,7 @@ QVariant PythonQtShell_QDateEdit::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4777,7 +4777,7 @@ void PythonQtShell_QDateEdit::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4799,7 +4799,7 @@ void PythonQtShell_QDateEdit::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4821,7 +4821,7 @@ void PythonQtShell_QDateEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4843,7 +4843,7 @@ int PythonQtShell_QDateEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4876,7 +4876,7 @@ QSize PythonQtShell_QDateEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4909,7 +4909,7 @@ void PythonQtShell_QDateEdit::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4931,7 +4931,7 @@ void PythonQtShell_QDateEdit::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4953,7 +4953,7 @@ void PythonQtShell_QDateEdit::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4975,7 +4975,7 @@ void PythonQtShell_QDateEdit::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4997,7 +4997,7 @@ void PythonQtShell_QDateEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5019,7 +5019,7 @@ bool PythonQtShell_QDateEdit::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5052,7 +5052,7 @@ QPaintEngine* PythonQtShell_QDateEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5085,7 +5085,7 @@ void PythonQtShell_QDateEdit::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5107,7 +5107,7 @@ QPaintDevice* PythonQtShell_QDateEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5140,7 +5140,7 @@ void PythonQtShell_QDateEdit::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5162,7 +5162,7 @@ void PythonQtShell_QDateEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5184,7 +5184,7 @@ QPainter* PythonQtShell_QDateEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5217,7 +5217,7 @@ void PythonQtShell_QDateEdit::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5239,7 +5239,7 @@ QSize PythonQtShell_QDateEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5272,7 +5272,7 @@ void PythonQtShell_QDateEdit::stepBy(int steps0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5294,7 +5294,7 @@ QAbstractSpinBox::StepEnabled PythonQtShell_QDateEdit::stepEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5327,7 +5327,7 @@ void PythonQtShell_QDateEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5349,7 +5349,7 @@ QString PythonQtShell_QDateEdit::textFromDateTime(const QDateTime& dt0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textFromDateTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5382,7 +5382,7 @@ void PythonQtShell_QDateEdit::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5404,7 +5404,7 @@ QValidator::State PythonQtShell_QDateEdit::validate(QString& input0, int& pos { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5437,7 +5437,7 @@ void PythonQtShell_QDateEdit::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5486,7 +5486,7 @@ void PythonQtShell_QDateTimeEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5508,7 +5508,7 @@ void PythonQtShell_QDateTimeEdit::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5530,7 +5530,7 @@ void PythonQtShell_QDateTimeEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5552,7 +5552,7 @@ void PythonQtShell_QDateTimeEdit::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5574,7 +5574,7 @@ void PythonQtShell_QDateTimeEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5596,7 +5596,7 @@ void PythonQtShell_QDateTimeEdit::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5618,7 +5618,7 @@ void PythonQtShell_QDateTimeEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5640,7 +5640,7 @@ QDateTime PythonQtShell_QDateTimeEdit::dateTimeFromText(const QString& text0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dateTimeFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5673,7 +5673,7 @@ int PythonQtShell_QDateTimeEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5706,7 +5706,7 @@ void PythonQtShell_QDateTimeEdit::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5728,7 +5728,7 @@ void PythonQtShell_QDateTimeEdit::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5750,7 +5750,7 @@ void PythonQtShell_QDateTimeEdit::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5772,7 +5772,7 @@ void PythonQtShell_QDateTimeEdit::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5794,7 +5794,7 @@ void PythonQtShell_QDateTimeEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5816,7 +5816,7 @@ bool PythonQtShell_QDateTimeEdit::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5849,7 +5849,7 @@ bool PythonQtShell_QDateTimeEdit::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5882,7 +5882,7 @@ void PythonQtShell_QDateTimeEdit::fixup(QString& input0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5904,7 +5904,7 @@ void PythonQtShell_QDateTimeEdit::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5926,7 +5926,7 @@ bool PythonQtShell_QDateTimeEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5959,7 +5959,7 @@ void PythonQtShell_QDateTimeEdit::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5981,7 +5981,7 @@ bool PythonQtShell_QDateTimeEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6014,7 +6014,7 @@ int PythonQtShell_QDateTimeEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6047,7 +6047,7 @@ void PythonQtShell_QDateTimeEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6069,7 +6069,7 @@ void PythonQtShell_QDateTimeEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6091,7 +6091,7 @@ void PythonQtShell_QDateTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6113,7 +6113,7 @@ QVariant PythonQtShell_QDateTimeEdit::inputMethodQuery(Qt::InputMethodQuery ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6146,7 +6146,7 @@ void PythonQtShell_QDateTimeEdit::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6168,7 +6168,7 @@ void PythonQtShell_QDateTimeEdit::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6190,7 +6190,7 @@ void PythonQtShell_QDateTimeEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6212,7 +6212,7 @@ int PythonQtShell_QDateTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6245,7 +6245,7 @@ QSize PythonQtShell_QDateTimeEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6278,7 +6278,7 @@ void PythonQtShell_QDateTimeEdit::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6300,7 +6300,7 @@ void PythonQtShell_QDateTimeEdit::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6322,7 +6322,7 @@ void PythonQtShell_QDateTimeEdit::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6344,7 +6344,7 @@ void PythonQtShell_QDateTimeEdit::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6366,7 +6366,7 @@ void PythonQtShell_QDateTimeEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6388,7 +6388,7 @@ bool PythonQtShell_QDateTimeEdit::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6421,7 +6421,7 @@ QPaintEngine* PythonQtShell_QDateTimeEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6454,7 +6454,7 @@ void PythonQtShell_QDateTimeEdit::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6476,7 +6476,7 @@ QPaintDevice* PythonQtShell_QDateTimeEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6509,7 +6509,7 @@ void PythonQtShell_QDateTimeEdit::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6531,7 +6531,7 @@ void PythonQtShell_QDateTimeEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6553,7 +6553,7 @@ QPainter* PythonQtShell_QDateTimeEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6586,7 +6586,7 @@ void PythonQtShell_QDateTimeEdit::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6608,7 +6608,7 @@ QSize PythonQtShell_QDateTimeEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6641,7 +6641,7 @@ void PythonQtShell_QDateTimeEdit::stepBy(int steps0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6663,7 +6663,7 @@ QAbstractSpinBox::StepEnabled PythonQtShell_QDateTimeEdit::stepEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6696,7 +6696,7 @@ void PythonQtShell_QDateTimeEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6718,7 +6718,7 @@ QString PythonQtShell_QDateTimeEdit::textFromDateTime(const QDateTime& dt0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textFromDateTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6751,7 +6751,7 @@ void PythonQtShell_QDateTimeEdit::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6773,7 +6773,7 @@ QValidator::State PythonQtShell_QDateTimeEdit::validate(QString& input0, int& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6806,7 +6806,7 @@ void PythonQtShell_QDateTimeEdit::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7126,7 +7126,7 @@ void PythonQtShell_QDesktopWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7148,7 +7148,7 @@ void PythonQtShell_QDesktopWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7170,7 +7170,7 @@ void PythonQtShell_QDesktopWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7192,7 +7192,7 @@ void PythonQtShell_QDesktopWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7214,7 +7214,7 @@ void PythonQtShell_QDesktopWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7236,7 +7236,7 @@ void PythonQtShell_QDesktopWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7258,7 +7258,7 @@ int PythonQtShell_QDesktopWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7291,7 +7291,7 @@ void PythonQtShell_QDesktopWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7313,7 +7313,7 @@ void PythonQtShell_QDesktopWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7335,7 +7335,7 @@ void PythonQtShell_QDesktopWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7357,7 +7357,7 @@ void PythonQtShell_QDesktopWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7379,7 +7379,7 @@ void PythonQtShell_QDesktopWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7401,7 +7401,7 @@ bool PythonQtShell_QDesktopWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7434,7 +7434,7 @@ bool PythonQtShell_QDesktopWidget::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7467,7 +7467,7 @@ void PythonQtShell_QDesktopWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7489,7 +7489,7 @@ bool PythonQtShell_QDesktopWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7522,7 +7522,7 @@ void PythonQtShell_QDesktopWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7544,7 +7544,7 @@ bool PythonQtShell_QDesktopWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7577,7 +7577,7 @@ int PythonQtShell_QDesktopWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7610,7 +7610,7 @@ void PythonQtShell_QDesktopWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7632,7 +7632,7 @@ void PythonQtShell_QDesktopWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7654,7 +7654,7 @@ void PythonQtShell_QDesktopWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7676,7 +7676,7 @@ QVariant PythonQtShell_QDesktopWidget::inputMethodQuery(Qt::InputMethodQuery a { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7709,7 +7709,7 @@ void PythonQtShell_QDesktopWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7731,7 +7731,7 @@ void PythonQtShell_QDesktopWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7753,7 +7753,7 @@ void PythonQtShell_QDesktopWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7775,7 +7775,7 @@ int PythonQtShell_QDesktopWidget::metric(QPaintDevice::PaintDeviceMetric arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7808,7 +7808,7 @@ QSize PythonQtShell_QDesktopWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7841,7 +7841,7 @@ void PythonQtShell_QDesktopWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7863,7 +7863,7 @@ void PythonQtShell_QDesktopWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7885,7 +7885,7 @@ void PythonQtShell_QDesktopWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7907,7 +7907,7 @@ void PythonQtShell_QDesktopWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7929,7 +7929,7 @@ void PythonQtShell_QDesktopWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7951,7 +7951,7 @@ bool PythonQtShell_QDesktopWidget::nativeEvent(const QByteArray& eventType0, v { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7984,7 +7984,7 @@ QPaintEngine* PythonQtShell_QDesktopWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8017,7 +8017,7 @@ void PythonQtShell_QDesktopWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8039,7 +8039,7 @@ QPaintDevice* PythonQtShell_QDesktopWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8072,7 +8072,7 @@ void PythonQtShell_QDesktopWidget::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8094,7 +8094,7 @@ void PythonQtShell_QDesktopWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8116,7 +8116,7 @@ QPainter* PythonQtShell_QDesktopWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8149,7 +8149,7 @@ void PythonQtShell_QDesktopWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8171,7 +8171,7 @@ QSize PythonQtShell_QDesktopWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8204,7 +8204,7 @@ void PythonQtShell_QDesktopWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8226,7 +8226,7 @@ void PythonQtShell_QDesktopWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8248,7 +8248,7 @@ void PythonQtShell_QDesktopWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8358,7 +8358,7 @@ void PythonQtShell_QDial::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8380,7 +8380,7 @@ void PythonQtShell_QDial::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8402,7 +8402,7 @@ void PythonQtShell_QDial::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8424,7 +8424,7 @@ void PythonQtShell_QDial::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8446,7 +8446,7 @@ void PythonQtShell_QDial::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8468,7 +8468,7 @@ void PythonQtShell_QDial::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8490,7 +8490,7 @@ int PythonQtShell_QDial::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8523,7 +8523,7 @@ void PythonQtShell_QDial::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8545,7 +8545,7 @@ void PythonQtShell_QDial::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8567,7 +8567,7 @@ void PythonQtShell_QDial::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8589,7 +8589,7 @@ void PythonQtShell_QDial::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8611,7 +8611,7 @@ void PythonQtShell_QDial::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8633,7 +8633,7 @@ bool PythonQtShell_QDial::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8666,7 +8666,7 @@ bool PythonQtShell_QDial::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8699,7 +8699,7 @@ void PythonQtShell_QDial::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8721,7 +8721,7 @@ bool PythonQtShell_QDial::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8754,7 +8754,7 @@ void PythonQtShell_QDial::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8776,7 +8776,7 @@ bool PythonQtShell_QDial::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8809,7 +8809,7 @@ int PythonQtShell_QDial::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8842,7 +8842,7 @@ void PythonQtShell_QDial::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8864,7 +8864,7 @@ void PythonQtShell_QDial::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8886,7 +8886,7 @@ void PythonQtShell_QDial::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8908,7 +8908,7 @@ QVariant PythonQtShell_QDial::inputMethodQuery(Qt::InputMethodQuery arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8941,7 +8941,7 @@ void PythonQtShell_QDial::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8963,7 +8963,7 @@ void PythonQtShell_QDial::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8985,7 +8985,7 @@ void PythonQtShell_QDial::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9007,7 +9007,7 @@ int PythonQtShell_QDial::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9040,7 +9040,7 @@ QSize PythonQtShell_QDial::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9073,7 +9073,7 @@ void PythonQtShell_QDial::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9095,7 +9095,7 @@ void PythonQtShell_QDial::mouseMoveEvent(QMouseEvent* me0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9117,7 +9117,7 @@ void PythonQtShell_QDial::mousePressEvent(QMouseEvent* me0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9139,7 +9139,7 @@ void PythonQtShell_QDial::mouseReleaseEvent(QMouseEvent* me0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9161,7 +9161,7 @@ void PythonQtShell_QDial::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9183,7 +9183,7 @@ bool PythonQtShell_QDial::nativeEvent(const QByteArray& eventType0, void* mes { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9216,7 +9216,7 @@ QPaintEngine* PythonQtShell_QDial::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9249,7 +9249,7 @@ void PythonQtShell_QDial::paintEvent(QPaintEvent* pe0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9271,7 +9271,7 @@ QPaintDevice* PythonQtShell_QDial::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9304,7 +9304,7 @@ void PythonQtShell_QDial::resizeEvent(QResizeEvent* re0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9326,7 +9326,7 @@ void PythonQtShell_QDial::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9348,7 +9348,7 @@ QPainter* PythonQtShell_QDial::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9381,7 +9381,7 @@ void PythonQtShell_QDial::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9403,7 +9403,7 @@ QSize PythonQtShell_QDial::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9436,7 +9436,7 @@ void PythonQtShell_QDial::sliderChange(QAbstractSlider::SliderChange change0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sliderChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9458,7 +9458,7 @@ void PythonQtShell_QDial::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9480,7 +9480,7 @@ void PythonQtShell_QDial::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9502,7 +9502,7 @@ void PythonQtShell_QDial::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9587,7 +9587,7 @@ void PythonQtShell_QDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9609,7 +9609,7 @@ void PythonQtShell_QDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9631,7 +9631,7 @@ void PythonQtShell_QDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9653,7 +9653,7 @@ void PythonQtShell_QDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9675,7 +9675,7 @@ void PythonQtShell_QDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9697,7 +9697,7 @@ void PythonQtShell_QDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9719,7 +9719,7 @@ void PythonQtShell_QDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9741,7 +9741,7 @@ int PythonQtShell_QDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9774,7 +9774,7 @@ void PythonQtShell_QDialog::done(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9796,7 +9796,7 @@ void PythonQtShell_QDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9818,7 +9818,7 @@ void PythonQtShell_QDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9840,7 +9840,7 @@ void PythonQtShell_QDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9862,7 +9862,7 @@ void PythonQtShell_QDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9884,7 +9884,7 @@ void PythonQtShell_QDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9906,7 +9906,7 @@ bool PythonQtShell_QDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9939,7 +9939,7 @@ bool PythonQtShell_QDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9972,7 +9972,7 @@ int PythonQtShell_QDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10005,7 +10005,7 @@ void PythonQtShell_QDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10027,7 +10027,7 @@ bool PythonQtShell_QDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10060,7 +10060,7 @@ void PythonQtShell_QDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10082,7 +10082,7 @@ bool PythonQtShell_QDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10115,7 +10115,7 @@ int PythonQtShell_QDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10148,7 +10148,7 @@ void PythonQtShell_QDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10170,7 +10170,7 @@ void PythonQtShell_QDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10192,7 +10192,7 @@ void PythonQtShell_QDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10214,7 +10214,7 @@ QVariant PythonQtShell_QDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10247,7 +10247,7 @@ void PythonQtShell_QDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10269,7 +10269,7 @@ void PythonQtShell_QDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10291,7 +10291,7 @@ void PythonQtShell_QDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10313,7 +10313,7 @@ int PythonQtShell_QDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10346,7 +10346,7 @@ QSize PythonQtShell_QDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10379,7 +10379,7 @@ void PythonQtShell_QDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10401,7 +10401,7 @@ void PythonQtShell_QDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10423,7 +10423,7 @@ void PythonQtShell_QDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10445,7 +10445,7 @@ void PythonQtShell_QDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10467,7 +10467,7 @@ void PythonQtShell_QDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10489,7 +10489,7 @@ bool PythonQtShell_QDialog::nativeEvent(const QByteArray& eventType0, void* m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10522,7 +10522,7 @@ void PythonQtShell_QDialog::open() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10544,7 +10544,7 @@ QPaintEngine* PythonQtShell_QDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10577,7 +10577,7 @@ void PythonQtShell_QDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10599,7 +10599,7 @@ QPaintDevice* PythonQtShell_QDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10632,7 +10632,7 @@ void PythonQtShell_QDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10654,7 +10654,7 @@ void PythonQtShell_QDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10676,7 +10676,7 @@ void PythonQtShell_QDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10698,7 +10698,7 @@ QPainter* PythonQtShell_QDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10731,7 +10731,7 @@ void PythonQtShell_QDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10753,7 +10753,7 @@ QSize PythonQtShell_QDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10786,7 +10786,7 @@ void PythonQtShell_QDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10808,7 +10808,7 @@ void PythonQtShell_QDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10830,7 +10830,7 @@ void PythonQtShell_QDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10915,7 +10915,7 @@ void PythonQtShell_QDialogButtonBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10937,7 +10937,7 @@ void PythonQtShell_QDialogButtonBox::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10959,7 +10959,7 @@ void PythonQtShell_QDialogButtonBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10981,7 +10981,7 @@ void PythonQtShell_QDialogButtonBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11003,7 +11003,7 @@ void PythonQtShell_QDialogButtonBox::contextMenuEvent(QContextMenuEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11025,7 +11025,7 @@ void PythonQtShell_QDialogButtonBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11047,7 +11047,7 @@ int PythonQtShell_QDialogButtonBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11080,7 +11080,7 @@ void PythonQtShell_QDialogButtonBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11102,7 +11102,7 @@ void PythonQtShell_QDialogButtonBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11124,7 +11124,7 @@ void PythonQtShell_QDialogButtonBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11146,7 +11146,7 @@ void PythonQtShell_QDialogButtonBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11168,7 +11168,7 @@ void PythonQtShell_QDialogButtonBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11190,7 +11190,7 @@ bool PythonQtShell_QDialogButtonBox::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11223,7 +11223,7 @@ bool PythonQtShell_QDialogButtonBox::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11256,7 +11256,7 @@ void PythonQtShell_QDialogButtonBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11278,7 +11278,7 @@ bool PythonQtShell_QDialogButtonBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11311,7 +11311,7 @@ void PythonQtShell_QDialogButtonBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11333,7 +11333,7 @@ bool PythonQtShell_QDialogButtonBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11366,7 +11366,7 @@ int PythonQtShell_QDialogButtonBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11399,7 +11399,7 @@ void PythonQtShell_QDialogButtonBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11421,7 +11421,7 @@ void PythonQtShell_QDialogButtonBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11443,7 +11443,7 @@ void PythonQtShell_QDialogButtonBox::inputMethodEvent(QInputMethodEvent* arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11465,7 +11465,7 @@ QVariant PythonQtShell_QDialogButtonBox::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11498,7 +11498,7 @@ void PythonQtShell_QDialogButtonBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11520,7 +11520,7 @@ void PythonQtShell_QDialogButtonBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11542,7 +11542,7 @@ void PythonQtShell_QDialogButtonBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11564,7 +11564,7 @@ int PythonQtShell_QDialogButtonBox::metric(QPaintDevice::PaintDeviceMetric arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11597,7 +11597,7 @@ QSize PythonQtShell_QDialogButtonBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11630,7 +11630,7 @@ void PythonQtShell_QDialogButtonBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11652,7 +11652,7 @@ void PythonQtShell_QDialogButtonBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11674,7 +11674,7 @@ void PythonQtShell_QDialogButtonBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11696,7 +11696,7 @@ void PythonQtShell_QDialogButtonBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11718,7 +11718,7 @@ void PythonQtShell_QDialogButtonBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11740,7 +11740,7 @@ bool PythonQtShell_QDialogButtonBox::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11773,7 +11773,7 @@ QPaintEngine* PythonQtShell_QDialogButtonBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11806,7 +11806,7 @@ void PythonQtShell_QDialogButtonBox::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11828,7 +11828,7 @@ QPaintDevice* PythonQtShell_QDialogButtonBox::redirected(QPoint* offset0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11861,7 +11861,7 @@ void PythonQtShell_QDialogButtonBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11883,7 +11883,7 @@ void PythonQtShell_QDialogButtonBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11905,7 +11905,7 @@ QPainter* PythonQtShell_QDialogButtonBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11938,7 +11938,7 @@ void PythonQtShell_QDialogButtonBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11960,7 +11960,7 @@ QSize PythonQtShell_QDialogButtonBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11993,7 +11993,7 @@ void PythonQtShell_QDialogButtonBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12015,7 +12015,7 @@ void PythonQtShell_QDialogButtonBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12037,7 +12037,7 @@ void PythonQtShell_QDialogButtonBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12169,7 +12169,7 @@ QModelIndex PythonQtShell_QDirModel::buddy(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12202,7 +12202,7 @@ bool PythonQtShell_QDirModel::canDropMimeData(const QMimeData* data0, Qt::Drop { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12235,7 +12235,7 @@ bool PythonQtShell_QDirModel::canFetchMore(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12268,7 +12268,7 @@ void PythonQtShell_QDirModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12290,7 +12290,7 @@ int PythonQtShell_QDirModel::columnCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12323,7 +12323,7 @@ void PythonQtShell_QDirModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12345,7 +12345,7 @@ QVariant PythonQtShell_QDirModel::data(const QModelIndex& index0, int role1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12378,7 +12378,7 @@ bool PythonQtShell_QDirModel::dropMimeData(const QMimeData* data0, Qt::DropAct { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12411,7 +12411,7 @@ bool PythonQtShell_QDirModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12444,7 +12444,7 @@ bool PythonQtShell_QDirModel::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12477,7 +12477,7 @@ void PythonQtShell_QDirModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12499,7 +12499,7 @@ Qt::ItemFlags PythonQtShell_QDirModel::flags(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12532,7 +12532,7 @@ bool PythonQtShell_QDirModel::hasChildren(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12565,7 +12565,7 @@ QVariant PythonQtShell_QDirModel::headerData(int section0, Qt::Orientation or { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12598,7 +12598,7 @@ QModelIndex PythonQtShell_QDirModel::index(int row0, int column1, const QMode { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12631,7 +12631,7 @@ bool PythonQtShell_QDirModel::insertColumns(int column0, int count1, const QM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12664,7 +12664,7 @@ bool PythonQtShell_QDirModel::insertRows(int row0, int count1, const QModelIn { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12697,7 +12697,7 @@ QMap PythonQtShell_QDirModel::itemData(const QModelIndex& ind { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12730,7 +12730,7 @@ QList PythonQtShell_QDirModel::match(const QModelIndex& start0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12763,7 +12763,7 @@ QMimeData* PythonQtShell_QDirModel::mimeData(const QList& indexe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12796,7 +12796,7 @@ QStringList PythonQtShell_QDirModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12829,7 +12829,7 @@ bool PythonQtShell_QDirModel::moveColumns(const QModelIndex& sourceParent0, in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12862,7 +12862,7 @@ bool PythonQtShell_QDirModel::moveRows(const QModelIndex& sourceParent0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12895,7 +12895,7 @@ QModelIndex PythonQtShell_QDirModel::parent(const QModelIndex& child0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12928,7 +12928,7 @@ bool PythonQtShell_QDirModel::removeColumns(int column0, int count1, const QM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12961,7 +12961,7 @@ bool PythonQtShell_QDirModel::removeRows(int row0, int count1, const QModelIn { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12994,7 +12994,7 @@ void PythonQtShell_QDirModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13016,7 +13016,7 @@ QHash PythonQtShell_QDirModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13049,7 +13049,7 @@ int PythonQtShell_QDirModel::rowCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13082,7 +13082,7 @@ bool PythonQtShell_QDirModel::setData(const QModelIndex& index0, const QVarian { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13115,7 +13115,7 @@ bool PythonQtShell_QDirModel::setHeaderData(int section0, Qt::Orientation ori { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13148,7 +13148,7 @@ bool PythonQtShell_QDirModel::setItemData(const QModelIndex& index0, const QMa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13181,7 +13181,7 @@ QModelIndex PythonQtShell_QDirModel::sibling(int row0, int column1, const QMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13214,7 +13214,7 @@ void PythonQtShell_QDirModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13236,7 +13236,7 @@ QSize PythonQtShell_QDirModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13269,7 +13269,7 @@ bool PythonQtShell_QDirModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13302,7 +13302,7 @@ Qt::DropActions PythonQtShell_QDirModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13335,7 +13335,7 @@ Qt::DropActions PythonQtShell_QDirModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13368,7 +13368,7 @@ void PythonQtShell_QDirModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13532,7 +13532,7 @@ void PythonQtShell_QDockWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13554,7 +13554,7 @@ void PythonQtShell_QDockWidget::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13576,7 +13576,7 @@ void PythonQtShell_QDockWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13598,7 +13598,7 @@ void PythonQtShell_QDockWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13620,7 +13620,7 @@ void PythonQtShell_QDockWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13642,7 +13642,7 @@ void PythonQtShell_QDockWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13664,7 +13664,7 @@ int PythonQtShell_QDockWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13697,7 +13697,7 @@ void PythonQtShell_QDockWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13719,7 +13719,7 @@ void PythonQtShell_QDockWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13741,7 +13741,7 @@ void PythonQtShell_QDockWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13763,7 +13763,7 @@ void PythonQtShell_QDockWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13785,7 +13785,7 @@ void PythonQtShell_QDockWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13807,7 +13807,7 @@ bool PythonQtShell_QDockWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13840,7 +13840,7 @@ bool PythonQtShell_QDockWidget::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13873,7 +13873,7 @@ void PythonQtShell_QDockWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13895,7 +13895,7 @@ bool PythonQtShell_QDockWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13928,7 +13928,7 @@ void PythonQtShell_QDockWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13950,7 +13950,7 @@ bool PythonQtShell_QDockWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13983,7 +13983,7 @@ int PythonQtShell_QDockWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14016,7 +14016,7 @@ void PythonQtShell_QDockWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14038,7 +14038,7 @@ void PythonQtShell_QDockWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14060,7 +14060,7 @@ void PythonQtShell_QDockWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14082,7 +14082,7 @@ QVariant PythonQtShell_QDockWidget::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14115,7 +14115,7 @@ void PythonQtShell_QDockWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14137,7 +14137,7 @@ void PythonQtShell_QDockWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14159,7 +14159,7 @@ void PythonQtShell_QDockWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14181,7 +14181,7 @@ int PythonQtShell_QDockWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14214,7 +14214,7 @@ QSize PythonQtShell_QDockWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14247,7 +14247,7 @@ void PythonQtShell_QDockWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14269,7 +14269,7 @@ void PythonQtShell_QDockWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14291,7 +14291,7 @@ void PythonQtShell_QDockWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14313,7 +14313,7 @@ void PythonQtShell_QDockWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14335,7 +14335,7 @@ void PythonQtShell_QDockWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14357,7 +14357,7 @@ bool PythonQtShell_QDockWidget::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14390,7 +14390,7 @@ QPaintEngine* PythonQtShell_QDockWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14423,7 +14423,7 @@ void PythonQtShell_QDockWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14445,7 +14445,7 @@ QPaintDevice* PythonQtShell_QDockWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14478,7 +14478,7 @@ void PythonQtShell_QDockWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14500,7 +14500,7 @@ void PythonQtShell_QDockWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14522,7 +14522,7 @@ QPainter* PythonQtShell_QDockWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14555,7 +14555,7 @@ void PythonQtShell_QDockWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14577,7 +14577,7 @@ QSize PythonQtShell_QDockWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14610,7 +14610,7 @@ void PythonQtShell_QDockWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14632,7 +14632,7 @@ void PythonQtShell_QDockWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14654,7 +14654,7 @@ void PythonQtShell_QDockWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14768,7 +14768,7 @@ void PythonQtShell_QDoubleSpinBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14790,7 +14790,7 @@ void PythonQtShell_QDoubleSpinBox::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14812,7 +14812,7 @@ void PythonQtShell_QDoubleSpinBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14834,7 +14834,7 @@ void PythonQtShell_QDoubleSpinBox::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14856,7 +14856,7 @@ void PythonQtShell_QDoubleSpinBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14878,7 +14878,7 @@ void PythonQtShell_QDoubleSpinBox::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14900,7 +14900,7 @@ void PythonQtShell_QDoubleSpinBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14922,7 +14922,7 @@ int PythonQtShell_QDoubleSpinBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14955,7 +14955,7 @@ void PythonQtShell_QDoubleSpinBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14977,7 +14977,7 @@ void PythonQtShell_QDoubleSpinBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14999,7 +14999,7 @@ void PythonQtShell_QDoubleSpinBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15021,7 +15021,7 @@ void PythonQtShell_QDoubleSpinBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15043,7 +15043,7 @@ void PythonQtShell_QDoubleSpinBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15065,7 +15065,7 @@ bool PythonQtShell_QDoubleSpinBox::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15098,7 +15098,7 @@ bool PythonQtShell_QDoubleSpinBox::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15131,7 +15131,7 @@ void PythonQtShell_QDoubleSpinBox::fixup(QString& str0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15153,7 +15153,7 @@ void PythonQtShell_QDoubleSpinBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15175,7 +15175,7 @@ bool PythonQtShell_QDoubleSpinBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15208,7 +15208,7 @@ void PythonQtShell_QDoubleSpinBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15230,7 +15230,7 @@ bool PythonQtShell_QDoubleSpinBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15263,7 +15263,7 @@ int PythonQtShell_QDoubleSpinBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15296,7 +15296,7 @@ void PythonQtShell_QDoubleSpinBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15318,7 +15318,7 @@ void PythonQtShell_QDoubleSpinBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15340,7 +15340,7 @@ void PythonQtShell_QDoubleSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15362,7 +15362,7 @@ QVariant PythonQtShell_QDoubleSpinBox::inputMethodQuery(Qt::InputMethodQuery a { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15395,7 +15395,7 @@ void PythonQtShell_QDoubleSpinBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15417,7 +15417,7 @@ void PythonQtShell_QDoubleSpinBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15439,7 +15439,7 @@ void PythonQtShell_QDoubleSpinBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15461,7 +15461,7 @@ int PythonQtShell_QDoubleSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15494,7 +15494,7 @@ QSize PythonQtShell_QDoubleSpinBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15527,7 +15527,7 @@ void PythonQtShell_QDoubleSpinBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15549,7 +15549,7 @@ void PythonQtShell_QDoubleSpinBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15571,7 +15571,7 @@ void PythonQtShell_QDoubleSpinBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15593,7 +15593,7 @@ void PythonQtShell_QDoubleSpinBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15615,7 +15615,7 @@ void PythonQtShell_QDoubleSpinBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15637,7 +15637,7 @@ bool PythonQtShell_QDoubleSpinBox::nativeEvent(const QByteArray& eventType0, v { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15670,7 +15670,7 @@ QPaintEngine* PythonQtShell_QDoubleSpinBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15703,7 +15703,7 @@ void PythonQtShell_QDoubleSpinBox::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15725,7 +15725,7 @@ QPaintDevice* PythonQtShell_QDoubleSpinBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15758,7 +15758,7 @@ void PythonQtShell_QDoubleSpinBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15780,7 +15780,7 @@ void PythonQtShell_QDoubleSpinBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15802,7 +15802,7 @@ QPainter* PythonQtShell_QDoubleSpinBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15835,7 +15835,7 @@ void PythonQtShell_QDoubleSpinBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15857,7 +15857,7 @@ QSize PythonQtShell_QDoubleSpinBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15890,7 +15890,7 @@ void PythonQtShell_QDoubleSpinBox::stepBy(int steps0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15912,7 +15912,7 @@ QAbstractSpinBox::StepEnabled PythonQtShell_QDoubleSpinBox::stepEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15945,7 +15945,7 @@ void PythonQtShell_QDoubleSpinBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15967,7 +15967,7 @@ QString PythonQtShell_QDoubleSpinBox::textFromValue(double val0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textFromValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16000,7 +16000,7 @@ void PythonQtShell_QDoubleSpinBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16022,7 +16022,7 @@ QValidator::State PythonQtShell_QDoubleSpinBox::validate(QString& input0, int& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16055,7 +16055,7 @@ double PythonQtShell_QDoubleSpinBox::valueFromText(const QString& text0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("valueFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16088,7 +16088,7 @@ void PythonQtShell_QDoubleSpinBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16228,7 +16228,7 @@ void PythonQtShell_QDoubleValidator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16250,7 +16250,7 @@ void PythonQtShell_QDoubleValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16272,7 +16272,7 @@ bool PythonQtShell_QDoubleValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16305,7 +16305,7 @@ bool PythonQtShell_QDoubleValidator::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16338,7 +16338,7 @@ void PythonQtShell_QDoubleValidator::fixup(QString& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16360,7 +16360,7 @@ void PythonQtShell_QDoubleValidator::setRange(double bottom0, double top1, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16382,7 +16382,7 @@ void PythonQtShell_QDoubleValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16404,7 +16404,7 @@ QValidator::State PythonQtShell_QDoubleValidator::validate(QString& arg__1, in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16509,7 +16509,7 @@ void PythonQtShell_QDrag::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16531,7 +16531,7 @@ void PythonQtShell_QDrag::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16553,7 +16553,7 @@ bool PythonQtShell_QDrag::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16586,7 +16586,7 @@ bool PythonQtShell_QDrag::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16619,7 +16619,7 @@ void PythonQtShell_QDrag::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16896,7 +16896,7 @@ void PythonQtShell_QErrorMessage::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16918,7 +16918,7 @@ void PythonQtShell_QErrorMessage::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16940,7 +16940,7 @@ void PythonQtShell_QErrorMessage::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16962,7 +16962,7 @@ void PythonQtShell_QErrorMessage::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16984,7 +16984,7 @@ void PythonQtShell_QErrorMessage::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17006,7 +17006,7 @@ void PythonQtShell_QErrorMessage::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17028,7 +17028,7 @@ void PythonQtShell_QErrorMessage::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17050,7 +17050,7 @@ int PythonQtShell_QErrorMessage::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17083,7 +17083,7 @@ void PythonQtShell_QErrorMessage::done(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17105,7 +17105,7 @@ void PythonQtShell_QErrorMessage::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17127,7 +17127,7 @@ void PythonQtShell_QErrorMessage::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17149,7 +17149,7 @@ void PythonQtShell_QErrorMessage::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17171,7 +17171,7 @@ void PythonQtShell_QErrorMessage::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17193,7 +17193,7 @@ void PythonQtShell_QErrorMessage::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17215,7 +17215,7 @@ bool PythonQtShell_QErrorMessage::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17248,7 +17248,7 @@ bool PythonQtShell_QErrorMessage::eventFilter(QObject* arg__1, QEvent* arg__2 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17281,7 +17281,7 @@ int PythonQtShell_QErrorMessage::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17314,7 +17314,7 @@ void PythonQtShell_QErrorMessage::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17336,7 +17336,7 @@ bool PythonQtShell_QErrorMessage::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17369,7 +17369,7 @@ void PythonQtShell_QErrorMessage::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17391,7 +17391,7 @@ bool PythonQtShell_QErrorMessage::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17424,7 +17424,7 @@ int PythonQtShell_QErrorMessage::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17457,7 +17457,7 @@ void PythonQtShell_QErrorMessage::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17479,7 +17479,7 @@ void PythonQtShell_QErrorMessage::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17501,7 +17501,7 @@ void PythonQtShell_QErrorMessage::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17523,7 +17523,7 @@ QVariant PythonQtShell_QErrorMessage::inputMethodQuery(Qt::InputMethodQuery ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17556,7 +17556,7 @@ void PythonQtShell_QErrorMessage::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17578,7 +17578,7 @@ void PythonQtShell_QErrorMessage::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17600,7 +17600,7 @@ void PythonQtShell_QErrorMessage::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17622,7 +17622,7 @@ int PythonQtShell_QErrorMessage::metric(QPaintDevice::PaintDeviceMetric arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17655,7 +17655,7 @@ QSize PythonQtShell_QErrorMessage::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17688,7 +17688,7 @@ void PythonQtShell_QErrorMessage::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17710,7 +17710,7 @@ void PythonQtShell_QErrorMessage::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17732,7 +17732,7 @@ void PythonQtShell_QErrorMessage::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17754,7 +17754,7 @@ void PythonQtShell_QErrorMessage::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17776,7 +17776,7 @@ void PythonQtShell_QErrorMessage::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17798,7 +17798,7 @@ bool PythonQtShell_QErrorMessage::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17831,7 +17831,7 @@ void PythonQtShell_QErrorMessage::open() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17853,7 +17853,7 @@ QPaintEngine* PythonQtShell_QErrorMessage::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17886,7 +17886,7 @@ void PythonQtShell_QErrorMessage::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17908,7 +17908,7 @@ QPaintDevice* PythonQtShell_QErrorMessage::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17941,7 +17941,7 @@ void PythonQtShell_QErrorMessage::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17963,7 +17963,7 @@ void PythonQtShell_QErrorMessage::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17985,7 +17985,7 @@ void PythonQtShell_QErrorMessage::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18007,7 +18007,7 @@ QPainter* PythonQtShell_QErrorMessage::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18040,7 +18040,7 @@ void PythonQtShell_QErrorMessage::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18062,7 +18062,7 @@ QSize PythonQtShell_QErrorMessage::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18095,7 +18095,7 @@ void PythonQtShell_QErrorMessage::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18117,7 +18117,7 @@ void PythonQtShell_QErrorMessage::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18139,7 +18139,7 @@ void PythonQtShell_QErrorMessage::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18204,7 +18204,7 @@ void PythonQtShell_QFileDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18226,7 +18226,7 @@ void PythonQtShell_QFileDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18248,7 +18248,7 @@ void PythonQtShell_QFileDialog::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18270,7 +18270,7 @@ void PythonQtShell_QFileDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18292,7 +18292,7 @@ void PythonQtShell_QFileDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18314,7 +18314,7 @@ void PythonQtShell_QFileDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18336,7 +18336,7 @@ void PythonQtShell_QFileDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18358,7 +18358,7 @@ int PythonQtShell_QFileDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18391,7 +18391,7 @@ void PythonQtShell_QFileDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18413,7 +18413,7 @@ void PythonQtShell_QFileDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18435,7 +18435,7 @@ void PythonQtShell_QFileDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18457,7 +18457,7 @@ void PythonQtShell_QFileDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18479,7 +18479,7 @@ void PythonQtShell_QFileDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18501,7 +18501,7 @@ void PythonQtShell_QFileDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18523,7 +18523,7 @@ bool PythonQtShell_QFileDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18556,7 +18556,7 @@ bool PythonQtShell_QFileDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18589,7 +18589,7 @@ int PythonQtShell_QFileDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18622,7 +18622,7 @@ void PythonQtShell_QFileDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18644,7 +18644,7 @@ bool PythonQtShell_QFileDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18677,7 +18677,7 @@ void PythonQtShell_QFileDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18699,7 +18699,7 @@ bool PythonQtShell_QFileDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18732,7 +18732,7 @@ int PythonQtShell_QFileDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18765,7 +18765,7 @@ void PythonQtShell_QFileDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18787,7 +18787,7 @@ void PythonQtShell_QFileDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18809,7 +18809,7 @@ void PythonQtShell_QFileDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18831,7 +18831,7 @@ QVariant PythonQtShell_QFileDialog::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18864,7 +18864,7 @@ void PythonQtShell_QFileDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18886,7 +18886,7 @@ void PythonQtShell_QFileDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18908,7 +18908,7 @@ void PythonQtShell_QFileDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18930,7 +18930,7 @@ int PythonQtShell_QFileDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18963,7 +18963,7 @@ QSize PythonQtShell_QFileDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18996,7 +18996,7 @@ void PythonQtShell_QFileDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19018,7 +19018,7 @@ void PythonQtShell_QFileDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19040,7 +19040,7 @@ void PythonQtShell_QFileDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19062,7 +19062,7 @@ void PythonQtShell_QFileDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19084,7 +19084,7 @@ void PythonQtShell_QFileDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19106,7 +19106,7 @@ bool PythonQtShell_QFileDialog::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19139,7 +19139,7 @@ QPaintEngine* PythonQtShell_QFileDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19172,7 +19172,7 @@ void PythonQtShell_QFileDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19194,7 +19194,7 @@ QPaintDevice* PythonQtShell_QFileDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19227,7 +19227,7 @@ void PythonQtShell_QFileDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19249,7 +19249,7 @@ void PythonQtShell_QFileDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19271,7 +19271,7 @@ void PythonQtShell_QFileDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19293,7 +19293,7 @@ QPainter* PythonQtShell_QFileDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19326,7 +19326,7 @@ void PythonQtShell_QFileDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19348,7 +19348,7 @@ QSize PythonQtShell_QFileDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19381,7 +19381,7 @@ void PythonQtShell_QFileDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19403,7 +19403,7 @@ void PythonQtShell_QFileDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19425,7 +19425,7 @@ void PythonQtShell_QFileDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19804,7 +19804,7 @@ QIcon PythonQtShell_QFileIconProvider::icon(QFileIconProvider::IconType type0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("icon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19837,7 +19837,7 @@ QIcon PythonQtShell_QFileIconProvider::icon(const QFileInfo& info0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("icon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19870,7 +19870,7 @@ QString PythonQtShell_QFileIconProvider::type(const QFileInfo& info0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19963,7 +19963,7 @@ QModelIndex PythonQtShell_QFileSystemModel::buddy(const QModelIndex& index0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19996,7 +19996,7 @@ bool PythonQtShell_QFileSystemModel::canDropMimeData(const QMimeData* data0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20029,7 +20029,7 @@ bool PythonQtShell_QFileSystemModel::canFetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20062,7 +20062,7 @@ void PythonQtShell_QFileSystemModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20084,7 +20084,7 @@ int PythonQtShell_QFileSystemModel::columnCount(const QModelIndex& parent0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20117,7 +20117,7 @@ void PythonQtShell_QFileSystemModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20139,7 +20139,7 @@ QVariant PythonQtShell_QFileSystemModel::data(const QModelIndex& index0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20172,7 +20172,7 @@ bool PythonQtShell_QFileSystemModel::dropMimeData(const QMimeData* data0, Qt:: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20205,7 +20205,7 @@ bool PythonQtShell_QFileSystemModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20238,7 +20238,7 @@ bool PythonQtShell_QFileSystemModel::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20271,7 +20271,7 @@ void PythonQtShell_QFileSystemModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20293,7 +20293,7 @@ Qt::ItemFlags PythonQtShell_QFileSystemModel::flags(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20326,7 +20326,7 @@ bool PythonQtShell_QFileSystemModel::hasChildren(const QModelIndex& parent0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20359,7 +20359,7 @@ QVariant PythonQtShell_QFileSystemModel::headerData(int section0, Qt::Orientat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20392,7 +20392,7 @@ QModelIndex PythonQtShell_QFileSystemModel::index(int row0, int column1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20425,7 +20425,7 @@ bool PythonQtShell_QFileSystemModel::insertColumns(int column0, int count1, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20458,7 +20458,7 @@ bool PythonQtShell_QFileSystemModel::insertRows(int row0, int count1, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20491,7 +20491,7 @@ QMap PythonQtShell_QFileSystemModel::itemData(const QModelInde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20524,7 +20524,7 @@ QList PythonQtShell_QFileSystemModel::match(const QModelIndex& s { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20557,7 +20557,7 @@ QMimeData* PythonQtShell_QFileSystemModel::mimeData(const QList& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20590,7 +20590,7 @@ QStringList PythonQtShell_QFileSystemModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20623,7 +20623,7 @@ bool PythonQtShell_QFileSystemModel::moveColumns(const QModelIndex& sourcePare { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20656,7 +20656,7 @@ bool PythonQtShell_QFileSystemModel::moveRows(const QModelIndex& sourceParent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20689,7 +20689,7 @@ QModelIndex PythonQtShell_QFileSystemModel::parent(const QModelIndex& child0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20722,7 +20722,7 @@ bool PythonQtShell_QFileSystemModel::removeColumns(int column0, int count1, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20755,7 +20755,7 @@ bool PythonQtShell_QFileSystemModel::removeRows(int row0, int count1, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20788,7 +20788,7 @@ void PythonQtShell_QFileSystemModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20810,7 +20810,7 @@ QHash PythonQtShell_QFileSystemModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20843,7 +20843,7 @@ int PythonQtShell_QFileSystemModel::rowCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20876,7 +20876,7 @@ bool PythonQtShell_QFileSystemModel::setData(const QModelIndex& index0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20909,7 +20909,7 @@ bool PythonQtShell_QFileSystemModel::setHeaderData(int section0, Qt::Orientati { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20942,7 +20942,7 @@ bool PythonQtShell_QFileSystemModel::setItemData(const QModelIndex& index0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20975,7 +20975,7 @@ QModelIndex PythonQtShell_QFileSystemModel::sibling(int row0, int column1, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21008,7 +21008,7 @@ void PythonQtShell_QFileSystemModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21030,7 +21030,7 @@ QSize PythonQtShell_QFileSystemModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21063,7 +21063,7 @@ bool PythonQtShell_QFileSystemModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21096,7 +21096,7 @@ Qt::DropActions PythonQtShell_QFileSystemModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21129,7 +21129,7 @@ Qt::DropActions PythonQtShell_QFileSystemModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21162,7 +21162,7 @@ void PythonQtShell_QFileSystemModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp b/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp index 495d5d4fc..df62844ad 100644 --- a/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp +++ b/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp @@ -162,7 +162,7 @@ void PythonQtShell_QStylePlugin::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -184,7 +184,7 @@ QStyle* PythonQtShell_QStylePlugin::create(const QString& key0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -217,7 +217,7 @@ void PythonQtShell_QStylePlugin::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -239,7 +239,7 @@ bool PythonQtShell_QStylePlugin::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -272,7 +272,7 @@ bool PythonQtShell_QStylePlugin::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -305,7 +305,7 @@ void PythonQtShell_QStylePlugin::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -355,7 +355,7 @@ void PythonQtShell_QStyledItemDelegate::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -377,7 +377,7 @@ QWidget* PythonQtShell_QStyledItemDelegate::createEditor(QWidget* parent0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -410,7 +410,7 @@ void PythonQtShell_QStyledItemDelegate::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -432,7 +432,7 @@ void PythonQtShell_QStyledItemDelegate::destroyEditor(QWidget* editor0, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("destroyEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -454,7 +454,7 @@ QString PythonQtShell_QStyledItemDelegate::displayText(const QVariant& value0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("displayText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -487,7 +487,7 @@ bool PythonQtShell_QStyledItemDelegate::editorEvent(QEvent* event0, QAbstractI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -520,7 +520,7 @@ bool PythonQtShell_QStyledItemDelegate::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -553,7 +553,7 @@ bool PythonQtShell_QStyledItemDelegate::eventFilter(QObject* object0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -586,7 +586,7 @@ bool PythonQtShell_QStyledItemDelegate::helpEvent(QHelpEvent* event0, QAbstrac { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -619,7 +619,7 @@ void PythonQtShell_QStyledItemDelegate::initStyleOption(QStyleOptionViewItem* o { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -641,7 +641,7 @@ void PythonQtShell_QStyledItemDelegate::paint(QPainter* painter0, const QStyleO { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -663,7 +663,7 @@ QVector PythonQtShell_QStyledItemDelegate::paintingRoles() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintingRoles"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -696,7 +696,7 @@ void PythonQtShell_QStyledItemDelegate::setEditorData(QWidget* editor0, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -718,7 +718,7 @@ void PythonQtShell_QStyledItemDelegate::setModelData(QWidget* editor0, QAbstrac { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModelData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -740,7 +740,7 @@ QSize PythonQtShell_QStyledItemDelegate::sizeHint(const QStyleOptionViewItem& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -773,7 +773,7 @@ void PythonQtShell_QStyledItemDelegate::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -795,7 +795,7 @@ void PythonQtShell_QStyledItemDelegate::updateEditorGeometry(QWidget* editor0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -860,7 +860,7 @@ QSurfaceFormat PythonQtShell_QSurface::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -893,7 +893,7 @@ QSize PythonQtShell_QSurface::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -926,7 +926,7 @@ QPlatformSurface* PythonQtShell_QSurface::surfaceHandle() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surfaceHandle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -959,7 +959,7 @@ QSurface::SurfaceType PythonQtShell_QSurface::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1273,7 +1273,7 @@ void PythonQtShell_QSwipeGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1295,7 +1295,7 @@ void PythonQtShell_QSwipeGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1317,7 +1317,7 @@ bool PythonQtShell_QSwipeGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1350,7 +1350,7 @@ bool PythonQtShell_QSwipeGesture::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1383,7 +1383,7 @@ void PythonQtShell_QSwipeGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1448,7 +1448,7 @@ void PythonQtShell_QSyntaxHighlighter::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1470,7 +1470,7 @@ void PythonQtShell_QSyntaxHighlighter::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1492,7 +1492,7 @@ bool PythonQtShell_QSyntaxHighlighter::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1525,7 +1525,7 @@ bool PythonQtShell_QSyntaxHighlighter::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1558,7 +1558,7 @@ void PythonQtShell_QSyntaxHighlighter::highlightBlock(const QString& text0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("highlightBlock"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1580,7 +1580,7 @@ void PythonQtShell_QSyntaxHighlighter::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1694,7 +1694,7 @@ void PythonQtShell_QSystemTrayIcon::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1716,7 +1716,7 @@ void PythonQtShell_QSystemTrayIcon::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1738,7 +1738,7 @@ bool PythonQtShell_QSystemTrayIcon::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1771,7 +1771,7 @@ bool PythonQtShell_QSystemTrayIcon::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1804,7 +1804,7 @@ void PythonQtShell_QSystemTrayIcon::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1903,7 +1903,7 @@ void PythonQtShell_QTabBar::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1925,7 +1925,7 @@ void PythonQtShell_QTabBar::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1947,7 +1947,7 @@ void PythonQtShell_QTabBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1969,7 +1969,7 @@ void PythonQtShell_QTabBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1991,7 +1991,7 @@ void PythonQtShell_QTabBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2013,7 +2013,7 @@ void PythonQtShell_QTabBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2035,7 +2035,7 @@ int PythonQtShell_QTabBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2068,7 +2068,7 @@ void PythonQtShell_QTabBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2090,7 +2090,7 @@ void PythonQtShell_QTabBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2112,7 +2112,7 @@ void PythonQtShell_QTabBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2134,7 +2134,7 @@ void PythonQtShell_QTabBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2156,7 +2156,7 @@ void PythonQtShell_QTabBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2178,7 +2178,7 @@ bool PythonQtShell_QTabBar::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2211,7 +2211,7 @@ bool PythonQtShell_QTabBar::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2244,7 +2244,7 @@ void PythonQtShell_QTabBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2266,7 +2266,7 @@ bool PythonQtShell_QTabBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2299,7 +2299,7 @@ void PythonQtShell_QTabBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2321,7 +2321,7 @@ bool PythonQtShell_QTabBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2354,7 +2354,7 @@ int PythonQtShell_QTabBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2387,7 +2387,7 @@ void PythonQtShell_QTabBar::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2409,7 +2409,7 @@ void PythonQtShell_QTabBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2431,7 +2431,7 @@ void PythonQtShell_QTabBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2453,7 +2453,7 @@ QVariant PythonQtShell_QTabBar::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2486,7 +2486,7 @@ void PythonQtShell_QTabBar::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2508,7 +2508,7 @@ void PythonQtShell_QTabBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2530,7 +2530,7 @@ void PythonQtShell_QTabBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2552,7 +2552,7 @@ int PythonQtShell_QTabBar::metric(QPaintDevice::PaintDeviceMetric arg__1) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2585,7 +2585,7 @@ QSize PythonQtShell_QTabBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2618,7 +2618,7 @@ QSize PythonQtShell_QTabBar::minimumTabSizeHint(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumTabSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2651,7 +2651,7 @@ void PythonQtShell_QTabBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2673,7 +2673,7 @@ void PythonQtShell_QTabBar::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2695,7 +2695,7 @@ void PythonQtShell_QTabBar::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2717,7 +2717,7 @@ void PythonQtShell_QTabBar::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2739,7 +2739,7 @@ void PythonQtShell_QTabBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2761,7 +2761,7 @@ bool PythonQtShell_QTabBar::nativeEvent(const QByteArray& eventType0, void* m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2794,7 +2794,7 @@ QPaintEngine* PythonQtShell_QTabBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2827,7 +2827,7 @@ void PythonQtShell_QTabBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2849,7 +2849,7 @@ QPaintDevice* PythonQtShell_QTabBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2882,7 +2882,7 @@ void PythonQtShell_QTabBar::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2904,7 +2904,7 @@ void PythonQtShell_QTabBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2926,7 +2926,7 @@ QPainter* PythonQtShell_QTabBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2959,7 +2959,7 @@ void PythonQtShell_QTabBar::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2981,7 +2981,7 @@ QSize PythonQtShell_QTabBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3014,7 +3014,7 @@ void PythonQtShell_QTabBar::tabInserted(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3036,7 +3036,7 @@ void PythonQtShell_QTabBar::tabLayoutChange() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabLayoutChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3058,7 +3058,7 @@ void PythonQtShell_QTabBar::tabRemoved(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3080,7 +3080,7 @@ QSize PythonQtShell_QTabBar::tabSizeHint(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3113,7 +3113,7 @@ void PythonQtShell_QTabBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3135,7 +3135,7 @@ void PythonQtShell_QTabBar::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3157,7 +3157,7 @@ void PythonQtShell_QTabBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3512,7 +3512,7 @@ void PythonQtShell_QTabWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3534,7 +3534,7 @@ void PythonQtShell_QTabWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3556,7 +3556,7 @@ void PythonQtShell_QTabWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3578,7 +3578,7 @@ void PythonQtShell_QTabWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3600,7 +3600,7 @@ void PythonQtShell_QTabWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3622,7 +3622,7 @@ void PythonQtShell_QTabWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3644,7 +3644,7 @@ int PythonQtShell_QTabWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3677,7 +3677,7 @@ void PythonQtShell_QTabWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3699,7 +3699,7 @@ void PythonQtShell_QTabWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3721,7 +3721,7 @@ void PythonQtShell_QTabWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3743,7 +3743,7 @@ void PythonQtShell_QTabWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3765,7 +3765,7 @@ void PythonQtShell_QTabWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3787,7 +3787,7 @@ bool PythonQtShell_QTabWidget::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3820,7 +3820,7 @@ bool PythonQtShell_QTabWidget::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3853,7 +3853,7 @@ void PythonQtShell_QTabWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3875,7 +3875,7 @@ bool PythonQtShell_QTabWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3908,7 +3908,7 @@ void PythonQtShell_QTabWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3930,7 +3930,7 @@ bool PythonQtShell_QTabWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3963,7 +3963,7 @@ int PythonQtShell_QTabWidget::heightForWidth(int width0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3996,7 +3996,7 @@ void PythonQtShell_QTabWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4018,7 +4018,7 @@ void PythonQtShell_QTabWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4040,7 +4040,7 @@ void PythonQtShell_QTabWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4062,7 +4062,7 @@ QVariant PythonQtShell_QTabWidget::inputMethodQuery(Qt::InputMethodQuery arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4095,7 +4095,7 @@ void PythonQtShell_QTabWidget::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4117,7 +4117,7 @@ void PythonQtShell_QTabWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4139,7 +4139,7 @@ void PythonQtShell_QTabWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4161,7 +4161,7 @@ int PythonQtShell_QTabWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4194,7 +4194,7 @@ QSize PythonQtShell_QTabWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4227,7 +4227,7 @@ void PythonQtShell_QTabWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4249,7 +4249,7 @@ void PythonQtShell_QTabWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4271,7 +4271,7 @@ void PythonQtShell_QTabWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4293,7 +4293,7 @@ void PythonQtShell_QTabWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4315,7 +4315,7 @@ void PythonQtShell_QTabWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4337,7 +4337,7 @@ bool PythonQtShell_QTabWidget::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4370,7 +4370,7 @@ QPaintEngine* PythonQtShell_QTabWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4403,7 +4403,7 @@ void PythonQtShell_QTabWidget::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4425,7 +4425,7 @@ QPaintDevice* PythonQtShell_QTabWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4458,7 +4458,7 @@ void PythonQtShell_QTabWidget::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4480,7 +4480,7 @@ void PythonQtShell_QTabWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4502,7 +4502,7 @@ QPainter* PythonQtShell_QTabWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4535,7 +4535,7 @@ void PythonQtShell_QTabWidget::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4557,7 +4557,7 @@ QSize PythonQtShell_QTabWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4590,7 +4590,7 @@ void PythonQtShell_QTabWidget::tabInserted(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4612,7 +4612,7 @@ void PythonQtShell_QTabWidget::tabRemoved(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4634,7 +4634,7 @@ void PythonQtShell_QTabWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4656,7 +4656,7 @@ void PythonQtShell_QTabWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4678,7 +4678,7 @@ void PythonQtShell_QTabWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4973,7 +4973,7 @@ void PythonQtShell_QTableView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4995,7 +4995,7 @@ void PythonQtShell_QTableView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5017,7 +5017,7 @@ void PythonQtShell_QTableView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5039,7 +5039,7 @@ void PythonQtShell_QTableView::closeEditor(QWidget* editor0, QAbstractItemDeleg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5061,7 +5061,7 @@ void PythonQtShell_QTableView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5083,7 +5083,7 @@ void PythonQtShell_QTableView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5105,7 +5105,7 @@ void PythonQtShell_QTableView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5127,7 +5127,7 @@ void PythonQtShell_QTableView::currentChanged(const QModelIndex& current0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5149,7 +5149,7 @@ void PythonQtShell_QTableView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5171,7 +5171,7 @@ void PythonQtShell_QTableView::dataChanged(const QModelIndex& topLeft0, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5193,7 +5193,7 @@ int PythonQtShell_QTableView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5226,7 +5226,7 @@ void PythonQtShell_QTableView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5248,7 +5248,7 @@ void PythonQtShell_QTableView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5270,7 +5270,7 @@ void PythonQtShell_QTableView::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5292,7 +5292,7 @@ void PythonQtShell_QTableView::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5314,7 +5314,7 @@ void PythonQtShell_QTableView::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5336,7 +5336,7 @@ bool PythonQtShell_QTableView::edit(const QModelIndex& index0, QAbstractItemVi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5369,7 +5369,7 @@ void PythonQtShell_QTableView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5391,7 +5391,7 @@ void PythonQtShell_QTableView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5413,7 +5413,7 @@ bool PythonQtShell_QTableView::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5446,7 +5446,7 @@ bool PythonQtShell_QTableView::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5479,7 +5479,7 @@ void PythonQtShell_QTableView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5501,7 +5501,7 @@ bool PythonQtShell_QTableView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5534,7 +5534,7 @@ void PythonQtShell_QTableView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5556,7 +5556,7 @@ bool PythonQtShell_QTableView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5589,7 +5589,7 @@ int PythonQtShell_QTableView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5622,7 +5622,7 @@ void PythonQtShell_QTableView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5644,7 +5644,7 @@ int PythonQtShell_QTableView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5677,7 +5677,7 @@ void PythonQtShell_QTableView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5699,7 +5699,7 @@ void PythonQtShell_QTableView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5721,7 +5721,7 @@ QModelIndex PythonQtShell_QTableView::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5754,7 +5754,7 @@ void PythonQtShell_QTableView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5776,7 +5776,7 @@ void PythonQtShell_QTableView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5798,7 +5798,7 @@ QVariant PythonQtShell_QTableView::inputMethodQuery(Qt::InputMethodQuery query { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5831,7 +5831,7 @@ bool PythonQtShell_QTableView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5864,7 +5864,7 @@ void PythonQtShell_QTableView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5886,7 +5886,7 @@ void PythonQtShell_QTableView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5908,7 +5908,7 @@ void PythonQtShell_QTableView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5930,7 +5930,7 @@ void PythonQtShell_QTableView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5952,7 +5952,7 @@ int PythonQtShell_QTableView::metric(QPaintDevice::PaintDeviceMetric arg__1) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5985,7 +5985,7 @@ QSize PythonQtShell_QTableView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6018,7 +6018,7 @@ void PythonQtShell_QTableView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6040,7 +6040,7 @@ void PythonQtShell_QTableView::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6062,7 +6062,7 @@ void PythonQtShell_QTableView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6084,7 +6084,7 @@ void PythonQtShell_QTableView::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6106,7 +6106,7 @@ QModelIndex PythonQtShell_QTableView::moveCursor(QAbstractItemView::CursorActio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6139,7 +6139,7 @@ void PythonQtShell_QTableView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6161,7 +6161,7 @@ bool PythonQtShell_QTableView::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6194,7 +6194,7 @@ QPaintEngine* PythonQtShell_QTableView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6227,7 +6227,7 @@ void PythonQtShell_QTableView::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6249,7 +6249,7 @@ QPaintDevice* PythonQtShell_QTableView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6282,7 +6282,7 @@ void PythonQtShell_QTableView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6304,7 +6304,7 @@ void PythonQtShell_QTableView::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6326,7 +6326,7 @@ void PythonQtShell_QTableView::rowsAboutToBeRemoved(const QModelIndex& parent0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6348,7 +6348,7 @@ void PythonQtShell_QTableView::rowsInserted(const QModelIndex& parent0, int st { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6370,7 +6370,7 @@ void PythonQtShell_QTableView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6392,7 +6392,7 @@ void PythonQtShell_QTableView::scrollTo(const QModelIndex& index0, QAbstractIte { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6414,7 +6414,7 @@ void PythonQtShell_QTableView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6436,7 +6436,7 @@ QList PythonQtShell_QTableView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6469,7 +6469,7 @@ void PythonQtShell_QTableView::selectionChanged(const QItemSelection& selected0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6491,7 +6491,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QTableView::selectionCommand( { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6524,7 +6524,7 @@ void PythonQtShell_QTableView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6546,7 +6546,7 @@ void PythonQtShell_QTableView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6568,7 +6568,7 @@ void PythonQtShell_QTableView::setSelection(const QRect& rect0, QItemSelectionM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6590,7 +6590,7 @@ void PythonQtShell_QTableView::setSelectionModel(QItemSelectionModel* selection { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6612,7 +6612,7 @@ void PythonQtShell_QTableView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6634,7 +6634,7 @@ void PythonQtShell_QTableView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6656,7 +6656,7 @@ QPainter* PythonQtShell_QTableView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6689,7 +6689,7 @@ void PythonQtShell_QTableView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6711,7 +6711,7 @@ QSize PythonQtShell_QTableView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6744,7 +6744,7 @@ int PythonQtShell_QTableView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6777,7 +6777,7 @@ int PythonQtShell_QTableView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6810,7 +6810,7 @@ void PythonQtShell_QTableView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6832,7 +6832,7 @@ void PythonQtShell_QTableView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6854,7 +6854,7 @@ void PythonQtShell_QTableView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6876,7 +6876,7 @@ void PythonQtShell_QTableView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6898,7 +6898,7 @@ void PythonQtShell_QTableView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6920,7 +6920,7 @@ void PythonQtShell_QTableView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6942,7 +6942,7 @@ int PythonQtShell_QTableView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6975,7 +6975,7 @@ void PythonQtShell_QTableView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6997,7 +6997,7 @@ void PythonQtShell_QTableView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7019,7 +7019,7 @@ QStyleOptionViewItem PythonQtShell_QTableView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7052,7 +7052,7 @@ bool PythonQtShell_QTableView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7085,7 +7085,7 @@ QSize PythonQtShell_QTableView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7118,7 +7118,7 @@ QRect PythonQtShell_QTableView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7151,7 +7151,7 @@ QRegion PythonQtShell_QTableView::visualRegionForSelection(const QItemSelection { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7184,7 +7184,7 @@ void PythonQtShell_QTableView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7374,7 +7374,7 @@ void PythonQtShell_QTableWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7396,7 +7396,7 @@ void PythonQtShell_QTableWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7418,7 +7418,7 @@ void PythonQtShell_QTableWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7440,7 +7440,7 @@ void PythonQtShell_QTableWidget::closeEditor(QWidget* editor0, QAbstractItemDel { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7462,7 +7462,7 @@ void PythonQtShell_QTableWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7484,7 +7484,7 @@ void PythonQtShell_QTableWidget::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7506,7 +7506,7 @@ void PythonQtShell_QTableWidget::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7528,7 +7528,7 @@ void PythonQtShell_QTableWidget::currentChanged(const QModelIndex& current0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7550,7 +7550,7 @@ void PythonQtShell_QTableWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7572,7 +7572,7 @@ void PythonQtShell_QTableWidget::dataChanged(const QModelIndex& topLeft0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7594,7 +7594,7 @@ int PythonQtShell_QTableWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7627,7 +7627,7 @@ void PythonQtShell_QTableWidget::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7649,7 +7649,7 @@ void PythonQtShell_QTableWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7671,7 +7671,7 @@ void PythonQtShell_QTableWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7693,7 +7693,7 @@ void PythonQtShell_QTableWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7715,7 +7715,7 @@ void PythonQtShell_QTableWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7737,7 +7737,7 @@ bool PythonQtShell_QTableWidget::dropMimeData(int row0, int column1, const QM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7770,7 +7770,7 @@ bool PythonQtShell_QTableWidget::edit(const QModelIndex& index0, QAbstractItem { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7803,7 +7803,7 @@ void PythonQtShell_QTableWidget::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7825,7 +7825,7 @@ void PythonQtShell_QTableWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7847,7 +7847,7 @@ bool PythonQtShell_QTableWidget::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7880,7 +7880,7 @@ bool PythonQtShell_QTableWidget::eventFilter(QObject* object0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7913,7 +7913,7 @@ void PythonQtShell_QTableWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7935,7 +7935,7 @@ bool PythonQtShell_QTableWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7968,7 +7968,7 @@ void PythonQtShell_QTableWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7990,7 +7990,7 @@ bool PythonQtShell_QTableWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8023,7 +8023,7 @@ int PythonQtShell_QTableWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8056,7 +8056,7 @@ void PythonQtShell_QTableWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8078,7 +8078,7 @@ int PythonQtShell_QTableWidget::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8111,7 +8111,7 @@ void PythonQtShell_QTableWidget::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8133,7 +8133,7 @@ void PythonQtShell_QTableWidget::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8155,7 +8155,7 @@ QModelIndex PythonQtShell_QTableWidget::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8188,7 +8188,7 @@ void PythonQtShell_QTableWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8210,7 +8210,7 @@ void PythonQtShell_QTableWidget::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8232,7 +8232,7 @@ QVariant PythonQtShell_QTableWidget::inputMethodQuery(Qt::InputMethodQuery que { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8265,7 +8265,7 @@ bool PythonQtShell_QTableWidget::isIndexHidden(const QModelIndex& index0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8298,7 +8298,7 @@ void PythonQtShell_QTableWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8320,7 +8320,7 @@ void PythonQtShell_QTableWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8342,7 +8342,7 @@ void PythonQtShell_QTableWidget::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8364,7 +8364,7 @@ void PythonQtShell_QTableWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8386,7 +8386,7 @@ int PythonQtShell_QTableWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8419,7 +8419,7 @@ QMimeData* PythonQtShell_QTableWidget::mimeData(const QList { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8452,7 +8452,7 @@ QStringList PythonQtShell_QTableWidget::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8485,7 +8485,7 @@ QSize PythonQtShell_QTableWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8518,7 +8518,7 @@ void PythonQtShell_QTableWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8540,7 +8540,7 @@ void PythonQtShell_QTableWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8562,7 +8562,7 @@ void PythonQtShell_QTableWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8584,7 +8584,7 @@ void PythonQtShell_QTableWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8606,7 +8606,7 @@ QModelIndex PythonQtShell_QTableWidget::moveCursor(QAbstractItemView::CursorAct { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8639,7 +8639,7 @@ void PythonQtShell_QTableWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8661,7 +8661,7 @@ bool PythonQtShell_QTableWidget::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8694,7 +8694,7 @@ QPaintEngine* PythonQtShell_QTableWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8727,7 +8727,7 @@ void PythonQtShell_QTableWidget::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8749,7 +8749,7 @@ QPaintDevice* PythonQtShell_QTableWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8782,7 +8782,7 @@ void PythonQtShell_QTableWidget::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8804,7 +8804,7 @@ void PythonQtShell_QTableWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8826,7 +8826,7 @@ void PythonQtShell_QTableWidget::rowsAboutToBeRemoved(const QModelIndex& parent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8848,7 +8848,7 @@ void PythonQtShell_QTableWidget::rowsInserted(const QModelIndex& parent0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8870,7 +8870,7 @@ void PythonQtShell_QTableWidget::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8892,7 +8892,7 @@ void PythonQtShell_QTableWidget::scrollTo(const QModelIndex& index0, QAbstractI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8914,7 +8914,7 @@ void PythonQtShell_QTableWidget::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8936,7 +8936,7 @@ QList PythonQtShell_QTableWidget::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8969,7 +8969,7 @@ void PythonQtShell_QTableWidget::selectionChanged(const QItemSelection& selecte { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8991,7 +8991,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QTableWidget::selectionComman { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9024,7 +9024,7 @@ void PythonQtShell_QTableWidget::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9046,7 +9046,7 @@ void PythonQtShell_QTableWidget::setSelection(const QRect& rect0, QItemSelectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9068,7 +9068,7 @@ void PythonQtShell_QTableWidget::setSelectionModel(QItemSelectionModel* selecti { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9090,7 +9090,7 @@ void PythonQtShell_QTableWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9112,7 +9112,7 @@ void PythonQtShell_QTableWidget::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9134,7 +9134,7 @@ QPainter* PythonQtShell_QTableWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9167,7 +9167,7 @@ void PythonQtShell_QTableWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9189,7 +9189,7 @@ QSize PythonQtShell_QTableWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9222,7 +9222,7 @@ int PythonQtShell_QTableWidget::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9255,7 +9255,7 @@ int PythonQtShell_QTableWidget::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9288,7 +9288,7 @@ void PythonQtShell_QTableWidget::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9310,7 +9310,7 @@ Qt::DropActions PythonQtShell_QTableWidget::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9343,7 +9343,7 @@ void PythonQtShell_QTableWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9365,7 +9365,7 @@ void PythonQtShell_QTableWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9387,7 +9387,7 @@ void PythonQtShell_QTableWidget::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9409,7 +9409,7 @@ void PythonQtShell_QTableWidget::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9431,7 +9431,7 @@ void PythonQtShell_QTableWidget::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9453,7 +9453,7 @@ int PythonQtShell_QTableWidget::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9486,7 +9486,7 @@ void PythonQtShell_QTableWidget::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9508,7 +9508,7 @@ void PythonQtShell_QTableWidget::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9530,7 +9530,7 @@ QStyleOptionViewItem PythonQtShell_QTableWidget::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9563,7 +9563,7 @@ bool PythonQtShell_QTableWidget::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9596,7 +9596,7 @@ QSize PythonQtShell_QTableWidget::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9629,7 +9629,7 @@ QRect PythonQtShell_QTableWidget::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9662,7 +9662,7 @@ QRegion PythonQtShell_QTableWidget::visualRegionForSelection(const QItemSelecti { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9695,7 +9695,7 @@ void PythonQtShell_QTableWidget::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9999,7 +9999,7 @@ QTableWidgetItem* PythonQtShell_QTableWidgetItem::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10032,7 +10032,7 @@ QVariant PythonQtShell_QTableWidgetItem::data(int role0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10065,7 +10065,7 @@ void PythonQtShell_QTableWidgetItem::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10087,7 +10087,7 @@ void PythonQtShell_QTableWidgetItem::setData(int role0, const QVariant& value1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10109,7 +10109,7 @@ void PythonQtShell_QTableWidgetItem::write(QDataStream& out0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10507,7 +10507,7 @@ void PythonQtShell_QTapAndHoldGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10529,7 +10529,7 @@ void PythonQtShell_QTapAndHoldGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10551,7 +10551,7 @@ bool PythonQtShell_QTapAndHoldGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10584,7 +10584,7 @@ bool PythonQtShell_QTapAndHoldGesture::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10617,7 +10617,7 @@ void PythonQtShell_QTapAndHoldGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10682,7 +10682,7 @@ void PythonQtShell_QTapGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10704,7 +10704,7 @@ void PythonQtShell_QTapGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10726,7 +10726,7 @@ bool PythonQtShell_QTapGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10759,7 +10759,7 @@ bool PythonQtShell_QTapGesture::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10792,7 +10792,7 @@ void PythonQtShell_QTapGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11191,7 +11191,7 @@ void PythonQtShell_QTextBlockGroup::blockFormatChanged(const QTextBlock& block0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("blockFormatChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11213,7 +11213,7 @@ void PythonQtShell_QTextBlockGroup::blockInserted(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("blockInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11235,7 +11235,7 @@ void PythonQtShell_QTextBlockGroup::blockRemoved(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("blockRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11257,7 +11257,7 @@ void PythonQtShell_QTextBlockGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11279,7 +11279,7 @@ void PythonQtShell_QTextBlockGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11301,7 +11301,7 @@ bool PythonQtShell_QTextBlockGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11334,7 +11334,7 @@ bool PythonQtShell_QTextBlockGroup::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11367,7 +11367,7 @@ void PythonQtShell_QTextBlockGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11442,7 +11442,7 @@ void PythonQtShell_QTextBrowser::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11464,7 +11464,7 @@ void PythonQtShell_QTextBrowser::backward() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("backward"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11486,7 +11486,7 @@ bool PythonQtShell_QTextBrowser::canInsertFromMimeData(const QMimeData* source { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canInsertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11519,7 +11519,7 @@ void PythonQtShell_QTextBrowser::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11541,7 +11541,7 @@ void PythonQtShell_QTextBrowser::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11563,7 +11563,7 @@ void PythonQtShell_QTextBrowser::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11585,7 +11585,7 @@ void PythonQtShell_QTextBrowser::contextMenuEvent(QContextMenuEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11607,7 +11607,7 @@ QMimeData* PythonQtShell_QTextBrowser::createMimeDataFromSelection() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createMimeDataFromSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11640,7 +11640,7 @@ void PythonQtShell_QTextBrowser::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11662,7 +11662,7 @@ int PythonQtShell_QTextBrowser::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11695,7 +11695,7 @@ void PythonQtShell_QTextBrowser::doSetTextCursor(const QTextCursor& cursor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doSetTextCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11717,7 +11717,7 @@ void PythonQtShell_QTextBrowser::dragEnterEvent(QDragEnterEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11739,7 +11739,7 @@ void PythonQtShell_QTextBrowser::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11761,7 +11761,7 @@ void PythonQtShell_QTextBrowser::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11783,7 +11783,7 @@ void PythonQtShell_QTextBrowser::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11805,7 +11805,7 @@ void PythonQtShell_QTextBrowser::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11827,7 +11827,7 @@ bool PythonQtShell_QTextBrowser::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11860,7 +11860,7 @@ bool PythonQtShell_QTextBrowser::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11893,7 +11893,7 @@ void PythonQtShell_QTextBrowser::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11915,7 +11915,7 @@ bool PythonQtShell_QTextBrowser::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11948,7 +11948,7 @@ void PythonQtShell_QTextBrowser::focusOutEvent(QFocusEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11970,7 +11970,7 @@ void PythonQtShell_QTextBrowser::forward() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("forward"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11992,7 +11992,7 @@ bool PythonQtShell_QTextBrowser::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12025,7 +12025,7 @@ int PythonQtShell_QTextBrowser::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12058,7 +12058,7 @@ void PythonQtShell_QTextBrowser::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12080,7 +12080,7 @@ void PythonQtShell_QTextBrowser::home() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("home"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12102,7 +12102,7 @@ void PythonQtShell_QTextBrowser::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12124,7 +12124,7 @@ void PythonQtShell_QTextBrowser::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12146,7 +12146,7 @@ QVariant PythonQtShell_QTextBrowser::inputMethodQuery(Qt::InputMethodQuery pro { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12179,7 +12179,7 @@ void PythonQtShell_QTextBrowser::insertFromMimeData(const QMimeData* source0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12201,7 +12201,7 @@ void PythonQtShell_QTextBrowser::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12223,7 +12223,7 @@ void PythonQtShell_QTextBrowser::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12245,7 +12245,7 @@ void PythonQtShell_QTextBrowser::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12267,7 +12267,7 @@ QVariant PythonQtShell_QTextBrowser::loadResource(int type0, const QUrl& name { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12300,7 +12300,7 @@ int PythonQtShell_QTextBrowser::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12333,7 +12333,7 @@ QSize PythonQtShell_QTextBrowser::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12366,7 +12366,7 @@ void PythonQtShell_QTextBrowser::mouseDoubleClickEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12388,7 +12388,7 @@ void PythonQtShell_QTextBrowser::mouseMoveEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12410,7 +12410,7 @@ void PythonQtShell_QTextBrowser::mousePressEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12432,7 +12432,7 @@ void PythonQtShell_QTextBrowser::mouseReleaseEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12454,7 +12454,7 @@ void PythonQtShell_QTextBrowser::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12476,7 +12476,7 @@ bool PythonQtShell_QTextBrowser::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12509,7 +12509,7 @@ QPaintEngine* PythonQtShell_QTextBrowser::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12542,7 +12542,7 @@ void PythonQtShell_QTextBrowser::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12564,7 +12564,7 @@ QPaintDevice* PythonQtShell_QTextBrowser::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12597,7 +12597,7 @@ void PythonQtShell_QTextBrowser::reload() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reload"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12619,7 +12619,7 @@ void PythonQtShell_QTextBrowser::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12641,7 +12641,7 @@ void PythonQtShell_QTextBrowser::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12663,7 +12663,7 @@ void PythonQtShell_QTextBrowser::setSource(const QUrl& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12685,7 +12685,7 @@ void PythonQtShell_QTextBrowser::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12707,7 +12707,7 @@ void PythonQtShell_QTextBrowser::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12729,7 +12729,7 @@ QPainter* PythonQtShell_QTextBrowser::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12762,7 +12762,7 @@ void PythonQtShell_QTextBrowser::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12784,7 +12784,7 @@ QSize PythonQtShell_QTextBrowser::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12817,7 +12817,7 @@ void PythonQtShell_QTextBrowser::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12839,7 +12839,7 @@ void PythonQtShell_QTextBrowser::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12861,7 +12861,7 @@ bool PythonQtShell_QTextBrowser::viewportEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12894,7 +12894,7 @@ QSize PythonQtShell_QTextBrowser::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12927,7 +12927,7 @@ void PythonQtShell_QTextBrowser::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13758,7 +13758,7 @@ void PythonQtShell_QTextDocument::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13780,7 +13780,7 @@ void PythonQtShell_QTextDocument::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13802,7 +13802,7 @@ QTextObject* PythonQtShell_QTextDocument::createObject(const QTextFormat& f0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13835,7 +13835,7 @@ void PythonQtShell_QTextDocument::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13857,7 +13857,7 @@ bool PythonQtShell_QTextDocument::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13890,7 +13890,7 @@ bool PythonQtShell_QTextDocument::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13923,7 +13923,7 @@ QVariant PythonQtShell_QTextDocument::loadResource(int type0, const QUrl& nam { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13956,7 +13956,7 @@ void PythonQtShell_QTextDocument::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14522,7 +14522,7 @@ void PythonQtShell_QTextEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14544,7 +14544,7 @@ bool PythonQtShell_QTextEdit::canInsertFromMimeData(const QMimeData* source0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canInsertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14577,7 +14577,7 @@ void PythonQtShell_QTextEdit::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14599,7 +14599,7 @@ void PythonQtShell_QTextEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14621,7 +14621,7 @@ void PythonQtShell_QTextEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14643,7 +14643,7 @@ void PythonQtShell_QTextEdit::contextMenuEvent(QContextMenuEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14665,7 +14665,7 @@ QMimeData* PythonQtShell_QTextEdit::createMimeDataFromSelection() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createMimeDataFromSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14698,7 +14698,7 @@ void PythonQtShell_QTextEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14720,7 +14720,7 @@ int PythonQtShell_QTextEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14753,7 +14753,7 @@ void PythonQtShell_QTextEdit::doSetTextCursor(const QTextCursor& cursor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doSetTextCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14775,7 +14775,7 @@ void PythonQtShell_QTextEdit::dragEnterEvent(QDragEnterEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14797,7 +14797,7 @@ void PythonQtShell_QTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14819,7 +14819,7 @@ void PythonQtShell_QTextEdit::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14841,7 +14841,7 @@ void PythonQtShell_QTextEdit::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14863,7 +14863,7 @@ void PythonQtShell_QTextEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14885,7 +14885,7 @@ bool PythonQtShell_QTextEdit::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14918,7 +14918,7 @@ bool PythonQtShell_QTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14951,7 +14951,7 @@ void PythonQtShell_QTextEdit::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14973,7 +14973,7 @@ bool PythonQtShell_QTextEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15006,7 +15006,7 @@ void PythonQtShell_QTextEdit::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15028,7 +15028,7 @@ bool PythonQtShell_QTextEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15061,7 +15061,7 @@ int PythonQtShell_QTextEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15094,7 +15094,7 @@ void PythonQtShell_QTextEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15116,7 +15116,7 @@ void PythonQtShell_QTextEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15138,7 +15138,7 @@ void PythonQtShell_QTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15160,7 +15160,7 @@ QVariant PythonQtShell_QTextEdit::inputMethodQuery(Qt::InputMethodQuery proper { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15193,7 +15193,7 @@ void PythonQtShell_QTextEdit::insertFromMimeData(const QMimeData* source0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15215,7 +15215,7 @@ void PythonQtShell_QTextEdit::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15237,7 +15237,7 @@ void PythonQtShell_QTextEdit::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15259,7 +15259,7 @@ void PythonQtShell_QTextEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15281,7 +15281,7 @@ QVariant PythonQtShell_QTextEdit::loadResource(int type0, const QUrl& name1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15314,7 +15314,7 @@ int PythonQtShell_QTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15347,7 +15347,7 @@ QSize PythonQtShell_QTextEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15380,7 +15380,7 @@ void PythonQtShell_QTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15402,7 +15402,7 @@ void PythonQtShell_QTextEdit::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15424,7 +15424,7 @@ void PythonQtShell_QTextEdit::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15446,7 +15446,7 @@ void PythonQtShell_QTextEdit::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15468,7 +15468,7 @@ void PythonQtShell_QTextEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15490,7 +15490,7 @@ bool PythonQtShell_QTextEdit::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15523,7 +15523,7 @@ QPaintEngine* PythonQtShell_QTextEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15556,7 +15556,7 @@ void PythonQtShell_QTextEdit::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15578,7 +15578,7 @@ QPaintDevice* PythonQtShell_QTextEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15611,7 +15611,7 @@ void PythonQtShell_QTextEdit::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15633,7 +15633,7 @@ void PythonQtShell_QTextEdit::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15655,7 +15655,7 @@ void PythonQtShell_QTextEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15677,7 +15677,7 @@ void PythonQtShell_QTextEdit::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15699,7 +15699,7 @@ QPainter* PythonQtShell_QTextEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15732,7 +15732,7 @@ void PythonQtShell_QTextEdit::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15754,7 +15754,7 @@ QSize PythonQtShell_QTextEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15787,7 +15787,7 @@ void PythonQtShell_QTextEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15809,7 +15809,7 @@ void PythonQtShell_QTextEdit::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15831,7 +15831,7 @@ bool PythonQtShell_QTextEdit::viewportEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15864,7 +15864,7 @@ QSize PythonQtShell_QTextEdit::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15897,7 +15897,7 @@ void PythonQtShell_QTextEdit::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp b/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp index f3e94cb36..5d5f61815 100644 --- a/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp +++ b/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp @@ -145,7 +145,7 @@ void PythonQtShell_QTextFrame::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -167,7 +167,7 @@ void PythonQtShell_QTextFrame::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -189,7 +189,7 @@ bool PythonQtShell_QTextFrame::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -222,7 +222,7 @@ bool PythonQtShell_QTextFrame::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -255,7 +255,7 @@ void PythonQtShell_QTextFrame::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1053,7 +1053,7 @@ void PythonQtShell_QTextList::blockFormatChanged(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("blockFormatChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1075,7 +1075,7 @@ void PythonQtShell_QTextList::blockInserted(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("blockInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1097,7 +1097,7 @@ void PythonQtShell_QTextList::blockRemoved(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("blockRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1119,7 +1119,7 @@ void PythonQtShell_QTextList::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1141,7 +1141,7 @@ void PythonQtShell_QTextList::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1163,7 +1163,7 @@ bool PythonQtShell_QTextList::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1196,7 +1196,7 @@ bool PythonQtShell_QTextList::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1229,7 +1229,7 @@ void PythonQtShell_QTextList::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1378,7 +1378,7 @@ void PythonQtShell_QTextObject::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1400,7 +1400,7 @@ void PythonQtShell_QTextObject::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1422,7 +1422,7 @@ bool PythonQtShell_QTextObject::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1455,7 +1455,7 @@ bool PythonQtShell_QTextObject::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1488,7 +1488,7 @@ void PythonQtShell_QTextObject::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1686,7 +1686,7 @@ void PythonQtShell_QTextTable::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1708,7 +1708,7 @@ void PythonQtShell_QTextTable::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1730,7 +1730,7 @@ bool PythonQtShell_QTextTable::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1763,7 +1763,7 @@ bool PythonQtShell_QTextTable::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1796,7 +1796,7 @@ void PythonQtShell_QTextTable::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2333,7 +2333,7 @@ void PythonQtShell_QTimeEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2355,7 +2355,7 @@ void PythonQtShell_QTimeEdit::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2377,7 +2377,7 @@ void PythonQtShell_QTimeEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2399,7 +2399,7 @@ void PythonQtShell_QTimeEdit::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2421,7 +2421,7 @@ void PythonQtShell_QTimeEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2443,7 +2443,7 @@ void PythonQtShell_QTimeEdit::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2465,7 +2465,7 @@ void PythonQtShell_QTimeEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2487,7 +2487,7 @@ QDateTime PythonQtShell_QTimeEdit::dateTimeFromText(const QString& text0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dateTimeFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2520,7 +2520,7 @@ int PythonQtShell_QTimeEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2553,7 +2553,7 @@ void PythonQtShell_QTimeEdit::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2575,7 +2575,7 @@ void PythonQtShell_QTimeEdit::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2597,7 +2597,7 @@ void PythonQtShell_QTimeEdit::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2619,7 +2619,7 @@ void PythonQtShell_QTimeEdit::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2641,7 +2641,7 @@ void PythonQtShell_QTimeEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2663,7 +2663,7 @@ bool PythonQtShell_QTimeEdit::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2696,7 +2696,7 @@ bool PythonQtShell_QTimeEdit::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2729,7 +2729,7 @@ void PythonQtShell_QTimeEdit::fixup(QString& input0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2751,7 +2751,7 @@ void PythonQtShell_QTimeEdit::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2773,7 +2773,7 @@ bool PythonQtShell_QTimeEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2806,7 +2806,7 @@ void PythonQtShell_QTimeEdit::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2828,7 +2828,7 @@ bool PythonQtShell_QTimeEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2861,7 +2861,7 @@ int PythonQtShell_QTimeEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2894,7 +2894,7 @@ void PythonQtShell_QTimeEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2916,7 +2916,7 @@ void PythonQtShell_QTimeEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2938,7 +2938,7 @@ void PythonQtShell_QTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2960,7 +2960,7 @@ QVariant PythonQtShell_QTimeEdit::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2993,7 +2993,7 @@ void PythonQtShell_QTimeEdit::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3015,7 +3015,7 @@ void PythonQtShell_QTimeEdit::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3037,7 +3037,7 @@ void PythonQtShell_QTimeEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3059,7 +3059,7 @@ int PythonQtShell_QTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3092,7 +3092,7 @@ QSize PythonQtShell_QTimeEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3125,7 +3125,7 @@ void PythonQtShell_QTimeEdit::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3147,7 +3147,7 @@ void PythonQtShell_QTimeEdit::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3169,7 +3169,7 @@ void PythonQtShell_QTimeEdit::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3191,7 +3191,7 @@ void PythonQtShell_QTimeEdit::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3213,7 +3213,7 @@ void PythonQtShell_QTimeEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3235,7 +3235,7 @@ bool PythonQtShell_QTimeEdit::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3268,7 +3268,7 @@ QPaintEngine* PythonQtShell_QTimeEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3301,7 +3301,7 @@ void PythonQtShell_QTimeEdit::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3323,7 +3323,7 @@ QPaintDevice* PythonQtShell_QTimeEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3356,7 +3356,7 @@ void PythonQtShell_QTimeEdit::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3378,7 +3378,7 @@ void PythonQtShell_QTimeEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3400,7 +3400,7 @@ QPainter* PythonQtShell_QTimeEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3433,7 +3433,7 @@ void PythonQtShell_QTimeEdit::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3455,7 +3455,7 @@ QSize PythonQtShell_QTimeEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3488,7 +3488,7 @@ void PythonQtShell_QTimeEdit::stepBy(int steps0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3510,7 +3510,7 @@ QAbstractSpinBox::StepEnabled PythonQtShell_QTimeEdit::stepEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3543,7 +3543,7 @@ void PythonQtShell_QTimeEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3565,7 +3565,7 @@ QString PythonQtShell_QTimeEdit::textFromDateTime(const QDateTime& dt0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textFromDateTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3598,7 +3598,7 @@ void PythonQtShell_QTimeEdit::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3620,7 +3620,7 @@ QValidator::State PythonQtShell_QTimeEdit::validate(QString& input0, int& pos { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3653,7 +3653,7 @@ void PythonQtShell_QTimeEdit::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3702,7 +3702,7 @@ void PythonQtShell_QToolBar::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3724,7 +3724,7 @@ void PythonQtShell_QToolBar::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3746,7 +3746,7 @@ void PythonQtShell_QToolBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3768,7 +3768,7 @@ void PythonQtShell_QToolBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3790,7 +3790,7 @@ void PythonQtShell_QToolBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3812,7 +3812,7 @@ void PythonQtShell_QToolBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3834,7 +3834,7 @@ int PythonQtShell_QToolBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3867,7 +3867,7 @@ void PythonQtShell_QToolBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3889,7 +3889,7 @@ void PythonQtShell_QToolBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3911,7 +3911,7 @@ void PythonQtShell_QToolBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3933,7 +3933,7 @@ void PythonQtShell_QToolBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3955,7 +3955,7 @@ void PythonQtShell_QToolBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3977,7 +3977,7 @@ bool PythonQtShell_QToolBar::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4010,7 +4010,7 @@ bool PythonQtShell_QToolBar::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4043,7 +4043,7 @@ void PythonQtShell_QToolBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4065,7 +4065,7 @@ bool PythonQtShell_QToolBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4098,7 +4098,7 @@ void PythonQtShell_QToolBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4120,7 +4120,7 @@ bool PythonQtShell_QToolBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4153,7 +4153,7 @@ int PythonQtShell_QToolBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4186,7 +4186,7 @@ void PythonQtShell_QToolBar::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4208,7 +4208,7 @@ void PythonQtShell_QToolBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4230,7 +4230,7 @@ void PythonQtShell_QToolBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4252,7 +4252,7 @@ QVariant PythonQtShell_QToolBar::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4285,7 +4285,7 @@ void PythonQtShell_QToolBar::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4307,7 +4307,7 @@ void PythonQtShell_QToolBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4329,7 +4329,7 @@ void PythonQtShell_QToolBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4351,7 +4351,7 @@ int PythonQtShell_QToolBar::metric(QPaintDevice::PaintDeviceMetric arg__1) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4384,7 +4384,7 @@ QSize PythonQtShell_QToolBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4417,7 +4417,7 @@ void PythonQtShell_QToolBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4439,7 +4439,7 @@ void PythonQtShell_QToolBar::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4461,7 +4461,7 @@ void PythonQtShell_QToolBar::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4483,7 +4483,7 @@ void PythonQtShell_QToolBar::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4505,7 +4505,7 @@ void PythonQtShell_QToolBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4527,7 +4527,7 @@ bool PythonQtShell_QToolBar::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4560,7 +4560,7 @@ QPaintEngine* PythonQtShell_QToolBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4593,7 +4593,7 @@ void PythonQtShell_QToolBar::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4615,7 +4615,7 @@ QPaintDevice* PythonQtShell_QToolBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4648,7 +4648,7 @@ void PythonQtShell_QToolBar::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4670,7 +4670,7 @@ void PythonQtShell_QToolBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4692,7 +4692,7 @@ QPainter* PythonQtShell_QToolBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4725,7 +4725,7 @@ void PythonQtShell_QToolBar::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4747,7 +4747,7 @@ QSize PythonQtShell_QToolBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4780,7 +4780,7 @@ void PythonQtShell_QToolBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4802,7 +4802,7 @@ void PythonQtShell_QToolBar::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4824,7 +4824,7 @@ void PythonQtShell_QToolBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5019,7 +5019,7 @@ void PythonQtShell_QToolBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5041,7 +5041,7 @@ void PythonQtShell_QToolBox::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5063,7 +5063,7 @@ void PythonQtShell_QToolBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5085,7 +5085,7 @@ void PythonQtShell_QToolBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5107,7 +5107,7 @@ void PythonQtShell_QToolBox::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5129,7 +5129,7 @@ void PythonQtShell_QToolBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5151,7 +5151,7 @@ int PythonQtShell_QToolBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5184,7 +5184,7 @@ void PythonQtShell_QToolBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5206,7 +5206,7 @@ void PythonQtShell_QToolBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5228,7 +5228,7 @@ void PythonQtShell_QToolBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5250,7 +5250,7 @@ void PythonQtShell_QToolBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5272,7 +5272,7 @@ void PythonQtShell_QToolBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5294,7 +5294,7 @@ bool PythonQtShell_QToolBox::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5327,7 +5327,7 @@ bool PythonQtShell_QToolBox::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5360,7 +5360,7 @@ void PythonQtShell_QToolBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5382,7 +5382,7 @@ bool PythonQtShell_QToolBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5415,7 +5415,7 @@ void PythonQtShell_QToolBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5437,7 +5437,7 @@ bool PythonQtShell_QToolBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5470,7 +5470,7 @@ int PythonQtShell_QToolBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5503,7 +5503,7 @@ void PythonQtShell_QToolBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5525,7 +5525,7 @@ void PythonQtShell_QToolBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5547,7 +5547,7 @@ void PythonQtShell_QToolBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5569,7 +5569,7 @@ QVariant PythonQtShell_QToolBox::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5602,7 +5602,7 @@ void PythonQtShell_QToolBox::itemInserted(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5624,7 +5624,7 @@ void PythonQtShell_QToolBox::itemRemoved(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5646,7 +5646,7 @@ void PythonQtShell_QToolBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5668,7 +5668,7 @@ void PythonQtShell_QToolBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5690,7 +5690,7 @@ void PythonQtShell_QToolBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5712,7 +5712,7 @@ int PythonQtShell_QToolBox::metric(QPaintDevice::PaintDeviceMetric arg__1) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5745,7 +5745,7 @@ QSize PythonQtShell_QToolBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5778,7 +5778,7 @@ void PythonQtShell_QToolBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5800,7 +5800,7 @@ void PythonQtShell_QToolBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5822,7 +5822,7 @@ void PythonQtShell_QToolBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5844,7 +5844,7 @@ void PythonQtShell_QToolBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5866,7 +5866,7 @@ void PythonQtShell_QToolBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5888,7 +5888,7 @@ bool PythonQtShell_QToolBox::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5921,7 +5921,7 @@ QPaintEngine* PythonQtShell_QToolBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5954,7 +5954,7 @@ void PythonQtShell_QToolBox::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5976,7 +5976,7 @@ QPaintDevice* PythonQtShell_QToolBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6009,7 +6009,7 @@ void PythonQtShell_QToolBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6031,7 +6031,7 @@ void PythonQtShell_QToolBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6053,7 +6053,7 @@ QPainter* PythonQtShell_QToolBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6086,7 +6086,7 @@ void PythonQtShell_QToolBox::showEvent(QShowEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6108,7 +6108,7 @@ QSize PythonQtShell_QToolBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6141,7 +6141,7 @@ void PythonQtShell_QToolBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6163,7 +6163,7 @@ void PythonQtShell_QToolBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6185,7 +6185,7 @@ void PythonQtShell_QToolBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6330,7 +6330,7 @@ void PythonQtShell_QToolButton::actionEvent(QActionEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6352,7 +6352,7 @@ void PythonQtShell_QToolButton::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6374,7 +6374,7 @@ void PythonQtShell_QToolButton::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6396,7 +6396,7 @@ void PythonQtShell_QToolButton::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6418,7 +6418,7 @@ void PythonQtShell_QToolButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6440,7 +6440,7 @@ void PythonQtShell_QToolButton::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6462,7 +6462,7 @@ void PythonQtShell_QToolButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6484,7 +6484,7 @@ int PythonQtShell_QToolButton::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6517,7 +6517,7 @@ void PythonQtShell_QToolButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6539,7 +6539,7 @@ void PythonQtShell_QToolButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6561,7 +6561,7 @@ void PythonQtShell_QToolButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6583,7 +6583,7 @@ void PythonQtShell_QToolButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6605,7 +6605,7 @@ void PythonQtShell_QToolButton::enterEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6627,7 +6627,7 @@ bool PythonQtShell_QToolButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6660,7 +6660,7 @@ bool PythonQtShell_QToolButton::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6693,7 +6693,7 @@ void PythonQtShell_QToolButton::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6715,7 +6715,7 @@ bool PythonQtShell_QToolButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6748,7 +6748,7 @@ void PythonQtShell_QToolButton::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6770,7 +6770,7 @@ bool PythonQtShell_QToolButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6803,7 +6803,7 @@ int PythonQtShell_QToolButton::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6836,7 +6836,7 @@ void PythonQtShell_QToolButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6858,7 +6858,7 @@ bool PythonQtShell_QToolButton::hitButton(const QPoint& pos0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6891,7 +6891,7 @@ void PythonQtShell_QToolButton::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6913,7 +6913,7 @@ void PythonQtShell_QToolButton::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6935,7 +6935,7 @@ QVariant PythonQtShell_QToolButton::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6968,7 +6968,7 @@ void PythonQtShell_QToolButton::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6990,7 +6990,7 @@ void PythonQtShell_QToolButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7012,7 +7012,7 @@ void PythonQtShell_QToolButton::leaveEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7034,7 +7034,7 @@ int PythonQtShell_QToolButton::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7067,7 +7067,7 @@ QSize PythonQtShell_QToolButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7100,7 +7100,7 @@ void PythonQtShell_QToolButton::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7122,7 +7122,7 @@ void PythonQtShell_QToolButton::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7144,7 +7144,7 @@ void PythonQtShell_QToolButton::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7166,7 +7166,7 @@ void PythonQtShell_QToolButton::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7188,7 +7188,7 @@ void PythonQtShell_QToolButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7210,7 +7210,7 @@ bool PythonQtShell_QToolButton::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7243,7 +7243,7 @@ void PythonQtShell_QToolButton::nextCheckState() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7265,7 +7265,7 @@ QPaintEngine* PythonQtShell_QToolButton::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7298,7 +7298,7 @@ void PythonQtShell_QToolButton::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7320,7 +7320,7 @@ QPaintDevice* PythonQtShell_QToolButton::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7353,7 +7353,7 @@ void PythonQtShell_QToolButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7375,7 +7375,7 @@ void PythonQtShell_QToolButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7397,7 +7397,7 @@ QPainter* PythonQtShell_QToolButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7430,7 +7430,7 @@ void PythonQtShell_QToolButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7452,7 +7452,7 @@ QSize PythonQtShell_QToolButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7485,7 +7485,7 @@ void PythonQtShell_QToolButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7507,7 +7507,7 @@ void PythonQtShell_QToolButton::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7529,7 +7529,7 @@ void PythonQtShell_QToolButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8071,7 +8071,7 @@ QModelIndex PythonQtShell_QTransposeProxyModel::buddy(const QModelIndex& index { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8104,7 +8104,7 @@ bool PythonQtShell_QTransposeProxyModel::canDropMimeData(const QMimeData* data { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8137,7 +8137,7 @@ bool PythonQtShell_QTransposeProxyModel::canFetchMore(const QModelIndex& paren { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8170,7 +8170,7 @@ void PythonQtShell_QTransposeProxyModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8192,7 +8192,7 @@ int PythonQtShell_QTransposeProxyModel::columnCount(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8225,7 +8225,7 @@ void PythonQtShell_QTransposeProxyModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8247,7 +8247,7 @@ QVariant PythonQtShell_QTransposeProxyModel::data(const QModelIndex& proxyInde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8280,7 +8280,7 @@ bool PythonQtShell_QTransposeProxyModel::dropMimeData(const QMimeData* data0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8313,7 +8313,7 @@ bool PythonQtShell_QTransposeProxyModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8346,7 +8346,7 @@ bool PythonQtShell_QTransposeProxyModel::eventFilter(QObject* watched0, QEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8379,7 +8379,7 @@ void PythonQtShell_QTransposeProxyModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8401,7 +8401,7 @@ Qt::ItemFlags PythonQtShell_QTransposeProxyModel::flags(const QModelIndex& ind { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8434,7 +8434,7 @@ bool PythonQtShell_QTransposeProxyModel::hasChildren(const QModelIndex& parent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8467,7 +8467,7 @@ QVariant PythonQtShell_QTransposeProxyModel::headerData(int section0, Qt::Orie { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8500,7 +8500,7 @@ QModelIndex PythonQtShell_QTransposeProxyModel::index(int row0, int column1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8533,7 +8533,7 @@ bool PythonQtShell_QTransposeProxyModel::insertColumns(int column0, int count { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8566,7 +8566,7 @@ bool PythonQtShell_QTransposeProxyModel::insertRows(int row0, int count1, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8599,7 +8599,7 @@ QMap PythonQtShell_QTransposeProxyModel::itemData(const QModel { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8632,7 +8632,7 @@ QModelIndex PythonQtShell_QTransposeProxyModel::mapFromSource(const QModelIndex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8665,7 +8665,7 @@ QItemSelection PythonQtShell_QTransposeProxyModel::mapSelectionFromSource(const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapSelectionFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8698,7 +8698,7 @@ QItemSelection PythonQtShell_QTransposeProxyModel::mapSelectionToSource(const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapSelectionToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8731,7 +8731,7 @@ QModelIndex PythonQtShell_QTransposeProxyModel::mapToSource(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8764,7 +8764,7 @@ QList PythonQtShell_QTransposeProxyModel::match(const QModelIndex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8797,7 +8797,7 @@ QMimeData* PythonQtShell_QTransposeProxyModel::mimeData(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8830,7 +8830,7 @@ QStringList PythonQtShell_QTransposeProxyModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8863,7 +8863,7 @@ bool PythonQtShell_QTransposeProxyModel::moveColumns(const QModelIndex& source { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8896,7 +8896,7 @@ bool PythonQtShell_QTransposeProxyModel::moveRows(const QModelIndex& sourcePar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8929,7 +8929,7 @@ QModelIndex PythonQtShell_QTransposeProxyModel::parent(const QModelIndex& inde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8962,7 +8962,7 @@ bool PythonQtShell_QTransposeProxyModel::removeColumns(int column0, int count { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8995,7 +8995,7 @@ bool PythonQtShell_QTransposeProxyModel::removeRows(int row0, int count1, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9028,7 +9028,7 @@ void PythonQtShell_QTransposeProxyModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9050,7 +9050,7 @@ QHash PythonQtShell_QTransposeProxyModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9083,7 +9083,7 @@ int PythonQtShell_QTransposeProxyModel::rowCount(const QModelIndex& parent0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9116,7 +9116,7 @@ bool PythonQtShell_QTransposeProxyModel::setData(const QModelIndex& index0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9149,7 +9149,7 @@ bool PythonQtShell_QTransposeProxyModel::setHeaderData(int section0, Qt::Orien { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9182,7 +9182,7 @@ bool PythonQtShell_QTransposeProxyModel::setItemData(const QModelIndex& index0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9215,7 +9215,7 @@ void PythonQtShell_QTransposeProxyModel::setSourceModel(QAbstractItemModel* new { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSourceModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9237,7 +9237,7 @@ QModelIndex PythonQtShell_QTransposeProxyModel::sibling(int row0, int column1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9270,7 +9270,7 @@ void PythonQtShell_QTransposeProxyModel::sort(int column0, Qt::SortOrder order { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9292,7 +9292,7 @@ QSize PythonQtShell_QTransposeProxyModel::span(const QModelIndex& index0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9325,7 +9325,7 @@ bool PythonQtShell_QTransposeProxyModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9358,7 +9358,7 @@ Qt::DropActions PythonQtShell_QTransposeProxyModel::supportedDragActions() cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9391,7 +9391,7 @@ Qt::DropActions PythonQtShell_QTransposeProxyModel::supportedDropActions() cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9424,7 +9424,7 @@ void PythonQtShell_QTransposeProxyModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9469,7 +9469,7 @@ void PythonQtShell_QTreeView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9491,7 +9491,7 @@ void PythonQtShell_QTreeView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9513,7 +9513,7 @@ void PythonQtShell_QTreeView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9535,7 +9535,7 @@ void PythonQtShell_QTreeView::closeEditor(QWidget* editor0, QAbstractItemDelega { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9557,7 +9557,7 @@ void PythonQtShell_QTreeView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9579,7 +9579,7 @@ void PythonQtShell_QTreeView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9601,7 +9601,7 @@ void PythonQtShell_QTreeView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9623,7 +9623,7 @@ void PythonQtShell_QTreeView::currentChanged(const QModelIndex& current0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9645,7 +9645,7 @@ void PythonQtShell_QTreeView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9667,7 +9667,7 @@ void PythonQtShell_QTreeView::dataChanged(const QModelIndex& topLeft0, const QM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9689,7 +9689,7 @@ int PythonQtShell_QTreeView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9722,7 +9722,7 @@ void PythonQtShell_QTreeView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9744,7 +9744,7 @@ void PythonQtShell_QTreeView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9766,7 +9766,7 @@ void PythonQtShell_QTreeView::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9788,7 +9788,7 @@ void PythonQtShell_QTreeView::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9810,7 +9810,7 @@ void PythonQtShell_QTreeView::drawBranches(QPainter* painter0, const QRect& re { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawBranches"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9832,7 +9832,7 @@ void PythonQtShell_QTreeView::drawRow(QPainter* painter0, const QStyleOptionVie { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9854,7 +9854,7 @@ void PythonQtShell_QTreeView::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9876,7 +9876,7 @@ bool PythonQtShell_QTreeView::edit(const QModelIndex& index0, QAbstractItemVie { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9909,7 +9909,7 @@ void PythonQtShell_QTreeView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9931,7 +9931,7 @@ void PythonQtShell_QTreeView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9953,7 +9953,7 @@ bool PythonQtShell_QTreeView::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9986,7 +9986,7 @@ bool PythonQtShell_QTreeView::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10019,7 +10019,7 @@ void PythonQtShell_QTreeView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10041,7 +10041,7 @@ bool PythonQtShell_QTreeView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10074,7 +10074,7 @@ void PythonQtShell_QTreeView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10096,7 +10096,7 @@ bool PythonQtShell_QTreeView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10129,7 +10129,7 @@ int PythonQtShell_QTreeView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10162,7 +10162,7 @@ void PythonQtShell_QTreeView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10184,7 +10184,7 @@ int PythonQtShell_QTreeView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10217,7 +10217,7 @@ void PythonQtShell_QTreeView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10239,7 +10239,7 @@ void PythonQtShell_QTreeView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10261,7 +10261,7 @@ QModelIndex PythonQtShell_QTreeView::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10294,7 +10294,7 @@ void PythonQtShell_QTreeView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10316,7 +10316,7 @@ void PythonQtShell_QTreeView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10338,7 +10338,7 @@ QVariant PythonQtShell_QTreeView::inputMethodQuery(Qt::InputMethodQuery query0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10371,7 +10371,7 @@ bool PythonQtShell_QTreeView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10404,7 +10404,7 @@ void PythonQtShell_QTreeView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10426,7 +10426,7 @@ void PythonQtShell_QTreeView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10448,7 +10448,7 @@ void PythonQtShell_QTreeView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10470,7 +10470,7 @@ void PythonQtShell_QTreeView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10492,7 +10492,7 @@ int PythonQtShell_QTreeView::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10525,7 +10525,7 @@ QSize PythonQtShell_QTreeView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10558,7 +10558,7 @@ void PythonQtShell_QTreeView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10580,7 +10580,7 @@ void PythonQtShell_QTreeView::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10602,7 +10602,7 @@ void PythonQtShell_QTreeView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10624,7 +10624,7 @@ void PythonQtShell_QTreeView::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10646,7 +10646,7 @@ QModelIndex PythonQtShell_QTreeView::moveCursor(QAbstractItemView::CursorAction { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10679,7 +10679,7 @@ void PythonQtShell_QTreeView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10701,7 +10701,7 @@ bool PythonQtShell_QTreeView::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10734,7 +10734,7 @@ QPaintEngine* PythonQtShell_QTreeView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10767,7 +10767,7 @@ void PythonQtShell_QTreeView::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10789,7 +10789,7 @@ QPaintDevice* PythonQtShell_QTreeView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10822,7 +10822,7 @@ void PythonQtShell_QTreeView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10844,7 +10844,7 @@ void PythonQtShell_QTreeView::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10866,7 +10866,7 @@ void PythonQtShell_QTreeView::rowsAboutToBeRemoved(const QModelIndex& parent0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10888,7 +10888,7 @@ void PythonQtShell_QTreeView::rowsInserted(const QModelIndex& parent0, int sta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10910,7 +10910,7 @@ void PythonQtShell_QTreeView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10932,7 +10932,7 @@ void PythonQtShell_QTreeView::scrollTo(const QModelIndex& index0, QAbstractItem { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10954,7 +10954,7 @@ void PythonQtShell_QTreeView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10976,7 +10976,7 @@ QList PythonQtShell_QTreeView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11009,7 +11009,7 @@ void PythonQtShell_QTreeView::selectionChanged(const QItemSelection& selected0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11031,7 +11031,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QTreeView::selectionCommand(c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11064,7 +11064,7 @@ void PythonQtShell_QTreeView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11086,7 +11086,7 @@ void PythonQtShell_QTreeView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11108,7 +11108,7 @@ void PythonQtShell_QTreeView::setSelection(const QRect& rect0, QItemSelectionMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11130,7 +11130,7 @@ void PythonQtShell_QTreeView::setSelectionModel(QItemSelectionModel* selectionM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11152,7 +11152,7 @@ void PythonQtShell_QTreeView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11174,7 +11174,7 @@ void PythonQtShell_QTreeView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11196,7 +11196,7 @@ QPainter* PythonQtShell_QTreeView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11229,7 +11229,7 @@ void PythonQtShell_QTreeView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11251,7 +11251,7 @@ QSize PythonQtShell_QTreeView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11284,7 +11284,7 @@ int PythonQtShell_QTreeView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11317,7 +11317,7 @@ int PythonQtShell_QTreeView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11350,7 +11350,7 @@ void PythonQtShell_QTreeView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11372,7 +11372,7 @@ void PythonQtShell_QTreeView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11394,7 +11394,7 @@ void PythonQtShell_QTreeView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11416,7 +11416,7 @@ void PythonQtShell_QTreeView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11438,7 +11438,7 @@ void PythonQtShell_QTreeView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11460,7 +11460,7 @@ void PythonQtShell_QTreeView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11482,7 +11482,7 @@ int PythonQtShell_QTreeView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11515,7 +11515,7 @@ void PythonQtShell_QTreeView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11537,7 +11537,7 @@ void PythonQtShell_QTreeView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11559,7 +11559,7 @@ QStyleOptionViewItem PythonQtShell_QTreeView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11592,7 +11592,7 @@ bool PythonQtShell_QTreeView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11625,7 +11625,7 @@ QSize PythonQtShell_QTreeView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11658,7 +11658,7 @@ QRect PythonQtShell_QTreeView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11691,7 +11691,7 @@ QRegion PythonQtShell_QTreeView::visualRegionForSelection(const QItemSelection& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11724,7 +11724,7 @@ void PythonQtShell_QTreeView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp b/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp index e89589e66..7be710d7c 100644 --- a/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp +++ b/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp @@ -74,7 +74,7 @@ void PythonQtShell_QTreeWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -96,7 +96,7 @@ void PythonQtShell_QTreeWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -118,7 +118,7 @@ void PythonQtShell_QTreeWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -140,7 +140,7 @@ void PythonQtShell_QTreeWidget::closeEditor(QWidget* editor0, QAbstractItemDele { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -162,7 +162,7 @@ void PythonQtShell_QTreeWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -184,7 +184,7 @@ void PythonQtShell_QTreeWidget::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -206,7 +206,7 @@ void PythonQtShell_QTreeWidget::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -228,7 +228,7 @@ void PythonQtShell_QTreeWidget::currentChanged(const QModelIndex& current0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -250,7 +250,7 @@ void PythonQtShell_QTreeWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -272,7 +272,7 @@ void PythonQtShell_QTreeWidget::dataChanged(const QModelIndex& topLeft0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -294,7 +294,7 @@ int PythonQtShell_QTreeWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -327,7 +327,7 @@ void PythonQtShell_QTreeWidget::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -349,7 +349,7 @@ void PythonQtShell_QTreeWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -371,7 +371,7 @@ void PythonQtShell_QTreeWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -393,7 +393,7 @@ void PythonQtShell_QTreeWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -415,7 +415,7 @@ void PythonQtShell_QTreeWidget::drawBranches(QPainter* painter0, const QRect& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawBranches"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -437,7 +437,7 @@ void PythonQtShell_QTreeWidget::drawRow(QPainter* painter0, const QStyleOptionV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -459,7 +459,7 @@ void PythonQtShell_QTreeWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -481,7 +481,7 @@ bool PythonQtShell_QTreeWidget::dropMimeData(QTreeWidgetItem* parent0, int in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -514,7 +514,7 @@ bool PythonQtShell_QTreeWidget::edit(const QModelIndex& index0, QAbstractItemV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -547,7 +547,7 @@ void PythonQtShell_QTreeWidget::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -569,7 +569,7 @@ void PythonQtShell_QTreeWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -591,7 +591,7 @@ bool PythonQtShell_QTreeWidget::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -624,7 +624,7 @@ bool PythonQtShell_QTreeWidget::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -657,7 +657,7 @@ void PythonQtShell_QTreeWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -679,7 +679,7 @@ bool PythonQtShell_QTreeWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -712,7 +712,7 @@ void PythonQtShell_QTreeWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -734,7 +734,7 @@ bool PythonQtShell_QTreeWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -767,7 +767,7 @@ int PythonQtShell_QTreeWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -800,7 +800,7 @@ void PythonQtShell_QTreeWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -822,7 +822,7 @@ int PythonQtShell_QTreeWidget::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -855,7 +855,7 @@ void PythonQtShell_QTreeWidget::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -877,7 +877,7 @@ void PythonQtShell_QTreeWidget::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -899,7 +899,7 @@ QModelIndex PythonQtShell_QTreeWidget::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -932,7 +932,7 @@ void PythonQtShell_QTreeWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -954,7 +954,7 @@ void PythonQtShell_QTreeWidget::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -976,7 +976,7 @@ QVariant PythonQtShell_QTreeWidget::inputMethodQuery(Qt::InputMethodQuery quer { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1009,7 +1009,7 @@ bool PythonQtShell_QTreeWidget::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1042,7 +1042,7 @@ void PythonQtShell_QTreeWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1064,7 +1064,7 @@ void PythonQtShell_QTreeWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1086,7 +1086,7 @@ void PythonQtShell_QTreeWidget::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1108,7 +1108,7 @@ void PythonQtShell_QTreeWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1130,7 +1130,7 @@ int PythonQtShell_QTreeWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1163,7 +1163,7 @@ QMimeData* PythonQtShell_QTreeWidget::mimeData(const QList { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1196,7 +1196,7 @@ QStringList PythonQtShell_QTreeWidget::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1229,7 +1229,7 @@ QSize PythonQtShell_QTreeWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1262,7 +1262,7 @@ void PythonQtShell_QTreeWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1284,7 +1284,7 @@ void PythonQtShell_QTreeWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1306,7 +1306,7 @@ void PythonQtShell_QTreeWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1328,7 +1328,7 @@ void PythonQtShell_QTreeWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1350,7 +1350,7 @@ QModelIndex PythonQtShell_QTreeWidget::moveCursor(QAbstractItemView::CursorActi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1383,7 +1383,7 @@ void PythonQtShell_QTreeWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1405,7 +1405,7 @@ bool PythonQtShell_QTreeWidget::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1438,7 +1438,7 @@ QPaintEngine* PythonQtShell_QTreeWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1471,7 +1471,7 @@ void PythonQtShell_QTreeWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1493,7 +1493,7 @@ QPaintDevice* PythonQtShell_QTreeWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1526,7 +1526,7 @@ void PythonQtShell_QTreeWidget::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1548,7 +1548,7 @@ void PythonQtShell_QTreeWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1570,7 +1570,7 @@ void PythonQtShell_QTreeWidget::rowsAboutToBeRemoved(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1592,7 +1592,7 @@ void PythonQtShell_QTreeWidget::rowsInserted(const QModelIndex& parent0, int s { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1614,7 +1614,7 @@ void PythonQtShell_QTreeWidget::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1636,7 +1636,7 @@ void PythonQtShell_QTreeWidget::scrollTo(const QModelIndex& index0, QAbstractIt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1658,7 +1658,7 @@ void PythonQtShell_QTreeWidget::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1680,7 +1680,7 @@ QList PythonQtShell_QTreeWidget::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1713,7 +1713,7 @@ void PythonQtShell_QTreeWidget::selectionChanged(const QItemSelection& selected { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1735,7 +1735,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QTreeWidget::selectionCommand { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1768,7 +1768,7 @@ void PythonQtShell_QTreeWidget::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1790,7 +1790,7 @@ void PythonQtShell_QTreeWidget::setSelection(const QRect& rect0, QItemSelection { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1812,7 +1812,7 @@ void PythonQtShell_QTreeWidget::setSelectionModel(QItemSelectionModel* selectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1834,7 +1834,7 @@ void PythonQtShell_QTreeWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1856,7 +1856,7 @@ void PythonQtShell_QTreeWidget::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1878,7 +1878,7 @@ QPainter* PythonQtShell_QTreeWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1911,7 +1911,7 @@ void PythonQtShell_QTreeWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1933,7 +1933,7 @@ QSize PythonQtShell_QTreeWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1966,7 +1966,7 @@ int PythonQtShell_QTreeWidget::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1999,7 +1999,7 @@ int PythonQtShell_QTreeWidget::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2032,7 +2032,7 @@ void PythonQtShell_QTreeWidget::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2054,7 +2054,7 @@ Qt::DropActions PythonQtShell_QTreeWidget::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2087,7 +2087,7 @@ void PythonQtShell_QTreeWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2109,7 +2109,7 @@ void PythonQtShell_QTreeWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2131,7 +2131,7 @@ void PythonQtShell_QTreeWidget::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2153,7 +2153,7 @@ void PythonQtShell_QTreeWidget::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2175,7 +2175,7 @@ void PythonQtShell_QTreeWidget::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2197,7 +2197,7 @@ int PythonQtShell_QTreeWidget::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2230,7 +2230,7 @@ void PythonQtShell_QTreeWidget::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2252,7 +2252,7 @@ void PythonQtShell_QTreeWidget::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2274,7 +2274,7 @@ QStyleOptionViewItem PythonQtShell_QTreeWidget::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2307,7 +2307,7 @@ bool PythonQtShell_QTreeWidget::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2340,7 +2340,7 @@ QSize PythonQtShell_QTreeWidget::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2373,7 +2373,7 @@ QRect PythonQtShell_QTreeWidget::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2406,7 +2406,7 @@ QRegion PythonQtShell_QTreeWidget::visualRegionForSelection(const QItemSelectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2439,7 +2439,7 @@ void PythonQtShell_QTreeWidget::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2709,7 +2709,7 @@ QTreeWidgetItem* PythonQtShell_QTreeWidgetItem::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2742,7 +2742,7 @@ QVariant PythonQtShell_QTreeWidgetItem::data(int column0, int role1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2775,7 +2775,7 @@ void PythonQtShell_QTreeWidgetItem::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2797,7 +2797,7 @@ void PythonQtShell_QTreeWidgetItem::setData(int column0, int role1, const QVar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2819,7 +2819,7 @@ void PythonQtShell_QTreeWidgetItem::write(QDataStream& out0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3174,7 +3174,7 @@ int PythonQtShell_QUndoCommand::id() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("id"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3207,7 +3207,7 @@ bool PythonQtShell_QUndoCommand::mergeWith(const QUndoCommand* other0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mergeWith"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3240,7 +3240,7 @@ void PythonQtShell_QUndoCommand::redo() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3262,7 +3262,7 @@ void PythonQtShell_QUndoCommand::undo() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("undo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3353,7 +3353,7 @@ void PythonQtShell_QUndoGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3375,7 +3375,7 @@ void PythonQtShell_QUndoGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3397,7 +3397,7 @@ bool PythonQtShell_QUndoGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3430,7 +3430,7 @@ bool PythonQtShell_QUndoGroup::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3463,7 +3463,7 @@ void PythonQtShell_QUndoGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3563,7 +3563,7 @@ void PythonQtShell_QUndoStack::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3585,7 +3585,7 @@ void PythonQtShell_QUndoStack::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3607,7 +3607,7 @@ bool PythonQtShell_QUndoStack::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3640,7 +3640,7 @@ bool PythonQtShell_QUndoStack::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3673,7 +3673,7 @@ void PythonQtShell_QUndoStack::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3813,7 +3813,7 @@ void PythonQtShell_QUndoView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3835,7 +3835,7 @@ void PythonQtShell_QUndoView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3857,7 +3857,7 @@ void PythonQtShell_QUndoView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3879,7 +3879,7 @@ void PythonQtShell_QUndoView::closeEditor(QWidget* editor0, QAbstractItemDelega { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3901,7 +3901,7 @@ void PythonQtShell_QUndoView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3923,7 +3923,7 @@ void PythonQtShell_QUndoView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3945,7 +3945,7 @@ void PythonQtShell_QUndoView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3967,7 +3967,7 @@ void PythonQtShell_QUndoView::currentChanged(const QModelIndex& current0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3989,7 +3989,7 @@ void PythonQtShell_QUndoView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4011,7 +4011,7 @@ void PythonQtShell_QUndoView::dataChanged(const QModelIndex& topLeft0, const QM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4033,7 +4033,7 @@ int PythonQtShell_QUndoView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4066,7 +4066,7 @@ void PythonQtShell_QUndoView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4088,7 +4088,7 @@ void PythonQtShell_QUndoView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4110,7 +4110,7 @@ void PythonQtShell_QUndoView::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4132,7 +4132,7 @@ void PythonQtShell_QUndoView::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4154,7 +4154,7 @@ void PythonQtShell_QUndoView::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4176,7 +4176,7 @@ bool PythonQtShell_QUndoView::edit(const QModelIndex& index0, QAbstractItemVie { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4209,7 +4209,7 @@ void PythonQtShell_QUndoView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4231,7 +4231,7 @@ void PythonQtShell_QUndoView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4253,7 +4253,7 @@ bool PythonQtShell_QUndoView::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4286,7 +4286,7 @@ bool PythonQtShell_QUndoView::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4319,7 +4319,7 @@ void PythonQtShell_QUndoView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4341,7 +4341,7 @@ bool PythonQtShell_QUndoView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4374,7 +4374,7 @@ void PythonQtShell_QUndoView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4396,7 +4396,7 @@ bool PythonQtShell_QUndoView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4429,7 +4429,7 @@ int PythonQtShell_QUndoView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4462,7 +4462,7 @@ void PythonQtShell_QUndoView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4484,7 +4484,7 @@ int PythonQtShell_QUndoView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4517,7 +4517,7 @@ void PythonQtShell_QUndoView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4539,7 +4539,7 @@ void PythonQtShell_QUndoView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4561,7 +4561,7 @@ QModelIndex PythonQtShell_QUndoView::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4594,7 +4594,7 @@ void PythonQtShell_QUndoView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4616,7 +4616,7 @@ void PythonQtShell_QUndoView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4638,7 +4638,7 @@ QVariant PythonQtShell_QUndoView::inputMethodQuery(Qt::InputMethodQuery query0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4671,7 +4671,7 @@ bool PythonQtShell_QUndoView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4704,7 +4704,7 @@ void PythonQtShell_QUndoView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4726,7 +4726,7 @@ void PythonQtShell_QUndoView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4748,7 +4748,7 @@ void PythonQtShell_QUndoView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4770,7 +4770,7 @@ void PythonQtShell_QUndoView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4792,7 +4792,7 @@ int PythonQtShell_QUndoView::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4825,7 +4825,7 @@ QSize PythonQtShell_QUndoView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4858,7 +4858,7 @@ void PythonQtShell_QUndoView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4880,7 +4880,7 @@ void PythonQtShell_QUndoView::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4902,7 +4902,7 @@ void PythonQtShell_QUndoView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4924,7 +4924,7 @@ void PythonQtShell_QUndoView::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4946,7 +4946,7 @@ QModelIndex PythonQtShell_QUndoView::moveCursor(QAbstractItemView::CursorAction { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4979,7 +4979,7 @@ void PythonQtShell_QUndoView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5001,7 +5001,7 @@ bool PythonQtShell_QUndoView::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5034,7 +5034,7 @@ QPaintEngine* PythonQtShell_QUndoView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5067,7 +5067,7 @@ void PythonQtShell_QUndoView::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5089,7 +5089,7 @@ QPaintDevice* PythonQtShell_QUndoView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5122,7 +5122,7 @@ void PythonQtShell_QUndoView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5144,7 +5144,7 @@ void PythonQtShell_QUndoView::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5166,7 +5166,7 @@ void PythonQtShell_QUndoView::rowsAboutToBeRemoved(const QModelIndex& parent0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5188,7 +5188,7 @@ void PythonQtShell_QUndoView::rowsInserted(const QModelIndex& parent0, int sta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5210,7 +5210,7 @@ void PythonQtShell_QUndoView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5232,7 +5232,7 @@ void PythonQtShell_QUndoView::scrollTo(const QModelIndex& index0, QAbstractItem { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5254,7 +5254,7 @@ void PythonQtShell_QUndoView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5276,7 +5276,7 @@ QList PythonQtShell_QUndoView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5309,7 +5309,7 @@ void PythonQtShell_QUndoView::selectionChanged(const QItemSelection& selected0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5331,7 +5331,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QUndoView::selectionCommand(c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5364,7 +5364,7 @@ void PythonQtShell_QUndoView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5386,7 +5386,7 @@ void PythonQtShell_QUndoView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5408,7 +5408,7 @@ void PythonQtShell_QUndoView::setSelection(const QRect& rect0, QItemSelectionMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5430,7 +5430,7 @@ void PythonQtShell_QUndoView::setSelectionModel(QItemSelectionModel* selectionM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5452,7 +5452,7 @@ void PythonQtShell_QUndoView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5474,7 +5474,7 @@ void PythonQtShell_QUndoView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5496,7 +5496,7 @@ QPainter* PythonQtShell_QUndoView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5529,7 +5529,7 @@ void PythonQtShell_QUndoView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5551,7 +5551,7 @@ QSize PythonQtShell_QUndoView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5584,7 +5584,7 @@ int PythonQtShell_QUndoView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5617,7 +5617,7 @@ int PythonQtShell_QUndoView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5650,7 +5650,7 @@ void PythonQtShell_QUndoView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5672,7 +5672,7 @@ void PythonQtShell_QUndoView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5694,7 +5694,7 @@ void PythonQtShell_QUndoView::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5716,7 +5716,7 @@ void PythonQtShell_QUndoView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5738,7 +5738,7 @@ void PythonQtShell_QUndoView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5760,7 +5760,7 @@ void PythonQtShell_QUndoView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5782,7 +5782,7 @@ int PythonQtShell_QUndoView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5815,7 +5815,7 @@ void PythonQtShell_QUndoView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5837,7 +5837,7 @@ void PythonQtShell_QUndoView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5859,7 +5859,7 @@ QStyleOptionViewItem PythonQtShell_QUndoView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5892,7 +5892,7 @@ bool PythonQtShell_QUndoView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5925,7 +5925,7 @@ QSize PythonQtShell_QUndoView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5958,7 +5958,7 @@ QRect PythonQtShell_QUndoView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5991,7 +5991,7 @@ QRegion PythonQtShell_QUndoView::visualRegionForSelection(const QItemSelection& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6024,7 +6024,7 @@ void PythonQtShell_QUndoView::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6107,7 +6107,7 @@ void PythonQtShell_QVBoxLayout::addItem(QLayoutItem* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6129,7 +6129,7 @@ void PythonQtShell_QVBoxLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6151,7 +6151,7 @@ QSizePolicy::ControlTypes PythonQtShell_QVBoxLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6184,7 +6184,7 @@ int PythonQtShell_QVBoxLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6217,7 +6217,7 @@ void PythonQtShell_QVBoxLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6239,7 +6239,7 @@ bool PythonQtShell_QVBoxLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6272,7 +6272,7 @@ bool PythonQtShell_QVBoxLayout::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6305,7 +6305,7 @@ Qt::Orientations PythonQtShell_QVBoxLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6338,7 +6338,7 @@ QRect PythonQtShell_QVBoxLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6371,7 +6371,7 @@ bool PythonQtShell_QVBoxLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6404,7 +6404,7 @@ int PythonQtShell_QVBoxLayout::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6437,7 +6437,7 @@ int PythonQtShell_QVBoxLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6470,7 +6470,7 @@ void PythonQtShell_QVBoxLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6492,7 +6492,7 @@ bool PythonQtShell_QVBoxLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6525,7 +6525,7 @@ QLayoutItem* PythonQtShell_QVBoxLayout::itemAt(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6558,7 +6558,7 @@ QLayout* PythonQtShell_QVBoxLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6591,7 +6591,7 @@ QSize PythonQtShell_QVBoxLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6624,7 +6624,7 @@ int PythonQtShell_QVBoxLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6657,7 +6657,7 @@ QSize PythonQtShell_QVBoxLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6690,7 +6690,7 @@ void PythonQtShell_QVBoxLayout::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6712,7 +6712,7 @@ QSize PythonQtShell_QVBoxLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6745,7 +6745,7 @@ QSpacerItem* PythonQtShell_QVBoxLayout::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6778,7 +6778,7 @@ QLayoutItem* PythonQtShell_QVBoxLayout::takeAt(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6811,7 +6811,7 @@ void PythonQtShell_QVBoxLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6833,7 +6833,7 @@ QWidget* PythonQtShell_QVBoxLayout::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6893,7 +6893,7 @@ void PythonQtShell_QValidator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6915,7 +6915,7 @@ void PythonQtShell_QValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6937,7 +6937,7 @@ bool PythonQtShell_QValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6970,7 +6970,7 @@ bool PythonQtShell_QValidator::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7003,7 +7003,7 @@ void PythonQtShell_QValidator::fixup(QString& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7025,7 +7025,7 @@ void PythonQtShell_QValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7047,7 +7047,7 @@ QValidator::State PythonQtShell_QValidator::validate(QString& arg__1, int& ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7971,7 +7971,7 @@ void PythonQtShell_QWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7993,7 +7993,7 @@ void PythonQtShell_QWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8015,7 +8015,7 @@ void PythonQtShell_QWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8037,7 +8037,7 @@ void PythonQtShell_QWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8059,7 +8059,7 @@ void PythonQtShell_QWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8081,7 +8081,7 @@ void PythonQtShell_QWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8103,7 +8103,7 @@ int PythonQtShell_QWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8136,7 +8136,7 @@ void PythonQtShell_QWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8158,7 +8158,7 @@ void PythonQtShell_QWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8180,7 +8180,7 @@ void PythonQtShell_QWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8202,7 +8202,7 @@ void PythonQtShell_QWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8224,7 +8224,7 @@ void PythonQtShell_QWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8246,7 +8246,7 @@ bool PythonQtShell_QWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8279,7 +8279,7 @@ bool PythonQtShell_QWidget::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8312,7 +8312,7 @@ void PythonQtShell_QWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8334,7 +8334,7 @@ bool PythonQtShell_QWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8367,7 +8367,7 @@ void PythonQtShell_QWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8389,7 +8389,7 @@ bool PythonQtShell_QWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8422,7 +8422,7 @@ int PythonQtShell_QWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8455,7 +8455,7 @@ void PythonQtShell_QWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8477,7 +8477,7 @@ void PythonQtShell_QWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8499,7 +8499,7 @@ void PythonQtShell_QWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8521,7 +8521,7 @@ QVariant PythonQtShell_QWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8554,7 +8554,7 @@ void PythonQtShell_QWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8576,7 +8576,7 @@ void PythonQtShell_QWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8598,7 +8598,7 @@ void PythonQtShell_QWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8620,7 +8620,7 @@ int PythonQtShell_QWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8653,7 +8653,7 @@ QSize PythonQtShell_QWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8686,7 +8686,7 @@ void PythonQtShell_QWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8708,7 +8708,7 @@ void PythonQtShell_QWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8730,7 +8730,7 @@ void PythonQtShell_QWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8752,7 +8752,7 @@ void PythonQtShell_QWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8774,7 +8774,7 @@ void PythonQtShell_QWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8796,7 +8796,7 @@ bool PythonQtShell_QWidget::nativeEvent(const QByteArray& eventType0, void* m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8829,7 +8829,7 @@ QPaintEngine* PythonQtShell_QWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8862,7 +8862,7 @@ void PythonQtShell_QWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8884,7 +8884,7 @@ QPaintDevice* PythonQtShell_QWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8917,7 +8917,7 @@ void PythonQtShell_QWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8939,7 +8939,7 @@ void PythonQtShell_QWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8961,7 +8961,7 @@ QPainter* PythonQtShell_QWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8994,7 +8994,7 @@ void PythonQtShell_QWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9016,7 +9016,7 @@ QSize PythonQtShell_QWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9049,7 +9049,7 @@ void PythonQtShell_QWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9071,7 +9071,7 @@ void PythonQtShell_QWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9093,7 +9093,7 @@ void PythonQtShell_QWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10400,7 +10400,7 @@ void PythonQtShell_QWidgetAction::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10422,7 +10422,7 @@ QWidget* PythonQtShell_QWidgetAction::createWidget(QWidget* parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10455,7 +10455,7 @@ void PythonQtShell_QWidgetAction::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10477,7 +10477,7 @@ void PythonQtShell_QWidgetAction::deleteWidget(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deleteWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10499,7 +10499,7 @@ bool PythonQtShell_QWidgetAction::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10532,7 +10532,7 @@ bool PythonQtShell_QWidgetAction::eventFilter(QObject* arg__1, QEvent* arg__2 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10565,7 +10565,7 @@ void PythonQtShell_QWidgetAction::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10645,7 +10645,7 @@ QSizePolicy::ControlTypes PythonQtShell_QWidgetItem::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10678,7 +10678,7 @@ Qt::Orientations PythonQtShell_QWidgetItem::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10711,7 +10711,7 @@ QRect PythonQtShell_QWidgetItem::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10744,7 +10744,7 @@ bool PythonQtShell_QWidgetItem::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10777,7 +10777,7 @@ int PythonQtShell_QWidgetItem::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10810,7 +10810,7 @@ void PythonQtShell_QWidgetItem::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10832,7 +10832,7 @@ bool PythonQtShell_QWidgetItem::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10865,7 +10865,7 @@ QLayout* PythonQtShell_QWidgetItem::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10898,7 +10898,7 @@ QSize PythonQtShell_QWidgetItem::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10931,7 +10931,7 @@ int PythonQtShell_QWidgetItem::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10964,7 +10964,7 @@ QSize PythonQtShell_QWidgetItem::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10997,7 +10997,7 @@ void PythonQtShell_QWidgetItem::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11019,7 +11019,7 @@ QSize PythonQtShell_QWidgetItem::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11052,7 +11052,7 @@ QSpacerItem* PythonQtShell_QWidgetItem::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11085,7 +11085,7 @@ QWidget* PythonQtShell_QWidgetItem::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11128,7 +11128,7 @@ void PythonQtShell_QWindow::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11150,7 +11150,7 @@ void PythonQtShell_QWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11172,7 +11172,7 @@ bool PythonQtShell_QWindow::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11205,7 +11205,7 @@ bool PythonQtShell_QWindow::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11238,7 +11238,7 @@ void PythonQtShell_QWindow::exposeEvent(QExposeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exposeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11260,7 +11260,7 @@ void PythonQtShell_QWindow::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11282,7 +11282,7 @@ QObject* PythonQtShell_QWindow::focusObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11315,7 +11315,7 @@ void PythonQtShell_QWindow::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11337,7 +11337,7 @@ QSurfaceFormat PythonQtShell_QWindow::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11370,7 +11370,7 @@ void PythonQtShell_QWindow::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11392,7 +11392,7 @@ void PythonQtShell_QWindow::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11414,7 +11414,7 @@ void PythonQtShell_QWindow::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11436,7 +11436,7 @@ void PythonQtShell_QWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11458,7 +11458,7 @@ void PythonQtShell_QWindow::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11480,7 +11480,7 @@ void PythonQtShell_QWindow::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11502,7 +11502,7 @@ void PythonQtShell_QWindow::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11524,7 +11524,7 @@ void PythonQtShell_QWindow::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11546,7 +11546,7 @@ bool PythonQtShell_QWindow::nativeEvent(const QByteArray& eventType0, void* m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11579,7 +11579,7 @@ void PythonQtShell_QWindow::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11601,7 +11601,7 @@ void PythonQtShell_QWindow::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11623,7 +11623,7 @@ QSize PythonQtShell_QWindow::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11656,7 +11656,7 @@ QSurface::SurfaceType PythonQtShell_QWindow::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11689,7 +11689,7 @@ void PythonQtShell_QWindow::tabletEvent(QTabletEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11711,7 +11711,7 @@ void PythonQtShell_QWindow::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11733,7 +11733,7 @@ void PythonQtShell_QWindow::touchEvent(QTouchEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11755,7 +11755,7 @@ void PythonQtShell_QWindow::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12302,7 +12302,7 @@ void PythonQtShell_QWizard::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12324,7 +12324,7 @@ void PythonQtShell_QWizard::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12346,7 +12346,7 @@ void PythonQtShell_QWizard::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12368,7 +12368,7 @@ void PythonQtShell_QWizard::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12390,7 +12390,7 @@ void PythonQtShell_QWizard::cleanupPage(int id0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cleanupPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12412,7 +12412,7 @@ void PythonQtShell_QWizard::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12434,7 +12434,7 @@ void PythonQtShell_QWizard::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12456,7 +12456,7 @@ void PythonQtShell_QWizard::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12478,7 +12478,7 @@ int PythonQtShell_QWizard::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12511,7 +12511,7 @@ void PythonQtShell_QWizard::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12533,7 +12533,7 @@ void PythonQtShell_QWizard::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12555,7 +12555,7 @@ void PythonQtShell_QWizard::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12577,7 +12577,7 @@ void PythonQtShell_QWizard::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12599,7 +12599,7 @@ void PythonQtShell_QWizard::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12621,7 +12621,7 @@ void PythonQtShell_QWizard::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12643,7 +12643,7 @@ bool PythonQtShell_QWizard::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12676,7 +12676,7 @@ bool PythonQtShell_QWizard::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12709,7 +12709,7 @@ int PythonQtShell_QWizard::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12742,7 +12742,7 @@ void PythonQtShell_QWizard::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12764,7 +12764,7 @@ bool PythonQtShell_QWizard::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12797,7 +12797,7 @@ void PythonQtShell_QWizard::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12819,7 +12819,7 @@ bool PythonQtShell_QWizard::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12852,7 +12852,7 @@ int PythonQtShell_QWizard::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12885,7 +12885,7 @@ void PythonQtShell_QWizard::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12907,7 +12907,7 @@ void PythonQtShell_QWizard::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12929,7 +12929,7 @@ void PythonQtShell_QWizard::initializePage(int id0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initializePage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12951,7 +12951,7 @@ void PythonQtShell_QWizard::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12973,7 +12973,7 @@ QVariant PythonQtShell_QWizard::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13006,7 +13006,7 @@ void PythonQtShell_QWizard::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13028,7 +13028,7 @@ void PythonQtShell_QWizard::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13050,7 +13050,7 @@ void PythonQtShell_QWizard::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13072,7 +13072,7 @@ int PythonQtShell_QWizard::metric(QPaintDevice::PaintDeviceMetric arg__1) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13105,7 +13105,7 @@ QSize PythonQtShell_QWizard::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13138,7 +13138,7 @@ void PythonQtShell_QWizard::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13160,7 +13160,7 @@ void PythonQtShell_QWizard::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13182,7 +13182,7 @@ void PythonQtShell_QWizard::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13204,7 +13204,7 @@ void PythonQtShell_QWizard::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13226,7 +13226,7 @@ void PythonQtShell_QWizard::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13248,7 +13248,7 @@ bool PythonQtShell_QWizard::nativeEvent(const QByteArray& eventType0, void* m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13281,7 +13281,7 @@ int PythonQtShell_QWizard::nextId() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13314,7 +13314,7 @@ void PythonQtShell_QWizard::open() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13336,7 +13336,7 @@ QPaintEngine* PythonQtShell_QWizard::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13369,7 +13369,7 @@ void PythonQtShell_QWizard::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13391,7 +13391,7 @@ QPaintDevice* PythonQtShell_QWizard::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13424,7 +13424,7 @@ void PythonQtShell_QWizard::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13446,7 +13446,7 @@ void PythonQtShell_QWizard::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13468,7 +13468,7 @@ void PythonQtShell_QWizard::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13490,7 +13490,7 @@ QPainter* PythonQtShell_QWizard::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13523,7 +13523,7 @@ void PythonQtShell_QWizard::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13545,7 +13545,7 @@ QSize PythonQtShell_QWizard::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13578,7 +13578,7 @@ void PythonQtShell_QWizard::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13600,7 +13600,7 @@ void PythonQtShell_QWizard::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13622,7 +13622,7 @@ bool PythonQtShell_QWizard::validateCurrentPage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validateCurrentPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13655,7 +13655,7 @@ void PythonQtShell_QWizard::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13885,7 +13885,7 @@ void PythonQtShell_QWizardPage::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13907,7 +13907,7 @@ void PythonQtShell_QWizardPage::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13929,7 +13929,7 @@ void PythonQtShell_QWizardPage::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13951,7 +13951,7 @@ void PythonQtShell_QWizardPage::cleanupPage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cleanupPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13973,7 +13973,7 @@ void PythonQtShell_QWizardPage::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13995,7 +13995,7 @@ void PythonQtShell_QWizardPage::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14017,7 +14017,7 @@ void PythonQtShell_QWizardPage::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14039,7 +14039,7 @@ int PythonQtShell_QWizardPage::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14072,7 +14072,7 @@ void PythonQtShell_QWizardPage::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14094,7 +14094,7 @@ void PythonQtShell_QWizardPage::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14116,7 +14116,7 @@ void PythonQtShell_QWizardPage::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14138,7 +14138,7 @@ void PythonQtShell_QWizardPage::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14160,7 +14160,7 @@ void PythonQtShell_QWizardPage::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14182,7 +14182,7 @@ bool PythonQtShell_QWizardPage::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14215,7 +14215,7 @@ bool PythonQtShell_QWizardPage::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14248,7 +14248,7 @@ void PythonQtShell_QWizardPage::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14270,7 +14270,7 @@ bool PythonQtShell_QWizardPage::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14303,7 +14303,7 @@ void PythonQtShell_QWizardPage::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14325,7 +14325,7 @@ bool PythonQtShell_QWizardPage::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14358,7 +14358,7 @@ int PythonQtShell_QWizardPage::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14391,7 +14391,7 @@ void PythonQtShell_QWizardPage::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14413,7 +14413,7 @@ void PythonQtShell_QWizardPage::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14435,7 +14435,7 @@ void PythonQtShell_QWizardPage::initializePage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initializePage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14457,7 +14457,7 @@ void PythonQtShell_QWizardPage::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14479,7 +14479,7 @@ QVariant PythonQtShell_QWizardPage::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14512,7 +14512,7 @@ bool PythonQtShell_QWizardPage::isComplete() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isComplete"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14545,7 +14545,7 @@ void PythonQtShell_QWizardPage::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14567,7 +14567,7 @@ void PythonQtShell_QWizardPage::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14589,7 +14589,7 @@ void PythonQtShell_QWizardPage::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14611,7 +14611,7 @@ int PythonQtShell_QWizardPage::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14644,7 +14644,7 @@ QSize PythonQtShell_QWizardPage::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14677,7 +14677,7 @@ void PythonQtShell_QWizardPage::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14699,7 +14699,7 @@ void PythonQtShell_QWizardPage::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14721,7 +14721,7 @@ void PythonQtShell_QWizardPage::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14743,7 +14743,7 @@ void PythonQtShell_QWizardPage::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14765,7 +14765,7 @@ void PythonQtShell_QWizardPage::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14787,7 +14787,7 @@ bool PythonQtShell_QWizardPage::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14820,7 +14820,7 @@ int PythonQtShell_QWizardPage::nextId() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14853,7 +14853,7 @@ QPaintEngine* PythonQtShell_QWizardPage::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14886,7 +14886,7 @@ void PythonQtShell_QWizardPage::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14908,7 +14908,7 @@ QPaintDevice* PythonQtShell_QWizardPage::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14941,7 +14941,7 @@ void PythonQtShell_QWizardPage::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14963,7 +14963,7 @@ void PythonQtShell_QWizardPage::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14985,7 +14985,7 @@ QPainter* PythonQtShell_QWizardPage::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15018,7 +15018,7 @@ void PythonQtShell_QWizardPage::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15040,7 +15040,7 @@ QSize PythonQtShell_QWizardPage::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15073,7 +15073,7 @@ void PythonQtShell_QWizardPage::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15095,7 +15095,7 @@ void PythonQtShell_QWizardPage::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15117,7 +15117,7 @@ bool PythonQtShell_QWizardPage::validatePage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validatePage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15150,7 +15150,7 @@ void PythonQtShell_QWizardPage::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp b/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp index f800d6239..a45ec3691 100644 --- a/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp +++ b/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp @@ -102,7 +102,7 @@ void PythonQtShell_QFocusFrame::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -124,7 +124,7 @@ void PythonQtShell_QFocusFrame::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -146,7 +146,7 @@ void PythonQtShell_QFocusFrame::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -168,7 +168,7 @@ void PythonQtShell_QFocusFrame::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -190,7 +190,7 @@ void PythonQtShell_QFocusFrame::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -212,7 +212,7 @@ void PythonQtShell_QFocusFrame::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -234,7 +234,7 @@ int PythonQtShell_QFocusFrame::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -267,7 +267,7 @@ void PythonQtShell_QFocusFrame::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -289,7 +289,7 @@ void PythonQtShell_QFocusFrame::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -311,7 +311,7 @@ void PythonQtShell_QFocusFrame::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -333,7 +333,7 @@ void PythonQtShell_QFocusFrame::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -355,7 +355,7 @@ void PythonQtShell_QFocusFrame::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -377,7 +377,7 @@ bool PythonQtShell_QFocusFrame::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -410,7 +410,7 @@ bool PythonQtShell_QFocusFrame::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -443,7 +443,7 @@ void PythonQtShell_QFocusFrame::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -465,7 +465,7 @@ bool PythonQtShell_QFocusFrame::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -498,7 +498,7 @@ void PythonQtShell_QFocusFrame::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -520,7 +520,7 @@ bool PythonQtShell_QFocusFrame::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -553,7 +553,7 @@ int PythonQtShell_QFocusFrame::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -586,7 +586,7 @@ void PythonQtShell_QFocusFrame::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -608,7 +608,7 @@ void PythonQtShell_QFocusFrame::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -630,7 +630,7 @@ void PythonQtShell_QFocusFrame::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -652,7 +652,7 @@ QVariant PythonQtShell_QFocusFrame::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -685,7 +685,7 @@ void PythonQtShell_QFocusFrame::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -707,7 +707,7 @@ void PythonQtShell_QFocusFrame::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -729,7 +729,7 @@ void PythonQtShell_QFocusFrame::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -751,7 +751,7 @@ int PythonQtShell_QFocusFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -784,7 +784,7 @@ QSize PythonQtShell_QFocusFrame::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -817,7 +817,7 @@ void PythonQtShell_QFocusFrame::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -839,7 +839,7 @@ void PythonQtShell_QFocusFrame::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -861,7 +861,7 @@ void PythonQtShell_QFocusFrame::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -883,7 +883,7 @@ void PythonQtShell_QFocusFrame::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -905,7 +905,7 @@ void PythonQtShell_QFocusFrame::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -927,7 +927,7 @@ bool PythonQtShell_QFocusFrame::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -960,7 +960,7 @@ QPaintEngine* PythonQtShell_QFocusFrame::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -993,7 +993,7 @@ void PythonQtShell_QFocusFrame::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1015,7 +1015,7 @@ QPaintDevice* PythonQtShell_QFocusFrame::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1048,7 +1048,7 @@ void PythonQtShell_QFocusFrame::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1070,7 +1070,7 @@ void PythonQtShell_QFocusFrame::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1092,7 +1092,7 @@ QPainter* PythonQtShell_QFocusFrame::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1125,7 +1125,7 @@ void PythonQtShell_QFocusFrame::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1147,7 +1147,7 @@ QSize PythonQtShell_QFocusFrame::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1180,7 +1180,7 @@ void PythonQtShell_QFocusFrame::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1202,7 +1202,7 @@ void PythonQtShell_QFocusFrame::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1224,7 +1224,7 @@ void PythonQtShell_QFocusFrame::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1284,7 +1284,7 @@ void PythonQtShell_QFontComboBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1306,7 +1306,7 @@ void PythonQtShell_QFontComboBox::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1328,7 +1328,7 @@ void PythonQtShell_QFontComboBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1350,7 +1350,7 @@ void PythonQtShell_QFontComboBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1372,7 +1372,7 @@ void PythonQtShell_QFontComboBox::contextMenuEvent(QContextMenuEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1394,7 +1394,7 @@ void PythonQtShell_QFontComboBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1416,7 +1416,7 @@ int PythonQtShell_QFontComboBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1449,7 +1449,7 @@ void PythonQtShell_QFontComboBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1471,7 +1471,7 @@ void PythonQtShell_QFontComboBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1493,7 +1493,7 @@ void PythonQtShell_QFontComboBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1515,7 +1515,7 @@ void PythonQtShell_QFontComboBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1537,7 +1537,7 @@ void PythonQtShell_QFontComboBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1559,7 +1559,7 @@ bool PythonQtShell_QFontComboBox::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1592,7 +1592,7 @@ bool PythonQtShell_QFontComboBox::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1625,7 +1625,7 @@ void PythonQtShell_QFontComboBox::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1647,7 +1647,7 @@ bool PythonQtShell_QFontComboBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1680,7 +1680,7 @@ void PythonQtShell_QFontComboBox::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1702,7 +1702,7 @@ bool PythonQtShell_QFontComboBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1735,7 +1735,7 @@ int PythonQtShell_QFontComboBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1768,7 +1768,7 @@ void PythonQtShell_QFontComboBox::hideEvent(QHideEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1790,7 +1790,7 @@ void PythonQtShell_QFontComboBox::hidePopup() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hidePopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1812,7 +1812,7 @@ void PythonQtShell_QFontComboBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1834,7 +1834,7 @@ void PythonQtShell_QFontComboBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1856,7 +1856,7 @@ QVariant PythonQtShell_QFontComboBox::inputMethodQuery(Qt::InputMethodQuery ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1889,7 +1889,7 @@ void PythonQtShell_QFontComboBox::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1911,7 +1911,7 @@ void PythonQtShell_QFontComboBox::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1933,7 +1933,7 @@ void PythonQtShell_QFontComboBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1955,7 +1955,7 @@ int PythonQtShell_QFontComboBox::metric(QPaintDevice::PaintDeviceMetric arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1988,7 +1988,7 @@ QSize PythonQtShell_QFontComboBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2021,7 +2021,7 @@ void PythonQtShell_QFontComboBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2043,7 +2043,7 @@ void PythonQtShell_QFontComboBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2065,7 +2065,7 @@ void PythonQtShell_QFontComboBox::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2087,7 +2087,7 @@ void PythonQtShell_QFontComboBox::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2109,7 +2109,7 @@ void PythonQtShell_QFontComboBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2131,7 +2131,7 @@ bool PythonQtShell_QFontComboBox::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2164,7 +2164,7 @@ QPaintEngine* PythonQtShell_QFontComboBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2197,7 +2197,7 @@ void PythonQtShell_QFontComboBox::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2219,7 +2219,7 @@ QPaintDevice* PythonQtShell_QFontComboBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2252,7 +2252,7 @@ void PythonQtShell_QFontComboBox::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2274,7 +2274,7 @@ void PythonQtShell_QFontComboBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2296,7 +2296,7 @@ QPainter* PythonQtShell_QFontComboBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2329,7 +2329,7 @@ void PythonQtShell_QFontComboBox::showEvent(QShowEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2351,7 +2351,7 @@ void PythonQtShell_QFontComboBox::showPopup() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showPopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2373,7 +2373,7 @@ QSize PythonQtShell_QFontComboBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2406,7 +2406,7 @@ void PythonQtShell_QFontComboBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2428,7 +2428,7 @@ void PythonQtShell_QFontComboBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2450,7 +2450,7 @@ void PythonQtShell_QFontComboBox::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2666,7 +2666,7 @@ void PythonQtShell_QFontDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2688,7 +2688,7 @@ void PythonQtShell_QFontDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2710,7 +2710,7 @@ void PythonQtShell_QFontDialog::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2732,7 +2732,7 @@ void PythonQtShell_QFontDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2754,7 +2754,7 @@ void PythonQtShell_QFontDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2776,7 +2776,7 @@ void PythonQtShell_QFontDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2798,7 +2798,7 @@ void PythonQtShell_QFontDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2820,7 +2820,7 @@ int PythonQtShell_QFontDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2853,7 +2853,7 @@ void PythonQtShell_QFontDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2875,7 +2875,7 @@ void PythonQtShell_QFontDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2897,7 +2897,7 @@ void PythonQtShell_QFontDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2919,7 +2919,7 @@ void PythonQtShell_QFontDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2941,7 +2941,7 @@ void PythonQtShell_QFontDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2963,7 +2963,7 @@ void PythonQtShell_QFontDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2985,7 +2985,7 @@ bool PythonQtShell_QFontDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3018,7 +3018,7 @@ bool PythonQtShell_QFontDialog::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3051,7 +3051,7 @@ int PythonQtShell_QFontDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3084,7 +3084,7 @@ void PythonQtShell_QFontDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3106,7 +3106,7 @@ bool PythonQtShell_QFontDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3139,7 +3139,7 @@ void PythonQtShell_QFontDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3161,7 +3161,7 @@ bool PythonQtShell_QFontDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3194,7 +3194,7 @@ int PythonQtShell_QFontDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3227,7 +3227,7 @@ void PythonQtShell_QFontDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3249,7 +3249,7 @@ void PythonQtShell_QFontDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3271,7 +3271,7 @@ void PythonQtShell_QFontDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3293,7 +3293,7 @@ QVariant PythonQtShell_QFontDialog::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3326,7 +3326,7 @@ void PythonQtShell_QFontDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3348,7 +3348,7 @@ void PythonQtShell_QFontDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3370,7 +3370,7 @@ void PythonQtShell_QFontDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3392,7 +3392,7 @@ int PythonQtShell_QFontDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3425,7 +3425,7 @@ QSize PythonQtShell_QFontDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3458,7 +3458,7 @@ void PythonQtShell_QFontDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3480,7 +3480,7 @@ void PythonQtShell_QFontDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3502,7 +3502,7 @@ void PythonQtShell_QFontDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3524,7 +3524,7 @@ void PythonQtShell_QFontDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3546,7 +3546,7 @@ void PythonQtShell_QFontDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3568,7 +3568,7 @@ bool PythonQtShell_QFontDialog::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3601,7 +3601,7 @@ QPaintEngine* PythonQtShell_QFontDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3634,7 +3634,7 @@ void PythonQtShell_QFontDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3656,7 +3656,7 @@ QPaintDevice* PythonQtShell_QFontDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3689,7 +3689,7 @@ void PythonQtShell_QFontDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3711,7 +3711,7 @@ void PythonQtShell_QFontDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3733,7 +3733,7 @@ void PythonQtShell_QFontDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3755,7 +3755,7 @@ QPainter* PythonQtShell_QFontDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3788,7 +3788,7 @@ void PythonQtShell_QFontDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3810,7 +3810,7 @@ QSize PythonQtShell_QFontDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3843,7 +3843,7 @@ void PythonQtShell_QFontDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3865,7 +3865,7 @@ void PythonQtShell_QFontDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3887,7 +3887,7 @@ void PythonQtShell_QFontDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4430,7 +4430,7 @@ void PythonQtShell_QFormLayout::addItem(QLayoutItem* item0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4452,7 +4452,7 @@ void PythonQtShell_QFormLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4474,7 +4474,7 @@ QSizePolicy::ControlTypes PythonQtShell_QFormLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4507,7 +4507,7 @@ int PythonQtShell_QFormLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4540,7 +4540,7 @@ void PythonQtShell_QFormLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4562,7 +4562,7 @@ bool PythonQtShell_QFormLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4595,7 +4595,7 @@ bool PythonQtShell_QFormLayout::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4628,7 +4628,7 @@ Qt::Orientations PythonQtShell_QFormLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4661,7 +4661,7 @@ QRect PythonQtShell_QFormLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4694,7 +4694,7 @@ bool PythonQtShell_QFormLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4727,7 +4727,7 @@ int PythonQtShell_QFormLayout::heightForWidth(int width0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4760,7 +4760,7 @@ int PythonQtShell_QFormLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4793,7 +4793,7 @@ void PythonQtShell_QFormLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4815,7 +4815,7 @@ bool PythonQtShell_QFormLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4848,7 +4848,7 @@ QLayoutItem* PythonQtShell_QFormLayout::itemAt(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4881,7 +4881,7 @@ QLayout* PythonQtShell_QFormLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4914,7 +4914,7 @@ QSize PythonQtShell_QFormLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4947,7 +4947,7 @@ int PythonQtShell_QFormLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4980,7 +4980,7 @@ QSize PythonQtShell_QFormLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5013,7 +5013,7 @@ void PythonQtShell_QFormLayout::setGeometry(const QRect& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5035,7 +5035,7 @@ QSize PythonQtShell_QFormLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5068,7 +5068,7 @@ QSpacerItem* PythonQtShell_QFormLayout::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5101,7 +5101,7 @@ QLayoutItem* PythonQtShell_QFormLayout::takeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5134,7 +5134,7 @@ void PythonQtShell_QFormLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5156,7 +5156,7 @@ QWidget* PythonQtShell_QFormLayout::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5432,7 +5432,7 @@ void PythonQtShell_QFrame::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5454,7 +5454,7 @@ void PythonQtShell_QFrame::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5476,7 +5476,7 @@ void PythonQtShell_QFrame::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5498,7 +5498,7 @@ void PythonQtShell_QFrame::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5520,7 +5520,7 @@ void PythonQtShell_QFrame::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5542,7 +5542,7 @@ void PythonQtShell_QFrame::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5564,7 +5564,7 @@ int PythonQtShell_QFrame::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5597,7 +5597,7 @@ void PythonQtShell_QFrame::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5619,7 +5619,7 @@ void PythonQtShell_QFrame::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5641,7 +5641,7 @@ void PythonQtShell_QFrame::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5663,7 +5663,7 @@ void PythonQtShell_QFrame::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5685,7 +5685,7 @@ void PythonQtShell_QFrame::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5707,7 +5707,7 @@ bool PythonQtShell_QFrame::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5740,7 +5740,7 @@ bool PythonQtShell_QFrame::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5773,7 +5773,7 @@ void PythonQtShell_QFrame::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5795,7 +5795,7 @@ bool PythonQtShell_QFrame::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5828,7 +5828,7 @@ void PythonQtShell_QFrame::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5850,7 +5850,7 @@ bool PythonQtShell_QFrame::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5883,7 +5883,7 @@ int PythonQtShell_QFrame::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5916,7 +5916,7 @@ void PythonQtShell_QFrame::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5938,7 +5938,7 @@ void PythonQtShell_QFrame::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5960,7 +5960,7 @@ void PythonQtShell_QFrame::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5982,7 +5982,7 @@ QVariant PythonQtShell_QFrame::inputMethodQuery(Qt::InputMethodQuery arg__1) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6015,7 +6015,7 @@ void PythonQtShell_QFrame::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6037,7 +6037,7 @@ void PythonQtShell_QFrame::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6059,7 +6059,7 @@ void PythonQtShell_QFrame::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6081,7 +6081,7 @@ int PythonQtShell_QFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6114,7 +6114,7 @@ QSize PythonQtShell_QFrame::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6147,7 +6147,7 @@ void PythonQtShell_QFrame::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6169,7 +6169,7 @@ void PythonQtShell_QFrame::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6191,7 +6191,7 @@ void PythonQtShell_QFrame::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6213,7 +6213,7 @@ void PythonQtShell_QFrame::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6235,7 +6235,7 @@ void PythonQtShell_QFrame::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6257,7 +6257,7 @@ bool PythonQtShell_QFrame::nativeEvent(const QByteArray& eventType0, void* me { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6290,7 +6290,7 @@ QPaintEngine* PythonQtShell_QFrame::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6323,7 +6323,7 @@ void PythonQtShell_QFrame::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6345,7 +6345,7 @@ QPaintDevice* PythonQtShell_QFrame::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6378,7 +6378,7 @@ void PythonQtShell_QFrame::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6400,7 +6400,7 @@ void PythonQtShell_QFrame::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6422,7 +6422,7 @@ QPainter* PythonQtShell_QFrame::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6455,7 +6455,7 @@ void PythonQtShell_QFrame::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6477,7 +6477,7 @@ QSize PythonQtShell_QFrame::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6510,7 +6510,7 @@ void PythonQtShell_QFrame::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6532,7 +6532,7 @@ void PythonQtShell_QFrame::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6554,7 +6554,7 @@ void PythonQtShell_QFrame::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6679,7 +6679,7 @@ void PythonQtShell_QGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6701,7 +6701,7 @@ void PythonQtShell_QGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6723,7 +6723,7 @@ bool PythonQtShell_QGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6756,7 +6756,7 @@ bool PythonQtShell_QGesture::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6789,7 +6789,7 @@ void PythonQtShell_QGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6969,7 +6969,7 @@ QGesture* PythonQtShell_QGestureRecognizer::create(QObject* target0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7002,7 +7002,7 @@ QGestureRecognizer::Result PythonQtShell_QGestureRecognizer::recognize(QGesture { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("recognize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7035,7 +7035,7 @@ void PythonQtShell_QGestureRecognizer::reset(QGesture* state0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7319,7 +7319,7 @@ int PythonQtShell_QGraphicsAnchorLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7352,7 +7352,7 @@ void PythonQtShell_QGraphicsAnchorLayout::getContentsMargins(qreal* left0, qrea { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7374,7 +7374,7 @@ void PythonQtShell_QGraphicsAnchorLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7396,7 +7396,7 @@ QGraphicsLayoutItem* PythonQtShell_QGraphicsAnchorLayout::itemAt(int index0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7429,7 +7429,7 @@ void PythonQtShell_QGraphicsAnchorLayout::removeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7451,7 +7451,7 @@ void PythonQtShell_QGraphicsAnchorLayout::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7473,7 +7473,7 @@ QSizeF PythonQtShell_QGraphicsAnchorLayout::sizeHint(Qt::SizeHint which0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7506,7 +7506,7 @@ void PythonQtShell_QGraphicsAnchorLayout::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7528,7 +7528,7 @@ void PythonQtShell_QGraphicsAnchorLayout::widgetEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7605,7 +7605,7 @@ QRectF PythonQtShell_QGraphicsBlurEffect::boundingRectFor(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7638,7 +7638,7 @@ void PythonQtShell_QGraphicsBlurEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7660,7 +7660,7 @@ void PythonQtShell_QGraphicsBlurEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7682,7 +7682,7 @@ void PythonQtShell_QGraphicsBlurEffect::draw(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7704,7 +7704,7 @@ bool PythonQtShell_QGraphicsBlurEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7737,7 +7737,7 @@ bool PythonQtShell_QGraphicsBlurEffect::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7770,7 +7770,7 @@ void PythonQtShell_QGraphicsBlurEffect::sourceChanged(QGraphicsEffect::ChangeFla { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7792,7 +7792,7 @@ void PythonQtShell_QGraphicsBlurEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7847,7 +7847,7 @@ QRectF PythonQtShell_QGraphicsColorizeEffect::boundingRectFor(const QRectF& so { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7880,7 +7880,7 @@ void PythonQtShell_QGraphicsColorizeEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7902,7 +7902,7 @@ void PythonQtShell_QGraphicsColorizeEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7924,7 +7924,7 @@ void PythonQtShell_QGraphicsColorizeEffect::draw(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7946,7 +7946,7 @@ bool PythonQtShell_QGraphicsColorizeEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7979,7 +7979,7 @@ bool PythonQtShell_QGraphicsColorizeEffect::eventFilter(QObject* watched0, QEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8012,7 +8012,7 @@ void PythonQtShell_QGraphicsColorizeEffect::sourceChanged(QGraphicsEffect::Chang { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8034,7 +8034,7 @@ void PythonQtShell_QGraphicsColorizeEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8089,7 +8089,7 @@ QRectF PythonQtShell_QGraphicsDropShadowEffect::boundingRectFor(const QRectF& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8122,7 +8122,7 @@ void PythonQtShell_QGraphicsDropShadowEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8144,7 +8144,7 @@ void PythonQtShell_QGraphicsDropShadowEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8166,7 +8166,7 @@ void PythonQtShell_QGraphicsDropShadowEffect::draw(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8188,7 +8188,7 @@ bool PythonQtShell_QGraphicsDropShadowEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8221,7 +8221,7 @@ bool PythonQtShell_QGraphicsDropShadowEffect::eventFilter(QObject* watched0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8254,7 +8254,7 @@ void PythonQtShell_QGraphicsDropShadowEffect::sourceChanged(QGraphicsEffect::Cha { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8276,7 +8276,7 @@ void PythonQtShell_QGraphicsDropShadowEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8346,7 +8346,7 @@ QRectF PythonQtShell_QGraphicsEffect::boundingRectFor(const QRectF& sourceRect { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8379,7 +8379,7 @@ void PythonQtShell_QGraphicsEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8401,7 +8401,7 @@ void PythonQtShell_QGraphicsEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8423,7 +8423,7 @@ void PythonQtShell_QGraphicsEffect::draw(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8445,7 +8445,7 @@ bool PythonQtShell_QGraphicsEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8478,7 +8478,7 @@ bool PythonQtShell_QGraphicsEffect::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8511,7 +8511,7 @@ void PythonQtShell_QGraphicsEffect::sourceChanged(QGraphicsEffect::ChangeFlags { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8533,7 +8533,7 @@ void PythonQtShell_QGraphicsEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8628,7 +8628,7 @@ void PythonQtShell_QGraphicsEllipseItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8650,7 +8650,7 @@ QRectF PythonQtShell_QGraphicsEllipseItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8683,7 +8683,7 @@ bool PythonQtShell_QGraphicsEllipseItem::collidesWithItem(const QGraphicsItem* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8716,7 +8716,7 @@ bool PythonQtShell_QGraphicsEllipseItem::collidesWithPath(const QPainterPath& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8749,7 +8749,7 @@ bool PythonQtShell_QGraphicsEllipseItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8782,7 +8782,7 @@ void PythonQtShell_QGraphicsEllipseItem::contextMenuEvent(QGraphicsSceneContextM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8804,7 +8804,7 @@ void PythonQtShell_QGraphicsEllipseItem::dragEnterEvent(QGraphicsSceneDragDropEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8826,7 +8826,7 @@ void PythonQtShell_QGraphicsEllipseItem::dragLeaveEvent(QGraphicsSceneDragDropEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8848,7 +8848,7 @@ void PythonQtShell_QGraphicsEllipseItem::dragMoveEvent(QGraphicsSceneDragDropEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8870,7 +8870,7 @@ void PythonQtShell_QGraphicsEllipseItem::dropEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8892,7 +8892,7 @@ QVariant PythonQtShell_QGraphicsEllipseItem::extension(const QVariant& variant { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8925,7 +8925,7 @@ void PythonQtShell_QGraphicsEllipseItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8947,7 +8947,7 @@ void PythonQtShell_QGraphicsEllipseItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8969,7 +8969,7 @@ void PythonQtShell_QGraphicsEllipseItem::hoverEnterEvent(QGraphicsSceneHoverEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8991,7 +8991,7 @@ void PythonQtShell_QGraphicsEllipseItem::hoverLeaveEvent(QGraphicsSceneHoverEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9013,7 +9013,7 @@ void PythonQtShell_QGraphicsEllipseItem::hoverMoveEvent(QGraphicsSceneHoverEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9035,7 +9035,7 @@ void PythonQtShell_QGraphicsEllipseItem::inputMethodEvent(QInputMethodEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9057,7 +9057,7 @@ QVariant PythonQtShell_QGraphicsEllipseItem::inputMethodQuery(Qt::InputMethodQu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9090,7 +9090,7 @@ bool PythonQtShell_QGraphicsEllipseItem::isObscuredBy(const QGraphicsItem* ite { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9123,7 +9123,7 @@ QVariant PythonQtShell_QGraphicsEllipseItem::itemChange(QGraphicsItem::Graphics { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9159,7 +9159,7 @@ void PythonQtShell_QGraphicsEllipseItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9181,7 +9181,7 @@ void PythonQtShell_QGraphicsEllipseItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9203,7 +9203,7 @@ void PythonQtShell_QGraphicsEllipseItem::mouseDoubleClickEvent(QGraphicsSceneMou { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9225,7 +9225,7 @@ void PythonQtShell_QGraphicsEllipseItem::mouseMoveEvent(QGraphicsSceneMouseEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9247,7 +9247,7 @@ void PythonQtShell_QGraphicsEllipseItem::mousePressEvent(QGraphicsSceneMouseEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9269,7 +9269,7 @@ void PythonQtShell_QGraphicsEllipseItem::mouseReleaseEvent(QGraphicsSceneMouseEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9291,7 +9291,7 @@ QPainterPath PythonQtShell_QGraphicsEllipseItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9324,7 +9324,7 @@ void PythonQtShell_QGraphicsEllipseItem::paint(QPainter* painter0, const QStyle { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9346,7 +9346,7 @@ bool PythonQtShell_QGraphicsEllipseItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9379,7 +9379,7 @@ bool PythonQtShell_QGraphicsEllipseItem::sceneEventFilter(QGraphicsItem* watch { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9412,7 +9412,7 @@ void PythonQtShell_QGraphicsEllipseItem::setExtension(QGraphicsItem::Extension { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9434,7 +9434,7 @@ QPainterPath PythonQtShell_QGraphicsEllipseItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9467,7 +9467,7 @@ bool PythonQtShell_QGraphicsEllipseItem::supportsExtension(QGraphicsItem::Exten { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9500,7 +9500,7 @@ int PythonQtShell_QGraphicsEllipseItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9533,7 +9533,7 @@ void PythonQtShell_QGraphicsEllipseItem::wheelEvent(QGraphicsSceneWheelEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9608,7 +9608,7 @@ int PythonQtShell_QGraphicsGridLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9641,7 +9641,7 @@ void PythonQtShell_QGraphicsGridLayout::getContentsMargins(qreal* left0, qreal* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9663,7 +9663,7 @@ void PythonQtShell_QGraphicsGridLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9685,7 +9685,7 @@ QGraphicsLayoutItem* PythonQtShell_QGraphicsGridLayout::itemAt(int index0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9718,7 +9718,7 @@ void PythonQtShell_QGraphicsGridLayout::removeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9740,7 +9740,7 @@ void PythonQtShell_QGraphicsGridLayout::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9762,7 +9762,7 @@ QSizeF PythonQtShell_QGraphicsGridLayout::sizeHint(Qt::SizeHint which0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9795,7 +9795,7 @@ void PythonQtShell_QGraphicsGridLayout::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9817,7 +9817,7 @@ void PythonQtShell_QGraphicsGridLayout::widgetEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10044,7 +10044,7 @@ void PythonQtShell_QGraphicsItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10066,7 +10066,7 @@ QRectF PythonQtShell_QGraphicsItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10099,7 +10099,7 @@ bool PythonQtShell_QGraphicsItem::collidesWithItem(const QGraphicsItem* other0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10132,7 +10132,7 @@ bool PythonQtShell_QGraphicsItem::collidesWithPath(const QPainterPath& path0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10165,7 +10165,7 @@ bool PythonQtShell_QGraphicsItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10198,7 +10198,7 @@ void PythonQtShell_QGraphicsItem::contextMenuEvent(QGraphicsSceneContextMenuEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10220,7 +10220,7 @@ void PythonQtShell_QGraphicsItem::dragEnterEvent(QGraphicsSceneDragDropEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10242,7 +10242,7 @@ void PythonQtShell_QGraphicsItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10264,7 +10264,7 @@ void PythonQtShell_QGraphicsItem::dragMoveEvent(QGraphicsSceneDragDropEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10286,7 +10286,7 @@ void PythonQtShell_QGraphicsItem::dropEvent(QGraphicsSceneDragDropEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10308,7 +10308,7 @@ QVariant PythonQtShell_QGraphicsItem::extension(const QVariant& variant0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10341,7 +10341,7 @@ void PythonQtShell_QGraphicsItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10363,7 +10363,7 @@ void PythonQtShell_QGraphicsItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10385,7 +10385,7 @@ void PythonQtShell_QGraphicsItem::hoverEnterEvent(QGraphicsSceneHoverEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10407,7 +10407,7 @@ void PythonQtShell_QGraphicsItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10429,7 +10429,7 @@ void PythonQtShell_QGraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10451,7 +10451,7 @@ void PythonQtShell_QGraphicsItem::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10473,7 +10473,7 @@ QVariant PythonQtShell_QGraphicsItem::inputMethodQuery(Qt::InputMethodQuery qu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10506,7 +10506,7 @@ bool PythonQtShell_QGraphicsItem::isObscuredBy(const QGraphicsItem* item0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10539,7 +10539,7 @@ QVariant PythonQtShell_QGraphicsItem::itemChange(QGraphicsItem::GraphicsItemCha { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10575,7 +10575,7 @@ void PythonQtShell_QGraphicsItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10597,7 +10597,7 @@ void PythonQtShell_QGraphicsItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10619,7 +10619,7 @@ void PythonQtShell_QGraphicsItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10641,7 +10641,7 @@ void PythonQtShell_QGraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10663,7 +10663,7 @@ void PythonQtShell_QGraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10685,7 +10685,7 @@ void PythonQtShell_QGraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10707,7 +10707,7 @@ QPainterPath PythonQtShell_QGraphicsItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10740,7 +10740,7 @@ void PythonQtShell_QGraphicsItem::paint(QPainter* painter0, const QStyleOptionG { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10762,7 +10762,7 @@ bool PythonQtShell_QGraphicsItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10795,7 +10795,7 @@ bool PythonQtShell_QGraphicsItem::sceneEventFilter(QGraphicsItem* watched0, QE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10828,7 +10828,7 @@ void PythonQtShell_QGraphicsItem::setExtension(QGraphicsItem::Extension extensi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10850,7 +10850,7 @@ QPainterPath PythonQtShell_QGraphicsItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10883,7 +10883,7 @@ bool PythonQtShell_QGraphicsItem::supportsExtension(QGraphicsItem::Extension e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10916,7 +10916,7 @@ int PythonQtShell_QGraphicsItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10949,7 +10949,7 @@ void PythonQtShell_QGraphicsItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12023,7 +12023,7 @@ void PythonQtShell_QGraphicsItemAnimation::afterAnimationStep(qreal step0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("afterAnimationStep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12045,7 +12045,7 @@ void PythonQtShell_QGraphicsItemAnimation::beforeAnimationStep(qreal step0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("beforeAnimationStep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12067,7 +12067,7 @@ void PythonQtShell_QGraphicsItemAnimation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12089,7 +12089,7 @@ void PythonQtShell_QGraphicsItemAnimation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12111,7 +12111,7 @@ bool PythonQtShell_QGraphicsItemAnimation::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12144,7 +12144,7 @@ bool PythonQtShell_QGraphicsItemAnimation::eventFilter(QObject* watched0, QEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12177,7 +12177,7 @@ void PythonQtShell_QGraphicsItemAnimation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12357,7 +12357,7 @@ void PythonQtShell_QGraphicsItemGroup::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12379,7 +12379,7 @@ QRectF PythonQtShell_QGraphicsItemGroup::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12412,7 +12412,7 @@ bool PythonQtShell_QGraphicsItemGroup::collidesWithItem(const QGraphicsItem* o { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12445,7 +12445,7 @@ bool PythonQtShell_QGraphicsItemGroup::collidesWithPath(const QPainterPath& pa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12478,7 +12478,7 @@ bool PythonQtShell_QGraphicsItemGroup::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12511,7 +12511,7 @@ void PythonQtShell_QGraphicsItemGroup::contextMenuEvent(QGraphicsSceneContextMen { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12533,7 +12533,7 @@ void PythonQtShell_QGraphicsItemGroup::dragEnterEvent(QGraphicsSceneDragDropEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12555,7 +12555,7 @@ void PythonQtShell_QGraphicsItemGroup::dragLeaveEvent(QGraphicsSceneDragDropEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12577,7 +12577,7 @@ void PythonQtShell_QGraphicsItemGroup::dragMoveEvent(QGraphicsSceneDragDropEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12599,7 +12599,7 @@ void PythonQtShell_QGraphicsItemGroup::dropEvent(QGraphicsSceneDragDropEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12621,7 +12621,7 @@ QVariant PythonQtShell_QGraphicsItemGroup::extension(const QVariant& variant0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12654,7 +12654,7 @@ void PythonQtShell_QGraphicsItemGroup::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12676,7 +12676,7 @@ void PythonQtShell_QGraphicsItemGroup::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12698,7 +12698,7 @@ void PythonQtShell_QGraphicsItemGroup::hoverEnterEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12720,7 +12720,7 @@ void PythonQtShell_QGraphicsItemGroup::hoverLeaveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12742,7 +12742,7 @@ void PythonQtShell_QGraphicsItemGroup::hoverMoveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12764,7 +12764,7 @@ void PythonQtShell_QGraphicsItemGroup::inputMethodEvent(QInputMethodEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12786,7 +12786,7 @@ QVariant PythonQtShell_QGraphicsItemGroup::inputMethodQuery(Qt::InputMethodQuer { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12819,7 +12819,7 @@ bool PythonQtShell_QGraphicsItemGroup::isObscuredBy(const QGraphicsItem* item0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12852,7 +12852,7 @@ QVariant PythonQtShell_QGraphicsItemGroup::itemChange(QGraphicsItem::GraphicsIt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12888,7 +12888,7 @@ void PythonQtShell_QGraphicsItemGroup::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12910,7 +12910,7 @@ void PythonQtShell_QGraphicsItemGroup::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12932,7 +12932,7 @@ void PythonQtShell_QGraphicsItemGroup::mouseDoubleClickEvent(QGraphicsSceneMouse { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12954,7 +12954,7 @@ void PythonQtShell_QGraphicsItemGroup::mouseMoveEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12976,7 +12976,7 @@ void PythonQtShell_QGraphicsItemGroup::mousePressEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12998,7 +12998,7 @@ void PythonQtShell_QGraphicsItemGroup::mouseReleaseEvent(QGraphicsSceneMouseEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13020,7 +13020,7 @@ QPainterPath PythonQtShell_QGraphicsItemGroup::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13053,7 +13053,7 @@ void PythonQtShell_QGraphicsItemGroup::paint(QPainter* painter0, const QStyleOp { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13075,7 +13075,7 @@ bool PythonQtShell_QGraphicsItemGroup::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13108,7 +13108,7 @@ bool PythonQtShell_QGraphicsItemGroup::sceneEventFilter(QGraphicsItem* watched { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13141,7 +13141,7 @@ void PythonQtShell_QGraphicsItemGroup::setExtension(QGraphicsItem::Extension ex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13163,7 +13163,7 @@ QPainterPath PythonQtShell_QGraphicsItemGroup::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13196,7 +13196,7 @@ bool PythonQtShell_QGraphicsItemGroup::supportsExtension(QGraphicsItem::Extensi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13229,7 +13229,7 @@ int PythonQtShell_QGraphicsItemGroup::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13262,7 +13262,7 @@ void PythonQtShell_QGraphicsItemGroup::wheelEvent(QGraphicsSceneWheelEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13304,7 +13304,7 @@ int PythonQtShell_QGraphicsLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13337,7 +13337,7 @@ void PythonQtShell_QGraphicsLayout::getContentsMargins(qreal* left0, qreal* to { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13359,7 +13359,7 @@ void PythonQtShell_QGraphicsLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13381,7 +13381,7 @@ QGraphicsLayoutItem* PythonQtShell_QGraphicsLayout::itemAt(int i0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13414,7 +13414,7 @@ void PythonQtShell_QGraphicsLayout::removeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13436,7 +13436,7 @@ void PythonQtShell_QGraphicsLayout::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13458,7 +13458,7 @@ QSizeF PythonQtShell_QGraphicsLayout::sizeHint(Qt::SizeHint which0, const QSiz { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13491,7 +13491,7 @@ void PythonQtShell_QGraphicsLayout::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13513,7 +13513,7 @@ void PythonQtShell_QGraphicsLayout::widgetEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13600,7 +13600,7 @@ void PythonQtShell_QGraphicsLayoutItem::getContentsMargins(qreal* left0, qreal* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13622,7 +13622,7 @@ void PythonQtShell_QGraphicsLayoutItem::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13644,7 +13644,7 @@ QSizeF PythonQtShell_QGraphicsLayoutItem::sizeHint(Qt::SizeHint which0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13677,7 +13677,7 @@ void PythonQtShell_QGraphicsLayoutItem::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13899,7 +13899,7 @@ void PythonQtShell_QGraphicsLineItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13921,7 +13921,7 @@ QRectF PythonQtShell_QGraphicsLineItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13954,7 +13954,7 @@ bool PythonQtShell_QGraphicsLineItem::collidesWithItem(const QGraphicsItem* ot { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13987,7 +13987,7 @@ bool PythonQtShell_QGraphicsLineItem::collidesWithPath(const QPainterPath& pat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14020,7 +14020,7 @@ bool PythonQtShell_QGraphicsLineItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14053,7 +14053,7 @@ void PythonQtShell_QGraphicsLineItem::contextMenuEvent(QGraphicsSceneContextMenu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14075,7 +14075,7 @@ void PythonQtShell_QGraphicsLineItem::dragEnterEvent(QGraphicsSceneDragDropEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14097,7 +14097,7 @@ void PythonQtShell_QGraphicsLineItem::dragLeaveEvent(QGraphicsSceneDragDropEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14119,7 +14119,7 @@ void PythonQtShell_QGraphicsLineItem::dragMoveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14141,7 +14141,7 @@ void PythonQtShell_QGraphicsLineItem::dropEvent(QGraphicsSceneDragDropEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14163,7 +14163,7 @@ QVariant PythonQtShell_QGraphicsLineItem::extension(const QVariant& variant0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14196,7 +14196,7 @@ void PythonQtShell_QGraphicsLineItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14218,7 +14218,7 @@ void PythonQtShell_QGraphicsLineItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14240,7 +14240,7 @@ void PythonQtShell_QGraphicsLineItem::hoverEnterEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14262,7 +14262,7 @@ void PythonQtShell_QGraphicsLineItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14284,7 +14284,7 @@ void PythonQtShell_QGraphicsLineItem::hoverMoveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14306,7 +14306,7 @@ void PythonQtShell_QGraphicsLineItem::inputMethodEvent(QInputMethodEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14328,7 +14328,7 @@ QVariant PythonQtShell_QGraphicsLineItem::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14361,7 +14361,7 @@ bool PythonQtShell_QGraphicsLineItem::isObscuredBy(const QGraphicsItem* item0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14394,7 +14394,7 @@ QVariant PythonQtShell_QGraphicsLineItem::itemChange(QGraphicsItem::GraphicsIte { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14430,7 +14430,7 @@ void PythonQtShell_QGraphicsLineItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14452,7 +14452,7 @@ void PythonQtShell_QGraphicsLineItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14474,7 +14474,7 @@ void PythonQtShell_QGraphicsLineItem::mouseDoubleClickEvent(QGraphicsSceneMouseE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14496,7 +14496,7 @@ void PythonQtShell_QGraphicsLineItem::mouseMoveEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14518,7 +14518,7 @@ void PythonQtShell_QGraphicsLineItem::mousePressEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14540,7 +14540,7 @@ void PythonQtShell_QGraphicsLineItem::mouseReleaseEvent(QGraphicsSceneMouseEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14562,7 +14562,7 @@ QPainterPath PythonQtShell_QGraphicsLineItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14595,7 +14595,7 @@ void PythonQtShell_QGraphicsLineItem::paint(QPainter* painter0, const QStyleOpt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14617,7 +14617,7 @@ bool PythonQtShell_QGraphicsLineItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14650,7 +14650,7 @@ bool PythonQtShell_QGraphicsLineItem::sceneEventFilter(QGraphicsItem* watched0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14683,7 +14683,7 @@ void PythonQtShell_QGraphicsLineItem::setExtension(QGraphicsItem::Extension ext { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14705,7 +14705,7 @@ QPainterPath PythonQtShell_QGraphicsLineItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14738,7 +14738,7 @@ bool PythonQtShell_QGraphicsLineItem::supportsExtension(QGraphicsItem::Extensio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14771,7 +14771,7 @@ int PythonQtShell_QGraphicsLineItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14804,7 +14804,7 @@ void PythonQtShell_QGraphicsLineItem::wheelEvent(QGraphicsSceneWheelEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp b/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp index f3b85af28..6e7906be0 100644 --- a/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp +++ b/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp @@ -85,7 +85,7 @@ int PythonQtShell_QGraphicsLinearLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -118,7 +118,7 @@ void PythonQtShell_QGraphicsLinearLayout::getContentsMargins(qreal* left0, qrea { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -140,7 +140,7 @@ void PythonQtShell_QGraphicsLinearLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -162,7 +162,7 @@ QGraphicsLayoutItem* PythonQtShell_QGraphicsLinearLayout::itemAt(int index0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -195,7 +195,7 @@ void PythonQtShell_QGraphicsLinearLayout::removeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -217,7 +217,7 @@ void PythonQtShell_QGraphicsLinearLayout::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -239,7 +239,7 @@ QSizeF PythonQtShell_QGraphicsLinearLayout::sizeHint(Qt::SizeHint which0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -272,7 +272,7 @@ void PythonQtShell_QGraphicsLinearLayout::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -294,7 +294,7 @@ void PythonQtShell_QGraphicsLinearLayout::widgetEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -410,7 +410,7 @@ void PythonQtShell_QGraphicsObject::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -432,7 +432,7 @@ QRectF PythonQtShell_QGraphicsObject::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -465,7 +465,7 @@ void PythonQtShell_QGraphicsObject::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -487,7 +487,7 @@ bool PythonQtShell_QGraphicsObject::collidesWithItem(const QGraphicsItem* othe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -520,7 +520,7 @@ bool PythonQtShell_QGraphicsObject::collidesWithPath(const QPainterPath& path0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -553,7 +553,7 @@ bool PythonQtShell_QGraphicsObject::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -586,7 +586,7 @@ void PythonQtShell_QGraphicsObject::contextMenuEvent(QGraphicsSceneContextMenuEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -608,7 +608,7 @@ void PythonQtShell_QGraphicsObject::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -630,7 +630,7 @@ void PythonQtShell_QGraphicsObject::dragEnterEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -652,7 +652,7 @@ void PythonQtShell_QGraphicsObject::dragLeaveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -674,7 +674,7 @@ void PythonQtShell_QGraphicsObject::dragMoveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -696,7 +696,7 @@ void PythonQtShell_QGraphicsObject::dropEvent(QGraphicsSceneDragDropEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -718,7 +718,7 @@ bool PythonQtShell_QGraphicsObject::event(QEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -751,7 +751,7 @@ bool PythonQtShell_QGraphicsObject::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -784,7 +784,7 @@ QVariant PythonQtShell_QGraphicsObject::extension(const QVariant& variant0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -817,7 +817,7 @@ void PythonQtShell_QGraphicsObject::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -839,7 +839,7 @@ void PythonQtShell_QGraphicsObject::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -861,7 +861,7 @@ void PythonQtShell_QGraphicsObject::hoverEnterEvent(QGraphicsSceneHoverEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -883,7 +883,7 @@ void PythonQtShell_QGraphicsObject::hoverLeaveEvent(QGraphicsSceneHoverEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -905,7 +905,7 @@ void PythonQtShell_QGraphicsObject::hoverMoveEvent(QGraphicsSceneHoverEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -927,7 +927,7 @@ void PythonQtShell_QGraphicsObject::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -949,7 +949,7 @@ QVariant PythonQtShell_QGraphicsObject::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -982,7 +982,7 @@ bool PythonQtShell_QGraphicsObject::isObscuredBy(const QGraphicsItem* item0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1015,7 +1015,7 @@ QVariant PythonQtShell_QGraphicsObject::itemChange(QGraphicsItem::GraphicsItemC { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1051,7 +1051,7 @@ void PythonQtShell_QGraphicsObject::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1073,7 +1073,7 @@ void PythonQtShell_QGraphicsObject::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1095,7 +1095,7 @@ void PythonQtShell_QGraphicsObject::mouseDoubleClickEvent(QGraphicsSceneMouseEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1117,7 +1117,7 @@ void PythonQtShell_QGraphicsObject::mouseMoveEvent(QGraphicsSceneMouseEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1139,7 +1139,7 @@ void PythonQtShell_QGraphicsObject::mousePressEvent(QGraphicsSceneMouseEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1161,7 +1161,7 @@ void PythonQtShell_QGraphicsObject::mouseReleaseEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1183,7 +1183,7 @@ QPainterPath PythonQtShell_QGraphicsObject::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1216,7 +1216,7 @@ void PythonQtShell_QGraphicsObject::paint(QPainter* painter0, const QStyleOptio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1238,7 +1238,7 @@ bool PythonQtShell_QGraphicsObject::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1271,7 +1271,7 @@ bool PythonQtShell_QGraphicsObject::sceneEventFilter(QGraphicsItem* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1304,7 +1304,7 @@ void PythonQtShell_QGraphicsObject::setExtension(QGraphicsItem::Extension exten { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1326,7 +1326,7 @@ QPainterPath PythonQtShell_QGraphicsObject::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1359,7 +1359,7 @@ bool PythonQtShell_QGraphicsObject::supportsExtension(QGraphicsItem::Extension { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1392,7 +1392,7 @@ void PythonQtShell_QGraphicsObject::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1414,7 +1414,7 @@ int PythonQtShell_QGraphicsObject::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1447,7 +1447,7 @@ void PythonQtShell_QGraphicsObject::wheelEvent(QGraphicsSceneWheelEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1509,7 +1509,7 @@ QRectF PythonQtShell_QGraphicsOpacityEffect::boundingRectFor(const QRectF& sou { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1542,7 +1542,7 @@ void PythonQtShell_QGraphicsOpacityEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1564,7 +1564,7 @@ void PythonQtShell_QGraphicsOpacityEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1586,7 +1586,7 @@ void PythonQtShell_QGraphicsOpacityEffect::draw(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1608,7 +1608,7 @@ bool PythonQtShell_QGraphicsOpacityEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1641,7 +1641,7 @@ bool PythonQtShell_QGraphicsOpacityEffect::eventFilter(QObject* watched0, QEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1674,7 +1674,7 @@ void PythonQtShell_QGraphicsOpacityEffect::sourceChanged(QGraphicsEffect::Change { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1696,7 +1696,7 @@ void PythonQtShell_QGraphicsOpacityEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1751,7 +1751,7 @@ void PythonQtShell_QGraphicsPathItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1773,7 +1773,7 @@ QRectF PythonQtShell_QGraphicsPathItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1806,7 +1806,7 @@ bool PythonQtShell_QGraphicsPathItem::collidesWithItem(const QGraphicsItem* ot { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1839,7 +1839,7 @@ bool PythonQtShell_QGraphicsPathItem::collidesWithPath(const QPainterPath& pat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1872,7 +1872,7 @@ bool PythonQtShell_QGraphicsPathItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1905,7 +1905,7 @@ void PythonQtShell_QGraphicsPathItem::contextMenuEvent(QGraphicsSceneContextMenu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1927,7 +1927,7 @@ void PythonQtShell_QGraphicsPathItem::dragEnterEvent(QGraphicsSceneDragDropEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1949,7 +1949,7 @@ void PythonQtShell_QGraphicsPathItem::dragLeaveEvent(QGraphicsSceneDragDropEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1971,7 +1971,7 @@ void PythonQtShell_QGraphicsPathItem::dragMoveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1993,7 +1993,7 @@ void PythonQtShell_QGraphicsPathItem::dropEvent(QGraphicsSceneDragDropEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2015,7 +2015,7 @@ QVariant PythonQtShell_QGraphicsPathItem::extension(const QVariant& variant0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2048,7 +2048,7 @@ void PythonQtShell_QGraphicsPathItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2070,7 +2070,7 @@ void PythonQtShell_QGraphicsPathItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2092,7 +2092,7 @@ void PythonQtShell_QGraphicsPathItem::hoverEnterEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2114,7 +2114,7 @@ void PythonQtShell_QGraphicsPathItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2136,7 +2136,7 @@ void PythonQtShell_QGraphicsPathItem::hoverMoveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2158,7 +2158,7 @@ void PythonQtShell_QGraphicsPathItem::inputMethodEvent(QInputMethodEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2180,7 +2180,7 @@ QVariant PythonQtShell_QGraphicsPathItem::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2213,7 +2213,7 @@ bool PythonQtShell_QGraphicsPathItem::isObscuredBy(const QGraphicsItem* item0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2246,7 +2246,7 @@ QVariant PythonQtShell_QGraphicsPathItem::itemChange(QGraphicsItem::GraphicsIte { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2282,7 +2282,7 @@ void PythonQtShell_QGraphicsPathItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2304,7 +2304,7 @@ void PythonQtShell_QGraphicsPathItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2326,7 +2326,7 @@ void PythonQtShell_QGraphicsPathItem::mouseDoubleClickEvent(QGraphicsSceneMouseE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2348,7 +2348,7 @@ void PythonQtShell_QGraphicsPathItem::mouseMoveEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2370,7 +2370,7 @@ void PythonQtShell_QGraphicsPathItem::mousePressEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2392,7 +2392,7 @@ void PythonQtShell_QGraphicsPathItem::mouseReleaseEvent(QGraphicsSceneMouseEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2414,7 +2414,7 @@ QPainterPath PythonQtShell_QGraphicsPathItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2447,7 +2447,7 @@ void PythonQtShell_QGraphicsPathItem::paint(QPainter* painter0, const QStyleOpt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2469,7 +2469,7 @@ bool PythonQtShell_QGraphicsPathItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2502,7 +2502,7 @@ bool PythonQtShell_QGraphicsPathItem::sceneEventFilter(QGraphicsItem* watched0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2535,7 +2535,7 @@ void PythonQtShell_QGraphicsPathItem::setExtension(QGraphicsItem::Extension ext { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2557,7 +2557,7 @@ QPainterPath PythonQtShell_QGraphicsPathItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2590,7 +2590,7 @@ bool PythonQtShell_QGraphicsPathItem::supportsExtension(QGraphicsItem::Extensio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2623,7 +2623,7 @@ int PythonQtShell_QGraphicsPathItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2656,7 +2656,7 @@ void PythonQtShell_QGraphicsPathItem::wheelEvent(QGraphicsSceneWheelEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2702,7 +2702,7 @@ void PythonQtShell_QGraphicsPixmapItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2724,7 +2724,7 @@ QRectF PythonQtShell_QGraphicsPixmapItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2757,7 +2757,7 @@ bool PythonQtShell_QGraphicsPixmapItem::collidesWithItem(const QGraphicsItem* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2790,7 +2790,7 @@ bool PythonQtShell_QGraphicsPixmapItem::collidesWithPath(const QPainterPath& p { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2823,7 +2823,7 @@ bool PythonQtShell_QGraphicsPixmapItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2856,7 +2856,7 @@ void PythonQtShell_QGraphicsPixmapItem::contextMenuEvent(QGraphicsSceneContextMe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2878,7 +2878,7 @@ void PythonQtShell_QGraphicsPixmapItem::dragEnterEvent(QGraphicsSceneDragDropEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2900,7 +2900,7 @@ void PythonQtShell_QGraphicsPixmapItem::dragLeaveEvent(QGraphicsSceneDragDropEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2922,7 +2922,7 @@ void PythonQtShell_QGraphicsPixmapItem::dragMoveEvent(QGraphicsSceneDragDropEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2944,7 +2944,7 @@ void PythonQtShell_QGraphicsPixmapItem::dropEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2966,7 +2966,7 @@ QVariant PythonQtShell_QGraphicsPixmapItem::extension(const QVariant& variant0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2999,7 +2999,7 @@ void PythonQtShell_QGraphicsPixmapItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3021,7 +3021,7 @@ void PythonQtShell_QGraphicsPixmapItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3043,7 +3043,7 @@ void PythonQtShell_QGraphicsPixmapItem::hoverEnterEvent(QGraphicsSceneHoverEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3065,7 +3065,7 @@ void PythonQtShell_QGraphicsPixmapItem::hoverLeaveEvent(QGraphicsSceneHoverEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3087,7 +3087,7 @@ void PythonQtShell_QGraphicsPixmapItem::hoverMoveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3109,7 +3109,7 @@ void PythonQtShell_QGraphicsPixmapItem::inputMethodEvent(QInputMethodEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3131,7 +3131,7 @@ QVariant PythonQtShell_QGraphicsPixmapItem::inputMethodQuery(Qt::InputMethodQue { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3164,7 +3164,7 @@ bool PythonQtShell_QGraphicsPixmapItem::isObscuredBy(const QGraphicsItem* item { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3197,7 +3197,7 @@ QVariant PythonQtShell_QGraphicsPixmapItem::itemChange(QGraphicsItem::GraphicsI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3233,7 +3233,7 @@ void PythonQtShell_QGraphicsPixmapItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3255,7 +3255,7 @@ void PythonQtShell_QGraphicsPixmapItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3277,7 +3277,7 @@ void PythonQtShell_QGraphicsPixmapItem::mouseDoubleClickEvent(QGraphicsSceneMous { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3299,7 +3299,7 @@ void PythonQtShell_QGraphicsPixmapItem::mouseMoveEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3321,7 +3321,7 @@ void PythonQtShell_QGraphicsPixmapItem::mousePressEvent(QGraphicsSceneMouseEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3343,7 +3343,7 @@ void PythonQtShell_QGraphicsPixmapItem::mouseReleaseEvent(QGraphicsSceneMouseEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3365,7 +3365,7 @@ QPainterPath PythonQtShell_QGraphicsPixmapItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3398,7 +3398,7 @@ void PythonQtShell_QGraphicsPixmapItem::paint(QPainter* painter0, const QStyleO { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3420,7 +3420,7 @@ bool PythonQtShell_QGraphicsPixmapItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3453,7 +3453,7 @@ bool PythonQtShell_QGraphicsPixmapItem::sceneEventFilter(QGraphicsItem* watche { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3486,7 +3486,7 @@ void PythonQtShell_QGraphicsPixmapItem::setExtension(QGraphicsItem::Extension e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3508,7 +3508,7 @@ QPainterPath PythonQtShell_QGraphicsPixmapItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3541,7 +3541,7 @@ bool PythonQtShell_QGraphicsPixmapItem::supportsExtension(QGraphicsItem::Extens { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3574,7 +3574,7 @@ int PythonQtShell_QGraphicsPixmapItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3607,7 +3607,7 @@ void PythonQtShell_QGraphicsPixmapItem::wheelEvent(QGraphicsSceneWheelEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3688,7 +3688,7 @@ void PythonQtShell_QGraphicsPolygonItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3710,7 +3710,7 @@ QRectF PythonQtShell_QGraphicsPolygonItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3743,7 +3743,7 @@ bool PythonQtShell_QGraphicsPolygonItem::collidesWithItem(const QGraphicsItem* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3776,7 +3776,7 @@ bool PythonQtShell_QGraphicsPolygonItem::collidesWithPath(const QPainterPath& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3809,7 +3809,7 @@ bool PythonQtShell_QGraphicsPolygonItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3842,7 +3842,7 @@ void PythonQtShell_QGraphicsPolygonItem::contextMenuEvent(QGraphicsSceneContextM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3864,7 +3864,7 @@ void PythonQtShell_QGraphicsPolygonItem::dragEnterEvent(QGraphicsSceneDragDropEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3886,7 +3886,7 @@ void PythonQtShell_QGraphicsPolygonItem::dragLeaveEvent(QGraphicsSceneDragDropEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3908,7 +3908,7 @@ void PythonQtShell_QGraphicsPolygonItem::dragMoveEvent(QGraphicsSceneDragDropEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3930,7 +3930,7 @@ void PythonQtShell_QGraphicsPolygonItem::dropEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3952,7 +3952,7 @@ QVariant PythonQtShell_QGraphicsPolygonItem::extension(const QVariant& variant { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3985,7 +3985,7 @@ void PythonQtShell_QGraphicsPolygonItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4007,7 +4007,7 @@ void PythonQtShell_QGraphicsPolygonItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4029,7 +4029,7 @@ void PythonQtShell_QGraphicsPolygonItem::hoverEnterEvent(QGraphicsSceneHoverEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4051,7 +4051,7 @@ void PythonQtShell_QGraphicsPolygonItem::hoverLeaveEvent(QGraphicsSceneHoverEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4073,7 +4073,7 @@ void PythonQtShell_QGraphicsPolygonItem::hoverMoveEvent(QGraphicsSceneHoverEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4095,7 +4095,7 @@ void PythonQtShell_QGraphicsPolygonItem::inputMethodEvent(QInputMethodEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4117,7 +4117,7 @@ QVariant PythonQtShell_QGraphicsPolygonItem::inputMethodQuery(Qt::InputMethodQu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4150,7 +4150,7 @@ bool PythonQtShell_QGraphicsPolygonItem::isObscuredBy(const QGraphicsItem* ite { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4183,7 +4183,7 @@ QVariant PythonQtShell_QGraphicsPolygonItem::itemChange(QGraphicsItem::Graphics { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4219,7 +4219,7 @@ void PythonQtShell_QGraphicsPolygonItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4241,7 +4241,7 @@ void PythonQtShell_QGraphicsPolygonItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4263,7 +4263,7 @@ void PythonQtShell_QGraphicsPolygonItem::mouseDoubleClickEvent(QGraphicsSceneMou { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4285,7 +4285,7 @@ void PythonQtShell_QGraphicsPolygonItem::mouseMoveEvent(QGraphicsSceneMouseEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4307,7 +4307,7 @@ void PythonQtShell_QGraphicsPolygonItem::mousePressEvent(QGraphicsSceneMouseEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4329,7 +4329,7 @@ void PythonQtShell_QGraphicsPolygonItem::mouseReleaseEvent(QGraphicsSceneMouseEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4351,7 +4351,7 @@ QPainterPath PythonQtShell_QGraphicsPolygonItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4384,7 +4384,7 @@ void PythonQtShell_QGraphicsPolygonItem::paint(QPainter* painter0, const QStyle { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4406,7 +4406,7 @@ bool PythonQtShell_QGraphicsPolygonItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4439,7 +4439,7 @@ bool PythonQtShell_QGraphicsPolygonItem::sceneEventFilter(QGraphicsItem* watch { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4472,7 +4472,7 @@ void PythonQtShell_QGraphicsPolygonItem::setExtension(QGraphicsItem::Extension { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4494,7 +4494,7 @@ QPainterPath PythonQtShell_QGraphicsPolygonItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4527,7 +4527,7 @@ bool PythonQtShell_QGraphicsPolygonItem::supportsExtension(QGraphicsItem::Exten { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4560,7 +4560,7 @@ int PythonQtShell_QGraphicsPolygonItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4593,7 +4593,7 @@ void PythonQtShell_QGraphicsPolygonItem::wheelEvent(QGraphicsSceneWheelEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4649,7 +4649,7 @@ void PythonQtShell_QGraphicsProxyWidget::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4671,7 +4671,7 @@ QRectF PythonQtShell_QGraphicsProxyWidget::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4704,7 +4704,7 @@ void PythonQtShell_QGraphicsProxyWidget::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4726,7 +4726,7 @@ void PythonQtShell_QGraphicsProxyWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4748,7 +4748,7 @@ void PythonQtShell_QGraphicsProxyWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4770,7 +4770,7 @@ bool PythonQtShell_QGraphicsProxyWidget::collidesWithItem(const QGraphicsItem* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4803,7 +4803,7 @@ bool PythonQtShell_QGraphicsProxyWidget::collidesWithPath(const QPainterPath& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4836,7 +4836,7 @@ bool PythonQtShell_QGraphicsProxyWidget::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4869,7 +4869,7 @@ void PythonQtShell_QGraphicsProxyWidget::contextMenuEvent(QGraphicsSceneContextM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4891,7 +4891,7 @@ void PythonQtShell_QGraphicsProxyWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4913,7 +4913,7 @@ void PythonQtShell_QGraphicsProxyWidget::dragEnterEvent(QGraphicsSceneDragDropEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4935,7 +4935,7 @@ void PythonQtShell_QGraphicsProxyWidget::dragLeaveEvent(QGraphicsSceneDragDropEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4957,7 +4957,7 @@ void PythonQtShell_QGraphicsProxyWidget::dragMoveEvent(QGraphicsSceneDragDropEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4979,7 +4979,7 @@ void PythonQtShell_QGraphicsProxyWidget::dropEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5001,7 +5001,7 @@ bool PythonQtShell_QGraphicsProxyWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5034,7 +5034,7 @@ bool PythonQtShell_QGraphicsProxyWidget::eventFilter(QObject* object0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5067,7 +5067,7 @@ QVariant PythonQtShell_QGraphicsProxyWidget::extension(const QVariant& variant { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5100,7 +5100,7 @@ void PythonQtShell_QGraphicsProxyWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5122,7 +5122,7 @@ bool PythonQtShell_QGraphicsProxyWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5155,7 +5155,7 @@ void PythonQtShell_QGraphicsProxyWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5177,7 +5177,7 @@ void PythonQtShell_QGraphicsProxyWidget::getContentsMargins(qreal* left0, qreal { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5199,7 +5199,7 @@ void PythonQtShell_QGraphicsProxyWidget::grabKeyboardEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("grabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5221,7 +5221,7 @@ void PythonQtShell_QGraphicsProxyWidget::grabMouseEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("grabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5243,7 +5243,7 @@ void PythonQtShell_QGraphicsProxyWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5265,7 +5265,7 @@ void PythonQtShell_QGraphicsProxyWidget::hoverEnterEvent(QGraphicsSceneHoverEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5287,7 +5287,7 @@ void PythonQtShell_QGraphicsProxyWidget::hoverLeaveEvent(QGraphicsSceneHoverEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5309,7 +5309,7 @@ void PythonQtShell_QGraphicsProxyWidget::hoverMoveEvent(QGraphicsSceneHoverEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5331,7 +5331,7 @@ void PythonQtShell_QGraphicsProxyWidget::initStyleOption(QStyleOption* option0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5353,7 +5353,7 @@ void PythonQtShell_QGraphicsProxyWidget::inputMethodEvent(QInputMethodEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5375,7 +5375,7 @@ QVariant PythonQtShell_QGraphicsProxyWidget::inputMethodQuery(Qt::InputMethodQu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5408,7 +5408,7 @@ bool PythonQtShell_QGraphicsProxyWidget::isObscuredBy(const QGraphicsItem* ite { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5441,7 +5441,7 @@ QVariant PythonQtShell_QGraphicsProxyWidget::itemChange(QGraphicsItem::Graphics { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5477,7 +5477,7 @@ void PythonQtShell_QGraphicsProxyWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5499,7 +5499,7 @@ void PythonQtShell_QGraphicsProxyWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5521,7 +5521,7 @@ void PythonQtShell_QGraphicsProxyWidget::mouseDoubleClickEvent(QGraphicsSceneMou { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5543,7 +5543,7 @@ void PythonQtShell_QGraphicsProxyWidget::mouseMoveEvent(QGraphicsSceneMouseEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5565,7 +5565,7 @@ void PythonQtShell_QGraphicsProxyWidget::mousePressEvent(QGraphicsSceneMouseEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5587,7 +5587,7 @@ void PythonQtShell_QGraphicsProxyWidget::mouseReleaseEvent(QGraphicsSceneMouseEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5609,7 +5609,7 @@ void PythonQtShell_QGraphicsProxyWidget::moveEvent(QGraphicsSceneMoveEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5631,7 +5631,7 @@ QPainterPath PythonQtShell_QGraphicsProxyWidget::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5664,7 +5664,7 @@ void PythonQtShell_QGraphicsProxyWidget::paint(QPainter* painter0, const QStyle { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5686,7 +5686,7 @@ void PythonQtShell_QGraphicsProxyWidget::paintWindowFrame(QPainter* painter0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintWindowFrame"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5708,7 +5708,7 @@ void PythonQtShell_QGraphicsProxyWidget::polishEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polishEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5730,7 +5730,7 @@ QVariant PythonQtShell_QGraphicsProxyWidget::propertyChange(const QString& pro { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("propertyChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5763,7 +5763,7 @@ void PythonQtShell_QGraphicsProxyWidget::resizeEvent(QGraphicsSceneResizeEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5785,7 +5785,7 @@ bool PythonQtShell_QGraphicsProxyWidget::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5818,7 +5818,7 @@ bool PythonQtShell_QGraphicsProxyWidget::sceneEventFilter(QGraphicsItem* watch { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5851,7 +5851,7 @@ void PythonQtShell_QGraphicsProxyWidget::setExtension(QGraphicsItem::Extension { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5873,7 +5873,7 @@ void PythonQtShell_QGraphicsProxyWidget::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5895,7 +5895,7 @@ QPainterPath PythonQtShell_QGraphicsProxyWidget::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5928,7 +5928,7 @@ void PythonQtShell_QGraphicsProxyWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5950,7 +5950,7 @@ QSizeF PythonQtShell_QGraphicsProxyWidget::sizeHint(Qt::SizeHint which0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5983,7 +5983,7 @@ bool PythonQtShell_QGraphicsProxyWidget::supportsExtension(QGraphicsItem::Exten { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6016,7 +6016,7 @@ void PythonQtShell_QGraphicsProxyWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6038,7 +6038,7 @@ int PythonQtShell_QGraphicsProxyWidget::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6071,7 +6071,7 @@ void PythonQtShell_QGraphicsProxyWidget::ungrabKeyboardEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6093,7 +6093,7 @@ void PythonQtShell_QGraphicsProxyWidget::ungrabMouseEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ungrabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6115,7 +6115,7 @@ void PythonQtShell_QGraphicsProxyWidget::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6137,7 +6137,7 @@ void PythonQtShell_QGraphicsProxyWidget::wheelEvent(QGraphicsSceneWheelEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6159,7 +6159,7 @@ bool PythonQtShell_QGraphicsProxyWidget::windowFrameEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowFrameEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6192,7 +6192,7 @@ Qt::WindowFrameSection PythonQtShell_QGraphicsProxyWidget::windowFrameSectionAt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowFrameSectionAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6268,7 +6268,7 @@ void PythonQtShell_QGraphicsRectItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6290,7 +6290,7 @@ QRectF PythonQtShell_QGraphicsRectItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6323,7 +6323,7 @@ bool PythonQtShell_QGraphicsRectItem::collidesWithItem(const QGraphicsItem* ot { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6356,7 +6356,7 @@ bool PythonQtShell_QGraphicsRectItem::collidesWithPath(const QPainterPath& pat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6389,7 +6389,7 @@ bool PythonQtShell_QGraphicsRectItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6422,7 +6422,7 @@ void PythonQtShell_QGraphicsRectItem::contextMenuEvent(QGraphicsSceneContextMenu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6444,7 +6444,7 @@ void PythonQtShell_QGraphicsRectItem::dragEnterEvent(QGraphicsSceneDragDropEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6466,7 +6466,7 @@ void PythonQtShell_QGraphicsRectItem::dragLeaveEvent(QGraphicsSceneDragDropEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6488,7 +6488,7 @@ void PythonQtShell_QGraphicsRectItem::dragMoveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6510,7 +6510,7 @@ void PythonQtShell_QGraphicsRectItem::dropEvent(QGraphicsSceneDragDropEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6532,7 +6532,7 @@ QVariant PythonQtShell_QGraphicsRectItem::extension(const QVariant& variant0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6565,7 +6565,7 @@ void PythonQtShell_QGraphicsRectItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6587,7 +6587,7 @@ void PythonQtShell_QGraphicsRectItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6609,7 +6609,7 @@ void PythonQtShell_QGraphicsRectItem::hoverEnterEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6631,7 +6631,7 @@ void PythonQtShell_QGraphicsRectItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6653,7 +6653,7 @@ void PythonQtShell_QGraphicsRectItem::hoverMoveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6675,7 +6675,7 @@ void PythonQtShell_QGraphicsRectItem::inputMethodEvent(QInputMethodEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6697,7 +6697,7 @@ QVariant PythonQtShell_QGraphicsRectItem::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6730,7 +6730,7 @@ bool PythonQtShell_QGraphicsRectItem::isObscuredBy(const QGraphicsItem* item0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6763,7 +6763,7 @@ QVariant PythonQtShell_QGraphicsRectItem::itemChange(QGraphicsItem::GraphicsIte { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6799,7 +6799,7 @@ void PythonQtShell_QGraphicsRectItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6821,7 +6821,7 @@ void PythonQtShell_QGraphicsRectItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6843,7 +6843,7 @@ void PythonQtShell_QGraphicsRectItem::mouseDoubleClickEvent(QGraphicsSceneMouseE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6865,7 +6865,7 @@ void PythonQtShell_QGraphicsRectItem::mouseMoveEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6887,7 +6887,7 @@ void PythonQtShell_QGraphicsRectItem::mousePressEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6909,7 +6909,7 @@ void PythonQtShell_QGraphicsRectItem::mouseReleaseEvent(QGraphicsSceneMouseEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6931,7 +6931,7 @@ QPainterPath PythonQtShell_QGraphicsRectItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6964,7 +6964,7 @@ void PythonQtShell_QGraphicsRectItem::paint(QPainter* painter0, const QStyleOpt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6986,7 +6986,7 @@ bool PythonQtShell_QGraphicsRectItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7019,7 +7019,7 @@ bool PythonQtShell_QGraphicsRectItem::sceneEventFilter(QGraphicsItem* watched0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7052,7 +7052,7 @@ void PythonQtShell_QGraphicsRectItem::setExtension(QGraphicsItem::Extension ext { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7074,7 +7074,7 @@ QPainterPath PythonQtShell_QGraphicsRectItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7107,7 +7107,7 @@ bool PythonQtShell_QGraphicsRectItem::supportsExtension(QGraphicsItem::Extensio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7140,7 +7140,7 @@ int PythonQtShell_QGraphicsRectItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7173,7 +7173,7 @@ void PythonQtShell_QGraphicsRectItem::wheelEvent(QGraphicsSceneWheelEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7228,7 +7228,7 @@ void PythonQtShell_QGraphicsRotation::applyTo(QMatrix4x4* matrix0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7250,7 +7250,7 @@ void PythonQtShell_QGraphicsRotation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7272,7 +7272,7 @@ void PythonQtShell_QGraphicsRotation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7294,7 +7294,7 @@ bool PythonQtShell_QGraphicsRotation::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7327,7 +7327,7 @@ bool PythonQtShell_QGraphicsRotation::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7360,7 +7360,7 @@ void PythonQtShell_QGraphicsRotation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7440,7 +7440,7 @@ void PythonQtShell_QGraphicsScale::applyTo(QMatrix4x4* matrix0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7462,7 +7462,7 @@ void PythonQtShell_QGraphicsScale::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7484,7 +7484,7 @@ void PythonQtShell_QGraphicsScale::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7506,7 +7506,7 @@ bool PythonQtShell_QGraphicsScale::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7539,7 +7539,7 @@ bool PythonQtShell_QGraphicsScale::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7572,7 +7572,7 @@ void PythonQtShell_QGraphicsScale::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7657,7 +7657,7 @@ void PythonQtShell_QGraphicsScene::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7679,7 +7679,7 @@ void PythonQtShell_QGraphicsScene::contextMenuEvent(QGraphicsSceneContextMenuEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7701,7 +7701,7 @@ void PythonQtShell_QGraphicsScene::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7723,7 +7723,7 @@ void PythonQtShell_QGraphicsScene::dragEnterEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7745,7 +7745,7 @@ void PythonQtShell_QGraphicsScene::dragLeaveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7767,7 +7767,7 @@ void PythonQtShell_QGraphicsScene::dragMoveEvent(QGraphicsSceneDragDropEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7789,7 +7789,7 @@ void PythonQtShell_QGraphicsScene::drawBackground(QPainter* painter0, const QRe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawBackground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7811,7 +7811,7 @@ void PythonQtShell_QGraphicsScene::drawForeground(QPainter* painter0, const QRe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawForeground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7833,7 +7833,7 @@ void PythonQtShell_QGraphicsScene::drawItems(QPainter* painter0, int numItems1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawItems"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7855,7 +7855,7 @@ void PythonQtShell_QGraphicsScene::dropEvent(QGraphicsSceneDragDropEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7877,7 +7877,7 @@ bool PythonQtShell_QGraphicsScene::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7910,7 +7910,7 @@ bool PythonQtShell_QGraphicsScene::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7943,7 +7943,7 @@ void PythonQtShell_QGraphicsScene::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7965,7 +7965,7 @@ void PythonQtShell_QGraphicsScene::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7987,7 +7987,7 @@ void PythonQtShell_QGraphicsScene::helpEvent(QGraphicsSceneHelpEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8009,7 +8009,7 @@ void PythonQtShell_QGraphicsScene::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8031,7 +8031,7 @@ QVariant PythonQtShell_QGraphicsScene::inputMethodQuery(Qt::InputMethodQuery q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8064,7 +8064,7 @@ void PythonQtShell_QGraphicsScene::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8086,7 +8086,7 @@ void PythonQtShell_QGraphicsScene::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8108,7 +8108,7 @@ void PythonQtShell_QGraphicsScene::mouseDoubleClickEvent(QGraphicsSceneMouseEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8130,7 +8130,7 @@ void PythonQtShell_QGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8152,7 +8152,7 @@ void PythonQtShell_QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8174,7 +8174,7 @@ void PythonQtShell_QGraphicsScene::mouseReleaseEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8196,7 +8196,7 @@ void PythonQtShell_QGraphicsScene::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8218,7 +8218,7 @@ void PythonQtShell_QGraphicsScene::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9292,7 +9292,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9314,7 +9314,7 @@ QRectF PythonQtShell_QGraphicsSimpleTextItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9347,7 +9347,7 @@ bool PythonQtShell_QGraphicsSimpleTextItem::collidesWithItem(const QGraphicsIte { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9380,7 +9380,7 @@ bool PythonQtShell_QGraphicsSimpleTextItem::collidesWithPath(const QPainterPath { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9413,7 +9413,7 @@ bool PythonQtShell_QGraphicsSimpleTextItem::contains(const QPointF& point0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9446,7 +9446,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::contextMenuEvent(QGraphicsSceneConte { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9468,7 +9468,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::dragEnterEvent(QGraphicsSceneDragDro { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9490,7 +9490,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::dragLeaveEvent(QGraphicsSceneDragDro { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9512,7 +9512,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::dragMoveEvent(QGraphicsSceneDragDrop { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9534,7 +9534,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::dropEvent(QGraphicsSceneDragDropEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9556,7 +9556,7 @@ QVariant PythonQtShell_QGraphicsSimpleTextItem::extension(const QVariant& vari { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9589,7 +9589,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9611,7 +9611,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9633,7 +9633,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::hoverEnterEvent(QGraphicsSceneHoverE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9655,7 +9655,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::hoverLeaveEvent(QGraphicsSceneHoverE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9677,7 +9677,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::hoverMoveEvent(QGraphicsSceneHoverEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9699,7 +9699,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::inputMethodEvent(QInputMethodEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9721,7 +9721,7 @@ QVariant PythonQtShell_QGraphicsSimpleTextItem::inputMethodQuery(Qt::InputMetho { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9754,7 +9754,7 @@ bool PythonQtShell_QGraphicsSimpleTextItem::isObscuredBy(const QGraphicsItem* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9787,7 +9787,7 @@ QVariant PythonQtShell_QGraphicsSimpleTextItem::itemChange(QGraphicsItem::Graph { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9823,7 +9823,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9845,7 +9845,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9867,7 +9867,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::mouseDoubleClickEvent(QGraphicsScene { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9889,7 +9889,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::mouseMoveEvent(QGraphicsSceneMouseEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9911,7 +9911,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::mousePressEvent(QGraphicsSceneMouseE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9933,7 +9933,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::mouseReleaseEvent(QGraphicsSceneMous { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9955,7 +9955,7 @@ QPainterPath PythonQtShell_QGraphicsSimpleTextItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9988,7 +9988,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::paint(QPainter* painter0, const QSt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10010,7 +10010,7 @@ bool PythonQtShell_QGraphicsSimpleTextItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10043,7 +10043,7 @@ bool PythonQtShell_QGraphicsSimpleTextItem::sceneEventFilter(QGraphicsItem* wa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10076,7 +10076,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::setExtension(QGraphicsItem::Extensio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10098,7 +10098,7 @@ QPainterPath PythonQtShell_QGraphicsSimpleTextItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10131,7 +10131,7 @@ bool PythonQtShell_QGraphicsSimpleTextItem::supportsExtension(QGraphicsItem::Ex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10164,7 +10164,7 @@ int PythonQtShell_QGraphicsSimpleTextItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10197,7 +10197,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::wheelEvent(QGraphicsSceneWheelEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10253,7 +10253,7 @@ void PythonQtShell_QGraphicsTextItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10275,7 +10275,7 @@ QRectF PythonQtShell_QGraphicsTextItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10308,7 +10308,7 @@ void PythonQtShell_QGraphicsTextItem::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10330,7 +10330,7 @@ bool PythonQtShell_QGraphicsTextItem::collidesWithItem(const QGraphicsItem* ot { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10363,7 +10363,7 @@ bool PythonQtShell_QGraphicsTextItem::collidesWithPath(const QPainterPath& pat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10396,7 +10396,7 @@ bool PythonQtShell_QGraphicsTextItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10429,7 +10429,7 @@ void PythonQtShell_QGraphicsTextItem::contextMenuEvent(QGraphicsSceneContextMenu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10451,7 +10451,7 @@ void PythonQtShell_QGraphicsTextItem::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10473,7 +10473,7 @@ void PythonQtShell_QGraphicsTextItem::dragEnterEvent(QGraphicsSceneDragDropEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10495,7 +10495,7 @@ void PythonQtShell_QGraphicsTextItem::dragLeaveEvent(QGraphicsSceneDragDropEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10517,7 +10517,7 @@ void PythonQtShell_QGraphicsTextItem::dragMoveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10539,7 +10539,7 @@ void PythonQtShell_QGraphicsTextItem::dropEvent(QGraphicsSceneDragDropEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10561,7 +10561,7 @@ bool PythonQtShell_QGraphicsTextItem::event(QEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10594,7 +10594,7 @@ bool PythonQtShell_QGraphicsTextItem::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10627,7 +10627,7 @@ QVariant PythonQtShell_QGraphicsTextItem::extension(const QVariant& variant0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10660,7 +10660,7 @@ void PythonQtShell_QGraphicsTextItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10682,7 +10682,7 @@ void PythonQtShell_QGraphicsTextItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10704,7 +10704,7 @@ void PythonQtShell_QGraphicsTextItem::hoverEnterEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10726,7 +10726,7 @@ void PythonQtShell_QGraphicsTextItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10748,7 +10748,7 @@ void PythonQtShell_QGraphicsTextItem::hoverMoveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10770,7 +10770,7 @@ void PythonQtShell_QGraphicsTextItem::inputMethodEvent(QInputMethodEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10792,7 +10792,7 @@ QVariant PythonQtShell_QGraphicsTextItem::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10825,7 +10825,7 @@ bool PythonQtShell_QGraphicsTextItem::isObscuredBy(const QGraphicsItem* item0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10858,7 +10858,7 @@ QVariant PythonQtShell_QGraphicsTextItem::itemChange(QGraphicsItem::GraphicsIte { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10894,7 +10894,7 @@ void PythonQtShell_QGraphicsTextItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10916,7 +10916,7 @@ void PythonQtShell_QGraphicsTextItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10938,7 +10938,7 @@ void PythonQtShell_QGraphicsTextItem::mouseDoubleClickEvent(QGraphicsSceneMouseE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10960,7 +10960,7 @@ void PythonQtShell_QGraphicsTextItem::mouseMoveEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10982,7 +10982,7 @@ void PythonQtShell_QGraphicsTextItem::mousePressEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11004,7 +11004,7 @@ void PythonQtShell_QGraphicsTextItem::mouseReleaseEvent(QGraphicsSceneMouseEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11026,7 +11026,7 @@ QPainterPath PythonQtShell_QGraphicsTextItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11059,7 +11059,7 @@ void PythonQtShell_QGraphicsTextItem::paint(QPainter* painter0, const QStyleOpt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11081,7 +11081,7 @@ bool PythonQtShell_QGraphicsTextItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11114,7 +11114,7 @@ bool PythonQtShell_QGraphicsTextItem::sceneEventFilter(QGraphicsItem* watched0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11147,7 +11147,7 @@ void PythonQtShell_QGraphicsTextItem::setExtension(QGraphicsItem::Extension ext { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11169,7 +11169,7 @@ QPainterPath PythonQtShell_QGraphicsTextItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11202,7 +11202,7 @@ bool PythonQtShell_QGraphicsTextItem::supportsExtension(QGraphicsItem::Extensio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11235,7 +11235,7 @@ void PythonQtShell_QGraphicsTextItem::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11257,7 +11257,7 @@ int PythonQtShell_QGraphicsTextItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11290,7 +11290,7 @@ void PythonQtShell_QGraphicsTextItem::wheelEvent(QGraphicsSceneWheelEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11444,7 +11444,7 @@ void PythonQtShell_QGraphicsTransform::applyTo(QMatrix4x4* matrix0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11466,7 +11466,7 @@ void PythonQtShell_QGraphicsTransform::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11488,7 +11488,7 @@ void PythonQtShell_QGraphicsTransform::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11510,7 +11510,7 @@ bool PythonQtShell_QGraphicsTransform::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11543,7 +11543,7 @@ bool PythonQtShell_QGraphicsTransform::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11576,7 +11576,7 @@ void PythonQtShell_QGraphicsTransform::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11626,7 +11626,7 @@ void PythonQtShell_QGraphicsView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11648,7 +11648,7 @@ void PythonQtShell_QGraphicsView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11670,7 +11670,7 @@ void PythonQtShell_QGraphicsView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11692,7 +11692,7 @@ void PythonQtShell_QGraphicsView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11714,7 +11714,7 @@ void PythonQtShell_QGraphicsView::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11736,7 +11736,7 @@ void PythonQtShell_QGraphicsView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11758,7 +11758,7 @@ int PythonQtShell_QGraphicsView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11791,7 +11791,7 @@ void PythonQtShell_QGraphicsView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11813,7 +11813,7 @@ void PythonQtShell_QGraphicsView::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11835,7 +11835,7 @@ void PythonQtShell_QGraphicsView::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11857,7 +11857,7 @@ void PythonQtShell_QGraphicsView::drawBackground(QPainter* painter0, const QRec { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawBackground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11879,7 +11879,7 @@ void PythonQtShell_QGraphicsView::drawForeground(QPainter* painter0, const QRec { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawForeground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11901,7 +11901,7 @@ void PythonQtShell_QGraphicsView::drawItems(QPainter* painter0, int numItems1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawItems"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11923,7 +11923,7 @@ void PythonQtShell_QGraphicsView::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11945,7 +11945,7 @@ void PythonQtShell_QGraphicsView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11967,7 +11967,7 @@ bool PythonQtShell_QGraphicsView::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12000,7 +12000,7 @@ bool PythonQtShell_QGraphicsView::eventFilter(QObject* arg__1, QEvent* arg__2 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12033,7 +12033,7 @@ void PythonQtShell_QGraphicsView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12055,7 +12055,7 @@ bool PythonQtShell_QGraphicsView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12088,7 +12088,7 @@ void PythonQtShell_QGraphicsView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12110,7 +12110,7 @@ bool PythonQtShell_QGraphicsView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12143,7 +12143,7 @@ int PythonQtShell_QGraphicsView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12176,7 +12176,7 @@ void PythonQtShell_QGraphicsView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12198,7 +12198,7 @@ void PythonQtShell_QGraphicsView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12220,7 +12220,7 @@ void PythonQtShell_QGraphicsView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12242,7 +12242,7 @@ QVariant PythonQtShell_QGraphicsView::inputMethodQuery(Qt::InputMethodQuery qu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12275,7 +12275,7 @@ void PythonQtShell_QGraphicsView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12297,7 +12297,7 @@ void PythonQtShell_QGraphicsView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12319,7 +12319,7 @@ void PythonQtShell_QGraphicsView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12341,7 +12341,7 @@ int PythonQtShell_QGraphicsView::metric(QPaintDevice::PaintDeviceMetric arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12374,7 +12374,7 @@ QSize PythonQtShell_QGraphicsView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12407,7 +12407,7 @@ void PythonQtShell_QGraphicsView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12429,7 +12429,7 @@ void PythonQtShell_QGraphicsView::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12451,7 +12451,7 @@ void PythonQtShell_QGraphicsView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12473,7 +12473,7 @@ void PythonQtShell_QGraphicsView::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12495,7 +12495,7 @@ void PythonQtShell_QGraphicsView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12517,7 +12517,7 @@ bool PythonQtShell_QGraphicsView::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12550,7 +12550,7 @@ QPaintEngine* PythonQtShell_QGraphicsView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12583,7 +12583,7 @@ void PythonQtShell_QGraphicsView::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12605,7 +12605,7 @@ QPaintDevice* PythonQtShell_QGraphicsView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12638,7 +12638,7 @@ void PythonQtShell_QGraphicsView::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12660,7 +12660,7 @@ void PythonQtShell_QGraphicsView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12682,7 +12682,7 @@ void PythonQtShell_QGraphicsView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12704,7 +12704,7 @@ void PythonQtShell_QGraphicsView::setupViewport(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12726,7 +12726,7 @@ QPainter* PythonQtShell_QGraphicsView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12759,7 +12759,7 @@ void PythonQtShell_QGraphicsView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12781,7 +12781,7 @@ QSize PythonQtShell_QGraphicsView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12814,7 +12814,7 @@ void PythonQtShell_QGraphicsView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12836,7 +12836,7 @@ void PythonQtShell_QGraphicsView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12858,7 +12858,7 @@ bool PythonQtShell_QGraphicsView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12891,7 +12891,7 @@ QSize PythonQtShell_QGraphicsView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12924,7 +12924,7 @@ void PythonQtShell_QGraphicsView::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13368,7 +13368,7 @@ void PythonQtShell_QGraphicsWidget::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13390,7 +13390,7 @@ QRectF PythonQtShell_QGraphicsWidget::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13423,7 +13423,7 @@ void PythonQtShell_QGraphicsWidget::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13445,7 +13445,7 @@ void PythonQtShell_QGraphicsWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13467,7 +13467,7 @@ void PythonQtShell_QGraphicsWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13489,7 +13489,7 @@ bool PythonQtShell_QGraphicsWidget::collidesWithItem(const QGraphicsItem* othe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13522,7 +13522,7 @@ bool PythonQtShell_QGraphicsWidget::collidesWithPath(const QPainterPath& path0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13555,7 +13555,7 @@ bool PythonQtShell_QGraphicsWidget::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13588,7 +13588,7 @@ void PythonQtShell_QGraphicsWidget::contextMenuEvent(QGraphicsSceneContextMenuEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13610,7 +13610,7 @@ void PythonQtShell_QGraphicsWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13632,7 +13632,7 @@ void PythonQtShell_QGraphicsWidget::dragEnterEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13654,7 +13654,7 @@ void PythonQtShell_QGraphicsWidget::dragLeaveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13676,7 +13676,7 @@ void PythonQtShell_QGraphicsWidget::dragMoveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13698,7 +13698,7 @@ void PythonQtShell_QGraphicsWidget::dropEvent(QGraphicsSceneDragDropEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13720,7 +13720,7 @@ bool PythonQtShell_QGraphicsWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13753,7 +13753,7 @@ bool PythonQtShell_QGraphicsWidget::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13786,7 +13786,7 @@ QVariant PythonQtShell_QGraphicsWidget::extension(const QVariant& variant0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13819,7 +13819,7 @@ void PythonQtShell_QGraphicsWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13841,7 +13841,7 @@ bool PythonQtShell_QGraphicsWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13874,7 +13874,7 @@ void PythonQtShell_QGraphicsWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13896,7 +13896,7 @@ void PythonQtShell_QGraphicsWidget::getContentsMargins(qreal* left0, qreal* to { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13918,7 +13918,7 @@ void PythonQtShell_QGraphicsWidget::grabKeyboardEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("grabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13940,7 +13940,7 @@ void PythonQtShell_QGraphicsWidget::grabMouseEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("grabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13962,7 +13962,7 @@ void PythonQtShell_QGraphicsWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13984,7 +13984,7 @@ void PythonQtShell_QGraphicsWidget::hoverEnterEvent(QGraphicsSceneHoverEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14006,7 +14006,7 @@ void PythonQtShell_QGraphicsWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14028,7 +14028,7 @@ void PythonQtShell_QGraphicsWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14050,7 +14050,7 @@ void PythonQtShell_QGraphicsWidget::initStyleOption(QStyleOption* option0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14072,7 +14072,7 @@ void PythonQtShell_QGraphicsWidget::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14094,7 +14094,7 @@ QVariant PythonQtShell_QGraphicsWidget::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14127,7 +14127,7 @@ bool PythonQtShell_QGraphicsWidget::isObscuredBy(const QGraphicsItem* item0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14160,7 +14160,7 @@ QVariant PythonQtShell_QGraphicsWidget::itemChange(QGraphicsItem::GraphicsItemC { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14196,7 +14196,7 @@ void PythonQtShell_QGraphicsWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14218,7 +14218,7 @@ void PythonQtShell_QGraphicsWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14240,7 +14240,7 @@ void PythonQtShell_QGraphicsWidget::mouseDoubleClickEvent(QGraphicsSceneMouseEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14262,7 +14262,7 @@ void PythonQtShell_QGraphicsWidget::mouseMoveEvent(QGraphicsSceneMouseEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14284,7 +14284,7 @@ void PythonQtShell_QGraphicsWidget::mousePressEvent(QGraphicsSceneMouseEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14306,7 +14306,7 @@ void PythonQtShell_QGraphicsWidget::mouseReleaseEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14328,7 +14328,7 @@ void PythonQtShell_QGraphicsWidget::moveEvent(QGraphicsSceneMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14350,7 +14350,7 @@ QPainterPath PythonQtShell_QGraphicsWidget::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14383,7 +14383,7 @@ void PythonQtShell_QGraphicsWidget::paint(QPainter* painter0, const QStyleOptio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14405,7 +14405,7 @@ void PythonQtShell_QGraphicsWidget::paintWindowFrame(QPainter* painter0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintWindowFrame"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14427,7 +14427,7 @@ void PythonQtShell_QGraphicsWidget::polishEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polishEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14449,7 +14449,7 @@ QVariant PythonQtShell_QGraphicsWidget::propertyChange(const QString& property { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("propertyChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14482,7 +14482,7 @@ void PythonQtShell_QGraphicsWidget::resizeEvent(QGraphicsSceneResizeEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14504,7 +14504,7 @@ bool PythonQtShell_QGraphicsWidget::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14537,7 +14537,7 @@ bool PythonQtShell_QGraphicsWidget::sceneEventFilter(QGraphicsItem* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14570,7 +14570,7 @@ void PythonQtShell_QGraphicsWidget::setExtension(QGraphicsItem::Extension exten { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14592,7 +14592,7 @@ void PythonQtShell_QGraphicsWidget::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14614,7 +14614,7 @@ QPainterPath PythonQtShell_QGraphicsWidget::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14647,7 +14647,7 @@ void PythonQtShell_QGraphicsWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14669,7 +14669,7 @@ QSizeF PythonQtShell_QGraphicsWidget::sizeHint(Qt::SizeHint which0, const QSiz { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14702,7 +14702,7 @@ bool PythonQtShell_QGraphicsWidget::supportsExtension(QGraphicsItem::Extension { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14735,7 +14735,7 @@ void PythonQtShell_QGraphicsWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14757,7 +14757,7 @@ int PythonQtShell_QGraphicsWidget::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14790,7 +14790,7 @@ void PythonQtShell_QGraphicsWidget::ungrabKeyboardEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14812,7 +14812,7 @@ void PythonQtShell_QGraphicsWidget::ungrabMouseEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ungrabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14834,7 +14834,7 @@ void PythonQtShell_QGraphicsWidget::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14856,7 +14856,7 @@ void PythonQtShell_QGraphicsWidget::wheelEvent(QGraphicsSceneWheelEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14878,7 +14878,7 @@ bool PythonQtShell_QGraphicsWidget::windowFrameEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowFrameEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14911,7 +14911,7 @@ Qt::WindowFrameSection PythonQtShell_QGraphicsWidget::windowFrameSectionAt(cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowFrameSectionAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15297,7 +15297,7 @@ void PythonQtShell_QGridLayout::addItem(QLayoutItem* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15319,7 +15319,7 @@ void PythonQtShell_QGridLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15341,7 +15341,7 @@ QSizePolicy::ControlTypes PythonQtShell_QGridLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15374,7 +15374,7 @@ int PythonQtShell_QGridLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15407,7 +15407,7 @@ void PythonQtShell_QGridLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15429,7 +15429,7 @@ bool PythonQtShell_QGridLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15462,7 +15462,7 @@ bool PythonQtShell_QGridLayout::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15495,7 +15495,7 @@ Qt::Orientations PythonQtShell_QGridLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15528,7 +15528,7 @@ QRect PythonQtShell_QGridLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15561,7 +15561,7 @@ bool PythonQtShell_QGridLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15594,7 +15594,7 @@ int PythonQtShell_QGridLayout::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15627,7 +15627,7 @@ int PythonQtShell_QGridLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15660,7 +15660,7 @@ void PythonQtShell_QGridLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15682,7 +15682,7 @@ bool PythonQtShell_QGridLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15715,7 +15715,7 @@ QLayoutItem* PythonQtShell_QGridLayout::itemAt(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15748,7 +15748,7 @@ QLayout* PythonQtShell_QGridLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15781,7 +15781,7 @@ QSize PythonQtShell_QGridLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15814,7 +15814,7 @@ int PythonQtShell_QGridLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15847,7 +15847,7 @@ QSize PythonQtShell_QGridLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15880,7 +15880,7 @@ void PythonQtShell_QGridLayout::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15902,7 +15902,7 @@ QSize PythonQtShell_QGridLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15935,7 +15935,7 @@ QSpacerItem* PythonQtShell_QGridLayout::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15968,7 +15968,7 @@ QLayoutItem* PythonQtShell_QGridLayout::takeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16001,7 +16001,7 @@ void PythonQtShell_QGridLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16023,7 +16023,7 @@ QWidget* PythonQtShell_QGridLayout::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16213,7 +16213,7 @@ void PythonQtShell_QGroupBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16235,7 +16235,7 @@ void PythonQtShell_QGroupBox::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16257,7 +16257,7 @@ void PythonQtShell_QGroupBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16279,7 +16279,7 @@ void PythonQtShell_QGroupBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16301,7 +16301,7 @@ void PythonQtShell_QGroupBox::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16323,7 +16323,7 @@ void PythonQtShell_QGroupBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16345,7 +16345,7 @@ int PythonQtShell_QGroupBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16378,7 +16378,7 @@ void PythonQtShell_QGroupBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16400,7 +16400,7 @@ void PythonQtShell_QGroupBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16422,7 +16422,7 @@ void PythonQtShell_QGroupBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16444,7 +16444,7 @@ void PythonQtShell_QGroupBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16466,7 +16466,7 @@ void PythonQtShell_QGroupBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16488,7 +16488,7 @@ bool PythonQtShell_QGroupBox::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16521,7 +16521,7 @@ bool PythonQtShell_QGroupBox::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16554,7 +16554,7 @@ void PythonQtShell_QGroupBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16576,7 +16576,7 @@ bool PythonQtShell_QGroupBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16609,7 +16609,7 @@ void PythonQtShell_QGroupBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16631,7 +16631,7 @@ bool PythonQtShell_QGroupBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16664,7 +16664,7 @@ int PythonQtShell_QGroupBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16697,7 +16697,7 @@ void PythonQtShell_QGroupBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16719,7 +16719,7 @@ void PythonQtShell_QGroupBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16741,7 +16741,7 @@ void PythonQtShell_QGroupBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16763,7 +16763,7 @@ QVariant PythonQtShell_QGroupBox::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16796,7 +16796,7 @@ void PythonQtShell_QGroupBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16818,7 +16818,7 @@ void PythonQtShell_QGroupBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16840,7 +16840,7 @@ void PythonQtShell_QGroupBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16862,7 +16862,7 @@ int PythonQtShell_QGroupBox::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16895,7 +16895,7 @@ QSize PythonQtShell_QGroupBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16928,7 +16928,7 @@ void PythonQtShell_QGroupBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16950,7 +16950,7 @@ void PythonQtShell_QGroupBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16972,7 +16972,7 @@ void PythonQtShell_QGroupBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16994,7 +16994,7 @@ void PythonQtShell_QGroupBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17016,7 +17016,7 @@ void PythonQtShell_QGroupBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17038,7 +17038,7 @@ bool PythonQtShell_QGroupBox::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17071,7 +17071,7 @@ QPaintEngine* PythonQtShell_QGroupBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17104,7 +17104,7 @@ void PythonQtShell_QGroupBox::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17126,7 +17126,7 @@ QPaintDevice* PythonQtShell_QGroupBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17159,7 +17159,7 @@ void PythonQtShell_QGroupBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17181,7 +17181,7 @@ void PythonQtShell_QGroupBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17203,7 +17203,7 @@ QPainter* PythonQtShell_QGroupBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17236,7 +17236,7 @@ void PythonQtShell_QGroupBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17258,7 +17258,7 @@ QSize PythonQtShell_QGroupBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17291,7 +17291,7 @@ void PythonQtShell_QGroupBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17313,7 +17313,7 @@ void PythonQtShell_QGroupBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17335,7 +17335,7 @@ void PythonQtShell_QGroupBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17691,7 +17691,7 @@ void PythonQtShell_QHBoxLayout::addItem(QLayoutItem* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17713,7 +17713,7 @@ void PythonQtShell_QHBoxLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17735,7 +17735,7 @@ QSizePolicy::ControlTypes PythonQtShell_QHBoxLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17768,7 +17768,7 @@ int PythonQtShell_QHBoxLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17801,7 +17801,7 @@ void PythonQtShell_QHBoxLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17823,7 +17823,7 @@ bool PythonQtShell_QHBoxLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17856,7 +17856,7 @@ bool PythonQtShell_QHBoxLayout::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17889,7 +17889,7 @@ Qt::Orientations PythonQtShell_QHBoxLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17922,7 +17922,7 @@ QRect PythonQtShell_QHBoxLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17955,7 +17955,7 @@ bool PythonQtShell_QHBoxLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17988,7 +17988,7 @@ int PythonQtShell_QHBoxLayout::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18021,7 +18021,7 @@ int PythonQtShell_QHBoxLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18054,7 +18054,7 @@ void PythonQtShell_QHBoxLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18076,7 +18076,7 @@ bool PythonQtShell_QHBoxLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18109,7 +18109,7 @@ QLayoutItem* PythonQtShell_QHBoxLayout::itemAt(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18142,7 +18142,7 @@ QLayout* PythonQtShell_QHBoxLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18175,7 +18175,7 @@ QSize PythonQtShell_QHBoxLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18208,7 +18208,7 @@ int PythonQtShell_QHBoxLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18241,7 +18241,7 @@ QSize PythonQtShell_QHBoxLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18274,7 +18274,7 @@ void PythonQtShell_QHBoxLayout::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18296,7 +18296,7 @@ QSize PythonQtShell_QHBoxLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18329,7 +18329,7 @@ QSpacerItem* PythonQtShell_QHBoxLayout::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18362,7 +18362,7 @@ QLayoutItem* PythonQtShell_QHBoxLayout::takeAt(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18395,7 +18395,7 @@ void PythonQtShell_QHBoxLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18417,7 +18417,7 @@ QWidget* PythonQtShell_QHBoxLayout::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18477,7 +18477,7 @@ void PythonQtShell_QHeaderView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18499,7 +18499,7 @@ void PythonQtShell_QHeaderView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18521,7 +18521,7 @@ void PythonQtShell_QHeaderView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18543,7 +18543,7 @@ void PythonQtShell_QHeaderView::closeEditor(QWidget* editor0, QAbstractItemDele { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18565,7 +18565,7 @@ void PythonQtShell_QHeaderView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18587,7 +18587,7 @@ void PythonQtShell_QHeaderView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18609,7 +18609,7 @@ void PythonQtShell_QHeaderView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18631,7 +18631,7 @@ void PythonQtShell_QHeaderView::currentChanged(const QModelIndex& current0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18653,7 +18653,7 @@ void PythonQtShell_QHeaderView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18675,7 +18675,7 @@ void PythonQtShell_QHeaderView::dataChanged(const QModelIndex& topLeft0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18697,7 +18697,7 @@ int PythonQtShell_QHeaderView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18730,7 +18730,7 @@ void PythonQtShell_QHeaderView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18752,7 +18752,7 @@ void PythonQtShell_QHeaderView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18774,7 +18774,7 @@ void PythonQtShell_QHeaderView::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18796,7 +18796,7 @@ void PythonQtShell_QHeaderView::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18818,7 +18818,7 @@ void PythonQtShell_QHeaderView::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18840,7 +18840,7 @@ bool PythonQtShell_QHeaderView::edit(const QModelIndex& index0, QAbstractItemV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18873,7 +18873,7 @@ void PythonQtShell_QHeaderView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18895,7 +18895,7 @@ void PythonQtShell_QHeaderView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18917,7 +18917,7 @@ bool PythonQtShell_QHeaderView::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18950,7 +18950,7 @@ bool PythonQtShell_QHeaderView::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18983,7 +18983,7 @@ void PythonQtShell_QHeaderView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19005,7 +19005,7 @@ bool PythonQtShell_QHeaderView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19038,7 +19038,7 @@ void PythonQtShell_QHeaderView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19060,7 +19060,7 @@ bool PythonQtShell_QHeaderView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19093,7 +19093,7 @@ int PythonQtShell_QHeaderView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19126,7 +19126,7 @@ void PythonQtShell_QHeaderView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19148,7 +19148,7 @@ int PythonQtShell_QHeaderView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19181,7 +19181,7 @@ void PythonQtShell_QHeaderView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19203,7 +19203,7 @@ void PythonQtShell_QHeaderView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19225,7 +19225,7 @@ QModelIndex PythonQtShell_QHeaderView::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19258,7 +19258,7 @@ void PythonQtShell_QHeaderView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19280,7 +19280,7 @@ void PythonQtShell_QHeaderView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19302,7 +19302,7 @@ QVariant PythonQtShell_QHeaderView::inputMethodQuery(Qt::InputMethodQuery quer { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19335,7 +19335,7 @@ bool PythonQtShell_QHeaderView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19368,7 +19368,7 @@ void PythonQtShell_QHeaderView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19390,7 +19390,7 @@ void PythonQtShell_QHeaderView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19412,7 +19412,7 @@ void PythonQtShell_QHeaderView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19434,7 +19434,7 @@ void PythonQtShell_QHeaderView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19456,7 +19456,7 @@ int PythonQtShell_QHeaderView::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19489,7 +19489,7 @@ QSize PythonQtShell_QHeaderView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19522,7 +19522,7 @@ void PythonQtShell_QHeaderView::mouseDoubleClickEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19544,7 +19544,7 @@ void PythonQtShell_QHeaderView::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19566,7 +19566,7 @@ void PythonQtShell_QHeaderView::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19588,7 +19588,7 @@ void PythonQtShell_QHeaderView::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19610,7 +19610,7 @@ QModelIndex PythonQtShell_QHeaderView::moveCursor(QAbstractItemView::CursorActi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19643,7 +19643,7 @@ void PythonQtShell_QHeaderView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19665,7 +19665,7 @@ bool PythonQtShell_QHeaderView::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19698,7 +19698,7 @@ QPaintEngine* PythonQtShell_QHeaderView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19731,7 +19731,7 @@ void PythonQtShell_QHeaderView::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19753,7 +19753,7 @@ void PythonQtShell_QHeaderView::paintSection(QPainter* painter0, const QRect& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintSection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19775,7 +19775,7 @@ QPaintDevice* PythonQtShell_QHeaderView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19808,7 +19808,7 @@ void PythonQtShell_QHeaderView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19830,7 +19830,7 @@ void PythonQtShell_QHeaderView::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19852,7 +19852,7 @@ void PythonQtShell_QHeaderView::rowsAboutToBeRemoved(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19874,7 +19874,7 @@ void PythonQtShell_QHeaderView::rowsInserted(const QModelIndex& parent0, int s { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19896,7 +19896,7 @@ void PythonQtShell_QHeaderView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19918,7 +19918,7 @@ void PythonQtShell_QHeaderView::scrollTo(const QModelIndex& index0, QAbstractIt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19940,7 +19940,7 @@ QSize PythonQtShell_QHeaderView::sectionSizeFromContents(int logicalIndex0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sectionSizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19973,7 +19973,7 @@ void PythonQtShell_QHeaderView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19995,7 +19995,7 @@ QList PythonQtShell_QHeaderView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20028,7 +20028,7 @@ void PythonQtShell_QHeaderView::selectionChanged(const QItemSelection& selected { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20050,7 +20050,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QHeaderView::selectionCommand { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20083,7 +20083,7 @@ void PythonQtShell_QHeaderView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20105,7 +20105,7 @@ void PythonQtShell_QHeaderView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20127,7 +20127,7 @@ void PythonQtShell_QHeaderView::setSelection(const QRect& rect0, QItemSelection { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20149,7 +20149,7 @@ void PythonQtShell_QHeaderView::setSelectionModel(QItemSelectionModel* selectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20171,7 +20171,7 @@ void PythonQtShell_QHeaderView::setVisible(bool v0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20193,7 +20193,7 @@ void PythonQtShell_QHeaderView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20215,7 +20215,7 @@ QPainter* PythonQtShell_QHeaderView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20248,7 +20248,7 @@ void PythonQtShell_QHeaderView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20270,7 +20270,7 @@ QSize PythonQtShell_QHeaderView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20303,7 +20303,7 @@ int PythonQtShell_QHeaderView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20336,7 +20336,7 @@ int PythonQtShell_QHeaderView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20369,7 +20369,7 @@ void PythonQtShell_QHeaderView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20391,7 +20391,7 @@ void PythonQtShell_QHeaderView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20413,7 +20413,7 @@ void PythonQtShell_QHeaderView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20435,7 +20435,7 @@ void PythonQtShell_QHeaderView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20457,7 +20457,7 @@ void PythonQtShell_QHeaderView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20479,7 +20479,7 @@ void PythonQtShell_QHeaderView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20501,7 +20501,7 @@ int PythonQtShell_QHeaderView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20534,7 +20534,7 @@ void PythonQtShell_QHeaderView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20556,7 +20556,7 @@ void PythonQtShell_QHeaderView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20578,7 +20578,7 @@ QStyleOptionViewItem PythonQtShell_QHeaderView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20611,7 +20611,7 @@ bool PythonQtShell_QHeaderView::viewportEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20644,7 +20644,7 @@ QSize PythonQtShell_QHeaderView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20677,7 +20677,7 @@ QRect PythonQtShell_QHeaderView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20710,7 +20710,7 @@ QRegion PythonQtShell_QHeaderView::visualRegionForSelection(const QItemSelectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20743,7 +20743,7 @@ void PythonQtShell_QHeaderView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp b/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp index 9700a2662..33b35e45c 100644 --- a/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp +++ b/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp @@ -154,7 +154,7 @@ QSize PythonQtShell_QIconEngine::actualSize(const QSize& size0, QIcon::Mode m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actualSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -187,7 +187,7 @@ void PythonQtShell_QIconEngine::addFile(const QString& fileName0, const QSize& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addFile"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -209,7 +209,7 @@ void PythonQtShell_QIconEngine::addPixmap(const QPixmap& pixmap0, QIcon::Mode { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -231,7 +231,7 @@ QList PythonQtShell_QIconEngine::availableSizes(QIcon::Mode mode0, QIc { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availableSizes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -264,7 +264,7 @@ QIconEngine* PythonQtShell_QIconEngine::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -297,7 +297,7 @@ QString PythonQtShell_QIconEngine::iconName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("iconName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -330,7 +330,7 @@ QString PythonQtShell_QIconEngine::key() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("key"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -363,7 +363,7 @@ void PythonQtShell_QIconEngine::paint(QPainter* painter0, const QRect& rect1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -385,7 +385,7 @@ QPixmap PythonQtShell_QIconEngine::pixmap(const QSize& size0, QIcon::Mode mod { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -418,7 +418,7 @@ bool PythonQtShell_QIconEngine::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -451,7 +451,7 @@ bool PythonQtShell_QIconEngine::write(QDataStream& out0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -563,7 +563,7 @@ bool PythonQtShell_QImageIOHandler::canRead() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -596,7 +596,7 @@ int PythonQtShell_QImageIOHandler::currentImageNumber() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentImageNumber"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -629,7 +629,7 @@ QRect PythonQtShell_QImageIOHandler::currentImageRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentImageRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -662,7 +662,7 @@ int PythonQtShell_QImageIOHandler::imageCount() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("imageCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -695,7 +695,7 @@ bool PythonQtShell_QImageIOHandler::jumpToImage(int imageNumber0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("jumpToImage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -728,7 +728,7 @@ bool PythonQtShell_QImageIOHandler::jumpToNextImage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("jumpToNextImage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -761,7 +761,7 @@ int PythonQtShell_QImageIOHandler::loopCount() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("loopCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -794,7 +794,7 @@ int PythonQtShell_QImageIOHandler::nextImageDelay() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextImageDelay"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -827,7 +827,7 @@ QVariant PythonQtShell_QImageIOHandler::option(QImageIOHandler::ImageOption op { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("option"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -860,7 +860,7 @@ bool PythonQtShell_QImageIOHandler::read(QImage* image0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -893,7 +893,7 @@ void PythonQtShell_QImageIOHandler::setOption(QImageIOHandler::ImageOption opti { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -915,7 +915,7 @@ bool PythonQtShell_QImageIOHandler::supportsOption(QImageIOHandler::ImageOption { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -948,7 +948,7 @@ bool PythonQtShell_QImageIOHandler::write(const QImage& image0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1076,7 +1076,7 @@ QImageIOPlugin::Capabilities PythonQtShell_QImageIOPlugin::capabilities(QIODevi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("capabilities"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1109,7 +1109,7 @@ void PythonQtShell_QImageIOPlugin::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1131,7 +1131,7 @@ QImageIOHandler* PythonQtShell_QImageIOPlugin::create(QIODevice* device0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1164,7 +1164,7 @@ void PythonQtShell_QImageIOPlugin::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1186,7 +1186,7 @@ bool PythonQtShell_QImageIOPlugin::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1219,7 +1219,7 @@ bool PythonQtShell_QImageIOPlugin::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1252,7 +1252,7 @@ void PythonQtShell_QImageIOPlugin::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1735,7 +1735,7 @@ void PythonQtShell_QInputDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1757,7 +1757,7 @@ void PythonQtShell_QInputDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1779,7 +1779,7 @@ void PythonQtShell_QInputDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1801,7 +1801,7 @@ void PythonQtShell_QInputDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1823,7 +1823,7 @@ void PythonQtShell_QInputDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1845,7 +1845,7 @@ void PythonQtShell_QInputDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1867,7 +1867,7 @@ void PythonQtShell_QInputDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1889,7 +1889,7 @@ int PythonQtShell_QInputDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1922,7 +1922,7 @@ void PythonQtShell_QInputDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1944,7 +1944,7 @@ void PythonQtShell_QInputDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1966,7 +1966,7 @@ void PythonQtShell_QInputDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1988,7 +1988,7 @@ void PythonQtShell_QInputDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2010,7 +2010,7 @@ void PythonQtShell_QInputDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2032,7 +2032,7 @@ void PythonQtShell_QInputDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2054,7 +2054,7 @@ bool PythonQtShell_QInputDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2087,7 +2087,7 @@ bool PythonQtShell_QInputDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2120,7 +2120,7 @@ int PythonQtShell_QInputDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2153,7 +2153,7 @@ void PythonQtShell_QInputDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2175,7 +2175,7 @@ bool PythonQtShell_QInputDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2208,7 +2208,7 @@ void PythonQtShell_QInputDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2230,7 +2230,7 @@ bool PythonQtShell_QInputDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2263,7 +2263,7 @@ int PythonQtShell_QInputDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2296,7 +2296,7 @@ void PythonQtShell_QInputDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2318,7 +2318,7 @@ void PythonQtShell_QInputDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2340,7 +2340,7 @@ void PythonQtShell_QInputDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2362,7 +2362,7 @@ QVariant PythonQtShell_QInputDialog::inputMethodQuery(Qt::InputMethodQuery arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2395,7 +2395,7 @@ void PythonQtShell_QInputDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2417,7 +2417,7 @@ void PythonQtShell_QInputDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2439,7 +2439,7 @@ void PythonQtShell_QInputDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2461,7 +2461,7 @@ int PythonQtShell_QInputDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2494,7 +2494,7 @@ QSize PythonQtShell_QInputDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2527,7 +2527,7 @@ void PythonQtShell_QInputDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2549,7 +2549,7 @@ void PythonQtShell_QInputDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2571,7 +2571,7 @@ void PythonQtShell_QInputDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2593,7 +2593,7 @@ void PythonQtShell_QInputDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2615,7 +2615,7 @@ void PythonQtShell_QInputDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2637,7 +2637,7 @@ bool PythonQtShell_QInputDialog::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2670,7 +2670,7 @@ QPaintEngine* PythonQtShell_QInputDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2703,7 +2703,7 @@ void PythonQtShell_QInputDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2725,7 +2725,7 @@ QPaintDevice* PythonQtShell_QInputDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2758,7 +2758,7 @@ void PythonQtShell_QInputDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2780,7 +2780,7 @@ void PythonQtShell_QInputDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2802,7 +2802,7 @@ void PythonQtShell_QInputDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2824,7 +2824,7 @@ QPainter* PythonQtShell_QInputDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2857,7 +2857,7 @@ void PythonQtShell_QInputDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2879,7 +2879,7 @@ QSize PythonQtShell_QInputDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2912,7 +2912,7 @@ void PythonQtShell_QInputDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2934,7 +2934,7 @@ void PythonQtShell_QInputDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2956,7 +2956,7 @@ void PythonQtShell_QInputDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3417,7 +3417,7 @@ void PythonQtShell_QIntValidator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3439,7 +3439,7 @@ void PythonQtShell_QIntValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3461,7 +3461,7 @@ bool PythonQtShell_QIntValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3494,7 +3494,7 @@ bool PythonQtShell_QIntValidator::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3527,7 +3527,7 @@ void PythonQtShell_QIntValidator::fixup(QString& input0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3549,7 +3549,7 @@ void PythonQtShell_QIntValidator::setRange(int bottom0, int top1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3571,7 +3571,7 @@ void PythonQtShell_QIntValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3593,7 +3593,7 @@ QValidator::State PythonQtShell_QIntValidator::validate(QString& arg__1, int& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3678,7 +3678,7 @@ void PythonQtShell_QItemDelegate::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3700,7 +3700,7 @@ QWidget* PythonQtShell_QItemDelegate::createEditor(QWidget* parent0, const QSt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3733,7 +3733,7 @@ void PythonQtShell_QItemDelegate::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3755,7 +3755,7 @@ void PythonQtShell_QItemDelegate::destroyEditor(QWidget* editor0, const QModelI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("destroyEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3777,7 +3777,7 @@ void PythonQtShell_QItemDelegate::drawCheck(QPainter* painter0, const QStyleOpt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawCheck"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3799,7 +3799,7 @@ void PythonQtShell_QItemDelegate::drawDecoration(QPainter* painter0, const QSty { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawDecoration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3821,7 +3821,7 @@ void PythonQtShell_QItemDelegate::drawDisplay(QPainter* painter0, const QStyleO { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawDisplay"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3843,7 +3843,7 @@ void PythonQtShell_QItemDelegate::drawFocus(QPainter* painter0, const QStyleOpt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawFocus"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3865,7 +3865,7 @@ bool PythonQtShell_QItemDelegate::editorEvent(QEvent* event0, QAbstractItemMod { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3898,7 +3898,7 @@ bool PythonQtShell_QItemDelegate::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3931,7 +3931,7 @@ bool PythonQtShell_QItemDelegate::eventFilter(QObject* object0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3964,7 +3964,7 @@ bool PythonQtShell_QItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3997,7 +3997,7 @@ void PythonQtShell_QItemDelegate::paint(QPainter* painter0, const QStyleOptionV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4019,7 +4019,7 @@ QVector PythonQtShell_QItemDelegate::paintingRoles() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintingRoles"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4052,7 +4052,7 @@ void PythonQtShell_QItemDelegate::setEditorData(QWidget* editor0, const QModelI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4074,7 +4074,7 @@ void PythonQtShell_QItemDelegate::setModelData(QWidget* editor0, QAbstractItemM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModelData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4096,7 +4096,7 @@ QSize PythonQtShell_QItemDelegate::sizeHint(const QStyleOptionViewItem& option { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4129,7 +4129,7 @@ void PythonQtShell_QItemDelegate::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4151,7 +4151,7 @@ void PythonQtShell_QItemDelegate::updateEditorGeometry(QWidget* editor0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4271,7 +4271,7 @@ QWidget* PythonQtShell_QItemEditorCreatorBase::createWidget(QWidget* parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4304,7 +4304,7 @@ QByteArray PythonQtShell_QItemEditorCreatorBase::valuePropertyName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("valuePropertyName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4357,7 +4357,7 @@ QWidget* PythonQtShell_QItemEditorFactory::createEditor(int userType0, QWidget { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4390,7 +4390,7 @@ QByteArray PythonQtShell_QItemEditorFactory::valuePropertyName(int userType0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("valuePropertyName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4738,7 +4738,7 @@ void PythonQtShell_QItemSelectionModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4760,7 +4760,7 @@ void PythonQtShell_QItemSelectionModel::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4782,7 +4782,7 @@ void PythonQtShell_QItemSelectionModel::clearCurrentIndex() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clearCurrentIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4804,7 +4804,7 @@ void PythonQtShell_QItemSelectionModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4826,7 +4826,7 @@ bool PythonQtShell_QItemSelectionModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4859,7 +4859,7 @@ bool PythonQtShell_QItemSelectionModel::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4892,7 +4892,7 @@ void PythonQtShell_QItemSelectionModel::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4914,7 +4914,7 @@ void PythonQtShell_QItemSelectionModel::select(const QItemSelection& selection0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4936,7 +4936,7 @@ void PythonQtShell_QItemSelectionModel::select(const QModelIndex& index0, QItem { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4958,7 +4958,7 @@ void PythonQtShell_QItemSelectionModel::setCurrentIndex(const QModelIndex& inde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setCurrentIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4980,7 +4980,7 @@ void PythonQtShell_QItemSelectionModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5298,7 +5298,7 @@ void PythonQtShell_QKeyEventTransition::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5320,7 +5320,7 @@ void PythonQtShell_QKeyEventTransition::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5342,7 +5342,7 @@ bool PythonQtShell_QKeyEventTransition::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5375,7 +5375,7 @@ bool PythonQtShell_QKeyEventTransition::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5408,7 +5408,7 @@ bool PythonQtShell_QKeyEventTransition::eventTest(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5441,7 +5441,7 @@ void PythonQtShell_QKeyEventTransition::onTransition(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5463,7 +5463,7 @@ void PythonQtShell_QKeyEventTransition::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5532,7 +5532,7 @@ void PythonQtShell_QKeySequenceEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5554,7 +5554,7 @@ void PythonQtShell_QKeySequenceEdit::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5576,7 +5576,7 @@ void PythonQtShell_QKeySequenceEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5598,7 +5598,7 @@ void PythonQtShell_QKeySequenceEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5620,7 +5620,7 @@ void PythonQtShell_QKeySequenceEdit::contextMenuEvent(QContextMenuEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5642,7 +5642,7 @@ void PythonQtShell_QKeySequenceEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5664,7 +5664,7 @@ int PythonQtShell_QKeySequenceEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5697,7 +5697,7 @@ void PythonQtShell_QKeySequenceEdit::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5719,7 +5719,7 @@ void PythonQtShell_QKeySequenceEdit::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5741,7 +5741,7 @@ void PythonQtShell_QKeySequenceEdit::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5763,7 +5763,7 @@ void PythonQtShell_QKeySequenceEdit::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5785,7 +5785,7 @@ void PythonQtShell_QKeySequenceEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5807,7 +5807,7 @@ bool PythonQtShell_QKeySequenceEdit::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5840,7 +5840,7 @@ bool PythonQtShell_QKeySequenceEdit::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5873,7 +5873,7 @@ void PythonQtShell_QKeySequenceEdit::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5895,7 +5895,7 @@ bool PythonQtShell_QKeySequenceEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5928,7 +5928,7 @@ void PythonQtShell_QKeySequenceEdit::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5950,7 +5950,7 @@ bool PythonQtShell_QKeySequenceEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5983,7 +5983,7 @@ int PythonQtShell_QKeySequenceEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6016,7 +6016,7 @@ void PythonQtShell_QKeySequenceEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6038,7 +6038,7 @@ void PythonQtShell_QKeySequenceEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6060,7 +6060,7 @@ void PythonQtShell_QKeySequenceEdit::inputMethodEvent(QInputMethodEvent* arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6082,7 +6082,7 @@ QVariant PythonQtShell_QKeySequenceEdit::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6115,7 +6115,7 @@ void PythonQtShell_QKeySequenceEdit::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6137,7 +6137,7 @@ void PythonQtShell_QKeySequenceEdit::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6159,7 +6159,7 @@ void PythonQtShell_QKeySequenceEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6181,7 +6181,7 @@ int PythonQtShell_QKeySequenceEdit::metric(QPaintDevice::PaintDeviceMetric arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6214,7 +6214,7 @@ QSize PythonQtShell_QKeySequenceEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6247,7 +6247,7 @@ void PythonQtShell_QKeySequenceEdit::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6269,7 +6269,7 @@ void PythonQtShell_QKeySequenceEdit::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6291,7 +6291,7 @@ void PythonQtShell_QKeySequenceEdit::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6313,7 +6313,7 @@ void PythonQtShell_QKeySequenceEdit::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6335,7 +6335,7 @@ void PythonQtShell_QKeySequenceEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6357,7 +6357,7 @@ bool PythonQtShell_QKeySequenceEdit::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6390,7 +6390,7 @@ QPaintEngine* PythonQtShell_QKeySequenceEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6423,7 +6423,7 @@ void PythonQtShell_QKeySequenceEdit::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6445,7 +6445,7 @@ QPaintDevice* PythonQtShell_QKeySequenceEdit::redirected(QPoint* offset0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6478,7 +6478,7 @@ void PythonQtShell_QKeySequenceEdit::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6500,7 +6500,7 @@ void PythonQtShell_QKeySequenceEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6522,7 +6522,7 @@ QPainter* PythonQtShell_QKeySequenceEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6555,7 +6555,7 @@ void PythonQtShell_QKeySequenceEdit::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6577,7 +6577,7 @@ QSize PythonQtShell_QKeySequenceEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6610,7 +6610,7 @@ void PythonQtShell_QKeySequenceEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6632,7 +6632,7 @@ void PythonQtShell_QKeySequenceEdit::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6654,7 +6654,7 @@ void PythonQtShell_QKeySequenceEdit::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6708,7 +6708,7 @@ void PythonQtShell_QLCDNumber::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6730,7 +6730,7 @@ void PythonQtShell_QLCDNumber::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6752,7 +6752,7 @@ void PythonQtShell_QLCDNumber::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6774,7 +6774,7 @@ void PythonQtShell_QLCDNumber::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6796,7 +6796,7 @@ void PythonQtShell_QLCDNumber::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6818,7 +6818,7 @@ void PythonQtShell_QLCDNumber::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6840,7 +6840,7 @@ int PythonQtShell_QLCDNumber::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6873,7 +6873,7 @@ void PythonQtShell_QLCDNumber::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6895,7 +6895,7 @@ void PythonQtShell_QLCDNumber::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6917,7 +6917,7 @@ void PythonQtShell_QLCDNumber::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6939,7 +6939,7 @@ void PythonQtShell_QLCDNumber::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6961,7 +6961,7 @@ void PythonQtShell_QLCDNumber::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6983,7 +6983,7 @@ bool PythonQtShell_QLCDNumber::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7016,7 +7016,7 @@ bool PythonQtShell_QLCDNumber::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7049,7 +7049,7 @@ void PythonQtShell_QLCDNumber::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7071,7 +7071,7 @@ bool PythonQtShell_QLCDNumber::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7104,7 +7104,7 @@ void PythonQtShell_QLCDNumber::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7126,7 +7126,7 @@ bool PythonQtShell_QLCDNumber::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7159,7 +7159,7 @@ int PythonQtShell_QLCDNumber::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7192,7 +7192,7 @@ void PythonQtShell_QLCDNumber::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7214,7 +7214,7 @@ void PythonQtShell_QLCDNumber::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7236,7 +7236,7 @@ void PythonQtShell_QLCDNumber::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7258,7 +7258,7 @@ QVariant PythonQtShell_QLCDNumber::inputMethodQuery(Qt::InputMethodQuery arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7291,7 +7291,7 @@ void PythonQtShell_QLCDNumber::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7313,7 +7313,7 @@ void PythonQtShell_QLCDNumber::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7335,7 +7335,7 @@ void PythonQtShell_QLCDNumber::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7357,7 +7357,7 @@ int PythonQtShell_QLCDNumber::metric(QPaintDevice::PaintDeviceMetric arg__1) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7390,7 +7390,7 @@ QSize PythonQtShell_QLCDNumber::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7423,7 +7423,7 @@ void PythonQtShell_QLCDNumber::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7445,7 +7445,7 @@ void PythonQtShell_QLCDNumber::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7467,7 +7467,7 @@ void PythonQtShell_QLCDNumber::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7489,7 +7489,7 @@ void PythonQtShell_QLCDNumber::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7511,7 +7511,7 @@ void PythonQtShell_QLCDNumber::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7533,7 +7533,7 @@ bool PythonQtShell_QLCDNumber::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7566,7 +7566,7 @@ QPaintEngine* PythonQtShell_QLCDNumber::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7599,7 +7599,7 @@ void PythonQtShell_QLCDNumber::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7621,7 +7621,7 @@ QPaintDevice* PythonQtShell_QLCDNumber::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7654,7 +7654,7 @@ void PythonQtShell_QLCDNumber::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7676,7 +7676,7 @@ void PythonQtShell_QLCDNumber::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7698,7 +7698,7 @@ QPainter* PythonQtShell_QLCDNumber::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7731,7 +7731,7 @@ void PythonQtShell_QLCDNumber::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7753,7 +7753,7 @@ QSize PythonQtShell_QLCDNumber::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7786,7 +7786,7 @@ void PythonQtShell_QLCDNumber::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7808,7 +7808,7 @@ void PythonQtShell_QLCDNumber::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7830,7 +7830,7 @@ void PythonQtShell_QLCDNumber::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7934,7 +7934,7 @@ void PythonQtShell_QLabel::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7956,7 +7956,7 @@ void PythonQtShell_QLabel::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7978,7 +7978,7 @@ void PythonQtShell_QLabel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8000,7 +8000,7 @@ void PythonQtShell_QLabel::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8022,7 +8022,7 @@ void PythonQtShell_QLabel::contextMenuEvent(QContextMenuEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8044,7 +8044,7 @@ void PythonQtShell_QLabel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8066,7 +8066,7 @@ int PythonQtShell_QLabel::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8099,7 +8099,7 @@ void PythonQtShell_QLabel::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8121,7 +8121,7 @@ void PythonQtShell_QLabel::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8143,7 +8143,7 @@ void PythonQtShell_QLabel::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8165,7 +8165,7 @@ void PythonQtShell_QLabel::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8187,7 +8187,7 @@ void PythonQtShell_QLabel::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8209,7 +8209,7 @@ bool PythonQtShell_QLabel::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8242,7 +8242,7 @@ bool PythonQtShell_QLabel::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8275,7 +8275,7 @@ void PythonQtShell_QLabel::focusInEvent(QFocusEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8297,7 +8297,7 @@ bool PythonQtShell_QLabel::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8330,7 +8330,7 @@ void PythonQtShell_QLabel::focusOutEvent(QFocusEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8352,7 +8352,7 @@ bool PythonQtShell_QLabel::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8385,7 +8385,7 @@ int PythonQtShell_QLabel::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8418,7 +8418,7 @@ void PythonQtShell_QLabel::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8440,7 +8440,7 @@ void PythonQtShell_QLabel::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8462,7 +8462,7 @@ void PythonQtShell_QLabel::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8484,7 +8484,7 @@ QVariant PythonQtShell_QLabel::inputMethodQuery(Qt::InputMethodQuery arg__1) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8517,7 +8517,7 @@ void PythonQtShell_QLabel::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8539,7 +8539,7 @@ void PythonQtShell_QLabel::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8561,7 +8561,7 @@ void PythonQtShell_QLabel::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8583,7 +8583,7 @@ int PythonQtShell_QLabel::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8616,7 +8616,7 @@ QSize PythonQtShell_QLabel::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8649,7 +8649,7 @@ void PythonQtShell_QLabel::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8671,7 +8671,7 @@ void PythonQtShell_QLabel::mouseMoveEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8693,7 +8693,7 @@ void PythonQtShell_QLabel::mousePressEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8715,7 +8715,7 @@ void PythonQtShell_QLabel::mouseReleaseEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8737,7 +8737,7 @@ void PythonQtShell_QLabel::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8759,7 +8759,7 @@ bool PythonQtShell_QLabel::nativeEvent(const QByteArray& eventType0, void* me { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8792,7 +8792,7 @@ QPaintEngine* PythonQtShell_QLabel::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8825,7 +8825,7 @@ void PythonQtShell_QLabel::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8847,7 +8847,7 @@ QPaintDevice* PythonQtShell_QLabel::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8880,7 +8880,7 @@ void PythonQtShell_QLabel::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8902,7 +8902,7 @@ void PythonQtShell_QLabel::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8924,7 +8924,7 @@ QPainter* PythonQtShell_QLabel::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8957,7 +8957,7 @@ void PythonQtShell_QLabel::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8979,7 +8979,7 @@ QSize PythonQtShell_QLabel::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9012,7 +9012,7 @@ void PythonQtShell_QLabel::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9034,7 +9034,7 @@ void PythonQtShell_QLabel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9056,7 +9056,7 @@ void PythonQtShell_QLabel::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9240,7 +9240,7 @@ void PythonQtShell_QLayout::addItem(QLayoutItem* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9262,7 +9262,7 @@ void PythonQtShell_QLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9284,7 +9284,7 @@ QSizePolicy::ControlTypes PythonQtShell_QLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9317,7 +9317,7 @@ int PythonQtShell_QLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9350,7 +9350,7 @@ void PythonQtShell_QLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9372,7 +9372,7 @@ bool PythonQtShell_QLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9405,7 +9405,7 @@ bool PythonQtShell_QLayout::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9438,7 +9438,7 @@ Qt::Orientations PythonQtShell_QLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9471,7 +9471,7 @@ QRect PythonQtShell_QLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9504,7 +9504,7 @@ bool PythonQtShell_QLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9537,7 +9537,7 @@ int PythonQtShell_QLayout::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9570,7 +9570,7 @@ int PythonQtShell_QLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9603,7 +9603,7 @@ void PythonQtShell_QLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9625,7 +9625,7 @@ bool PythonQtShell_QLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9658,7 +9658,7 @@ QLayoutItem* PythonQtShell_QLayout::itemAt(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9691,7 +9691,7 @@ QLayout* PythonQtShell_QLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9724,7 +9724,7 @@ QSize PythonQtShell_QLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9757,7 +9757,7 @@ int PythonQtShell_QLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9790,7 +9790,7 @@ QSize PythonQtShell_QLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9823,7 +9823,7 @@ void PythonQtShell_QLayout::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9845,7 +9845,7 @@ QSize PythonQtShell_QLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9878,7 +9878,7 @@ QSpacerItem* PythonQtShell_QLayout::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9911,7 +9911,7 @@ QLayoutItem* PythonQtShell_QLayout::takeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9944,7 +9944,7 @@ void PythonQtShell_QLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9966,7 +9966,7 @@ QWidget* PythonQtShell_QLayout::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10216,7 +10216,7 @@ QSizePolicy::ControlTypes PythonQtShell_QLayoutItem::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10249,7 +10249,7 @@ Qt::Orientations PythonQtShell_QLayoutItem::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10282,7 +10282,7 @@ QRect PythonQtShell_QLayoutItem::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10315,7 +10315,7 @@ bool PythonQtShell_QLayoutItem::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10348,7 +10348,7 @@ int PythonQtShell_QLayoutItem::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10381,7 +10381,7 @@ void PythonQtShell_QLayoutItem::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10403,7 +10403,7 @@ bool PythonQtShell_QLayoutItem::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10436,7 +10436,7 @@ QLayout* PythonQtShell_QLayoutItem::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10469,7 +10469,7 @@ QSize PythonQtShell_QLayoutItem::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10502,7 +10502,7 @@ int PythonQtShell_QLayoutItem::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10535,7 +10535,7 @@ QSize PythonQtShell_QLayoutItem::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10568,7 +10568,7 @@ void PythonQtShell_QLayoutItem::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10590,7 +10590,7 @@ QSize PythonQtShell_QLayoutItem::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10623,7 +10623,7 @@ QSpacerItem* PythonQtShell_QLayoutItem::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10656,7 +10656,7 @@ QWidget* PythonQtShell_QLayoutItem::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10784,7 +10784,7 @@ void PythonQtShell_QLineEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10806,7 +10806,7 @@ void PythonQtShell_QLineEdit::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10828,7 +10828,7 @@ void PythonQtShell_QLineEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10850,7 +10850,7 @@ void PythonQtShell_QLineEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10872,7 +10872,7 @@ void PythonQtShell_QLineEdit::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10894,7 +10894,7 @@ void PythonQtShell_QLineEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10916,7 +10916,7 @@ int PythonQtShell_QLineEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10949,7 +10949,7 @@ void PythonQtShell_QLineEdit::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10971,7 +10971,7 @@ void PythonQtShell_QLineEdit::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10993,7 +10993,7 @@ void PythonQtShell_QLineEdit::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11015,7 +11015,7 @@ void PythonQtShell_QLineEdit::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11037,7 +11037,7 @@ void PythonQtShell_QLineEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11059,7 +11059,7 @@ bool PythonQtShell_QLineEdit::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11092,7 +11092,7 @@ bool PythonQtShell_QLineEdit::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11125,7 +11125,7 @@ void PythonQtShell_QLineEdit::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11147,7 +11147,7 @@ bool PythonQtShell_QLineEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11180,7 +11180,7 @@ void PythonQtShell_QLineEdit::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11202,7 +11202,7 @@ bool PythonQtShell_QLineEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11235,7 +11235,7 @@ int PythonQtShell_QLineEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11268,7 +11268,7 @@ void PythonQtShell_QLineEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11290,7 +11290,7 @@ void PythonQtShell_QLineEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11312,7 +11312,7 @@ void PythonQtShell_QLineEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11334,7 +11334,7 @@ QVariant PythonQtShell_QLineEdit::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11367,7 +11367,7 @@ void PythonQtShell_QLineEdit::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11389,7 +11389,7 @@ void PythonQtShell_QLineEdit::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11411,7 +11411,7 @@ void PythonQtShell_QLineEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11433,7 +11433,7 @@ int PythonQtShell_QLineEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11466,7 +11466,7 @@ QSize PythonQtShell_QLineEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11499,7 +11499,7 @@ void PythonQtShell_QLineEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11521,7 +11521,7 @@ void PythonQtShell_QLineEdit::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11543,7 +11543,7 @@ void PythonQtShell_QLineEdit::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11565,7 +11565,7 @@ void PythonQtShell_QLineEdit::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11587,7 +11587,7 @@ void PythonQtShell_QLineEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11609,7 +11609,7 @@ bool PythonQtShell_QLineEdit::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11642,7 +11642,7 @@ QPaintEngine* PythonQtShell_QLineEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11675,7 +11675,7 @@ void PythonQtShell_QLineEdit::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11697,7 +11697,7 @@ QPaintDevice* PythonQtShell_QLineEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11730,7 +11730,7 @@ void PythonQtShell_QLineEdit::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11752,7 +11752,7 @@ void PythonQtShell_QLineEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11774,7 +11774,7 @@ QPainter* PythonQtShell_QLineEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11807,7 +11807,7 @@ void PythonQtShell_QLineEdit::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11829,7 +11829,7 @@ QSize PythonQtShell_QLineEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11862,7 +11862,7 @@ void PythonQtShell_QLineEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11884,7 +11884,7 @@ void PythonQtShell_QLineEdit::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11906,7 +11906,7 @@ void PythonQtShell_QLineEdit::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp b/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp index 5237d2d07..28424ae2a 100644 --- a/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp +++ b/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp @@ -143,7 +143,7 @@ void PythonQtShell_QListView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -165,7 +165,7 @@ void PythonQtShell_QListView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -187,7 +187,7 @@ void PythonQtShell_QListView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -209,7 +209,7 @@ void PythonQtShell_QListView::closeEditor(QWidget* editor0, QAbstractItemDelega { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -231,7 +231,7 @@ void PythonQtShell_QListView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -253,7 +253,7 @@ void PythonQtShell_QListView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -275,7 +275,7 @@ void PythonQtShell_QListView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -297,7 +297,7 @@ void PythonQtShell_QListView::currentChanged(const QModelIndex& current0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -319,7 +319,7 @@ void PythonQtShell_QListView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -341,7 +341,7 @@ void PythonQtShell_QListView::dataChanged(const QModelIndex& topLeft0, const QM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -363,7 +363,7 @@ int PythonQtShell_QListView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -396,7 +396,7 @@ void PythonQtShell_QListView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -418,7 +418,7 @@ void PythonQtShell_QListView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -440,7 +440,7 @@ void PythonQtShell_QListView::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -462,7 +462,7 @@ void PythonQtShell_QListView::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -484,7 +484,7 @@ void PythonQtShell_QListView::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -506,7 +506,7 @@ bool PythonQtShell_QListView::edit(const QModelIndex& index0, QAbstractItemVie { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -539,7 +539,7 @@ void PythonQtShell_QListView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -561,7 +561,7 @@ void PythonQtShell_QListView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -583,7 +583,7 @@ bool PythonQtShell_QListView::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -616,7 +616,7 @@ bool PythonQtShell_QListView::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -649,7 +649,7 @@ void PythonQtShell_QListView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -671,7 +671,7 @@ bool PythonQtShell_QListView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -704,7 +704,7 @@ void PythonQtShell_QListView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -726,7 +726,7 @@ bool PythonQtShell_QListView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -759,7 +759,7 @@ int PythonQtShell_QListView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -792,7 +792,7 @@ void PythonQtShell_QListView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -814,7 +814,7 @@ int PythonQtShell_QListView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -847,7 +847,7 @@ void PythonQtShell_QListView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -869,7 +869,7 @@ void PythonQtShell_QListView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -891,7 +891,7 @@ QModelIndex PythonQtShell_QListView::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -924,7 +924,7 @@ void PythonQtShell_QListView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -946,7 +946,7 @@ void PythonQtShell_QListView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -968,7 +968,7 @@ QVariant PythonQtShell_QListView::inputMethodQuery(Qt::InputMethodQuery query0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1001,7 +1001,7 @@ bool PythonQtShell_QListView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1034,7 +1034,7 @@ void PythonQtShell_QListView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1056,7 +1056,7 @@ void PythonQtShell_QListView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1078,7 +1078,7 @@ void PythonQtShell_QListView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1100,7 +1100,7 @@ void PythonQtShell_QListView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1122,7 +1122,7 @@ int PythonQtShell_QListView::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1155,7 +1155,7 @@ QSize PythonQtShell_QListView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1188,7 +1188,7 @@ void PythonQtShell_QListView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1210,7 +1210,7 @@ void PythonQtShell_QListView::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1232,7 +1232,7 @@ void PythonQtShell_QListView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1254,7 +1254,7 @@ void PythonQtShell_QListView::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1276,7 +1276,7 @@ QModelIndex PythonQtShell_QListView::moveCursor(QAbstractItemView::CursorAction { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1309,7 +1309,7 @@ void PythonQtShell_QListView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1331,7 +1331,7 @@ bool PythonQtShell_QListView::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1364,7 +1364,7 @@ QPaintEngine* PythonQtShell_QListView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1397,7 +1397,7 @@ void PythonQtShell_QListView::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1419,7 +1419,7 @@ QPaintDevice* PythonQtShell_QListView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1452,7 +1452,7 @@ void PythonQtShell_QListView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1474,7 +1474,7 @@ void PythonQtShell_QListView::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1496,7 +1496,7 @@ void PythonQtShell_QListView::rowsAboutToBeRemoved(const QModelIndex& parent0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1518,7 +1518,7 @@ void PythonQtShell_QListView::rowsInserted(const QModelIndex& parent0, int sta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1540,7 +1540,7 @@ void PythonQtShell_QListView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1562,7 +1562,7 @@ void PythonQtShell_QListView::scrollTo(const QModelIndex& index0, QAbstractItem { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1584,7 +1584,7 @@ void PythonQtShell_QListView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1606,7 +1606,7 @@ QList PythonQtShell_QListView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1639,7 +1639,7 @@ void PythonQtShell_QListView::selectionChanged(const QItemSelection& selected0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1661,7 +1661,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QListView::selectionCommand(c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1694,7 +1694,7 @@ void PythonQtShell_QListView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1716,7 +1716,7 @@ void PythonQtShell_QListView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1738,7 +1738,7 @@ void PythonQtShell_QListView::setSelection(const QRect& rect0, QItemSelectionMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1760,7 +1760,7 @@ void PythonQtShell_QListView::setSelectionModel(QItemSelectionModel* selectionM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1782,7 +1782,7 @@ void PythonQtShell_QListView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1804,7 +1804,7 @@ void PythonQtShell_QListView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1826,7 +1826,7 @@ QPainter* PythonQtShell_QListView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1859,7 +1859,7 @@ void PythonQtShell_QListView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1881,7 +1881,7 @@ QSize PythonQtShell_QListView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1914,7 +1914,7 @@ int PythonQtShell_QListView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1947,7 +1947,7 @@ int PythonQtShell_QListView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1980,7 +1980,7 @@ void PythonQtShell_QListView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2002,7 +2002,7 @@ void PythonQtShell_QListView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2024,7 +2024,7 @@ void PythonQtShell_QListView::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2046,7 +2046,7 @@ void PythonQtShell_QListView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2068,7 +2068,7 @@ void PythonQtShell_QListView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2090,7 +2090,7 @@ void PythonQtShell_QListView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2112,7 +2112,7 @@ int PythonQtShell_QListView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2145,7 +2145,7 @@ void PythonQtShell_QListView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2167,7 +2167,7 @@ void PythonQtShell_QListView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2189,7 +2189,7 @@ QStyleOptionViewItem PythonQtShell_QListView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2222,7 +2222,7 @@ bool PythonQtShell_QListView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2255,7 +2255,7 @@ QSize PythonQtShell_QListView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2288,7 +2288,7 @@ QRect PythonQtShell_QListView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2321,7 +2321,7 @@ QRegion PythonQtShell_QListView::visualRegionForSelection(const QItemSelection& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2354,7 +2354,7 @@ void PythonQtShell_QListView::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2574,7 +2574,7 @@ void PythonQtShell_QListWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2596,7 +2596,7 @@ void PythonQtShell_QListWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2618,7 +2618,7 @@ void PythonQtShell_QListWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2640,7 +2640,7 @@ void PythonQtShell_QListWidget::closeEditor(QWidget* editor0, QAbstractItemDele { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2662,7 +2662,7 @@ void PythonQtShell_QListWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2684,7 +2684,7 @@ void PythonQtShell_QListWidget::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2706,7 +2706,7 @@ void PythonQtShell_QListWidget::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2728,7 +2728,7 @@ void PythonQtShell_QListWidget::currentChanged(const QModelIndex& current0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2750,7 +2750,7 @@ void PythonQtShell_QListWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2772,7 +2772,7 @@ void PythonQtShell_QListWidget::dataChanged(const QModelIndex& topLeft0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2794,7 +2794,7 @@ int PythonQtShell_QListWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2827,7 +2827,7 @@ void PythonQtShell_QListWidget::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2849,7 +2849,7 @@ void PythonQtShell_QListWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2871,7 +2871,7 @@ void PythonQtShell_QListWidget::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2893,7 +2893,7 @@ void PythonQtShell_QListWidget::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2915,7 +2915,7 @@ void PythonQtShell_QListWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2937,7 +2937,7 @@ bool PythonQtShell_QListWidget::dropMimeData(int index0, const QMimeData* dat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2970,7 +2970,7 @@ bool PythonQtShell_QListWidget::edit(const QModelIndex& index0, QAbstractItemV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3003,7 +3003,7 @@ void PythonQtShell_QListWidget::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3025,7 +3025,7 @@ void PythonQtShell_QListWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3047,7 +3047,7 @@ bool PythonQtShell_QListWidget::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3080,7 +3080,7 @@ bool PythonQtShell_QListWidget::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3113,7 +3113,7 @@ void PythonQtShell_QListWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3135,7 +3135,7 @@ bool PythonQtShell_QListWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3168,7 +3168,7 @@ void PythonQtShell_QListWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3190,7 +3190,7 @@ bool PythonQtShell_QListWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3223,7 +3223,7 @@ int PythonQtShell_QListWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3256,7 +3256,7 @@ void PythonQtShell_QListWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3278,7 +3278,7 @@ int PythonQtShell_QListWidget::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3311,7 +3311,7 @@ void PythonQtShell_QListWidget::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3333,7 +3333,7 @@ void PythonQtShell_QListWidget::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3355,7 +3355,7 @@ QModelIndex PythonQtShell_QListWidget::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3388,7 +3388,7 @@ void PythonQtShell_QListWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3410,7 +3410,7 @@ void PythonQtShell_QListWidget::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3432,7 +3432,7 @@ QVariant PythonQtShell_QListWidget::inputMethodQuery(Qt::InputMethodQuery quer { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3465,7 +3465,7 @@ bool PythonQtShell_QListWidget::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3498,7 +3498,7 @@ void PythonQtShell_QListWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3520,7 +3520,7 @@ void PythonQtShell_QListWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3542,7 +3542,7 @@ void PythonQtShell_QListWidget::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3564,7 +3564,7 @@ void PythonQtShell_QListWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3586,7 +3586,7 @@ int PythonQtShell_QListWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3619,7 +3619,7 @@ QMimeData* PythonQtShell_QListWidget::mimeData(const QList { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3652,7 +3652,7 @@ QStringList PythonQtShell_QListWidget::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3685,7 +3685,7 @@ QSize PythonQtShell_QListWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3718,7 +3718,7 @@ void PythonQtShell_QListWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3740,7 +3740,7 @@ void PythonQtShell_QListWidget::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3762,7 +3762,7 @@ void PythonQtShell_QListWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3784,7 +3784,7 @@ void PythonQtShell_QListWidget::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3806,7 +3806,7 @@ QModelIndex PythonQtShell_QListWidget::moveCursor(QAbstractItemView::CursorActi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3839,7 +3839,7 @@ void PythonQtShell_QListWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3861,7 +3861,7 @@ bool PythonQtShell_QListWidget::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3894,7 +3894,7 @@ QPaintEngine* PythonQtShell_QListWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3927,7 +3927,7 @@ void PythonQtShell_QListWidget::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3949,7 +3949,7 @@ QPaintDevice* PythonQtShell_QListWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3982,7 +3982,7 @@ void PythonQtShell_QListWidget::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4004,7 +4004,7 @@ void PythonQtShell_QListWidget::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4026,7 +4026,7 @@ void PythonQtShell_QListWidget::rowsAboutToBeRemoved(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4048,7 +4048,7 @@ void PythonQtShell_QListWidget::rowsInserted(const QModelIndex& parent0, int s { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4070,7 +4070,7 @@ void PythonQtShell_QListWidget::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4092,7 +4092,7 @@ void PythonQtShell_QListWidget::scrollTo(const QModelIndex& index0, QAbstractIt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4114,7 +4114,7 @@ void PythonQtShell_QListWidget::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4136,7 +4136,7 @@ QList PythonQtShell_QListWidget::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4169,7 +4169,7 @@ void PythonQtShell_QListWidget::selectionChanged(const QItemSelection& selected { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4191,7 +4191,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QListWidget::selectionCommand { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4224,7 +4224,7 @@ void PythonQtShell_QListWidget::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4246,7 +4246,7 @@ void PythonQtShell_QListWidget::setSelection(const QRect& rect0, QItemSelection { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4268,7 +4268,7 @@ void PythonQtShell_QListWidget::setSelectionModel(QItemSelectionModel* selectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4290,7 +4290,7 @@ void PythonQtShell_QListWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4312,7 +4312,7 @@ void PythonQtShell_QListWidget::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4334,7 +4334,7 @@ QPainter* PythonQtShell_QListWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4367,7 +4367,7 @@ void PythonQtShell_QListWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4389,7 +4389,7 @@ QSize PythonQtShell_QListWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4422,7 +4422,7 @@ int PythonQtShell_QListWidget::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4455,7 +4455,7 @@ int PythonQtShell_QListWidget::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4488,7 +4488,7 @@ void PythonQtShell_QListWidget::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4510,7 +4510,7 @@ Qt::DropActions PythonQtShell_QListWidget::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4543,7 +4543,7 @@ void PythonQtShell_QListWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4565,7 +4565,7 @@ void PythonQtShell_QListWidget::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4587,7 +4587,7 @@ void PythonQtShell_QListWidget::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4609,7 +4609,7 @@ void PythonQtShell_QListWidget::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4631,7 +4631,7 @@ void PythonQtShell_QListWidget::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4653,7 +4653,7 @@ int PythonQtShell_QListWidget::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4686,7 +4686,7 @@ void PythonQtShell_QListWidget::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4708,7 +4708,7 @@ void PythonQtShell_QListWidget::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4730,7 +4730,7 @@ QStyleOptionViewItem PythonQtShell_QListWidget::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4763,7 +4763,7 @@ bool PythonQtShell_QListWidget::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4796,7 +4796,7 @@ QSize PythonQtShell_QListWidget::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4829,7 +4829,7 @@ QRect PythonQtShell_QListWidget::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4862,7 +4862,7 @@ QRegion PythonQtShell_QListWidget::visualRegionForSelection(const QItemSelectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4895,7 +4895,7 @@ void PythonQtShell_QListWidget::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5135,7 +5135,7 @@ QListWidgetItem* PythonQtShell_QListWidgetItem::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5168,7 +5168,7 @@ QVariant PythonQtShell_QListWidgetItem::data(int role0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5201,7 +5201,7 @@ void PythonQtShell_QListWidgetItem::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5223,7 +5223,7 @@ void PythonQtShell_QListWidgetItem::setData(int role0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5245,7 +5245,7 @@ void PythonQtShell_QListWidgetItem::write(QDataStream& out0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5470,7 +5470,7 @@ void PythonQtShell_QMainWindow::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5492,7 +5492,7 @@ void PythonQtShell_QMainWindow::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5514,7 +5514,7 @@ void PythonQtShell_QMainWindow::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5536,7 +5536,7 @@ void PythonQtShell_QMainWindow::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5558,7 +5558,7 @@ void PythonQtShell_QMainWindow::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5580,7 +5580,7 @@ QMenu* PythonQtShell_QMainWindow::createPopupMenu() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createPopupMenu"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5613,7 +5613,7 @@ void PythonQtShell_QMainWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5635,7 +5635,7 @@ int PythonQtShell_QMainWindow::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5668,7 +5668,7 @@ void PythonQtShell_QMainWindow::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5690,7 +5690,7 @@ void PythonQtShell_QMainWindow::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5712,7 +5712,7 @@ void PythonQtShell_QMainWindow::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5734,7 +5734,7 @@ void PythonQtShell_QMainWindow::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5756,7 +5756,7 @@ void PythonQtShell_QMainWindow::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5778,7 +5778,7 @@ bool PythonQtShell_QMainWindow::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5811,7 +5811,7 @@ bool PythonQtShell_QMainWindow::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5844,7 +5844,7 @@ void PythonQtShell_QMainWindow::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5866,7 +5866,7 @@ bool PythonQtShell_QMainWindow::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5899,7 +5899,7 @@ void PythonQtShell_QMainWindow::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5921,7 +5921,7 @@ bool PythonQtShell_QMainWindow::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5954,7 +5954,7 @@ int PythonQtShell_QMainWindow::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5987,7 +5987,7 @@ void PythonQtShell_QMainWindow::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6009,7 +6009,7 @@ void PythonQtShell_QMainWindow::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6031,7 +6031,7 @@ void PythonQtShell_QMainWindow::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6053,7 +6053,7 @@ QVariant PythonQtShell_QMainWindow::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6086,7 +6086,7 @@ void PythonQtShell_QMainWindow::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6108,7 +6108,7 @@ void PythonQtShell_QMainWindow::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6130,7 +6130,7 @@ void PythonQtShell_QMainWindow::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6152,7 +6152,7 @@ int PythonQtShell_QMainWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6185,7 +6185,7 @@ QSize PythonQtShell_QMainWindow::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6218,7 +6218,7 @@ void PythonQtShell_QMainWindow::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6240,7 +6240,7 @@ void PythonQtShell_QMainWindow::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6262,7 +6262,7 @@ void PythonQtShell_QMainWindow::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6284,7 +6284,7 @@ void PythonQtShell_QMainWindow::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6306,7 +6306,7 @@ void PythonQtShell_QMainWindow::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6328,7 +6328,7 @@ bool PythonQtShell_QMainWindow::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6361,7 +6361,7 @@ QPaintEngine* PythonQtShell_QMainWindow::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6394,7 +6394,7 @@ void PythonQtShell_QMainWindow::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6416,7 +6416,7 @@ QPaintDevice* PythonQtShell_QMainWindow::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6449,7 +6449,7 @@ void PythonQtShell_QMainWindow::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6471,7 +6471,7 @@ void PythonQtShell_QMainWindow::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6493,7 +6493,7 @@ QPainter* PythonQtShell_QMainWindow::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6526,7 +6526,7 @@ void PythonQtShell_QMainWindow::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6548,7 +6548,7 @@ QSize PythonQtShell_QMainWindow::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6581,7 +6581,7 @@ void PythonQtShell_QMainWindow::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6603,7 +6603,7 @@ void PythonQtShell_QMainWindow::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6625,7 +6625,7 @@ void PythonQtShell_QMainWindow::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7268,7 +7268,7 @@ void PythonQtShell_QMdiArea::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7290,7 +7290,7 @@ void PythonQtShell_QMdiArea::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7312,7 +7312,7 @@ void PythonQtShell_QMdiArea::childEvent(QChildEvent* childEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7334,7 +7334,7 @@ void PythonQtShell_QMdiArea::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7356,7 +7356,7 @@ void PythonQtShell_QMdiArea::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7378,7 +7378,7 @@ void PythonQtShell_QMdiArea::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7400,7 +7400,7 @@ int PythonQtShell_QMdiArea::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7433,7 +7433,7 @@ void PythonQtShell_QMdiArea::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7455,7 +7455,7 @@ void PythonQtShell_QMdiArea::dragLeaveEvent(QDragLeaveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7477,7 +7477,7 @@ void PythonQtShell_QMdiArea::dragMoveEvent(QDragMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7499,7 +7499,7 @@ void PythonQtShell_QMdiArea::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7521,7 +7521,7 @@ void PythonQtShell_QMdiArea::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7543,7 +7543,7 @@ bool PythonQtShell_QMdiArea::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7576,7 +7576,7 @@ bool PythonQtShell_QMdiArea::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7609,7 +7609,7 @@ void PythonQtShell_QMdiArea::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7631,7 +7631,7 @@ bool PythonQtShell_QMdiArea::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7664,7 +7664,7 @@ void PythonQtShell_QMdiArea::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7686,7 +7686,7 @@ bool PythonQtShell_QMdiArea::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7719,7 +7719,7 @@ int PythonQtShell_QMdiArea::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7752,7 +7752,7 @@ void PythonQtShell_QMdiArea::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7774,7 +7774,7 @@ void PythonQtShell_QMdiArea::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7796,7 +7796,7 @@ void PythonQtShell_QMdiArea::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7818,7 +7818,7 @@ QVariant PythonQtShell_QMdiArea::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7851,7 +7851,7 @@ void PythonQtShell_QMdiArea::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7873,7 +7873,7 @@ void PythonQtShell_QMdiArea::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7895,7 +7895,7 @@ void PythonQtShell_QMdiArea::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7917,7 +7917,7 @@ int PythonQtShell_QMdiArea::metric(QPaintDevice::PaintDeviceMetric arg__1) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7950,7 +7950,7 @@ QSize PythonQtShell_QMdiArea::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7983,7 +7983,7 @@ void PythonQtShell_QMdiArea::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8005,7 +8005,7 @@ void PythonQtShell_QMdiArea::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8027,7 +8027,7 @@ void PythonQtShell_QMdiArea::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8049,7 +8049,7 @@ void PythonQtShell_QMdiArea::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8071,7 +8071,7 @@ void PythonQtShell_QMdiArea::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8093,7 +8093,7 @@ bool PythonQtShell_QMdiArea::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8126,7 +8126,7 @@ QPaintEngine* PythonQtShell_QMdiArea::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8159,7 +8159,7 @@ void PythonQtShell_QMdiArea::paintEvent(QPaintEvent* paintEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8181,7 +8181,7 @@ QPaintDevice* PythonQtShell_QMdiArea::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8214,7 +8214,7 @@ void PythonQtShell_QMdiArea::resizeEvent(QResizeEvent* resizeEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8236,7 +8236,7 @@ void PythonQtShell_QMdiArea::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8258,7 +8258,7 @@ void PythonQtShell_QMdiArea::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8280,7 +8280,7 @@ void PythonQtShell_QMdiArea::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8302,7 +8302,7 @@ QPainter* PythonQtShell_QMdiArea::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8335,7 +8335,7 @@ void PythonQtShell_QMdiArea::showEvent(QShowEvent* showEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8357,7 +8357,7 @@ QSize PythonQtShell_QMdiArea::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8390,7 +8390,7 @@ void PythonQtShell_QMdiArea::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8412,7 +8412,7 @@ void PythonQtShell_QMdiArea::timerEvent(QTimerEvent* timerEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8434,7 +8434,7 @@ bool PythonQtShell_QMdiArea::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8467,7 +8467,7 @@ QSize PythonQtShell_QMdiArea::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8500,7 +8500,7 @@ void PythonQtShell_QMdiArea::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8660,7 +8660,7 @@ void PythonQtShell_QMdiSubWindow::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8682,7 +8682,7 @@ void PythonQtShell_QMdiSubWindow::changeEvent(QEvent* changeEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8704,7 +8704,7 @@ void PythonQtShell_QMdiSubWindow::childEvent(QChildEvent* childEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8726,7 +8726,7 @@ void PythonQtShell_QMdiSubWindow::closeEvent(QCloseEvent* closeEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8748,7 +8748,7 @@ void PythonQtShell_QMdiSubWindow::contextMenuEvent(QContextMenuEvent* contextMe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8770,7 +8770,7 @@ void PythonQtShell_QMdiSubWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8792,7 +8792,7 @@ int PythonQtShell_QMdiSubWindow::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8825,7 +8825,7 @@ void PythonQtShell_QMdiSubWindow::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8847,7 +8847,7 @@ void PythonQtShell_QMdiSubWindow::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8869,7 +8869,7 @@ void PythonQtShell_QMdiSubWindow::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8891,7 +8891,7 @@ void PythonQtShell_QMdiSubWindow::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8913,7 +8913,7 @@ void PythonQtShell_QMdiSubWindow::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8935,7 +8935,7 @@ bool PythonQtShell_QMdiSubWindow::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8968,7 +8968,7 @@ bool PythonQtShell_QMdiSubWindow::eventFilter(QObject* object0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9001,7 +9001,7 @@ void PythonQtShell_QMdiSubWindow::focusInEvent(QFocusEvent* focusInEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9023,7 +9023,7 @@ bool PythonQtShell_QMdiSubWindow::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9056,7 +9056,7 @@ void PythonQtShell_QMdiSubWindow::focusOutEvent(QFocusEvent* focusOutEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9078,7 +9078,7 @@ bool PythonQtShell_QMdiSubWindow::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9111,7 +9111,7 @@ int PythonQtShell_QMdiSubWindow::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9144,7 +9144,7 @@ void PythonQtShell_QMdiSubWindow::hideEvent(QHideEvent* hideEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9166,7 +9166,7 @@ void PythonQtShell_QMdiSubWindow::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9188,7 +9188,7 @@ void PythonQtShell_QMdiSubWindow::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9210,7 +9210,7 @@ QVariant PythonQtShell_QMdiSubWindow::inputMethodQuery(Qt::InputMethodQuery ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9243,7 +9243,7 @@ void PythonQtShell_QMdiSubWindow::keyPressEvent(QKeyEvent* keyEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9265,7 +9265,7 @@ void PythonQtShell_QMdiSubWindow::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9287,7 +9287,7 @@ void PythonQtShell_QMdiSubWindow::leaveEvent(QEvent* leaveEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9309,7 +9309,7 @@ int PythonQtShell_QMdiSubWindow::metric(QPaintDevice::PaintDeviceMetric arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9342,7 +9342,7 @@ QSize PythonQtShell_QMdiSubWindow::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9375,7 +9375,7 @@ void PythonQtShell_QMdiSubWindow::mouseDoubleClickEvent(QMouseEvent* mouseEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9397,7 +9397,7 @@ void PythonQtShell_QMdiSubWindow::mouseMoveEvent(QMouseEvent* mouseEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9419,7 +9419,7 @@ void PythonQtShell_QMdiSubWindow::mousePressEvent(QMouseEvent* mouseEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9441,7 +9441,7 @@ void PythonQtShell_QMdiSubWindow::mouseReleaseEvent(QMouseEvent* mouseEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9463,7 +9463,7 @@ void PythonQtShell_QMdiSubWindow::moveEvent(QMoveEvent* moveEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9485,7 +9485,7 @@ bool PythonQtShell_QMdiSubWindow::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9518,7 +9518,7 @@ QPaintEngine* PythonQtShell_QMdiSubWindow::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9551,7 +9551,7 @@ void PythonQtShell_QMdiSubWindow::paintEvent(QPaintEvent* paintEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9573,7 +9573,7 @@ QPaintDevice* PythonQtShell_QMdiSubWindow::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9606,7 +9606,7 @@ void PythonQtShell_QMdiSubWindow::resizeEvent(QResizeEvent* resizeEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9628,7 +9628,7 @@ void PythonQtShell_QMdiSubWindow::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9650,7 +9650,7 @@ QPainter* PythonQtShell_QMdiSubWindow::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9683,7 +9683,7 @@ void PythonQtShell_QMdiSubWindow::showEvent(QShowEvent* showEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9705,7 +9705,7 @@ QSize PythonQtShell_QMdiSubWindow::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9738,7 +9738,7 @@ void PythonQtShell_QMdiSubWindow::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9760,7 +9760,7 @@ void PythonQtShell_QMdiSubWindow::timerEvent(QTimerEvent* timerEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9782,7 +9782,7 @@ void PythonQtShell_QMdiSubWindow::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9907,7 +9907,7 @@ void PythonQtShell_QMenu::actionEvent(QActionEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9929,7 +9929,7 @@ void PythonQtShell_QMenu::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9951,7 +9951,7 @@ void PythonQtShell_QMenu::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9973,7 +9973,7 @@ void PythonQtShell_QMenu::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9995,7 +9995,7 @@ void PythonQtShell_QMenu::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10017,7 +10017,7 @@ void PythonQtShell_QMenu::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10039,7 +10039,7 @@ int PythonQtShell_QMenu::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10072,7 +10072,7 @@ void PythonQtShell_QMenu::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10094,7 +10094,7 @@ void PythonQtShell_QMenu::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10116,7 +10116,7 @@ void PythonQtShell_QMenu::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10138,7 +10138,7 @@ void PythonQtShell_QMenu::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10160,7 +10160,7 @@ void PythonQtShell_QMenu::enterEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10182,7 +10182,7 @@ bool PythonQtShell_QMenu::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10215,7 +10215,7 @@ bool PythonQtShell_QMenu::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10248,7 +10248,7 @@ void PythonQtShell_QMenu::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10270,7 +10270,7 @@ bool PythonQtShell_QMenu::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10303,7 +10303,7 @@ void PythonQtShell_QMenu::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10325,7 +10325,7 @@ bool PythonQtShell_QMenu::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10358,7 +10358,7 @@ int PythonQtShell_QMenu::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10391,7 +10391,7 @@ void PythonQtShell_QMenu::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10413,7 +10413,7 @@ void PythonQtShell_QMenu::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10435,7 +10435,7 @@ void PythonQtShell_QMenu::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10457,7 +10457,7 @@ QVariant PythonQtShell_QMenu::inputMethodQuery(Qt::InputMethodQuery arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10490,7 +10490,7 @@ void PythonQtShell_QMenu::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10512,7 +10512,7 @@ void PythonQtShell_QMenu::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10534,7 +10534,7 @@ void PythonQtShell_QMenu::leaveEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10556,7 +10556,7 @@ int PythonQtShell_QMenu::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10589,7 +10589,7 @@ QSize PythonQtShell_QMenu::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10622,7 +10622,7 @@ void PythonQtShell_QMenu::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10644,7 +10644,7 @@ void PythonQtShell_QMenu::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10666,7 +10666,7 @@ void PythonQtShell_QMenu::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10688,7 +10688,7 @@ void PythonQtShell_QMenu::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10710,7 +10710,7 @@ void PythonQtShell_QMenu::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10732,7 +10732,7 @@ bool PythonQtShell_QMenu::nativeEvent(const QByteArray& eventType0, void* mes { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10765,7 +10765,7 @@ QPaintEngine* PythonQtShell_QMenu::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10798,7 +10798,7 @@ void PythonQtShell_QMenu::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10820,7 +10820,7 @@ QPaintDevice* PythonQtShell_QMenu::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10853,7 +10853,7 @@ void PythonQtShell_QMenu::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10875,7 +10875,7 @@ void PythonQtShell_QMenu::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10897,7 +10897,7 @@ QPainter* PythonQtShell_QMenu::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10930,7 +10930,7 @@ void PythonQtShell_QMenu::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10952,7 +10952,7 @@ QSize PythonQtShell_QMenu::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10985,7 +10985,7 @@ void PythonQtShell_QMenu::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11007,7 +11007,7 @@ void PythonQtShell_QMenu::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11029,7 +11029,7 @@ void PythonQtShell_QMenu::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11298,7 +11298,7 @@ void PythonQtShell_QMenuBar::actionEvent(QActionEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11320,7 +11320,7 @@ void PythonQtShell_QMenuBar::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11342,7 +11342,7 @@ void PythonQtShell_QMenuBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11364,7 +11364,7 @@ void PythonQtShell_QMenuBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11386,7 +11386,7 @@ void PythonQtShell_QMenuBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11408,7 +11408,7 @@ void PythonQtShell_QMenuBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11430,7 +11430,7 @@ int PythonQtShell_QMenuBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11463,7 +11463,7 @@ void PythonQtShell_QMenuBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11485,7 +11485,7 @@ void PythonQtShell_QMenuBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11507,7 +11507,7 @@ void PythonQtShell_QMenuBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11529,7 +11529,7 @@ void PythonQtShell_QMenuBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11551,7 +11551,7 @@ void PythonQtShell_QMenuBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11573,7 +11573,7 @@ bool PythonQtShell_QMenuBar::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11606,7 +11606,7 @@ bool PythonQtShell_QMenuBar::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11639,7 +11639,7 @@ void PythonQtShell_QMenuBar::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11661,7 +11661,7 @@ bool PythonQtShell_QMenuBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11694,7 +11694,7 @@ void PythonQtShell_QMenuBar::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11716,7 +11716,7 @@ bool PythonQtShell_QMenuBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11749,7 +11749,7 @@ int PythonQtShell_QMenuBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11782,7 +11782,7 @@ void PythonQtShell_QMenuBar::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11804,7 +11804,7 @@ void PythonQtShell_QMenuBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11826,7 +11826,7 @@ void PythonQtShell_QMenuBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11848,7 +11848,7 @@ QVariant PythonQtShell_QMenuBar::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11881,7 +11881,7 @@ void PythonQtShell_QMenuBar::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11903,7 +11903,7 @@ void PythonQtShell_QMenuBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11925,7 +11925,7 @@ void PythonQtShell_QMenuBar::leaveEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11947,7 +11947,7 @@ int PythonQtShell_QMenuBar::metric(QPaintDevice::PaintDeviceMetric arg__1) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11980,7 +11980,7 @@ QSize PythonQtShell_QMenuBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12013,7 +12013,7 @@ void PythonQtShell_QMenuBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12035,7 +12035,7 @@ void PythonQtShell_QMenuBar::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12057,7 +12057,7 @@ void PythonQtShell_QMenuBar::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12079,7 +12079,7 @@ void PythonQtShell_QMenuBar::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12101,7 +12101,7 @@ void PythonQtShell_QMenuBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12123,7 +12123,7 @@ bool PythonQtShell_QMenuBar::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12156,7 +12156,7 @@ QPaintEngine* PythonQtShell_QMenuBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12189,7 +12189,7 @@ void PythonQtShell_QMenuBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12211,7 +12211,7 @@ QPaintDevice* PythonQtShell_QMenuBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12244,7 +12244,7 @@ void PythonQtShell_QMenuBar::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12266,7 +12266,7 @@ void PythonQtShell_QMenuBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12288,7 +12288,7 @@ QPainter* PythonQtShell_QMenuBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12321,7 +12321,7 @@ void PythonQtShell_QMenuBar::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12343,7 +12343,7 @@ QSize PythonQtShell_QMenuBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12376,7 +12376,7 @@ void PythonQtShell_QMenuBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12398,7 +12398,7 @@ void PythonQtShell_QMenuBar::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12420,7 +12420,7 @@ void PythonQtShell_QMenuBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12575,7 +12575,7 @@ void PythonQtShell_QMessageBox::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12597,7 +12597,7 @@ void PythonQtShell_QMessageBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12619,7 +12619,7 @@ void PythonQtShell_QMessageBox::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12641,7 +12641,7 @@ void PythonQtShell_QMessageBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12663,7 +12663,7 @@ void PythonQtShell_QMessageBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12685,7 +12685,7 @@ void PythonQtShell_QMessageBox::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12707,7 +12707,7 @@ void PythonQtShell_QMessageBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12729,7 +12729,7 @@ int PythonQtShell_QMessageBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12762,7 +12762,7 @@ void PythonQtShell_QMessageBox::done(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12784,7 +12784,7 @@ void PythonQtShell_QMessageBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12806,7 +12806,7 @@ void PythonQtShell_QMessageBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12828,7 +12828,7 @@ void PythonQtShell_QMessageBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12850,7 +12850,7 @@ void PythonQtShell_QMessageBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12872,7 +12872,7 @@ void PythonQtShell_QMessageBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12894,7 +12894,7 @@ bool PythonQtShell_QMessageBox::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12927,7 +12927,7 @@ bool PythonQtShell_QMessageBox::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12960,7 +12960,7 @@ int PythonQtShell_QMessageBox::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12993,7 +12993,7 @@ void PythonQtShell_QMessageBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13015,7 +13015,7 @@ bool PythonQtShell_QMessageBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13048,7 +13048,7 @@ void PythonQtShell_QMessageBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13070,7 +13070,7 @@ bool PythonQtShell_QMessageBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13103,7 +13103,7 @@ int PythonQtShell_QMessageBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13136,7 +13136,7 @@ void PythonQtShell_QMessageBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13158,7 +13158,7 @@ void PythonQtShell_QMessageBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13180,7 +13180,7 @@ void PythonQtShell_QMessageBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13202,7 +13202,7 @@ QVariant PythonQtShell_QMessageBox::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13235,7 +13235,7 @@ void PythonQtShell_QMessageBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13257,7 +13257,7 @@ void PythonQtShell_QMessageBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13279,7 +13279,7 @@ void PythonQtShell_QMessageBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13301,7 +13301,7 @@ int PythonQtShell_QMessageBox::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13334,7 +13334,7 @@ QSize PythonQtShell_QMessageBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13367,7 +13367,7 @@ void PythonQtShell_QMessageBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13389,7 +13389,7 @@ void PythonQtShell_QMessageBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13411,7 +13411,7 @@ void PythonQtShell_QMessageBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13433,7 +13433,7 @@ void PythonQtShell_QMessageBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13455,7 +13455,7 @@ void PythonQtShell_QMessageBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13477,7 +13477,7 @@ bool PythonQtShell_QMessageBox::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13510,7 +13510,7 @@ QPaintEngine* PythonQtShell_QMessageBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13543,7 +13543,7 @@ void PythonQtShell_QMessageBox::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13565,7 +13565,7 @@ QPaintDevice* PythonQtShell_QMessageBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13598,7 +13598,7 @@ void PythonQtShell_QMessageBox::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13620,7 +13620,7 @@ void PythonQtShell_QMessageBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13642,7 +13642,7 @@ void PythonQtShell_QMessageBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13664,7 +13664,7 @@ QPainter* PythonQtShell_QMessageBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13697,7 +13697,7 @@ void PythonQtShell_QMessageBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13719,7 +13719,7 @@ QSize PythonQtShell_QMessageBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13752,7 +13752,7 @@ void PythonQtShell_QMessageBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13774,7 +13774,7 @@ void PythonQtShell_QMessageBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13796,7 +13796,7 @@ void PythonQtShell_QMessageBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14157,7 +14157,7 @@ void PythonQtShell_QMouseEventTransition::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14179,7 +14179,7 @@ void PythonQtShell_QMouseEventTransition::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14201,7 +14201,7 @@ bool PythonQtShell_QMouseEventTransition::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14234,7 +14234,7 @@ bool PythonQtShell_QMouseEventTransition::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14267,7 +14267,7 @@ bool PythonQtShell_QMouseEventTransition::eventTest(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14300,7 +14300,7 @@ void PythonQtShell_QMouseEventTransition::onTransition(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14322,7 +14322,7 @@ void PythonQtShell_QMouseEventTransition::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14421,7 +14421,7 @@ void PythonQtShell_QMovie::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14443,7 +14443,7 @@ void PythonQtShell_QMovie::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14465,7 +14465,7 @@ bool PythonQtShell_QMovie::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14498,7 +14498,7 @@ bool PythonQtShell_QMovie::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14531,7 +14531,7 @@ void PythonQtShell_QMovie::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14768,7 +14768,7 @@ void PythonQtShell_QOffscreenSurface::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14790,7 +14790,7 @@ void PythonQtShell_QOffscreenSurface::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14812,7 +14812,7 @@ bool PythonQtShell_QOffscreenSurface::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14845,7 +14845,7 @@ bool PythonQtShell_QOffscreenSurface::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14878,7 +14878,7 @@ QSurfaceFormat PythonQtShell_QOffscreenSurface::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14911,7 +14911,7 @@ QSize PythonQtShell_QOffscreenSurface::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14944,7 +14944,7 @@ QSurface::SurfaceType PythonQtShell_QOffscreenSurface::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14977,7 +14977,7 @@ void PythonQtShell_QOffscreenSurface::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15175,7 +15175,7 @@ void PythonQtShell_QOpenGLContext::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15197,7 +15197,7 @@ void PythonQtShell_QOpenGLContext::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15219,7 +15219,7 @@ bool PythonQtShell_QOpenGLContext::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15252,7 +15252,7 @@ bool PythonQtShell_QOpenGLContext::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15285,7 +15285,7 @@ void PythonQtShell_QOpenGLContext::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15731,7 +15731,7 @@ int PythonQtShell_QOpenGLPaintDevice::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15764,7 +15764,7 @@ void PythonQtShell_QOpenGLPaintDevice::ensureActiveTarget() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ensureActiveTarget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15786,7 +15786,7 @@ void PythonQtShell_QOpenGLPaintDevice::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15808,7 +15808,7 @@ int PythonQtShell_QOpenGLPaintDevice::metric(QPaintDevice::PaintDeviceMetric m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15841,7 +15841,7 @@ QPaintEngine* PythonQtShell_QOpenGLPaintDevice::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15874,7 +15874,7 @@ QPaintDevice* PythonQtShell_QOpenGLPaintDevice::redirected(QPoint* offset0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15907,7 +15907,7 @@ QPainter* PythonQtShell_QOpenGLPaintDevice::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16013,7 +16013,7 @@ void PythonQtShell_QOpenGLShader::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16035,7 +16035,7 @@ void PythonQtShell_QOpenGLShader::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16057,7 +16057,7 @@ bool PythonQtShell_QOpenGLShader::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16090,7 +16090,7 @@ bool PythonQtShell_QOpenGLShader::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16123,7 +16123,7 @@ void PythonQtShell_QOpenGLShader::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16218,7 +16218,7 @@ void PythonQtShell_QOpenGLShaderProgram::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16240,7 +16240,7 @@ void PythonQtShell_QOpenGLShaderProgram::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16262,7 +16262,7 @@ bool PythonQtShell_QOpenGLShaderProgram::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16295,7 +16295,7 @@ bool PythonQtShell_QOpenGLShaderProgram::eventFilter(QObject* watched0, QEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16328,7 +16328,7 @@ bool PythonQtShell_QOpenGLShaderProgram::link() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("link"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16361,7 +16361,7 @@ void PythonQtShell_QOpenGLShaderProgram::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17469,7 +17469,7 @@ void PythonQtShell_QOpenGLTimeMonitor::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17491,7 +17491,7 @@ void PythonQtShell_QOpenGLTimeMonitor::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17513,7 +17513,7 @@ bool PythonQtShell_QOpenGLTimeMonitor::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17546,7 +17546,7 @@ bool PythonQtShell_QOpenGLTimeMonitor::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17579,7 +17579,7 @@ void PythonQtShell_QOpenGLTimeMonitor::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17679,7 +17679,7 @@ void PythonQtShell_QOpenGLTimerQuery::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17701,7 +17701,7 @@ void PythonQtShell_QOpenGLTimerQuery::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17723,7 +17723,7 @@ bool PythonQtShell_QOpenGLTimerQuery::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17756,7 +17756,7 @@ bool PythonQtShell_QOpenGLTimerQuery::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17789,7 +17789,7 @@ void PythonQtShell_QOpenGLTimerQuery::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp b/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp index c50d70c9e..3f0957e8d 100644 --- a/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp +++ b/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp @@ -160,7 +160,7 @@ void PythonQtShell_QOpenGLVertexArrayObject::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -182,7 +182,7 @@ void PythonQtShell_QOpenGLVertexArrayObject::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -204,7 +204,7 @@ bool PythonQtShell_QOpenGLVertexArrayObject::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -237,7 +237,7 @@ bool PythonQtShell_QOpenGLVertexArrayObject::eventFilter(QObject* watched0, QE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -270,7 +270,7 @@ void PythonQtShell_QOpenGLVertexArrayObject::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -345,7 +345,7 @@ void PythonQtShell_QOpenGLWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -367,7 +367,7 @@ void PythonQtShell_QOpenGLWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -389,7 +389,7 @@ void PythonQtShell_QOpenGLWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -411,7 +411,7 @@ void PythonQtShell_QOpenGLWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -433,7 +433,7 @@ void PythonQtShell_QOpenGLWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -455,7 +455,7 @@ void PythonQtShell_QOpenGLWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -477,7 +477,7 @@ int PythonQtShell_QOpenGLWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -510,7 +510,7 @@ void PythonQtShell_QOpenGLWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -532,7 +532,7 @@ void PythonQtShell_QOpenGLWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -554,7 +554,7 @@ void PythonQtShell_QOpenGLWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -576,7 +576,7 @@ void PythonQtShell_QOpenGLWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -598,7 +598,7 @@ void PythonQtShell_QOpenGLWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -620,7 +620,7 @@ bool PythonQtShell_QOpenGLWidget::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -653,7 +653,7 @@ bool PythonQtShell_QOpenGLWidget::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -686,7 +686,7 @@ void PythonQtShell_QOpenGLWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -708,7 +708,7 @@ bool PythonQtShell_QOpenGLWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -741,7 +741,7 @@ void PythonQtShell_QOpenGLWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -763,7 +763,7 @@ bool PythonQtShell_QOpenGLWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -796,7 +796,7 @@ int PythonQtShell_QOpenGLWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -829,7 +829,7 @@ void PythonQtShell_QOpenGLWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -851,7 +851,7 @@ void PythonQtShell_QOpenGLWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -873,7 +873,7 @@ void PythonQtShell_QOpenGLWidget::initializeGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initializeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -895,7 +895,7 @@ void PythonQtShell_QOpenGLWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -917,7 +917,7 @@ QVariant PythonQtShell_QOpenGLWidget::inputMethodQuery(Qt::InputMethodQuery ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -950,7 +950,7 @@ void PythonQtShell_QOpenGLWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -972,7 +972,7 @@ void PythonQtShell_QOpenGLWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -994,7 +994,7 @@ void PythonQtShell_QOpenGLWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1016,7 +1016,7 @@ int PythonQtShell_QOpenGLWidget::metric(QPaintDevice::PaintDeviceMetric metric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1049,7 +1049,7 @@ QSize PythonQtShell_QOpenGLWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1082,7 +1082,7 @@ void PythonQtShell_QOpenGLWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1104,7 +1104,7 @@ void PythonQtShell_QOpenGLWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1126,7 +1126,7 @@ void PythonQtShell_QOpenGLWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1148,7 +1148,7 @@ void PythonQtShell_QOpenGLWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1170,7 +1170,7 @@ void PythonQtShell_QOpenGLWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1192,7 +1192,7 @@ bool PythonQtShell_QOpenGLWidget::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1225,7 +1225,7 @@ QPaintEngine* PythonQtShell_QOpenGLWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1258,7 +1258,7 @@ void PythonQtShell_QOpenGLWidget::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1280,7 +1280,7 @@ void PythonQtShell_QOpenGLWidget::paintGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1302,7 +1302,7 @@ QPaintDevice* PythonQtShell_QOpenGLWidget::redirected(QPoint* p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1335,7 +1335,7 @@ void PythonQtShell_QOpenGLWidget::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1357,7 +1357,7 @@ void PythonQtShell_QOpenGLWidget::resizeGL(int w0, int h1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1379,7 +1379,7 @@ void PythonQtShell_QOpenGLWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1401,7 +1401,7 @@ QPainter* PythonQtShell_QOpenGLWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1434,7 +1434,7 @@ void PythonQtShell_QOpenGLWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1456,7 +1456,7 @@ QSize PythonQtShell_QOpenGLWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1489,7 +1489,7 @@ void PythonQtShell_QOpenGLWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1511,7 +1511,7 @@ void PythonQtShell_QOpenGLWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1533,7 +1533,7 @@ void PythonQtShell_QOpenGLWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1653,7 +1653,7 @@ void PythonQtShell_QOpenGLWindow::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1675,7 +1675,7 @@ void PythonQtShell_QOpenGLWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1697,7 +1697,7 @@ int PythonQtShell_QOpenGLWindow::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1730,7 +1730,7 @@ bool PythonQtShell_QOpenGLWindow::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1763,7 +1763,7 @@ bool PythonQtShell_QOpenGLWindow::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1796,7 +1796,7 @@ void PythonQtShell_QOpenGLWindow::exposeEvent(QExposeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exposeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1818,7 +1818,7 @@ void PythonQtShell_QOpenGLWindow::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1840,7 +1840,7 @@ QObject* PythonQtShell_QOpenGLWindow::focusObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1873,7 +1873,7 @@ void PythonQtShell_QOpenGLWindow::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1895,7 +1895,7 @@ QSurfaceFormat PythonQtShell_QOpenGLWindow::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1928,7 +1928,7 @@ void PythonQtShell_QOpenGLWindow::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1950,7 +1950,7 @@ void PythonQtShell_QOpenGLWindow::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1972,7 +1972,7 @@ void PythonQtShell_QOpenGLWindow::initializeGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initializeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1994,7 +1994,7 @@ void PythonQtShell_QOpenGLWindow::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2016,7 +2016,7 @@ void PythonQtShell_QOpenGLWindow::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2038,7 +2038,7 @@ int PythonQtShell_QOpenGLWindow::metric(QPaintDevice::PaintDeviceMetric metric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2071,7 +2071,7 @@ void PythonQtShell_QOpenGLWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2093,7 +2093,7 @@ void PythonQtShell_QOpenGLWindow::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2115,7 +2115,7 @@ void PythonQtShell_QOpenGLWindow::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2137,7 +2137,7 @@ void PythonQtShell_QOpenGLWindow::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2159,7 +2159,7 @@ void PythonQtShell_QOpenGLWindow::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2181,7 +2181,7 @@ bool PythonQtShell_QOpenGLWindow::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2214,7 +2214,7 @@ void PythonQtShell_QOpenGLWindow::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2236,7 +2236,7 @@ void PythonQtShell_QOpenGLWindow::paintGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2258,7 +2258,7 @@ void PythonQtShell_QOpenGLWindow::paintOverGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintOverGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2280,7 +2280,7 @@ void PythonQtShell_QOpenGLWindow::paintUnderGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintUnderGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2302,7 +2302,7 @@ QPaintDevice* PythonQtShell_QOpenGLWindow::redirected(QPoint* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2335,7 +2335,7 @@ void PythonQtShell_QOpenGLWindow::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2357,7 +2357,7 @@ void PythonQtShell_QOpenGLWindow::resizeGL(int w0, int h1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2379,7 +2379,7 @@ QPainter* PythonQtShell_QOpenGLWindow::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2412,7 +2412,7 @@ void PythonQtShell_QOpenGLWindow::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2434,7 +2434,7 @@ QSize PythonQtShell_QOpenGLWindow::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2467,7 +2467,7 @@ QSurface::SurfaceType PythonQtShell_QOpenGLWindow::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2500,7 +2500,7 @@ void PythonQtShell_QOpenGLWindow::tabletEvent(QTabletEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2522,7 +2522,7 @@ void PythonQtShell_QOpenGLWindow::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2544,7 +2544,7 @@ void PythonQtShell_QOpenGLWindow::touchEvent(QTouchEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2566,7 +2566,7 @@ void PythonQtShell_QOpenGLWindow::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2871,7 +2871,7 @@ void PythonQtShell_QPageSetupDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2893,7 +2893,7 @@ void PythonQtShell_QPageSetupDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2915,7 +2915,7 @@ void PythonQtShell_QPageSetupDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2937,7 +2937,7 @@ void PythonQtShell_QPageSetupDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2959,7 +2959,7 @@ void PythonQtShell_QPageSetupDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2981,7 +2981,7 @@ void PythonQtShell_QPageSetupDialog::contextMenuEvent(QContextMenuEvent* arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3003,7 +3003,7 @@ void PythonQtShell_QPageSetupDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3025,7 +3025,7 @@ int PythonQtShell_QPageSetupDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3058,7 +3058,7 @@ void PythonQtShell_QPageSetupDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3080,7 +3080,7 @@ void PythonQtShell_QPageSetupDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3102,7 +3102,7 @@ void PythonQtShell_QPageSetupDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3124,7 +3124,7 @@ void PythonQtShell_QPageSetupDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3146,7 +3146,7 @@ void PythonQtShell_QPageSetupDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3168,7 +3168,7 @@ void PythonQtShell_QPageSetupDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3190,7 +3190,7 @@ bool PythonQtShell_QPageSetupDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3223,7 +3223,7 @@ bool PythonQtShell_QPageSetupDialog::eventFilter(QObject* arg__1, QEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3256,7 +3256,7 @@ int PythonQtShell_QPageSetupDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3289,7 +3289,7 @@ void PythonQtShell_QPageSetupDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3311,7 +3311,7 @@ bool PythonQtShell_QPageSetupDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3344,7 +3344,7 @@ void PythonQtShell_QPageSetupDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3366,7 +3366,7 @@ bool PythonQtShell_QPageSetupDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3399,7 +3399,7 @@ int PythonQtShell_QPageSetupDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3432,7 +3432,7 @@ void PythonQtShell_QPageSetupDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3454,7 +3454,7 @@ void PythonQtShell_QPageSetupDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3476,7 +3476,7 @@ void PythonQtShell_QPageSetupDialog::inputMethodEvent(QInputMethodEvent* arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3498,7 +3498,7 @@ QVariant PythonQtShell_QPageSetupDialog::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3531,7 +3531,7 @@ void PythonQtShell_QPageSetupDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3553,7 +3553,7 @@ void PythonQtShell_QPageSetupDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3575,7 +3575,7 @@ void PythonQtShell_QPageSetupDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3597,7 +3597,7 @@ int PythonQtShell_QPageSetupDialog::metric(QPaintDevice::PaintDeviceMetric arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3630,7 +3630,7 @@ QSize PythonQtShell_QPageSetupDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3663,7 +3663,7 @@ void PythonQtShell_QPageSetupDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3685,7 +3685,7 @@ void PythonQtShell_QPageSetupDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3707,7 +3707,7 @@ void PythonQtShell_QPageSetupDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3729,7 +3729,7 @@ void PythonQtShell_QPageSetupDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3751,7 +3751,7 @@ void PythonQtShell_QPageSetupDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3773,7 +3773,7 @@ bool PythonQtShell_QPageSetupDialog::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3806,7 +3806,7 @@ QPaintEngine* PythonQtShell_QPageSetupDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3839,7 +3839,7 @@ void PythonQtShell_QPageSetupDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3861,7 +3861,7 @@ QPaintDevice* PythonQtShell_QPageSetupDialog::redirected(QPoint* offset0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3894,7 +3894,7 @@ void PythonQtShell_QPageSetupDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3916,7 +3916,7 @@ void PythonQtShell_QPageSetupDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3938,7 +3938,7 @@ void PythonQtShell_QPageSetupDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3960,7 +3960,7 @@ QPainter* PythonQtShell_QPageSetupDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3993,7 +3993,7 @@ void PythonQtShell_QPageSetupDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4015,7 +4015,7 @@ QSize PythonQtShell_QPageSetupDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4048,7 +4048,7 @@ void PythonQtShell_QPageSetupDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4070,7 +4070,7 @@ void PythonQtShell_QPageSetupDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4092,7 +4092,7 @@ void PythonQtShell_QPageSetupDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4407,7 +4407,7 @@ int PythonQtShell_QPaintDevice::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4440,7 +4440,7 @@ void PythonQtShell_QPaintDevice::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4462,7 +4462,7 @@ int PythonQtShell_QPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4495,7 +4495,7 @@ QPaintEngine* PythonQtShell_QPaintDevice::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4528,7 +4528,7 @@ QPaintDevice* PythonQtShell_QPaintDevice::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4561,7 +4561,7 @@ QPainter* PythonQtShell_QPaintDevice::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4721,7 +4721,7 @@ bool PythonQtShell_QPaintEngine::begin(QPaintDevice* pdev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("begin"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4754,7 +4754,7 @@ QPoint PythonQtShell_QPaintEngine::coordinateOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("coordinateOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4787,7 +4787,7 @@ void PythonQtShell_QPaintEngine::drawEllipse(const QRect& r0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawEllipse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4809,7 +4809,7 @@ void PythonQtShell_QPaintEngine::drawEllipse(const QRectF& r0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawEllipse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4831,7 +4831,7 @@ void PythonQtShell_QPaintEngine::drawImage(const QRectF& r0, const QImage& pm1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawImage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4853,7 +4853,7 @@ void PythonQtShell_QPaintEngine::drawLines(const QLine* lines0, int lineCount1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawLines"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4875,7 +4875,7 @@ void PythonQtShell_QPaintEngine::drawLines(const QLineF* lines0, int lineCount { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawLines"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4897,7 +4897,7 @@ void PythonQtShell_QPaintEngine::drawPath(const QPainterPath& path0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4919,7 +4919,7 @@ void PythonQtShell_QPaintEngine::drawPixmap(const QRectF& r0, const QPixmap& p { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4941,7 +4941,7 @@ void PythonQtShell_QPaintEngine::drawPoints(const QPoint* points0, int pointCo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawPoints"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4963,7 +4963,7 @@ void PythonQtShell_QPaintEngine::drawPoints(const QPointF* points0, int pointC { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawPoints"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4985,7 +4985,7 @@ void PythonQtShell_QPaintEngine::drawPolygon(const QPoint* points0, int pointC { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawPolygon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5007,7 +5007,7 @@ void PythonQtShell_QPaintEngine::drawPolygon(const QPointF* points0, int point { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawPolygon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5029,7 +5029,7 @@ void PythonQtShell_QPaintEngine::drawRects(const QRect* rects0, int rectCount1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawRects"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5051,7 +5051,7 @@ void PythonQtShell_QPaintEngine::drawRects(const QRectF* rects0, int rectCount { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawRects"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5073,7 +5073,7 @@ void PythonQtShell_QPaintEngine::drawTextItem(const QPointF& p0, const QTextIte { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawTextItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5095,7 +5095,7 @@ void PythonQtShell_QPaintEngine::drawTiledPixmap(const QRectF& r0, const QPixma { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawTiledPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5117,7 +5117,7 @@ bool PythonQtShell_QPaintEngine::end() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("end"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5150,7 +5150,7 @@ QPaintEngine::Type PythonQtShell_QPaintEngine::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5183,7 +5183,7 @@ void PythonQtShell_QPaintEngine::updateState(const QPaintEngineState& state0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7055,7 +7055,7 @@ void PythonQtShell_QPanGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7077,7 +7077,7 @@ void PythonQtShell_QPanGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7099,7 +7099,7 @@ bool PythonQtShell_QPanGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7132,7 +7132,7 @@ bool PythonQtShell_QPanGesture::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7165,7 +7165,7 @@ void PythonQtShell_QPanGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7245,7 +7245,7 @@ void PythonQtShell_QPdfWriter::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7267,7 +7267,7 @@ void PythonQtShell_QPdfWriter::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7289,7 +7289,7 @@ int PythonQtShell_QPdfWriter::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7322,7 +7322,7 @@ bool PythonQtShell_QPdfWriter::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7355,7 +7355,7 @@ bool PythonQtShell_QPdfWriter::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7388,7 +7388,7 @@ void PythonQtShell_QPdfWriter::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7410,7 +7410,7 @@ int PythonQtShell_QPdfWriter::metric(QPaintDevice::PaintDeviceMetric id0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7443,7 +7443,7 @@ bool PythonQtShell_QPdfWriter::newPage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7476,7 +7476,7 @@ QPaintEngine* PythonQtShell_QPdfWriter::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7509,7 +7509,7 @@ QPaintDevice* PythonQtShell_QPdfWriter::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7542,7 +7542,7 @@ void PythonQtShell_QPdfWriter::setMargins(const QPagedPaintDevice::Margins& m0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7564,7 +7564,7 @@ void PythonQtShell_QPdfWriter::setPageSize(QPagedPaintDevice::PageSize size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPageSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7586,7 +7586,7 @@ void PythonQtShell_QPdfWriter::setPageSizeMM(const QSizeF& size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPageSizeMM"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7608,7 +7608,7 @@ QPainter* PythonQtShell_QPdfWriter::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7641,7 +7641,7 @@ void PythonQtShell_QPdfWriter::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7745,7 +7745,7 @@ int PythonQtShell_QPicture::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7778,7 +7778,7 @@ void PythonQtShell_QPicture::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7800,7 +7800,7 @@ int PythonQtShell_QPicture::metric(QPaintDevice::PaintDeviceMetric m0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7833,7 +7833,7 @@ QPaintEngine* PythonQtShell_QPicture::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7866,7 +7866,7 @@ QPaintDevice* PythonQtShell_QPicture::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7899,7 +7899,7 @@ QPainter* PythonQtShell_QPicture::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8011,7 +8011,7 @@ void PythonQtShell_QPictureFormatPlugin::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8033,7 +8033,7 @@ void PythonQtShell_QPictureFormatPlugin::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8055,7 +8055,7 @@ bool PythonQtShell_QPictureFormatPlugin::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8088,7 +8088,7 @@ bool PythonQtShell_QPictureFormatPlugin::eventFilter(QObject* watched0, QEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8121,7 +8121,7 @@ bool PythonQtShell_QPictureFormatPlugin::installIOHandler(const QString& forma { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("installIOHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8154,7 +8154,7 @@ bool PythonQtShell_QPictureFormatPlugin::loadPicture(const QString& format0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("loadPicture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8187,7 +8187,7 @@ bool PythonQtShell_QPictureFormatPlugin::savePicture(const QString& format0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("savePicture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8220,7 +8220,7 @@ void PythonQtShell_QPictureFormatPlugin::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8414,7 +8414,7 @@ void PythonQtShell_QPinchGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8436,7 +8436,7 @@ void PythonQtShell_QPinchGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8458,7 +8458,7 @@ bool PythonQtShell_QPinchGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8491,7 +8491,7 @@ bool PythonQtShell_QPinchGesture::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8524,7 +8524,7 @@ void PythonQtShell_QPinchGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8904,7 +8904,7 @@ QRectF PythonQtShell_QPlainTextDocumentLayout::blockBoundingRect(const QTextBlo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("blockBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8937,7 +8937,7 @@ void PythonQtShell_QPlainTextDocumentLayout::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8959,7 +8959,7 @@ void PythonQtShell_QPlainTextDocumentLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8981,7 +8981,7 @@ void PythonQtShell_QPlainTextDocumentLayout::documentChanged(int from0, int ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("documentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9003,7 +9003,7 @@ QSizeF PythonQtShell_QPlainTextDocumentLayout::documentSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("documentSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9036,7 +9036,7 @@ void PythonQtShell_QPlainTextDocumentLayout::draw(QPainter* arg__1, const QAbst { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9058,7 +9058,7 @@ void PythonQtShell_QPlainTextDocumentLayout::drawInlineObject(QPainter* painter { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9080,7 +9080,7 @@ bool PythonQtShell_QPlainTextDocumentLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9113,7 +9113,7 @@ bool PythonQtShell_QPlainTextDocumentLayout::eventFilter(QObject* watched0, QE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9146,7 +9146,7 @@ QRectF PythonQtShell_QPlainTextDocumentLayout::frameBoundingRect(QTextFrame* a { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("frameBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9179,7 +9179,7 @@ int PythonQtShell_QPlainTextDocumentLayout::hitTest(const QPointF& arg__1, Qt: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9212,7 +9212,7 @@ int PythonQtShell_QPlainTextDocumentLayout::pageCount() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pageCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9245,7 +9245,7 @@ void PythonQtShell_QPlainTextDocumentLayout::positionInlineObject(QTextInlineObj { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("positionInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9267,7 +9267,7 @@ void PythonQtShell_QPlainTextDocumentLayout::resizeInlineObject(QTextInlineObjec { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9289,7 +9289,7 @@ void PythonQtShell_QPlainTextDocumentLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9354,7 +9354,7 @@ void PythonQtShell_QPlainTextEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9376,7 +9376,7 @@ bool PythonQtShell_QPlainTextEdit::canInsertFromMimeData(const QMimeData* sour { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canInsertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9409,7 +9409,7 @@ void PythonQtShell_QPlainTextEdit::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9431,7 +9431,7 @@ void PythonQtShell_QPlainTextEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9453,7 +9453,7 @@ void PythonQtShell_QPlainTextEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9475,7 +9475,7 @@ void PythonQtShell_QPlainTextEdit::contextMenuEvent(QContextMenuEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9497,7 +9497,7 @@ QMimeData* PythonQtShell_QPlainTextEdit::createMimeDataFromSelection() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createMimeDataFromSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9530,7 +9530,7 @@ void PythonQtShell_QPlainTextEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9552,7 +9552,7 @@ int PythonQtShell_QPlainTextEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9585,7 +9585,7 @@ void PythonQtShell_QPlainTextEdit::doSetTextCursor(const QTextCursor& cursor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doSetTextCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9607,7 +9607,7 @@ void PythonQtShell_QPlainTextEdit::dragEnterEvent(QDragEnterEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9629,7 +9629,7 @@ void PythonQtShell_QPlainTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9651,7 +9651,7 @@ void PythonQtShell_QPlainTextEdit::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9673,7 +9673,7 @@ void PythonQtShell_QPlainTextEdit::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9695,7 +9695,7 @@ void PythonQtShell_QPlainTextEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9717,7 +9717,7 @@ bool PythonQtShell_QPlainTextEdit::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9750,7 +9750,7 @@ bool PythonQtShell_QPlainTextEdit::eventFilter(QObject* arg__1, QEvent* arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9783,7 +9783,7 @@ void PythonQtShell_QPlainTextEdit::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9805,7 +9805,7 @@ bool PythonQtShell_QPlainTextEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9838,7 +9838,7 @@ void PythonQtShell_QPlainTextEdit::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9860,7 +9860,7 @@ bool PythonQtShell_QPlainTextEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9893,7 +9893,7 @@ int PythonQtShell_QPlainTextEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9926,7 +9926,7 @@ void PythonQtShell_QPlainTextEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9948,7 +9948,7 @@ void PythonQtShell_QPlainTextEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9970,7 +9970,7 @@ void PythonQtShell_QPlainTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9992,7 +9992,7 @@ QVariant PythonQtShell_QPlainTextEdit::inputMethodQuery(Qt::InputMethodQuery p { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10025,7 +10025,7 @@ void PythonQtShell_QPlainTextEdit::insertFromMimeData(const QMimeData* source0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10047,7 +10047,7 @@ void PythonQtShell_QPlainTextEdit::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10069,7 +10069,7 @@ void PythonQtShell_QPlainTextEdit::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10091,7 +10091,7 @@ void PythonQtShell_QPlainTextEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10113,7 +10113,7 @@ QVariant PythonQtShell_QPlainTextEdit::loadResource(int type0, const QUrl& na { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10146,7 +10146,7 @@ int PythonQtShell_QPlainTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10179,7 +10179,7 @@ QSize PythonQtShell_QPlainTextEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10212,7 +10212,7 @@ void PythonQtShell_QPlainTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10234,7 +10234,7 @@ void PythonQtShell_QPlainTextEdit::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10256,7 +10256,7 @@ void PythonQtShell_QPlainTextEdit::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10278,7 +10278,7 @@ void PythonQtShell_QPlainTextEdit::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10300,7 +10300,7 @@ void PythonQtShell_QPlainTextEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10322,7 +10322,7 @@ bool PythonQtShell_QPlainTextEdit::nativeEvent(const QByteArray& eventType0, v { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10355,7 +10355,7 @@ QPaintEngine* PythonQtShell_QPlainTextEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10388,7 +10388,7 @@ void PythonQtShell_QPlainTextEdit::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10410,7 +10410,7 @@ QPaintDevice* PythonQtShell_QPlainTextEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10443,7 +10443,7 @@ void PythonQtShell_QPlainTextEdit::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10465,7 +10465,7 @@ void PythonQtShell_QPlainTextEdit::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10487,7 +10487,7 @@ void PythonQtShell_QPlainTextEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10509,7 +10509,7 @@ void PythonQtShell_QPlainTextEdit::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10531,7 +10531,7 @@ QPainter* PythonQtShell_QPlainTextEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10564,7 +10564,7 @@ void PythonQtShell_QPlainTextEdit::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10586,7 +10586,7 @@ QSize PythonQtShell_QPlainTextEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10619,7 +10619,7 @@ void PythonQtShell_QPlainTextEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10641,7 +10641,7 @@ void PythonQtShell_QPlainTextEdit::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10663,7 +10663,7 @@ bool PythonQtShell_QPlainTextEdit::viewportEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10696,7 +10696,7 @@ QSize PythonQtShell_QPlainTextEdit::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10729,7 +10729,7 @@ void PythonQtShell_QPlainTextEdit::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp b/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp index 2908086fd..8286f8c79 100644 --- a/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp +++ b/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp @@ -481,7 +481,7 @@ void PythonQtShell_QPrintDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -503,7 +503,7 @@ void PythonQtShell_QPrintDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -525,7 +525,7 @@ void PythonQtShell_QPrintDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -547,7 +547,7 @@ void PythonQtShell_QPrintDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -569,7 +569,7 @@ void PythonQtShell_QPrintDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -591,7 +591,7 @@ void PythonQtShell_QPrintDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -613,7 +613,7 @@ void PythonQtShell_QPrintDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -635,7 +635,7 @@ int PythonQtShell_QPrintDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -668,7 +668,7 @@ void PythonQtShell_QPrintDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -690,7 +690,7 @@ void PythonQtShell_QPrintDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -712,7 +712,7 @@ void PythonQtShell_QPrintDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -734,7 +734,7 @@ void PythonQtShell_QPrintDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -756,7 +756,7 @@ void PythonQtShell_QPrintDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -778,7 +778,7 @@ void PythonQtShell_QPrintDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -800,7 +800,7 @@ bool PythonQtShell_QPrintDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -833,7 +833,7 @@ bool PythonQtShell_QPrintDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -866,7 +866,7 @@ int PythonQtShell_QPrintDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -899,7 +899,7 @@ void PythonQtShell_QPrintDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -921,7 +921,7 @@ bool PythonQtShell_QPrintDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -954,7 +954,7 @@ void PythonQtShell_QPrintDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -976,7 +976,7 @@ bool PythonQtShell_QPrintDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1009,7 +1009,7 @@ int PythonQtShell_QPrintDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1042,7 +1042,7 @@ void PythonQtShell_QPrintDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1064,7 +1064,7 @@ void PythonQtShell_QPrintDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1086,7 +1086,7 @@ void PythonQtShell_QPrintDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1108,7 +1108,7 @@ QVariant PythonQtShell_QPrintDialog::inputMethodQuery(Qt::InputMethodQuery arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1141,7 +1141,7 @@ void PythonQtShell_QPrintDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1163,7 +1163,7 @@ void PythonQtShell_QPrintDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1185,7 +1185,7 @@ void PythonQtShell_QPrintDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1207,7 +1207,7 @@ int PythonQtShell_QPrintDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1240,7 +1240,7 @@ QSize PythonQtShell_QPrintDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1273,7 +1273,7 @@ void PythonQtShell_QPrintDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1295,7 +1295,7 @@ void PythonQtShell_QPrintDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1317,7 +1317,7 @@ void PythonQtShell_QPrintDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1339,7 +1339,7 @@ void PythonQtShell_QPrintDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1361,7 +1361,7 @@ void PythonQtShell_QPrintDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1383,7 +1383,7 @@ bool PythonQtShell_QPrintDialog::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1416,7 +1416,7 @@ QPaintEngine* PythonQtShell_QPrintDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1449,7 +1449,7 @@ void PythonQtShell_QPrintDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1471,7 +1471,7 @@ QPaintDevice* PythonQtShell_QPrintDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1504,7 +1504,7 @@ void PythonQtShell_QPrintDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1526,7 +1526,7 @@ void PythonQtShell_QPrintDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1548,7 +1548,7 @@ void PythonQtShell_QPrintDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1570,7 +1570,7 @@ QPainter* PythonQtShell_QPrintDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1603,7 +1603,7 @@ void PythonQtShell_QPrintDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1625,7 +1625,7 @@ QSize PythonQtShell_QPrintDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1658,7 +1658,7 @@ void PythonQtShell_QPrintDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1680,7 +1680,7 @@ void PythonQtShell_QPrintDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1702,7 +1702,7 @@ void PythonQtShell_QPrintDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1776,7 +1776,7 @@ bool PythonQtShell_QPrintEngine::abort() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("abort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1809,7 +1809,7 @@ int PythonQtShell_QPrintEngine::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1842,7 +1842,7 @@ bool PythonQtShell_QPrintEngine::newPage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1875,7 +1875,7 @@ QPrinter::PrinterState PythonQtShell_QPrintEngine::printerState() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("printerState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1908,7 +1908,7 @@ QVariant PythonQtShell_QPrintEngine::property(QPrintEngine::PrintEngineProperty { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("property"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1941,7 +1941,7 @@ void PythonQtShell_QPrintEngine::setProperty(QPrintEngine::PrintEnginePropertyKe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2003,7 +2003,7 @@ void PythonQtShell_QPrintPreviewDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2025,7 +2025,7 @@ void PythonQtShell_QPrintPreviewDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2047,7 +2047,7 @@ void PythonQtShell_QPrintPreviewDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2069,7 +2069,7 @@ void PythonQtShell_QPrintPreviewDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2091,7 +2091,7 @@ void PythonQtShell_QPrintPreviewDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2113,7 +2113,7 @@ void PythonQtShell_QPrintPreviewDialog::contextMenuEvent(QContextMenuEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2135,7 +2135,7 @@ void PythonQtShell_QPrintPreviewDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2157,7 +2157,7 @@ int PythonQtShell_QPrintPreviewDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2190,7 +2190,7 @@ void PythonQtShell_QPrintPreviewDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2212,7 +2212,7 @@ void PythonQtShell_QPrintPreviewDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2234,7 +2234,7 @@ void PythonQtShell_QPrintPreviewDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2256,7 +2256,7 @@ void PythonQtShell_QPrintPreviewDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2278,7 +2278,7 @@ void PythonQtShell_QPrintPreviewDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2300,7 +2300,7 @@ void PythonQtShell_QPrintPreviewDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2322,7 +2322,7 @@ bool PythonQtShell_QPrintPreviewDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2355,7 +2355,7 @@ bool PythonQtShell_QPrintPreviewDialog::eventFilter(QObject* arg__1, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2388,7 +2388,7 @@ int PythonQtShell_QPrintPreviewDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2421,7 +2421,7 @@ void PythonQtShell_QPrintPreviewDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2443,7 +2443,7 @@ bool PythonQtShell_QPrintPreviewDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2476,7 +2476,7 @@ void PythonQtShell_QPrintPreviewDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2498,7 +2498,7 @@ bool PythonQtShell_QPrintPreviewDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2531,7 +2531,7 @@ int PythonQtShell_QPrintPreviewDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2564,7 +2564,7 @@ void PythonQtShell_QPrintPreviewDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2586,7 +2586,7 @@ void PythonQtShell_QPrintPreviewDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2608,7 +2608,7 @@ void PythonQtShell_QPrintPreviewDialog::inputMethodEvent(QInputMethodEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2630,7 +2630,7 @@ QVariant PythonQtShell_QPrintPreviewDialog::inputMethodQuery(Qt::InputMethodQue { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2663,7 +2663,7 @@ void PythonQtShell_QPrintPreviewDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2685,7 +2685,7 @@ void PythonQtShell_QPrintPreviewDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2707,7 +2707,7 @@ void PythonQtShell_QPrintPreviewDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2729,7 +2729,7 @@ int PythonQtShell_QPrintPreviewDialog::metric(QPaintDevice::PaintDeviceMetric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2762,7 +2762,7 @@ QSize PythonQtShell_QPrintPreviewDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2795,7 +2795,7 @@ void PythonQtShell_QPrintPreviewDialog::mouseDoubleClickEvent(QMouseEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2817,7 +2817,7 @@ void PythonQtShell_QPrintPreviewDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2839,7 +2839,7 @@ void PythonQtShell_QPrintPreviewDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2861,7 +2861,7 @@ void PythonQtShell_QPrintPreviewDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2883,7 +2883,7 @@ void PythonQtShell_QPrintPreviewDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2905,7 +2905,7 @@ bool PythonQtShell_QPrintPreviewDialog::nativeEvent(const QByteArray& eventTyp { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2938,7 +2938,7 @@ QPaintEngine* PythonQtShell_QPrintPreviewDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2971,7 +2971,7 @@ void PythonQtShell_QPrintPreviewDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2993,7 +2993,7 @@ QPaintDevice* PythonQtShell_QPrintPreviewDialog::redirected(QPoint* offset0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3026,7 +3026,7 @@ void PythonQtShell_QPrintPreviewDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3048,7 +3048,7 @@ void PythonQtShell_QPrintPreviewDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3070,7 +3070,7 @@ void PythonQtShell_QPrintPreviewDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3092,7 +3092,7 @@ QPainter* PythonQtShell_QPrintPreviewDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3125,7 +3125,7 @@ void PythonQtShell_QPrintPreviewDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3147,7 +3147,7 @@ QSize PythonQtShell_QPrintPreviewDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3180,7 +3180,7 @@ void PythonQtShell_QPrintPreviewDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3202,7 +3202,7 @@ void PythonQtShell_QPrintPreviewDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3224,7 +3224,7 @@ void PythonQtShell_QPrintPreviewDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3283,7 +3283,7 @@ void PythonQtShell_QPrintPreviewWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3305,7 +3305,7 @@ void PythonQtShell_QPrintPreviewWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3327,7 +3327,7 @@ void PythonQtShell_QPrintPreviewWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3349,7 +3349,7 @@ void PythonQtShell_QPrintPreviewWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3371,7 +3371,7 @@ void PythonQtShell_QPrintPreviewWidget::contextMenuEvent(QContextMenuEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3393,7 +3393,7 @@ void PythonQtShell_QPrintPreviewWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3415,7 +3415,7 @@ int PythonQtShell_QPrintPreviewWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3448,7 +3448,7 @@ void PythonQtShell_QPrintPreviewWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3470,7 +3470,7 @@ void PythonQtShell_QPrintPreviewWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3492,7 +3492,7 @@ void PythonQtShell_QPrintPreviewWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3514,7 +3514,7 @@ void PythonQtShell_QPrintPreviewWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3536,7 +3536,7 @@ void PythonQtShell_QPrintPreviewWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3558,7 +3558,7 @@ bool PythonQtShell_QPrintPreviewWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3591,7 +3591,7 @@ bool PythonQtShell_QPrintPreviewWidget::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3624,7 +3624,7 @@ void PythonQtShell_QPrintPreviewWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3646,7 +3646,7 @@ bool PythonQtShell_QPrintPreviewWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3679,7 +3679,7 @@ void PythonQtShell_QPrintPreviewWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3701,7 +3701,7 @@ bool PythonQtShell_QPrintPreviewWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3734,7 +3734,7 @@ int PythonQtShell_QPrintPreviewWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3767,7 +3767,7 @@ void PythonQtShell_QPrintPreviewWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3789,7 +3789,7 @@ void PythonQtShell_QPrintPreviewWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3811,7 +3811,7 @@ void PythonQtShell_QPrintPreviewWidget::inputMethodEvent(QInputMethodEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3833,7 +3833,7 @@ QVariant PythonQtShell_QPrintPreviewWidget::inputMethodQuery(Qt::InputMethodQue { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3866,7 +3866,7 @@ void PythonQtShell_QPrintPreviewWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3888,7 +3888,7 @@ void PythonQtShell_QPrintPreviewWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3910,7 +3910,7 @@ void PythonQtShell_QPrintPreviewWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3932,7 +3932,7 @@ int PythonQtShell_QPrintPreviewWidget::metric(QPaintDevice::PaintDeviceMetric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3965,7 +3965,7 @@ QSize PythonQtShell_QPrintPreviewWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3998,7 +3998,7 @@ void PythonQtShell_QPrintPreviewWidget::mouseDoubleClickEvent(QMouseEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4020,7 +4020,7 @@ void PythonQtShell_QPrintPreviewWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4042,7 +4042,7 @@ void PythonQtShell_QPrintPreviewWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4064,7 +4064,7 @@ void PythonQtShell_QPrintPreviewWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4086,7 +4086,7 @@ void PythonQtShell_QPrintPreviewWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4108,7 +4108,7 @@ bool PythonQtShell_QPrintPreviewWidget::nativeEvent(const QByteArray& eventTyp { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4141,7 +4141,7 @@ QPaintEngine* PythonQtShell_QPrintPreviewWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4174,7 +4174,7 @@ void PythonQtShell_QPrintPreviewWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4196,7 +4196,7 @@ QPaintDevice* PythonQtShell_QPrintPreviewWidget::redirected(QPoint* offset0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4229,7 +4229,7 @@ void PythonQtShell_QPrintPreviewWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4251,7 +4251,7 @@ void PythonQtShell_QPrintPreviewWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4273,7 +4273,7 @@ QPainter* PythonQtShell_QPrintPreviewWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4306,7 +4306,7 @@ void PythonQtShell_QPrintPreviewWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4328,7 +4328,7 @@ QSize PythonQtShell_QPrintPreviewWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4361,7 +4361,7 @@ void PythonQtShell_QPrintPreviewWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4383,7 +4383,7 @@ void PythonQtShell_QPrintPreviewWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4405,7 +4405,7 @@ void PythonQtShell_QPrintPreviewWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4484,7 +4484,7 @@ int PythonQtShell_QPrinter::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4517,7 +4517,7 @@ void PythonQtShell_QPrinter::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4539,7 +4539,7 @@ int PythonQtShell_QPrinter::metric(QPaintDevice::PaintDeviceMetric arg__1) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4572,7 +4572,7 @@ bool PythonQtShell_QPrinter::newPage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4605,7 +4605,7 @@ QPaintEngine* PythonQtShell_QPrinter::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4638,7 +4638,7 @@ QPaintDevice* PythonQtShell_QPrinter::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4671,7 +4671,7 @@ void PythonQtShell_QPrinter::setMargins(const QPagedPaintDevice::Margins& m0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4693,7 +4693,7 @@ void PythonQtShell_QPrinter::setPageSize(QPagedPaintDevice::PageSize arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPageSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4715,7 +4715,7 @@ void PythonQtShell_QPrinter::setPageSizeMM(const QSizeF& size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPageSizeMM"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4737,7 +4737,7 @@ QPainter* PythonQtShell_QPrinter::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5253,7 +5253,7 @@ void PythonQtShell_QProgressBar::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5275,7 +5275,7 @@ void PythonQtShell_QProgressBar::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5297,7 +5297,7 @@ void PythonQtShell_QProgressBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5319,7 +5319,7 @@ void PythonQtShell_QProgressBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5341,7 +5341,7 @@ void PythonQtShell_QProgressBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5363,7 +5363,7 @@ void PythonQtShell_QProgressBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5385,7 +5385,7 @@ int PythonQtShell_QProgressBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5418,7 +5418,7 @@ void PythonQtShell_QProgressBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5440,7 +5440,7 @@ void PythonQtShell_QProgressBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5462,7 +5462,7 @@ void PythonQtShell_QProgressBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5484,7 +5484,7 @@ void PythonQtShell_QProgressBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5506,7 +5506,7 @@ void PythonQtShell_QProgressBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5528,7 +5528,7 @@ bool PythonQtShell_QProgressBar::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5561,7 +5561,7 @@ bool PythonQtShell_QProgressBar::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5594,7 +5594,7 @@ void PythonQtShell_QProgressBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5616,7 +5616,7 @@ bool PythonQtShell_QProgressBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5649,7 +5649,7 @@ void PythonQtShell_QProgressBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5671,7 +5671,7 @@ bool PythonQtShell_QProgressBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5704,7 +5704,7 @@ int PythonQtShell_QProgressBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5737,7 +5737,7 @@ void PythonQtShell_QProgressBar::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5759,7 +5759,7 @@ void PythonQtShell_QProgressBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5781,7 +5781,7 @@ void PythonQtShell_QProgressBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5803,7 +5803,7 @@ QVariant PythonQtShell_QProgressBar::inputMethodQuery(Qt::InputMethodQuery arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5836,7 +5836,7 @@ void PythonQtShell_QProgressBar::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5858,7 +5858,7 @@ void PythonQtShell_QProgressBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5880,7 +5880,7 @@ void PythonQtShell_QProgressBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5902,7 +5902,7 @@ int PythonQtShell_QProgressBar::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5935,7 +5935,7 @@ QSize PythonQtShell_QProgressBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5968,7 +5968,7 @@ void PythonQtShell_QProgressBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5990,7 +5990,7 @@ void PythonQtShell_QProgressBar::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6012,7 +6012,7 @@ void PythonQtShell_QProgressBar::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6034,7 +6034,7 @@ void PythonQtShell_QProgressBar::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6056,7 +6056,7 @@ void PythonQtShell_QProgressBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6078,7 +6078,7 @@ bool PythonQtShell_QProgressBar::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6111,7 +6111,7 @@ QPaintEngine* PythonQtShell_QProgressBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6144,7 +6144,7 @@ void PythonQtShell_QProgressBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6166,7 +6166,7 @@ QPaintDevice* PythonQtShell_QProgressBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6199,7 +6199,7 @@ void PythonQtShell_QProgressBar::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6221,7 +6221,7 @@ void PythonQtShell_QProgressBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6243,7 +6243,7 @@ QPainter* PythonQtShell_QProgressBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6276,7 +6276,7 @@ void PythonQtShell_QProgressBar::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6298,7 +6298,7 @@ QSize PythonQtShell_QProgressBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6331,7 +6331,7 @@ void PythonQtShell_QProgressBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6353,7 +6353,7 @@ QString PythonQtShell_QProgressBar::text() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("text"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6386,7 +6386,7 @@ void PythonQtShell_QProgressBar::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6408,7 +6408,7 @@ void PythonQtShell_QProgressBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6548,7 +6548,7 @@ void PythonQtShell_QProgressDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6570,7 +6570,7 @@ void PythonQtShell_QProgressDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6592,7 +6592,7 @@ void PythonQtShell_QProgressDialog::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6614,7 +6614,7 @@ void PythonQtShell_QProgressDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6636,7 +6636,7 @@ void PythonQtShell_QProgressDialog::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6658,7 +6658,7 @@ void PythonQtShell_QProgressDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6680,7 +6680,7 @@ void PythonQtShell_QProgressDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6702,7 +6702,7 @@ int PythonQtShell_QProgressDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6735,7 +6735,7 @@ void PythonQtShell_QProgressDialog::done(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6757,7 +6757,7 @@ void PythonQtShell_QProgressDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6779,7 +6779,7 @@ void PythonQtShell_QProgressDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6801,7 +6801,7 @@ void PythonQtShell_QProgressDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6823,7 +6823,7 @@ void PythonQtShell_QProgressDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6845,7 +6845,7 @@ void PythonQtShell_QProgressDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6867,7 +6867,7 @@ bool PythonQtShell_QProgressDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6900,7 +6900,7 @@ bool PythonQtShell_QProgressDialog::eventFilter(QObject* arg__1, QEvent* arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6933,7 +6933,7 @@ int PythonQtShell_QProgressDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6966,7 +6966,7 @@ void PythonQtShell_QProgressDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6988,7 +6988,7 @@ bool PythonQtShell_QProgressDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7021,7 +7021,7 @@ void PythonQtShell_QProgressDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7043,7 +7043,7 @@ bool PythonQtShell_QProgressDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7076,7 +7076,7 @@ int PythonQtShell_QProgressDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7109,7 +7109,7 @@ void PythonQtShell_QProgressDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7131,7 +7131,7 @@ void PythonQtShell_QProgressDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7153,7 +7153,7 @@ void PythonQtShell_QProgressDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7175,7 +7175,7 @@ QVariant PythonQtShell_QProgressDialog::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7208,7 +7208,7 @@ void PythonQtShell_QProgressDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7230,7 +7230,7 @@ void PythonQtShell_QProgressDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7252,7 +7252,7 @@ void PythonQtShell_QProgressDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7274,7 +7274,7 @@ int PythonQtShell_QProgressDialog::metric(QPaintDevice::PaintDeviceMetric arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7307,7 +7307,7 @@ QSize PythonQtShell_QProgressDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7340,7 +7340,7 @@ void PythonQtShell_QProgressDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7362,7 +7362,7 @@ void PythonQtShell_QProgressDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7384,7 +7384,7 @@ void PythonQtShell_QProgressDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7406,7 +7406,7 @@ void PythonQtShell_QProgressDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7428,7 +7428,7 @@ void PythonQtShell_QProgressDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7450,7 +7450,7 @@ bool PythonQtShell_QProgressDialog::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7483,7 +7483,7 @@ QPaintEngine* PythonQtShell_QProgressDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7516,7 +7516,7 @@ void PythonQtShell_QProgressDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7538,7 +7538,7 @@ QPaintDevice* PythonQtShell_QProgressDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7571,7 +7571,7 @@ void PythonQtShell_QProgressDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7593,7 +7593,7 @@ void PythonQtShell_QProgressDialog::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7615,7 +7615,7 @@ void PythonQtShell_QProgressDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7637,7 +7637,7 @@ QPainter* PythonQtShell_QProgressDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7670,7 +7670,7 @@ void PythonQtShell_QProgressDialog::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7692,7 +7692,7 @@ QSize PythonQtShell_QProgressDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7725,7 +7725,7 @@ void PythonQtShell_QProgressDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7747,7 +7747,7 @@ void PythonQtShell_QProgressDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7769,7 +7769,7 @@ void PythonQtShell_QProgressDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7888,7 +7888,7 @@ void PythonQtShell_QProxyStyle::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7910,7 +7910,7 @@ void PythonQtShell_QProxyStyle::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7932,7 +7932,7 @@ void PythonQtShell_QProxyStyle::drawComplexControl(QStyle::ComplexControl contr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7954,7 +7954,7 @@ void PythonQtShell_QProxyStyle::drawControl(QStyle::ControlElement element0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7976,7 +7976,7 @@ void PythonQtShell_QProxyStyle::drawItemPixmap(QPainter* painter0, const QRect& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawItemPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7998,7 +7998,7 @@ void PythonQtShell_QProxyStyle::drawItemText(QPainter* painter0, const QRect& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawItemText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8020,7 +8020,7 @@ void PythonQtShell_QProxyStyle::drawPrimitive(QStyle::PrimitiveElement element0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawPrimitive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8042,7 +8042,7 @@ bool PythonQtShell_QProxyStyle::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8075,7 +8075,7 @@ bool PythonQtShell_QProxyStyle::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8108,7 +8108,7 @@ QPixmap PythonQtShell_QProxyStyle::generatedIconPixmap(QIcon::Mode iconMode0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("generatedIconPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8141,7 +8141,7 @@ QStyle::SubControl PythonQtShell_QProxyStyle::hitTestComplexControl(QStyle::Com { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitTestComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8174,7 +8174,7 @@ QRect PythonQtShell_QProxyStyle::itemPixmapRect(const QRect& r0, int flags1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemPixmapRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8207,7 +8207,7 @@ QRect PythonQtShell_QProxyStyle::itemTextRect(const QFontMetrics& fm0, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemTextRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8240,7 +8240,7 @@ int PythonQtShell_QProxyStyle::layoutSpacing(QSizePolicy::ControlType control1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layoutSpacing"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8273,7 +8273,7 @@ int PythonQtShell_QProxyStyle::pixelMetric(QStyle::PixelMetric metric0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pixelMetric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8306,7 +8306,7 @@ void PythonQtShell_QProxyStyle::polish(QApplication* app0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8328,7 +8328,7 @@ void PythonQtShell_QProxyStyle::polish(QPalette& pal0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8350,7 +8350,7 @@ void PythonQtShell_QProxyStyle::polish(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8372,7 +8372,7 @@ QSize PythonQtShell_QProxyStyle::sizeFromContents(QStyle::ContentsType type0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8405,7 +8405,7 @@ QIcon PythonQtShell_QProxyStyle::standardIcon(QStyle::StandardPixmap standardI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("standardIcon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8438,7 +8438,7 @@ QPalette PythonQtShell_QProxyStyle::standardPalette() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("standardPalette"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8471,7 +8471,7 @@ QPixmap PythonQtShell_QProxyStyle::standardPixmap(QStyle::StandardPixmap stand { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("standardPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8504,7 +8504,7 @@ int PythonQtShell_QProxyStyle::styleHint(QStyle::StyleHint hint0, const QStyle { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("styleHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8537,7 +8537,7 @@ QRect PythonQtShell_QProxyStyle::subControlRect(QStyle::ComplexControl cc0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("subControlRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8570,7 +8570,7 @@ QRect PythonQtShell_QProxyStyle::subElementRect(QStyle::SubElement element0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("subElementRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8603,7 +8603,7 @@ void PythonQtShell_QProxyStyle::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8625,7 +8625,7 @@ void PythonQtShell_QProxyStyle::unpolish(QApplication* app0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8647,7 +8647,7 @@ void PythonQtShell_QProxyStyle::unpolish(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8711,7 +8711,7 @@ void PythonQtShell_QPushButton::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8733,7 +8733,7 @@ void PythonQtShell_QPushButton::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8755,7 +8755,7 @@ void PythonQtShell_QPushButton::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8777,7 +8777,7 @@ void PythonQtShell_QPushButton::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8799,7 +8799,7 @@ void PythonQtShell_QPushButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8821,7 +8821,7 @@ void PythonQtShell_QPushButton::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8843,7 +8843,7 @@ void PythonQtShell_QPushButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8865,7 +8865,7 @@ int PythonQtShell_QPushButton::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8898,7 +8898,7 @@ void PythonQtShell_QPushButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8920,7 +8920,7 @@ void PythonQtShell_QPushButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8942,7 +8942,7 @@ void PythonQtShell_QPushButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8964,7 +8964,7 @@ void PythonQtShell_QPushButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8986,7 +8986,7 @@ void PythonQtShell_QPushButton::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9008,7 +9008,7 @@ bool PythonQtShell_QPushButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9041,7 +9041,7 @@ bool PythonQtShell_QPushButton::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9074,7 +9074,7 @@ void PythonQtShell_QPushButton::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9096,7 +9096,7 @@ bool PythonQtShell_QPushButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9129,7 +9129,7 @@ void PythonQtShell_QPushButton::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9151,7 +9151,7 @@ bool PythonQtShell_QPushButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9184,7 +9184,7 @@ int PythonQtShell_QPushButton::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9217,7 +9217,7 @@ void PythonQtShell_QPushButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9239,7 +9239,7 @@ bool PythonQtShell_QPushButton::hitButton(const QPoint& pos0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9272,7 +9272,7 @@ void PythonQtShell_QPushButton::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9294,7 +9294,7 @@ void PythonQtShell_QPushButton::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9316,7 +9316,7 @@ QVariant PythonQtShell_QPushButton::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9349,7 +9349,7 @@ void PythonQtShell_QPushButton::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9371,7 +9371,7 @@ void PythonQtShell_QPushButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9393,7 +9393,7 @@ void PythonQtShell_QPushButton::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9415,7 +9415,7 @@ int PythonQtShell_QPushButton::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9448,7 +9448,7 @@ QSize PythonQtShell_QPushButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9481,7 +9481,7 @@ void PythonQtShell_QPushButton::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9503,7 +9503,7 @@ void PythonQtShell_QPushButton::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9525,7 +9525,7 @@ void PythonQtShell_QPushButton::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9547,7 +9547,7 @@ void PythonQtShell_QPushButton::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9569,7 +9569,7 @@ void PythonQtShell_QPushButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9591,7 +9591,7 @@ bool PythonQtShell_QPushButton::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9624,7 +9624,7 @@ void PythonQtShell_QPushButton::nextCheckState() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9646,7 +9646,7 @@ QPaintEngine* PythonQtShell_QPushButton::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9679,7 +9679,7 @@ void PythonQtShell_QPushButton::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9701,7 +9701,7 @@ QPaintDevice* PythonQtShell_QPushButton::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9734,7 +9734,7 @@ void PythonQtShell_QPushButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9756,7 +9756,7 @@ void PythonQtShell_QPushButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9778,7 +9778,7 @@ QPainter* PythonQtShell_QPushButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9811,7 +9811,7 @@ void PythonQtShell_QPushButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9833,7 +9833,7 @@ QSize PythonQtShell_QPushButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9866,7 +9866,7 @@ void PythonQtShell_QPushButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9888,7 +9888,7 @@ void PythonQtShell_QPushButton::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9910,7 +9910,7 @@ void PythonQtShell_QPushButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10393,7 +10393,7 @@ void PythonQtShell_QRadioButton::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10415,7 +10415,7 @@ void PythonQtShell_QRadioButton::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10437,7 +10437,7 @@ void PythonQtShell_QRadioButton::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10459,7 +10459,7 @@ void PythonQtShell_QRadioButton::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10481,7 +10481,7 @@ void PythonQtShell_QRadioButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10503,7 +10503,7 @@ void PythonQtShell_QRadioButton::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10525,7 +10525,7 @@ void PythonQtShell_QRadioButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10547,7 +10547,7 @@ int PythonQtShell_QRadioButton::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10580,7 +10580,7 @@ void PythonQtShell_QRadioButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10602,7 +10602,7 @@ void PythonQtShell_QRadioButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10624,7 +10624,7 @@ void PythonQtShell_QRadioButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10646,7 +10646,7 @@ void PythonQtShell_QRadioButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10668,7 +10668,7 @@ void PythonQtShell_QRadioButton::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10690,7 +10690,7 @@ bool PythonQtShell_QRadioButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10723,7 +10723,7 @@ bool PythonQtShell_QRadioButton::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10756,7 +10756,7 @@ void PythonQtShell_QRadioButton::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10778,7 +10778,7 @@ bool PythonQtShell_QRadioButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10811,7 +10811,7 @@ void PythonQtShell_QRadioButton::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10833,7 +10833,7 @@ bool PythonQtShell_QRadioButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10866,7 +10866,7 @@ int PythonQtShell_QRadioButton::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10899,7 +10899,7 @@ void PythonQtShell_QRadioButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10921,7 +10921,7 @@ bool PythonQtShell_QRadioButton::hitButton(const QPoint& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10954,7 +10954,7 @@ void PythonQtShell_QRadioButton::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10976,7 +10976,7 @@ void PythonQtShell_QRadioButton::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10998,7 +10998,7 @@ QVariant PythonQtShell_QRadioButton::inputMethodQuery(Qt::InputMethodQuery arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11031,7 +11031,7 @@ void PythonQtShell_QRadioButton::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11053,7 +11053,7 @@ void PythonQtShell_QRadioButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11075,7 +11075,7 @@ void PythonQtShell_QRadioButton::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11097,7 +11097,7 @@ int PythonQtShell_QRadioButton::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11130,7 +11130,7 @@ QSize PythonQtShell_QRadioButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11163,7 +11163,7 @@ void PythonQtShell_QRadioButton::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11185,7 +11185,7 @@ void PythonQtShell_QRadioButton::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11207,7 +11207,7 @@ void PythonQtShell_QRadioButton::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11229,7 +11229,7 @@ void PythonQtShell_QRadioButton::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11251,7 +11251,7 @@ void PythonQtShell_QRadioButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11273,7 +11273,7 @@ bool PythonQtShell_QRadioButton::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11306,7 +11306,7 @@ void PythonQtShell_QRadioButton::nextCheckState() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11328,7 +11328,7 @@ QPaintEngine* PythonQtShell_QRadioButton::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11361,7 +11361,7 @@ void PythonQtShell_QRadioButton::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11383,7 +11383,7 @@ QPaintDevice* PythonQtShell_QRadioButton::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11416,7 +11416,7 @@ void PythonQtShell_QRadioButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11438,7 +11438,7 @@ void PythonQtShell_QRadioButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11460,7 +11460,7 @@ QPainter* PythonQtShell_QRadioButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11493,7 +11493,7 @@ void PythonQtShell_QRadioButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11515,7 +11515,7 @@ QSize PythonQtShell_QRadioButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11548,7 +11548,7 @@ void PythonQtShell_QRadioButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11570,7 +11570,7 @@ void PythonQtShell_QRadioButton::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11592,7 +11592,7 @@ void PythonQtShell_QRadioButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11656,7 +11656,7 @@ void PythonQtShell_QRasterWindow::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11678,7 +11678,7 @@ void PythonQtShell_QRasterWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11700,7 +11700,7 @@ int PythonQtShell_QRasterWindow::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11733,7 +11733,7 @@ bool PythonQtShell_QRasterWindow::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11766,7 +11766,7 @@ bool PythonQtShell_QRasterWindow::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11799,7 +11799,7 @@ void PythonQtShell_QRasterWindow::exposeEvent(QExposeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exposeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11821,7 +11821,7 @@ void PythonQtShell_QRasterWindow::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11843,7 +11843,7 @@ QObject* PythonQtShell_QRasterWindow::focusObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11876,7 +11876,7 @@ void PythonQtShell_QRasterWindow::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11898,7 +11898,7 @@ QSurfaceFormat PythonQtShell_QRasterWindow::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11931,7 +11931,7 @@ void PythonQtShell_QRasterWindow::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11953,7 +11953,7 @@ void PythonQtShell_QRasterWindow::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11975,7 +11975,7 @@ void PythonQtShell_QRasterWindow::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11997,7 +11997,7 @@ void PythonQtShell_QRasterWindow::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12019,7 +12019,7 @@ int PythonQtShell_QRasterWindow::metric(QPaintDevice::PaintDeviceMetric metric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12052,7 +12052,7 @@ void PythonQtShell_QRasterWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12074,7 +12074,7 @@ void PythonQtShell_QRasterWindow::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12096,7 +12096,7 @@ void PythonQtShell_QRasterWindow::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12118,7 +12118,7 @@ void PythonQtShell_QRasterWindow::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12140,7 +12140,7 @@ void PythonQtShell_QRasterWindow::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12162,7 +12162,7 @@ bool PythonQtShell_QRasterWindow::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12195,7 +12195,7 @@ void PythonQtShell_QRasterWindow::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12217,7 +12217,7 @@ QPaintDevice* PythonQtShell_QRasterWindow::redirected(QPoint* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12250,7 +12250,7 @@ void PythonQtShell_QRasterWindow::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12272,7 +12272,7 @@ QPainter* PythonQtShell_QRasterWindow::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12305,7 +12305,7 @@ void PythonQtShell_QRasterWindow::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12327,7 +12327,7 @@ QSize PythonQtShell_QRasterWindow::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12360,7 +12360,7 @@ QSurface::SurfaceType PythonQtShell_QRasterWindow::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12393,7 +12393,7 @@ void PythonQtShell_QRasterWindow::tabletEvent(QTabletEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12415,7 +12415,7 @@ void PythonQtShell_QRasterWindow::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12437,7 +12437,7 @@ void PythonQtShell_QRasterWindow::touchEvent(QTouchEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12459,7 +12459,7 @@ void PythonQtShell_QRasterWindow::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12712,7 +12712,7 @@ void PythonQtShell_QRegExpValidator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12734,7 +12734,7 @@ void PythonQtShell_QRegExpValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12756,7 +12756,7 @@ bool PythonQtShell_QRegExpValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12789,7 +12789,7 @@ bool PythonQtShell_QRegExpValidator::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12822,7 +12822,7 @@ void PythonQtShell_QRegExpValidator::fixup(QString& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12844,7 +12844,7 @@ void PythonQtShell_QRegExpValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12866,7 +12866,7 @@ QValidator::State PythonQtShell_QRegExpValidator::validate(QString& input0, in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12936,7 +12936,7 @@ void PythonQtShell_QRegularExpressionValidator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12958,7 +12958,7 @@ void PythonQtShell_QRegularExpressionValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12980,7 +12980,7 @@ bool PythonQtShell_QRegularExpressionValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13013,7 +13013,7 @@ bool PythonQtShell_QRegularExpressionValidator::eventFilter(QObject* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13046,7 +13046,7 @@ void PythonQtShell_QRegularExpressionValidator::fixup(QString& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13068,7 +13068,7 @@ void PythonQtShell_QRegularExpressionValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13090,7 +13090,7 @@ QValidator::State PythonQtShell_QRegularExpressionValidator::validate(QString& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13296,7 +13296,7 @@ void PythonQtShell_QRubberBand::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13318,7 +13318,7 @@ void PythonQtShell_QRubberBand::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13340,7 +13340,7 @@ void PythonQtShell_QRubberBand::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13362,7 +13362,7 @@ void PythonQtShell_QRubberBand::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13384,7 +13384,7 @@ void PythonQtShell_QRubberBand::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13406,7 +13406,7 @@ void PythonQtShell_QRubberBand::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13428,7 +13428,7 @@ int PythonQtShell_QRubberBand::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13461,7 +13461,7 @@ void PythonQtShell_QRubberBand::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13483,7 +13483,7 @@ void PythonQtShell_QRubberBand::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13505,7 +13505,7 @@ void PythonQtShell_QRubberBand::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13527,7 +13527,7 @@ void PythonQtShell_QRubberBand::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13549,7 +13549,7 @@ void PythonQtShell_QRubberBand::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13571,7 +13571,7 @@ bool PythonQtShell_QRubberBand::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13604,7 +13604,7 @@ bool PythonQtShell_QRubberBand::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13637,7 +13637,7 @@ void PythonQtShell_QRubberBand::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13659,7 +13659,7 @@ bool PythonQtShell_QRubberBand::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13692,7 +13692,7 @@ void PythonQtShell_QRubberBand::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13714,7 +13714,7 @@ bool PythonQtShell_QRubberBand::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13747,7 +13747,7 @@ int PythonQtShell_QRubberBand::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13780,7 +13780,7 @@ void PythonQtShell_QRubberBand::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13802,7 +13802,7 @@ void PythonQtShell_QRubberBand::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13824,7 +13824,7 @@ void PythonQtShell_QRubberBand::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13846,7 +13846,7 @@ QVariant PythonQtShell_QRubberBand::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13879,7 +13879,7 @@ void PythonQtShell_QRubberBand::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13901,7 +13901,7 @@ void PythonQtShell_QRubberBand::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13923,7 +13923,7 @@ void PythonQtShell_QRubberBand::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13945,7 +13945,7 @@ int PythonQtShell_QRubberBand::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13978,7 +13978,7 @@ QSize PythonQtShell_QRubberBand::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14011,7 +14011,7 @@ void PythonQtShell_QRubberBand::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14033,7 +14033,7 @@ void PythonQtShell_QRubberBand::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14055,7 +14055,7 @@ void PythonQtShell_QRubberBand::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14077,7 +14077,7 @@ void PythonQtShell_QRubberBand::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14099,7 +14099,7 @@ void PythonQtShell_QRubberBand::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14121,7 +14121,7 @@ bool PythonQtShell_QRubberBand::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14154,7 +14154,7 @@ QPaintEngine* PythonQtShell_QRubberBand::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14187,7 +14187,7 @@ void PythonQtShell_QRubberBand::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14209,7 +14209,7 @@ QPaintDevice* PythonQtShell_QRubberBand::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14242,7 +14242,7 @@ void PythonQtShell_QRubberBand::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14264,7 +14264,7 @@ void PythonQtShell_QRubberBand::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14286,7 +14286,7 @@ QPainter* PythonQtShell_QRubberBand::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14319,7 +14319,7 @@ void PythonQtShell_QRubberBand::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14341,7 +14341,7 @@ QSize PythonQtShell_QRubberBand::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14374,7 +14374,7 @@ void PythonQtShell_QRubberBand::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14396,7 +14396,7 @@ void PythonQtShell_QRubberBand::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14418,7 +14418,7 @@ void PythonQtShell_QRubberBand::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14703,7 +14703,7 @@ void PythonQtShell_QScrollArea::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14725,7 +14725,7 @@ void PythonQtShell_QScrollArea::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14747,7 +14747,7 @@ void PythonQtShell_QScrollArea::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14769,7 +14769,7 @@ void PythonQtShell_QScrollArea::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14791,7 +14791,7 @@ void PythonQtShell_QScrollArea::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14813,7 +14813,7 @@ void PythonQtShell_QScrollArea::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14835,7 +14835,7 @@ int PythonQtShell_QScrollArea::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14868,7 +14868,7 @@ void PythonQtShell_QScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14890,7 +14890,7 @@ void PythonQtShell_QScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14912,7 +14912,7 @@ void PythonQtShell_QScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14934,7 +14934,7 @@ void PythonQtShell_QScrollArea::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14956,7 +14956,7 @@ void PythonQtShell_QScrollArea::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14978,7 +14978,7 @@ bool PythonQtShell_QScrollArea::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15011,7 +15011,7 @@ bool PythonQtShell_QScrollArea::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15044,7 +15044,7 @@ void PythonQtShell_QScrollArea::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15066,7 +15066,7 @@ bool PythonQtShell_QScrollArea::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15099,7 +15099,7 @@ void PythonQtShell_QScrollArea::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15121,7 +15121,7 @@ bool PythonQtShell_QScrollArea::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15154,7 +15154,7 @@ int PythonQtShell_QScrollArea::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15187,7 +15187,7 @@ void PythonQtShell_QScrollArea::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15209,7 +15209,7 @@ void PythonQtShell_QScrollArea::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15231,7 +15231,7 @@ void PythonQtShell_QScrollArea::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15253,7 +15253,7 @@ QVariant PythonQtShell_QScrollArea::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15286,7 +15286,7 @@ void PythonQtShell_QScrollArea::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15308,7 +15308,7 @@ void PythonQtShell_QScrollArea::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15330,7 +15330,7 @@ void PythonQtShell_QScrollArea::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15352,7 +15352,7 @@ int PythonQtShell_QScrollArea::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15385,7 +15385,7 @@ QSize PythonQtShell_QScrollArea::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15418,7 +15418,7 @@ void PythonQtShell_QScrollArea::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15440,7 +15440,7 @@ void PythonQtShell_QScrollArea::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15462,7 +15462,7 @@ void PythonQtShell_QScrollArea::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15484,7 +15484,7 @@ void PythonQtShell_QScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15506,7 +15506,7 @@ void PythonQtShell_QScrollArea::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15528,7 +15528,7 @@ bool PythonQtShell_QScrollArea::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15561,7 +15561,7 @@ QPaintEngine* PythonQtShell_QScrollArea::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15594,7 +15594,7 @@ void PythonQtShell_QScrollArea::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15616,7 +15616,7 @@ QPaintDevice* PythonQtShell_QScrollArea::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15649,7 +15649,7 @@ void PythonQtShell_QScrollArea::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15671,7 +15671,7 @@ void PythonQtShell_QScrollArea::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15693,7 +15693,7 @@ void PythonQtShell_QScrollArea::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15715,7 +15715,7 @@ void PythonQtShell_QScrollArea::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15737,7 +15737,7 @@ QPainter* PythonQtShell_QScrollArea::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15770,7 +15770,7 @@ void PythonQtShell_QScrollArea::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15792,7 +15792,7 @@ QSize PythonQtShell_QScrollArea::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15825,7 +15825,7 @@ void PythonQtShell_QScrollArea::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15847,7 +15847,7 @@ void PythonQtShell_QScrollArea::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15869,7 +15869,7 @@ bool PythonQtShell_QScrollArea::viewportEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15902,7 +15902,7 @@ QSize PythonQtShell_QScrollArea::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15935,7 +15935,7 @@ void PythonQtShell_QScrollArea::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16025,7 +16025,7 @@ void PythonQtShell_QScrollBar::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16047,7 +16047,7 @@ void PythonQtShell_QScrollBar::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16069,7 +16069,7 @@ void PythonQtShell_QScrollBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16091,7 +16091,7 @@ void PythonQtShell_QScrollBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16113,7 +16113,7 @@ void PythonQtShell_QScrollBar::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16135,7 +16135,7 @@ void PythonQtShell_QScrollBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16157,7 +16157,7 @@ int PythonQtShell_QScrollBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16190,7 +16190,7 @@ void PythonQtShell_QScrollBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16212,7 +16212,7 @@ void PythonQtShell_QScrollBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16234,7 +16234,7 @@ void PythonQtShell_QScrollBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16256,7 +16256,7 @@ void PythonQtShell_QScrollBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16278,7 +16278,7 @@ void PythonQtShell_QScrollBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16300,7 +16300,7 @@ bool PythonQtShell_QScrollBar::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16333,7 +16333,7 @@ bool PythonQtShell_QScrollBar::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16366,7 +16366,7 @@ void PythonQtShell_QScrollBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16388,7 +16388,7 @@ bool PythonQtShell_QScrollBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16421,7 +16421,7 @@ void PythonQtShell_QScrollBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16443,7 +16443,7 @@ bool PythonQtShell_QScrollBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16476,7 +16476,7 @@ int PythonQtShell_QScrollBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16509,7 +16509,7 @@ void PythonQtShell_QScrollBar::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16531,7 +16531,7 @@ void PythonQtShell_QScrollBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16553,7 +16553,7 @@ void PythonQtShell_QScrollBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16575,7 +16575,7 @@ QVariant PythonQtShell_QScrollBar::inputMethodQuery(Qt::InputMethodQuery arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16608,7 +16608,7 @@ void PythonQtShell_QScrollBar::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16630,7 +16630,7 @@ void PythonQtShell_QScrollBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16652,7 +16652,7 @@ void PythonQtShell_QScrollBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16674,7 +16674,7 @@ int PythonQtShell_QScrollBar::metric(QPaintDevice::PaintDeviceMetric arg__1) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16707,7 +16707,7 @@ QSize PythonQtShell_QScrollBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16740,7 +16740,7 @@ void PythonQtShell_QScrollBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16762,7 +16762,7 @@ void PythonQtShell_QScrollBar::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16784,7 +16784,7 @@ void PythonQtShell_QScrollBar::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16806,7 +16806,7 @@ void PythonQtShell_QScrollBar::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16828,7 +16828,7 @@ void PythonQtShell_QScrollBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16850,7 +16850,7 @@ bool PythonQtShell_QScrollBar::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16883,7 +16883,7 @@ QPaintEngine* PythonQtShell_QScrollBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16916,7 +16916,7 @@ void PythonQtShell_QScrollBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16938,7 +16938,7 @@ QPaintDevice* PythonQtShell_QScrollBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16971,7 +16971,7 @@ void PythonQtShell_QScrollBar::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16993,7 +16993,7 @@ void PythonQtShell_QScrollBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17015,7 +17015,7 @@ QPainter* PythonQtShell_QScrollBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17048,7 +17048,7 @@ void PythonQtShell_QScrollBar::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17070,7 +17070,7 @@ QSize PythonQtShell_QScrollBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17103,7 +17103,7 @@ void PythonQtShell_QScrollBar::sliderChange(QAbstractSlider::SliderChange chang { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sliderChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17125,7 +17125,7 @@ void PythonQtShell_QScrollBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17147,7 +17147,7 @@ void PythonQtShell_QScrollBar::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17169,7 +17169,7 @@ void PythonQtShell_QScrollBar::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp b/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp index 95eb38171..778fda6bd 100644 --- a/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp +++ b/generated_cpp_515/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp @@ -152,7 +152,7 @@ void PythonQtShell_QShortcut::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -174,7 +174,7 @@ void PythonQtShell_QShortcut::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -196,7 +196,7 @@ bool PythonQtShell_QShortcut::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -229,7 +229,7 @@ bool PythonQtShell_QShortcut::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -262,7 +262,7 @@ void PythonQtShell_QShortcut::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -402,7 +402,7 @@ void PythonQtShell_QSizeGrip::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -424,7 +424,7 @@ void PythonQtShell_QSizeGrip::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -446,7 +446,7 @@ void PythonQtShell_QSizeGrip::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -468,7 +468,7 @@ void PythonQtShell_QSizeGrip::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -490,7 +490,7 @@ void PythonQtShell_QSizeGrip::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -512,7 +512,7 @@ void PythonQtShell_QSizeGrip::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -534,7 +534,7 @@ int PythonQtShell_QSizeGrip::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -567,7 +567,7 @@ void PythonQtShell_QSizeGrip::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -589,7 +589,7 @@ void PythonQtShell_QSizeGrip::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -611,7 +611,7 @@ void PythonQtShell_QSizeGrip::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -633,7 +633,7 @@ void PythonQtShell_QSizeGrip::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -655,7 +655,7 @@ void PythonQtShell_QSizeGrip::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -677,7 +677,7 @@ bool PythonQtShell_QSizeGrip::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -710,7 +710,7 @@ bool PythonQtShell_QSizeGrip::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -743,7 +743,7 @@ void PythonQtShell_QSizeGrip::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -765,7 +765,7 @@ bool PythonQtShell_QSizeGrip::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -798,7 +798,7 @@ void PythonQtShell_QSizeGrip::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -820,7 +820,7 @@ bool PythonQtShell_QSizeGrip::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -853,7 +853,7 @@ int PythonQtShell_QSizeGrip::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -886,7 +886,7 @@ void PythonQtShell_QSizeGrip::hideEvent(QHideEvent* hideEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -908,7 +908,7 @@ void PythonQtShell_QSizeGrip::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -930,7 +930,7 @@ void PythonQtShell_QSizeGrip::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -952,7 +952,7 @@ QVariant PythonQtShell_QSizeGrip::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -985,7 +985,7 @@ void PythonQtShell_QSizeGrip::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1007,7 +1007,7 @@ void PythonQtShell_QSizeGrip::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1029,7 +1029,7 @@ void PythonQtShell_QSizeGrip::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1051,7 +1051,7 @@ int PythonQtShell_QSizeGrip::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1084,7 +1084,7 @@ QSize PythonQtShell_QSizeGrip::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1117,7 +1117,7 @@ void PythonQtShell_QSizeGrip::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1139,7 +1139,7 @@ void PythonQtShell_QSizeGrip::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1161,7 +1161,7 @@ void PythonQtShell_QSizeGrip::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1183,7 +1183,7 @@ void PythonQtShell_QSizeGrip::mouseReleaseEvent(QMouseEvent* mouseEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1205,7 +1205,7 @@ void PythonQtShell_QSizeGrip::moveEvent(QMoveEvent* moveEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1227,7 +1227,7 @@ bool PythonQtShell_QSizeGrip::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1260,7 +1260,7 @@ QPaintEngine* PythonQtShell_QSizeGrip::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1293,7 +1293,7 @@ void PythonQtShell_QSizeGrip::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1315,7 +1315,7 @@ QPaintDevice* PythonQtShell_QSizeGrip::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1348,7 +1348,7 @@ void PythonQtShell_QSizeGrip::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1370,7 +1370,7 @@ void PythonQtShell_QSizeGrip::setVisible(bool arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1392,7 +1392,7 @@ QPainter* PythonQtShell_QSizeGrip::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1425,7 +1425,7 @@ void PythonQtShell_QSizeGrip::showEvent(QShowEvent* showEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1447,7 +1447,7 @@ QSize PythonQtShell_QSizeGrip::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1480,7 +1480,7 @@ void PythonQtShell_QSizeGrip::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1502,7 +1502,7 @@ void PythonQtShell_QSizeGrip::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1524,7 +1524,7 @@ void PythonQtShell_QSizeGrip::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1574,7 +1574,7 @@ void PythonQtShell_QSlider::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1596,7 +1596,7 @@ void PythonQtShell_QSlider::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1618,7 +1618,7 @@ void PythonQtShell_QSlider::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1640,7 +1640,7 @@ void PythonQtShell_QSlider::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1662,7 +1662,7 @@ void PythonQtShell_QSlider::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1684,7 +1684,7 @@ void PythonQtShell_QSlider::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1706,7 +1706,7 @@ int PythonQtShell_QSlider::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1739,7 +1739,7 @@ void PythonQtShell_QSlider::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1761,7 +1761,7 @@ void PythonQtShell_QSlider::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1783,7 +1783,7 @@ void PythonQtShell_QSlider::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1805,7 +1805,7 @@ void PythonQtShell_QSlider::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1827,7 +1827,7 @@ void PythonQtShell_QSlider::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1849,7 +1849,7 @@ bool PythonQtShell_QSlider::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1882,7 +1882,7 @@ bool PythonQtShell_QSlider::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1915,7 +1915,7 @@ void PythonQtShell_QSlider::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1937,7 +1937,7 @@ bool PythonQtShell_QSlider::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1970,7 +1970,7 @@ void PythonQtShell_QSlider::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1992,7 +1992,7 @@ bool PythonQtShell_QSlider::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2025,7 +2025,7 @@ int PythonQtShell_QSlider::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2058,7 +2058,7 @@ void PythonQtShell_QSlider::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2080,7 +2080,7 @@ void PythonQtShell_QSlider::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2102,7 +2102,7 @@ void PythonQtShell_QSlider::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2124,7 +2124,7 @@ QVariant PythonQtShell_QSlider::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2157,7 +2157,7 @@ void PythonQtShell_QSlider::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2179,7 +2179,7 @@ void PythonQtShell_QSlider::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2201,7 +2201,7 @@ void PythonQtShell_QSlider::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2223,7 +2223,7 @@ int PythonQtShell_QSlider::metric(QPaintDevice::PaintDeviceMetric arg__1) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2256,7 +2256,7 @@ QSize PythonQtShell_QSlider::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2289,7 +2289,7 @@ void PythonQtShell_QSlider::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2311,7 +2311,7 @@ void PythonQtShell_QSlider::mouseMoveEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2333,7 +2333,7 @@ void PythonQtShell_QSlider::mousePressEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2355,7 +2355,7 @@ void PythonQtShell_QSlider::mouseReleaseEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2377,7 +2377,7 @@ void PythonQtShell_QSlider::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2399,7 +2399,7 @@ bool PythonQtShell_QSlider::nativeEvent(const QByteArray& eventType0, void* m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2432,7 +2432,7 @@ QPaintEngine* PythonQtShell_QSlider::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2465,7 +2465,7 @@ void PythonQtShell_QSlider::paintEvent(QPaintEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2487,7 +2487,7 @@ QPaintDevice* PythonQtShell_QSlider::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2520,7 +2520,7 @@ void PythonQtShell_QSlider::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2542,7 +2542,7 @@ void PythonQtShell_QSlider::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2564,7 +2564,7 @@ QPainter* PythonQtShell_QSlider::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2597,7 +2597,7 @@ void PythonQtShell_QSlider::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2619,7 +2619,7 @@ QSize PythonQtShell_QSlider::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2652,7 +2652,7 @@ void PythonQtShell_QSlider::sliderChange(QAbstractSlider::SliderChange change0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sliderChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2674,7 +2674,7 @@ void PythonQtShell_QSlider::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2696,7 +2696,7 @@ void PythonQtShell_QSlider::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2718,7 +2718,7 @@ void PythonQtShell_QSlider::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2802,7 +2802,7 @@ QModelIndex PythonQtShell_QSortFilterProxyModel::buddy(const QModelIndex& inde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2835,7 +2835,7 @@ bool PythonQtShell_QSortFilterProxyModel::canDropMimeData(const QMimeData* dat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2868,7 +2868,7 @@ bool PythonQtShell_QSortFilterProxyModel::canFetchMore(const QModelIndex& pare { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2901,7 +2901,7 @@ void PythonQtShell_QSortFilterProxyModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2923,7 +2923,7 @@ int PythonQtShell_QSortFilterProxyModel::columnCount(const QModelIndex& parent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2956,7 +2956,7 @@ void PythonQtShell_QSortFilterProxyModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2978,7 +2978,7 @@ QVariant PythonQtShell_QSortFilterProxyModel::data(const QModelIndex& index0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3011,7 +3011,7 @@ bool PythonQtShell_QSortFilterProxyModel::dropMimeData(const QMimeData* data0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3044,7 +3044,7 @@ bool PythonQtShell_QSortFilterProxyModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3077,7 +3077,7 @@ bool PythonQtShell_QSortFilterProxyModel::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3110,7 +3110,7 @@ void PythonQtShell_QSortFilterProxyModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3132,7 +3132,7 @@ bool PythonQtShell_QSortFilterProxyModel::filterAcceptsColumn(int source_colum { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("filterAcceptsColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3165,7 +3165,7 @@ bool PythonQtShell_QSortFilterProxyModel::filterAcceptsRow(int source_row0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("filterAcceptsRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3198,7 +3198,7 @@ Qt::ItemFlags PythonQtShell_QSortFilterProxyModel::flags(const QModelIndex& in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3231,7 +3231,7 @@ bool PythonQtShell_QSortFilterProxyModel::hasChildren(const QModelIndex& paren { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3264,7 +3264,7 @@ QVariant PythonQtShell_QSortFilterProxyModel::headerData(int section0, Qt::Ori { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3297,7 +3297,7 @@ QModelIndex PythonQtShell_QSortFilterProxyModel::index(int row0, int column1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3330,7 +3330,7 @@ bool PythonQtShell_QSortFilterProxyModel::insertColumns(int column0, int coun { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3363,7 +3363,7 @@ bool PythonQtShell_QSortFilterProxyModel::insertRows(int row0, int count1, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3396,7 +3396,7 @@ QMap PythonQtShell_QSortFilterProxyModel::itemData(const QMode { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3429,7 +3429,7 @@ bool PythonQtShell_QSortFilterProxyModel::lessThan(const QModelIndex& source_l { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("lessThan"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3462,7 +3462,7 @@ QModelIndex PythonQtShell_QSortFilterProxyModel::mapFromSource(const QModelInde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3495,7 +3495,7 @@ QItemSelection PythonQtShell_QSortFilterProxyModel::mapSelectionFromSource(cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapSelectionFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3528,7 +3528,7 @@ QItemSelection PythonQtShell_QSortFilterProxyModel::mapSelectionToSource(const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapSelectionToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3561,7 +3561,7 @@ QModelIndex PythonQtShell_QSortFilterProxyModel::mapToSource(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3594,7 +3594,7 @@ QList PythonQtShell_QSortFilterProxyModel::match(const QModelInde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3627,7 +3627,7 @@ QMimeData* PythonQtShell_QSortFilterProxyModel::mimeData(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3660,7 +3660,7 @@ QStringList PythonQtShell_QSortFilterProxyModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3693,7 +3693,7 @@ bool PythonQtShell_QSortFilterProxyModel::moveColumns(const QModelIndex& sourc { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3726,7 +3726,7 @@ bool PythonQtShell_QSortFilterProxyModel::moveRows(const QModelIndex& sourcePa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3759,7 +3759,7 @@ QModelIndex PythonQtShell_QSortFilterProxyModel::parent(const QModelIndex& chi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3792,7 +3792,7 @@ bool PythonQtShell_QSortFilterProxyModel::removeColumns(int column0, int coun { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3825,7 +3825,7 @@ bool PythonQtShell_QSortFilterProxyModel::removeRows(int row0, int count1, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3858,7 +3858,7 @@ void PythonQtShell_QSortFilterProxyModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3880,7 +3880,7 @@ QHash PythonQtShell_QSortFilterProxyModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3913,7 +3913,7 @@ int PythonQtShell_QSortFilterProxyModel::rowCount(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3946,7 +3946,7 @@ bool PythonQtShell_QSortFilterProxyModel::setData(const QModelIndex& index0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3979,7 +3979,7 @@ bool PythonQtShell_QSortFilterProxyModel::setHeaderData(int section0, Qt::Orie { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4012,7 +4012,7 @@ bool PythonQtShell_QSortFilterProxyModel::setItemData(const QModelIndex& index { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4045,7 +4045,7 @@ void PythonQtShell_QSortFilterProxyModel::setSourceModel(QAbstractItemModel* so { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSourceModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4067,7 +4067,7 @@ QModelIndex PythonQtShell_QSortFilterProxyModel::sibling(int row0, int column { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4100,7 +4100,7 @@ void PythonQtShell_QSortFilterProxyModel::sort(int column0, Qt::SortOrder orde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4122,7 +4122,7 @@ QSize PythonQtShell_QSortFilterProxyModel::span(const QModelIndex& index0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4155,7 +4155,7 @@ bool PythonQtShell_QSortFilterProxyModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4188,7 +4188,7 @@ Qt::DropActions PythonQtShell_QSortFilterProxyModel::supportedDragActions() con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4221,7 +4221,7 @@ Qt::DropActions PythonQtShell_QSortFilterProxyModel::supportedDropActions() con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4254,7 +4254,7 @@ void PythonQtShell_QSortFilterProxyModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4419,7 +4419,7 @@ QSizePolicy::ControlTypes PythonQtShell_QSpacerItem::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4452,7 +4452,7 @@ Qt::Orientations PythonQtShell_QSpacerItem::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4485,7 +4485,7 @@ QRect PythonQtShell_QSpacerItem::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4518,7 +4518,7 @@ bool PythonQtShell_QSpacerItem::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4551,7 +4551,7 @@ int PythonQtShell_QSpacerItem::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4584,7 +4584,7 @@ void PythonQtShell_QSpacerItem::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4606,7 +4606,7 @@ bool PythonQtShell_QSpacerItem::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4639,7 +4639,7 @@ QLayout* PythonQtShell_QSpacerItem::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4672,7 +4672,7 @@ QSize PythonQtShell_QSpacerItem::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4705,7 +4705,7 @@ int PythonQtShell_QSpacerItem::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4738,7 +4738,7 @@ QSize PythonQtShell_QSpacerItem::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4771,7 +4771,7 @@ void PythonQtShell_QSpacerItem::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4793,7 +4793,7 @@ QSize PythonQtShell_QSpacerItem::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4826,7 +4826,7 @@ QSpacerItem* PythonQtShell_QSpacerItem::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4859,7 +4859,7 @@ QWidget* PythonQtShell_QSpacerItem::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4912,7 +4912,7 @@ void PythonQtShell_QSpinBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4934,7 +4934,7 @@ void PythonQtShell_QSpinBox::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4956,7 +4956,7 @@ void PythonQtShell_QSpinBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4978,7 +4978,7 @@ void PythonQtShell_QSpinBox::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5000,7 +5000,7 @@ void PythonQtShell_QSpinBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5022,7 +5022,7 @@ void PythonQtShell_QSpinBox::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5044,7 +5044,7 @@ void PythonQtShell_QSpinBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5066,7 +5066,7 @@ int PythonQtShell_QSpinBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5099,7 +5099,7 @@ void PythonQtShell_QSpinBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5121,7 +5121,7 @@ void PythonQtShell_QSpinBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5143,7 +5143,7 @@ void PythonQtShell_QSpinBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5165,7 +5165,7 @@ void PythonQtShell_QSpinBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5187,7 +5187,7 @@ void PythonQtShell_QSpinBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5209,7 +5209,7 @@ bool PythonQtShell_QSpinBox::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5242,7 +5242,7 @@ bool PythonQtShell_QSpinBox::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5275,7 +5275,7 @@ void PythonQtShell_QSpinBox::fixup(QString& str0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5297,7 +5297,7 @@ void PythonQtShell_QSpinBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5319,7 +5319,7 @@ bool PythonQtShell_QSpinBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5352,7 +5352,7 @@ void PythonQtShell_QSpinBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5374,7 +5374,7 @@ bool PythonQtShell_QSpinBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5407,7 +5407,7 @@ int PythonQtShell_QSpinBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5440,7 +5440,7 @@ void PythonQtShell_QSpinBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5462,7 +5462,7 @@ void PythonQtShell_QSpinBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5484,7 +5484,7 @@ void PythonQtShell_QSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5506,7 +5506,7 @@ QVariant PythonQtShell_QSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5539,7 +5539,7 @@ void PythonQtShell_QSpinBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5561,7 +5561,7 @@ void PythonQtShell_QSpinBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5583,7 +5583,7 @@ void PythonQtShell_QSpinBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5605,7 +5605,7 @@ int PythonQtShell_QSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5638,7 +5638,7 @@ QSize PythonQtShell_QSpinBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5671,7 +5671,7 @@ void PythonQtShell_QSpinBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5693,7 +5693,7 @@ void PythonQtShell_QSpinBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5715,7 +5715,7 @@ void PythonQtShell_QSpinBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5737,7 +5737,7 @@ void PythonQtShell_QSpinBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5759,7 +5759,7 @@ void PythonQtShell_QSpinBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5781,7 +5781,7 @@ bool PythonQtShell_QSpinBox::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5814,7 +5814,7 @@ QPaintEngine* PythonQtShell_QSpinBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5847,7 +5847,7 @@ void PythonQtShell_QSpinBox::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5869,7 +5869,7 @@ QPaintDevice* PythonQtShell_QSpinBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5902,7 +5902,7 @@ void PythonQtShell_QSpinBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5924,7 +5924,7 @@ void PythonQtShell_QSpinBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5946,7 +5946,7 @@ QPainter* PythonQtShell_QSpinBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5979,7 +5979,7 @@ void PythonQtShell_QSpinBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6001,7 +6001,7 @@ QSize PythonQtShell_QSpinBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6034,7 +6034,7 @@ void PythonQtShell_QSpinBox::stepBy(int steps0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6056,7 +6056,7 @@ QAbstractSpinBox::StepEnabled PythonQtShell_QSpinBox::stepEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6089,7 +6089,7 @@ void PythonQtShell_QSpinBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6111,7 +6111,7 @@ QString PythonQtShell_QSpinBox::textFromValue(int val0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textFromValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6144,7 +6144,7 @@ void PythonQtShell_QSpinBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6166,7 +6166,7 @@ QValidator::State PythonQtShell_QSpinBox::validate(QString& input0, int& pos1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6199,7 +6199,7 @@ int PythonQtShell_QSpinBox::valueFromText(const QString& text0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("valueFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6232,7 +6232,7 @@ void PythonQtShell_QSpinBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6372,7 +6372,7 @@ void PythonQtShell_QSplashScreen::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6394,7 +6394,7 @@ void PythonQtShell_QSplashScreen::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6416,7 +6416,7 @@ void PythonQtShell_QSplashScreen::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6438,7 +6438,7 @@ void PythonQtShell_QSplashScreen::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6460,7 +6460,7 @@ void PythonQtShell_QSplashScreen::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6482,7 +6482,7 @@ void PythonQtShell_QSplashScreen::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6504,7 +6504,7 @@ int PythonQtShell_QSplashScreen::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6537,7 +6537,7 @@ void PythonQtShell_QSplashScreen::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6559,7 +6559,7 @@ void PythonQtShell_QSplashScreen::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6581,7 +6581,7 @@ void PythonQtShell_QSplashScreen::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6603,7 +6603,7 @@ void PythonQtShell_QSplashScreen::drawContents(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6625,7 +6625,7 @@ void PythonQtShell_QSplashScreen::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6647,7 +6647,7 @@ void PythonQtShell_QSplashScreen::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6669,7 +6669,7 @@ bool PythonQtShell_QSplashScreen::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6702,7 +6702,7 @@ bool PythonQtShell_QSplashScreen::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6735,7 +6735,7 @@ void PythonQtShell_QSplashScreen::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6757,7 +6757,7 @@ bool PythonQtShell_QSplashScreen::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6790,7 +6790,7 @@ void PythonQtShell_QSplashScreen::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6812,7 +6812,7 @@ bool PythonQtShell_QSplashScreen::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6845,7 +6845,7 @@ int PythonQtShell_QSplashScreen::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6878,7 +6878,7 @@ void PythonQtShell_QSplashScreen::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6900,7 +6900,7 @@ void PythonQtShell_QSplashScreen::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6922,7 +6922,7 @@ void PythonQtShell_QSplashScreen::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6944,7 +6944,7 @@ QVariant PythonQtShell_QSplashScreen::inputMethodQuery(Qt::InputMethodQuery ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6977,7 +6977,7 @@ void PythonQtShell_QSplashScreen::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6999,7 +6999,7 @@ void PythonQtShell_QSplashScreen::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7021,7 +7021,7 @@ void PythonQtShell_QSplashScreen::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7043,7 +7043,7 @@ int PythonQtShell_QSplashScreen::metric(QPaintDevice::PaintDeviceMetric arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7076,7 +7076,7 @@ QSize PythonQtShell_QSplashScreen::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7109,7 +7109,7 @@ void PythonQtShell_QSplashScreen::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7131,7 +7131,7 @@ void PythonQtShell_QSplashScreen::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7153,7 +7153,7 @@ void PythonQtShell_QSplashScreen::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7175,7 +7175,7 @@ void PythonQtShell_QSplashScreen::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7197,7 +7197,7 @@ void PythonQtShell_QSplashScreen::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7219,7 +7219,7 @@ bool PythonQtShell_QSplashScreen::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7252,7 +7252,7 @@ QPaintEngine* PythonQtShell_QSplashScreen::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7285,7 +7285,7 @@ void PythonQtShell_QSplashScreen::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7307,7 +7307,7 @@ QPaintDevice* PythonQtShell_QSplashScreen::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7340,7 +7340,7 @@ void PythonQtShell_QSplashScreen::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7362,7 +7362,7 @@ void PythonQtShell_QSplashScreen::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7384,7 +7384,7 @@ QPainter* PythonQtShell_QSplashScreen::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7417,7 +7417,7 @@ void PythonQtShell_QSplashScreen::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7439,7 +7439,7 @@ QSize PythonQtShell_QSplashScreen::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7472,7 +7472,7 @@ void PythonQtShell_QSplashScreen::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7494,7 +7494,7 @@ void PythonQtShell_QSplashScreen::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7516,7 +7516,7 @@ void PythonQtShell_QSplashScreen::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7594,7 +7594,7 @@ void PythonQtShell_QSplitter::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7616,7 +7616,7 @@ void PythonQtShell_QSplitter::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7638,7 +7638,7 @@ void PythonQtShell_QSplitter::childEvent(QChildEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7660,7 +7660,7 @@ void PythonQtShell_QSplitter::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7682,7 +7682,7 @@ void PythonQtShell_QSplitter::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7704,7 +7704,7 @@ QSplitterHandle* PythonQtShell_QSplitter::createHandle() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createHandle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7737,7 +7737,7 @@ void PythonQtShell_QSplitter::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7759,7 +7759,7 @@ int PythonQtShell_QSplitter::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7792,7 +7792,7 @@ void PythonQtShell_QSplitter::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7814,7 +7814,7 @@ void PythonQtShell_QSplitter::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7836,7 +7836,7 @@ void PythonQtShell_QSplitter::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7858,7 +7858,7 @@ void PythonQtShell_QSplitter::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7880,7 +7880,7 @@ void PythonQtShell_QSplitter::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7902,7 +7902,7 @@ bool PythonQtShell_QSplitter::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7935,7 +7935,7 @@ bool PythonQtShell_QSplitter::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7968,7 +7968,7 @@ void PythonQtShell_QSplitter::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7990,7 +7990,7 @@ bool PythonQtShell_QSplitter::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8023,7 +8023,7 @@ void PythonQtShell_QSplitter::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8045,7 +8045,7 @@ bool PythonQtShell_QSplitter::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8078,7 +8078,7 @@ int PythonQtShell_QSplitter::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8111,7 +8111,7 @@ void PythonQtShell_QSplitter::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8133,7 +8133,7 @@ void PythonQtShell_QSplitter::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8155,7 +8155,7 @@ void PythonQtShell_QSplitter::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8177,7 +8177,7 @@ QVariant PythonQtShell_QSplitter::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8210,7 +8210,7 @@ void PythonQtShell_QSplitter::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8232,7 +8232,7 @@ void PythonQtShell_QSplitter::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8254,7 +8254,7 @@ void PythonQtShell_QSplitter::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8276,7 +8276,7 @@ int PythonQtShell_QSplitter::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8309,7 +8309,7 @@ QSize PythonQtShell_QSplitter::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8342,7 +8342,7 @@ void PythonQtShell_QSplitter::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8364,7 +8364,7 @@ void PythonQtShell_QSplitter::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8386,7 +8386,7 @@ void PythonQtShell_QSplitter::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8408,7 +8408,7 @@ void PythonQtShell_QSplitter::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8430,7 +8430,7 @@ void PythonQtShell_QSplitter::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8452,7 +8452,7 @@ bool PythonQtShell_QSplitter::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8485,7 +8485,7 @@ QPaintEngine* PythonQtShell_QSplitter::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8518,7 +8518,7 @@ void PythonQtShell_QSplitter::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8540,7 +8540,7 @@ QPaintDevice* PythonQtShell_QSplitter::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8573,7 +8573,7 @@ void PythonQtShell_QSplitter::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8595,7 +8595,7 @@ void PythonQtShell_QSplitter::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8617,7 +8617,7 @@ QPainter* PythonQtShell_QSplitter::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8650,7 +8650,7 @@ void PythonQtShell_QSplitter::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8672,7 +8672,7 @@ QSize PythonQtShell_QSplitter::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8705,7 +8705,7 @@ void PythonQtShell_QSplitter::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8727,7 +8727,7 @@ void PythonQtShell_QSplitter::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8749,7 +8749,7 @@ void PythonQtShell_QSplitter::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8948,7 +8948,7 @@ void PythonQtShell_QSplitterHandle::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8970,7 +8970,7 @@ void PythonQtShell_QSplitterHandle::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8992,7 +8992,7 @@ void PythonQtShell_QSplitterHandle::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9014,7 +9014,7 @@ void PythonQtShell_QSplitterHandle::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9036,7 +9036,7 @@ void PythonQtShell_QSplitterHandle::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9058,7 +9058,7 @@ void PythonQtShell_QSplitterHandle::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9080,7 +9080,7 @@ int PythonQtShell_QSplitterHandle::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9113,7 +9113,7 @@ void PythonQtShell_QSplitterHandle::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9135,7 +9135,7 @@ void PythonQtShell_QSplitterHandle::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9157,7 +9157,7 @@ void PythonQtShell_QSplitterHandle::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9179,7 +9179,7 @@ void PythonQtShell_QSplitterHandle::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9201,7 +9201,7 @@ void PythonQtShell_QSplitterHandle::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9223,7 +9223,7 @@ bool PythonQtShell_QSplitterHandle::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9256,7 +9256,7 @@ bool PythonQtShell_QSplitterHandle::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9289,7 +9289,7 @@ void PythonQtShell_QSplitterHandle::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9311,7 +9311,7 @@ bool PythonQtShell_QSplitterHandle::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9344,7 +9344,7 @@ void PythonQtShell_QSplitterHandle::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9366,7 +9366,7 @@ bool PythonQtShell_QSplitterHandle::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9399,7 +9399,7 @@ int PythonQtShell_QSplitterHandle::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9432,7 +9432,7 @@ void PythonQtShell_QSplitterHandle::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9454,7 +9454,7 @@ void PythonQtShell_QSplitterHandle::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9476,7 +9476,7 @@ void PythonQtShell_QSplitterHandle::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9498,7 +9498,7 @@ QVariant PythonQtShell_QSplitterHandle::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9531,7 +9531,7 @@ void PythonQtShell_QSplitterHandle::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9553,7 +9553,7 @@ void PythonQtShell_QSplitterHandle::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9575,7 +9575,7 @@ void PythonQtShell_QSplitterHandle::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9597,7 +9597,7 @@ int PythonQtShell_QSplitterHandle::metric(QPaintDevice::PaintDeviceMetric arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9630,7 +9630,7 @@ QSize PythonQtShell_QSplitterHandle::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9663,7 +9663,7 @@ void PythonQtShell_QSplitterHandle::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9685,7 +9685,7 @@ void PythonQtShell_QSplitterHandle::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9707,7 +9707,7 @@ void PythonQtShell_QSplitterHandle::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9729,7 +9729,7 @@ void PythonQtShell_QSplitterHandle::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9751,7 +9751,7 @@ void PythonQtShell_QSplitterHandle::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9773,7 +9773,7 @@ bool PythonQtShell_QSplitterHandle::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9806,7 +9806,7 @@ QPaintEngine* PythonQtShell_QSplitterHandle::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9839,7 +9839,7 @@ void PythonQtShell_QSplitterHandle::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9861,7 +9861,7 @@ QPaintDevice* PythonQtShell_QSplitterHandle::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9894,7 +9894,7 @@ void PythonQtShell_QSplitterHandle::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9916,7 +9916,7 @@ void PythonQtShell_QSplitterHandle::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9938,7 +9938,7 @@ QPainter* PythonQtShell_QSplitterHandle::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9971,7 +9971,7 @@ void PythonQtShell_QSplitterHandle::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9993,7 +9993,7 @@ QSize PythonQtShell_QSplitterHandle::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10026,7 +10026,7 @@ void PythonQtShell_QSplitterHandle::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10048,7 +10048,7 @@ void PythonQtShell_QSplitterHandle::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10070,7 +10070,7 @@ void PythonQtShell_QSplitterHandle::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10150,7 +10150,7 @@ void PythonQtShell_QStackedLayout::addItem(QLayoutItem* item0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10172,7 +10172,7 @@ void PythonQtShell_QStackedLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10194,7 +10194,7 @@ QSizePolicy::ControlTypes PythonQtShell_QStackedLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10227,7 +10227,7 @@ int PythonQtShell_QStackedLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10260,7 +10260,7 @@ void PythonQtShell_QStackedLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10282,7 +10282,7 @@ bool PythonQtShell_QStackedLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10315,7 +10315,7 @@ bool PythonQtShell_QStackedLayout::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10348,7 +10348,7 @@ Qt::Orientations PythonQtShell_QStackedLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10381,7 +10381,7 @@ QRect PythonQtShell_QStackedLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10414,7 +10414,7 @@ bool PythonQtShell_QStackedLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10447,7 +10447,7 @@ int PythonQtShell_QStackedLayout::heightForWidth(int width0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10480,7 +10480,7 @@ int PythonQtShell_QStackedLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10513,7 +10513,7 @@ void PythonQtShell_QStackedLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10535,7 +10535,7 @@ bool PythonQtShell_QStackedLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10568,7 +10568,7 @@ QLayoutItem* PythonQtShell_QStackedLayout::itemAt(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10601,7 +10601,7 @@ QLayout* PythonQtShell_QStackedLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10634,7 +10634,7 @@ QSize PythonQtShell_QStackedLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10667,7 +10667,7 @@ int PythonQtShell_QStackedLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10700,7 +10700,7 @@ QSize PythonQtShell_QStackedLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10733,7 +10733,7 @@ void PythonQtShell_QStackedLayout::setGeometry(const QRect& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10755,7 +10755,7 @@ QSize PythonQtShell_QStackedLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10788,7 +10788,7 @@ QSpacerItem* PythonQtShell_QStackedLayout::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10821,7 +10821,7 @@ QLayoutItem* PythonQtShell_QStackedLayout::takeAt(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10854,7 +10854,7 @@ void PythonQtShell_QStackedLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10942,7 +10942,7 @@ void PythonQtShell_QStackedWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10964,7 +10964,7 @@ void PythonQtShell_QStackedWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10986,7 +10986,7 @@ void PythonQtShell_QStackedWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11008,7 +11008,7 @@ void PythonQtShell_QStackedWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11030,7 +11030,7 @@ void PythonQtShell_QStackedWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11052,7 +11052,7 @@ void PythonQtShell_QStackedWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11074,7 +11074,7 @@ int PythonQtShell_QStackedWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11107,7 +11107,7 @@ void PythonQtShell_QStackedWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11129,7 +11129,7 @@ void PythonQtShell_QStackedWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11151,7 +11151,7 @@ void PythonQtShell_QStackedWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11173,7 +11173,7 @@ void PythonQtShell_QStackedWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11195,7 +11195,7 @@ void PythonQtShell_QStackedWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11217,7 +11217,7 @@ bool PythonQtShell_QStackedWidget::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11250,7 +11250,7 @@ bool PythonQtShell_QStackedWidget::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11283,7 +11283,7 @@ void PythonQtShell_QStackedWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11305,7 +11305,7 @@ bool PythonQtShell_QStackedWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11338,7 +11338,7 @@ void PythonQtShell_QStackedWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11360,7 +11360,7 @@ bool PythonQtShell_QStackedWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11393,7 +11393,7 @@ int PythonQtShell_QStackedWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11426,7 +11426,7 @@ void PythonQtShell_QStackedWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11448,7 +11448,7 @@ void PythonQtShell_QStackedWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11470,7 +11470,7 @@ void PythonQtShell_QStackedWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11492,7 +11492,7 @@ QVariant PythonQtShell_QStackedWidget::inputMethodQuery(Qt::InputMethodQuery a { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11525,7 +11525,7 @@ void PythonQtShell_QStackedWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11547,7 +11547,7 @@ void PythonQtShell_QStackedWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11569,7 +11569,7 @@ void PythonQtShell_QStackedWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11591,7 +11591,7 @@ int PythonQtShell_QStackedWidget::metric(QPaintDevice::PaintDeviceMetric arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11624,7 +11624,7 @@ QSize PythonQtShell_QStackedWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11657,7 +11657,7 @@ void PythonQtShell_QStackedWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11679,7 +11679,7 @@ void PythonQtShell_QStackedWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11701,7 +11701,7 @@ void PythonQtShell_QStackedWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11723,7 +11723,7 @@ void PythonQtShell_QStackedWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11745,7 +11745,7 @@ void PythonQtShell_QStackedWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11767,7 +11767,7 @@ bool PythonQtShell_QStackedWidget::nativeEvent(const QByteArray& eventType0, v { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11800,7 +11800,7 @@ QPaintEngine* PythonQtShell_QStackedWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11833,7 +11833,7 @@ void PythonQtShell_QStackedWidget::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11855,7 +11855,7 @@ QPaintDevice* PythonQtShell_QStackedWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11888,7 +11888,7 @@ void PythonQtShell_QStackedWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11910,7 +11910,7 @@ void PythonQtShell_QStackedWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11932,7 +11932,7 @@ QPainter* PythonQtShell_QStackedWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11965,7 +11965,7 @@ void PythonQtShell_QStackedWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11987,7 +11987,7 @@ QSize PythonQtShell_QStackedWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12020,7 +12020,7 @@ void PythonQtShell_QStackedWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12042,7 +12042,7 @@ void PythonQtShell_QStackedWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12064,7 +12064,7 @@ void PythonQtShell_QStackedWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12149,7 +12149,7 @@ QStandardItem* PythonQtShell_QStandardItem::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12182,7 +12182,7 @@ QVariant PythonQtShell_QStandardItem::data(int role0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12215,7 +12215,7 @@ void PythonQtShell_QStandardItem::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12237,7 +12237,7 @@ void PythonQtShell_QStandardItem::setData(const QVariant& value0, int role1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12259,7 +12259,7 @@ int PythonQtShell_QStandardItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12292,7 +12292,7 @@ void PythonQtShell_QStandardItem::write(QDataStream& out0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12775,7 +12775,7 @@ QModelIndex PythonQtShell_QStandardItemModel::buddy(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12808,7 +12808,7 @@ bool PythonQtShell_QStandardItemModel::canDropMimeData(const QMimeData* data0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12841,7 +12841,7 @@ bool PythonQtShell_QStandardItemModel::canFetchMore(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12874,7 +12874,7 @@ void PythonQtShell_QStandardItemModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12896,7 +12896,7 @@ int PythonQtShell_QStandardItemModel::columnCount(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12929,7 +12929,7 @@ void PythonQtShell_QStandardItemModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12951,7 +12951,7 @@ QVariant PythonQtShell_QStandardItemModel::data(const QModelIndex& index0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12984,7 +12984,7 @@ bool PythonQtShell_QStandardItemModel::dropMimeData(const QMimeData* data0, Qt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13017,7 +13017,7 @@ bool PythonQtShell_QStandardItemModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13050,7 +13050,7 @@ bool PythonQtShell_QStandardItemModel::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13083,7 +13083,7 @@ void PythonQtShell_QStandardItemModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13105,7 +13105,7 @@ Qt::ItemFlags PythonQtShell_QStandardItemModel::flags(const QModelIndex& index { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13138,7 +13138,7 @@ bool PythonQtShell_QStandardItemModel::hasChildren(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13171,7 +13171,7 @@ QVariant PythonQtShell_QStandardItemModel::headerData(int section0, Qt::Orient { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13204,7 +13204,7 @@ QModelIndex PythonQtShell_QStandardItemModel::index(int row0, int column1, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13237,7 +13237,7 @@ bool PythonQtShell_QStandardItemModel::insertColumns(int column0, int count1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13270,7 +13270,7 @@ bool PythonQtShell_QStandardItemModel::insertRows(int row0, int count1, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13303,7 +13303,7 @@ QMap PythonQtShell_QStandardItemModel::itemData(const QModelIn { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13336,7 +13336,7 @@ QList PythonQtShell_QStandardItemModel::match(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13369,7 +13369,7 @@ QMimeData* PythonQtShell_QStandardItemModel::mimeData(const QList { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13402,7 +13402,7 @@ QStringList PythonQtShell_QStandardItemModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13435,7 +13435,7 @@ bool PythonQtShell_QStandardItemModel::moveColumns(const QModelIndex& sourcePa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13468,7 +13468,7 @@ bool PythonQtShell_QStandardItemModel::moveRows(const QModelIndex& sourceParen { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13501,7 +13501,7 @@ QModelIndex PythonQtShell_QStandardItemModel::parent(const QModelIndex& child0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13534,7 +13534,7 @@ bool PythonQtShell_QStandardItemModel::removeColumns(int column0, int count1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13567,7 +13567,7 @@ bool PythonQtShell_QStandardItemModel::removeRows(int row0, int count1, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13600,7 +13600,7 @@ void PythonQtShell_QStandardItemModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13622,7 +13622,7 @@ QHash PythonQtShell_QStandardItemModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13655,7 +13655,7 @@ int PythonQtShell_QStandardItemModel::rowCount(const QModelIndex& parent0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13688,7 +13688,7 @@ bool PythonQtShell_QStandardItemModel::setData(const QModelIndex& index0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13721,7 +13721,7 @@ bool PythonQtShell_QStandardItemModel::setHeaderData(int section0, Qt::Orienta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13754,7 +13754,7 @@ bool PythonQtShell_QStandardItemModel::setItemData(const QModelIndex& index0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13787,7 +13787,7 @@ QModelIndex PythonQtShell_QStandardItemModel::sibling(int row0, int column1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13820,7 +13820,7 @@ void PythonQtShell_QStandardItemModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13842,7 +13842,7 @@ QSize PythonQtShell_QStandardItemModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13875,7 +13875,7 @@ bool PythonQtShell_QStandardItemModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13908,7 +13908,7 @@ Qt::DropActions PythonQtShell_QStandardItemModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13941,7 +13941,7 @@ Qt::DropActions PythonQtShell_QStandardItemModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13974,7 +13974,7 @@ void PythonQtShell_QStandardItemModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14282,7 +14282,7 @@ void PythonQtShell_QStatusBar::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14304,7 +14304,7 @@ void PythonQtShell_QStatusBar::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14326,7 +14326,7 @@ void PythonQtShell_QStatusBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14348,7 +14348,7 @@ void PythonQtShell_QStatusBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14370,7 +14370,7 @@ void PythonQtShell_QStatusBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14392,7 +14392,7 @@ void PythonQtShell_QStatusBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14414,7 +14414,7 @@ int PythonQtShell_QStatusBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14447,7 +14447,7 @@ void PythonQtShell_QStatusBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14469,7 +14469,7 @@ void PythonQtShell_QStatusBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14491,7 +14491,7 @@ void PythonQtShell_QStatusBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14513,7 +14513,7 @@ void PythonQtShell_QStatusBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14535,7 +14535,7 @@ void PythonQtShell_QStatusBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14557,7 +14557,7 @@ bool PythonQtShell_QStatusBar::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14590,7 +14590,7 @@ bool PythonQtShell_QStatusBar::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14623,7 +14623,7 @@ void PythonQtShell_QStatusBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14645,7 +14645,7 @@ bool PythonQtShell_QStatusBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14678,7 +14678,7 @@ void PythonQtShell_QStatusBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14700,7 +14700,7 @@ bool PythonQtShell_QStatusBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14733,7 +14733,7 @@ int PythonQtShell_QStatusBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14766,7 +14766,7 @@ void PythonQtShell_QStatusBar::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14788,7 +14788,7 @@ void PythonQtShell_QStatusBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14810,7 +14810,7 @@ void PythonQtShell_QStatusBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14832,7 +14832,7 @@ QVariant PythonQtShell_QStatusBar::inputMethodQuery(Qt::InputMethodQuery arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14865,7 +14865,7 @@ void PythonQtShell_QStatusBar::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14887,7 +14887,7 @@ void PythonQtShell_QStatusBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14909,7 +14909,7 @@ void PythonQtShell_QStatusBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14931,7 +14931,7 @@ int PythonQtShell_QStatusBar::metric(QPaintDevice::PaintDeviceMetric arg__1) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14964,7 +14964,7 @@ QSize PythonQtShell_QStatusBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14997,7 +14997,7 @@ void PythonQtShell_QStatusBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15019,7 +15019,7 @@ void PythonQtShell_QStatusBar::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15041,7 +15041,7 @@ void PythonQtShell_QStatusBar::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15063,7 +15063,7 @@ void PythonQtShell_QStatusBar::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15085,7 +15085,7 @@ void PythonQtShell_QStatusBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15107,7 +15107,7 @@ bool PythonQtShell_QStatusBar::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15140,7 +15140,7 @@ QPaintEngine* PythonQtShell_QStatusBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15173,7 +15173,7 @@ void PythonQtShell_QStatusBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15195,7 +15195,7 @@ QPaintDevice* PythonQtShell_QStatusBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15228,7 +15228,7 @@ void PythonQtShell_QStatusBar::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15250,7 +15250,7 @@ void PythonQtShell_QStatusBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15272,7 +15272,7 @@ QPainter* PythonQtShell_QStatusBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15305,7 +15305,7 @@ void PythonQtShell_QStatusBar::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15327,7 +15327,7 @@ QSize PythonQtShell_QStatusBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15360,7 +15360,7 @@ void PythonQtShell_QStatusBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15382,7 +15382,7 @@ void PythonQtShell_QStatusBar::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15404,7 +15404,7 @@ void PythonQtShell_QStatusBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15510,7 +15510,7 @@ QModelIndex PythonQtShell_QStringListModel::buddy(const QModelIndex& index0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15543,7 +15543,7 @@ bool PythonQtShell_QStringListModel::canDropMimeData(const QMimeData* data0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15576,7 +15576,7 @@ bool PythonQtShell_QStringListModel::canFetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15609,7 +15609,7 @@ void PythonQtShell_QStringListModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15631,7 +15631,7 @@ void PythonQtShell_QStringListModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15653,7 +15653,7 @@ QVariant PythonQtShell_QStringListModel::data(const QModelIndex& index0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15686,7 +15686,7 @@ bool PythonQtShell_QStringListModel::dropMimeData(const QMimeData* data0, Qt:: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15719,7 +15719,7 @@ bool PythonQtShell_QStringListModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15752,7 +15752,7 @@ bool PythonQtShell_QStringListModel::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15785,7 +15785,7 @@ void PythonQtShell_QStringListModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15807,7 +15807,7 @@ Qt::ItemFlags PythonQtShell_QStringListModel::flags(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15840,7 +15840,7 @@ QVariant PythonQtShell_QStringListModel::headerData(int section0, Qt::Orientat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15873,7 +15873,7 @@ QModelIndex PythonQtShell_QStringListModel::index(int row0, int column1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15906,7 +15906,7 @@ bool PythonQtShell_QStringListModel::insertColumns(int column0, int count1, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15939,7 +15939,7 @@ bool PythonQtShell_QStringListModel::insertRows(int row0, int count1, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15972,7 +15972,7 @@ QMap PythonQtShell_QStringListModel::itemData(const QModelInde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16005,7 +16005,7 @@ QList PythonQtShell_QStringListModel::match(const QModelIndex& s { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16038,7 +16038,7 @@ QMimeData* PythonQtShell_QStringListModel::mimeData(const QList& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16071,7 +16071,7 @@ QStringList PythonQtShell_QStringListModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16104,7 +16104,7 @@ bool PythonQtShell_QStringListModel::moveColumns(const QModelIndex& sourcePare { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16137,7 +16137,7 @@ bool PythonQtShell_QStringListModel::moveRows(const QModelIndex& sourceParent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16170,7 +16170,7 @@ bool PythonQtShell_QStringListModel::removeColumns(int column0, int count1, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16203,7 +16203,7 @@ bool PythonQtShell_QStringListModel::removeRows(int row0, int count1, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16236,7 +16236,7 @@ void PythonQtShell_QStringListModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16258,7 +16258,7 @@ QHash PythonQtShell_QStringListModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16291,7 +16291,7 @@ int PythonQtShell_QStringListModel::rowCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16324,7 +16324,7 @@ bool PythonQtShell_QStringListModel::setData(const QModelIndex& index0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16357,7 +16357,7 @@ bool PythonQtShell_QStringListModel::setHeaderData(int section0, Qt::Orientati { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16390,7 +16390,7 @@ bool PythonQtShell_QStringListModel::setItemData(const QModelIndex& index0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16423,7 +16423,7 @@ QModelIndex PythonQtShell_QStringListModel::sibling(int row0, int column1, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16456,7 +16456,7 @@ void PythonQtShell_QStringListModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16478,7 +16478,7 @@ QSize PythonQtShell_QStringListModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16511,7 +16511,7 @@ bool PythonQtShell_QStringListModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16544,7 +16544,7 @@ Qt::DropActions PythonQtShell_QStringListModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16577,7 +16577,7 @@ Qt::DropActions PythonQtShell_QStringListModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16610,7 +16610,7 @@ void PythonQtShell_QStringListModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp b/generated_cpp_515/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp index 619aa5536..fcedcabca 100644 --- a/generated_cpp_515/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp +++ b/generated_cpp_515/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp @@ -61,7 +61,7 @@ int PythonQtShell_QBitmap::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -94,7 +94,7 @@ void PythonQtShell_QBitmap::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -116,7 +116,7 @@ int PythonQtShell_QBitmap::metric(QPaintDevice::PaintDeviceMetric arg__1) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -149,7 +149,7 @@ QPaintEngine* PythonQtShell_QBitmap::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -182,7 +182,7 @@ QPaintDevice* PythonQtShell_QBitmap::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -215,7 +215,7 @@ QPainter* PythonQtShell_QBitmap::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1626,7 +1626,7 @@ int PythonQtShell_QImage::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1659,7 +1659,7 @@ void PythonQtShell_QImage::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1681,7 +1681,7 @@ int PythonQtShell_QImage::metric(QPaintDevice::PaintDeviceMetric metric0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1714,7 +1714,7 @@ QPaintEngine* PythonQtShell_QImage::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1747,7 +1747,7 @@ QPaintDevice* PythonQtShell_QImage::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1780,7 +1780,7 @@ QPainter* PythonQtShell_QImage::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3199,7 +3199,7 @@ int PythonQtShell_QPixmap::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3232,7 +3232,7 @@ void PythonQtShell_QPixmap::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3254,7 +3254,7 @@ int PythonQtShell_QPixmap::metric(QPaintDevice::PaintDeviceMetric arg__1) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3287,7 +3287,7 @@ QPaintEngine* PythonQtShell_QPixmap::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3320,7 +3320,7 @@ QPaintDevice* PythonQtShell_QPixmap::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3353,7 +3353,7 @@ QPainter* PythonQtShell_QPixmap::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp b/generated_cpp_515/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp index 77f25cb47..d75b11ca4 100644 --- a/generated_cpp_515/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp +++ b/generated_cpp_515/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp @@ -43,7 +43,7 @@ void PythonQtShell_QAbstractAudioDeviceInfo::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -65,7 +65,7 @@ void PythonQtShell_QAbstractAudioDeviceInfo::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -87,7 +87,7 @@ QString PythonQtShell_QAbstractAudioDeviceInfo::deviceName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deviceName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -120,7 +120,7 @@ bool PythonQtShell_QAbstractAudioDeviceInfo::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -153,7 +153,7 @@ bool PythonQtShell_QAbstractAudioDeviceInfo::eventFilter(QObject* watched0, QE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -186,7 +186,7 @@ bool PythonQtShell_QAbstractAudioDeviceInfo::isFormatSupported(const QAudioForm { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isFormatSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -219,7 +219,7 @@ QAudioFormat PythonQtShell_QAbstractAudioDeviceInfo::preferredFormat() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preferredFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -252,7 +252,7 @@ QList PythonQtShell_QAbstractAudioDeviceInfo::supportedB { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedByteOrders"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -285,7 +285,7 @@ QList PythonQtShell_QAbstractAudioDeviceInfo::supportedChannelCounts() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedChannelCounts"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -318,7 +318,7 @@ QStringList PythonQtShell_QAbstractAudioDeviceInfo::supportedCodecs() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedCodecs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -351,7 +351,7 @@ QList PythonQtShell_QAbstractAudioDeviceInfo::supportedSampleRates() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedSampleRates"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -384,7 +384,7 @@ QList PythonQtShell_QAbstractAudioDeviceInfo::supportedSampleSizes() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedSampleSizes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -417,7 +417,7 @@ QList PythonQtShell_QAbstractAudioDeviceInfo::suppor { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedSampleTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -450,7 +450,7 @@ void PythonQtShell_QAbstractAudioDeviceInfo::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -540,7 +540,7 @@ int PythonQtShell_QAbstractAudioInput::bufferSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -573,7 +573,7 @@ int PythonQtShell_QAbstractAudioInput::bytesReady() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesReady"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -606,7 +606,7 @@ void PythonQtShell_QAbstractAudioInput::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -628,7 +628,7 @@ void PythonQtShell_QAbstractAudioInput::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -650,7 +650,7 @@ qint64 PythonQtShell_QAbstractAudioInput::elapsedUSecs() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("elapsedUSecs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -683,7 +683,7 @@ QAudio::Error PythonQtShell_QAbstractAudioInput::error() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("error"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -716,7 +716,7 @@ bool PythonQtShell_QAbstractAudioInput::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -749,7 +749,7 @@ bool PythonQtShell_QAbstractAudioInput::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -782,7 +782,7 @@ QAudioFormat PythonQtShell_QAbstractAudioInput::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -815,7 +815,7 @@ int PythonQtShell_QAbstractAudioInput::notifyInterval() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("notifyInterval"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -848,7 +848,7 @@ int PythonQtShell_QAbstractAudioInput::periodSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("periodSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -881,7 +881,7 @@ qint64 PythonQtShell_QAbstractAudioInput::processedUSecs() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("processedUSecs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -914,7 +914,7 @@ void PythonQtShell_QAbstractAudioInput::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -936,7 +936,7 @@ void PythonQtShell_QAbstractAudioInput::resume() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -958,7 +958,7 @@ void PythonQtShell_QAbstractAudioInput::setBufferSize(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -980,7 +980,7 @@ void PythonQtShell_QAbstractAudioInput::setFormat(const QAudioFormat& fmt0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1002,7 +1002,7 @@ void PythonQtShell_QAbstractAudioInput::setNotifyInterval(int milliSeconds0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setNotifyInterval"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1024,7 +1024,7 @@ void PythonQtShell_QAbstractAudioInput::setVolume(qreal arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVolume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1046,7 +1046,7 @@ QIODevice* PythonQtShell_QAbstractAudioInput::start() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("start"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1079,7 +1079,7 @@ void PythonQtShell_QAbstractAudioInput::start(QIODevice* device0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("start"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1101,7 +1101,7 @@ QAudio::State PythonQtShell_QAbstractAudioInput::state() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("state"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1134,7 +1134,7 @@ void PythonQtShell_QAbstractAudioInput::stop() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stop"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1156,7 +1156,7 @@ void PythonQtShell_QAbstractAudioInput::suspend() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("suspend"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1178,7 +1178,7 @@ void PythonQtShell_QAbstractAudioInput::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1200,7 +1200,7 @@ qreal PythonQtShell_QAbstractAudioInput::volume() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("volume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1356,7 +1356,7 @@ int PythonQtShell_QAbstractAudioOutput::bufferSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1389,7 +1389,7 @@ int PythonQtShell_QAbstractAudioOutput::bytesFree() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesFree"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1422,7 +1422,7 @@ QString PythonQtShell_QAbstractAudioOutput::category() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("category"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1455,7 +1455,7 @@ void PythonQtShell_QAbstractAudioOutput::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1477,7 +1477,7 @@ void PythonQtShell_QAbstractAudioOutput::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1499,7 +1499,7 @@ qint64 PythonQtShell_QAbstractAudioOutput::elapsedUSecs() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("elapsedUSecs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1532,7 +1532,7 @@ QAudio::Error PythonQtShell_QAbstractAudioOutput::error() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("error"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1565,7 +1565,7 @@ bool PythonQtShell_QAbstractAudioOutput::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1598,7 +1598,7 @@ bool PythonQtShell_QAbstractAudioOutput::eventFilter(QObject* watched0, QEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1631,7 +1631,7 @@ QAudioFormat PythonQtShell_QAbstractAudioOutput::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1664,7 +1664,7 @@ int PythonQtShell_QAbstractAudioOutput::notifyInterval() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("notifyInterval"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1697,7 +1697,7 @@ int PythonQtShell_QAbstractAudioOutput::periodSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("periodSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1730,7 +1730,7 @@ qint64 PythonQtShell_QAbstractAudioOutput::processedUSecs() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("processedUSecs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1763,7 +1763,7 @@ void PythonQtShell_QAbstractAudioOutput::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1785,7 +1785,7 @@ void PythonQtShell_QAbstractAudioOutput::resume() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1807,7 +1807,7 @@ void PythonQtShell_QAbstractAudioOutput::setBufferSize(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1829,7 +1829,7 @@ void PythonQtShell_QAbstractAudioOutput::setCategory(const QString& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setCategory"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1851,7 +1851,7 @@ void PythonQtShell_QAbstractAudioOutput::setFormat(const QAudioFormat& fmt0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1873,7 +1873,7 @@ void PythonQtShell_QAbstractAudioOutput::setNotifyInterval(int milliSeconds0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setNotifyInterval"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1895,7 +1895,7 @@ void PythonQtShell_QAbstractAudioOutput::setVolume(qreal arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVolume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1917,7 +1917,7 @@ QIODevice* PythonQtShell_QAbstractAudioOutput::start() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("start"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1950,7 +1950,7 @@ void PythonQtShell_QAbstractAudioOutput::start(QIODevice* device0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("start"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1972,7 +1972,7 @@ QAudio::State PythonQtShell_QAbstractAudioOutput::state() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("state"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2005,7 +2005,7 @@ void PythonQtShell_QAbstractAudioOutput::stop() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stop"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2027,7 +2027,7 @@ void PythonQtShell_QAbstractAudioOutput::suspend() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("suspend"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2049,7 +2049,7 @@ void PythonQtShell_QAbstractAudioOutput::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2071,7 +2071,7 @@ qreal PythonQtShell_QAbstractAudioOutput::volume() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("volume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2237,7 +2237,7 @@ QVariant PythonQtShell_QAbstractVideoBuffer::handle() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("handle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2270,7 +2270,7 @@ uchar* PythonQtShell_QAbstractVideoBuffer::map(QAbstractVideoBuffer::MapMode m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("map"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2303,7 +2303,7 @@ QAbstractVideoBuffer::MapMode PythonQtShell_QAbstractVideoBuffer::mapMode() con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2336,7 +2336,7 @@ void PythonQtShell_QAbstractVideoBuffer::release() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("release"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2358,7 +2358,7 @@ void PythonQtShell_QAbstractVideoBuffer::unmap() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2420,7 +2420,7 @@ void PythonQtShell_QAbstractVideoSurface::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2442,7 +2442,7 @@ void PythonQtShell_QAbstractVideoSurface::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2464,7 +2464,7 @@ bool PythonQtShell_QAbstractVideoSurface::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2497,7 +2497,7 @@ bool PythonQtShell_QAbstractVideoSurface::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2530,7 +2530,7 @@ bool PythonQtShell_QAbstractVideoSurface::isFormatSupported(const QVideoSurface { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isFormatSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2563,7 +2563,7 @@ QVideoSurfaceFormat PythonQtShell_QAbstractVideoSurface::nearestFormat(const QV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nearestFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2596,7 +2596,7 @@ bool PythonQtShell_QAbstractVideoSurface::present(const QVideoFrame& frame0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("present"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2629,7 +2629,7 @@ bool PythonQtShell_QAbstractVideoSurface::start(const QVideoSurfaceFormat& for { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("start"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2662,7 +2662,7 @@ void PythonQtShell_QAbstractVideoSurface::stop() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stop"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2684,7 +2684,7 @@ QList PythonQtShell_QAbstractVideoSurface::supported { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedPixelFormats"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2717,7 +2717,7 @@ void PythonQtShell_QAbstractVideoSurface::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2902,7 +2902,7 @@ QMultimedia::AvailabilityStatus PythonQtShell_QAudioDecoder::availability() con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2935,7 +2935,7 @@ bool PythonQtShell_QAudioDecoder::bind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2968,7 +2968,7 @@ void PythonQtShell_QAudioDecoder::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2990,7 +2990,7 @@ void PythonQtShell_QAudioDecoder::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3012,7 +3012,7 @@ bool PythonQtShell_QAudioDecoder::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3045,7 +3045,7 @@ bool PythonQtShell_QAudioDecoder::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3078,7 +3078,7 @@ bool PythonQtShell_QAudioDecoder::isAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3111,7 +3111,7 @@ QMediaService* PythonQtShell_QAudioDecoder::service() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3144,7 +3144,7 @@ void PythonQtShell_QAudioDecoder::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3166,7 +3166,7 @@ void PythonQtShell_QAudioDecoder::unbind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3281,7 +3281,7 @@ QAudioFormat PythonQtShell_QAudioDecoderControl::audioFormat() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("audioFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3314,7 +3314,7 @@ bool PythonQtShell_QAudioDecoderControl::bufferAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bufferAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3347,7 +3347,7 @@ void PythonQtShell_QAudioDecoderControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3369,7 +3369,7 @@ void PythonQtShell_QAudioDecoderControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3391,7 +3391,7 @@ qint64 PythonQtShell_QAudioDecoderControl::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3424,7 +3424,7 @@ bool PythonQtShell_QAudioDecoderControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3457,7 +3457,7 @@ bool PythonQtShell_QAudioDecoderControl::eventFilter(QObject* watched0, QEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3490,7 +3490,7 @@ qint64 PythonQtShell_QAudioDecoderControl::position() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("position"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3523,7 +3523,7 @@ QAudioBuffer PythonQtShell_QAudioDecoderControl::read() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3556,7 +3556,7 @@ void PythonQtShell_QAudioDecoderControl::setAudioFormat(const QAudioFormat& for { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setAudioFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3578,7 +3578,7 @@ void PythonQtShell_QAudioDecoderControl::setSourceDevice(QIODevice* device0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSourceDevice"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3600,7 +3600,7 @@ void PythonQtShell_QAudioDecoderControl::setSourceFilename(const QString& fileN { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSourceFilename"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3622,7 +3622,7 @@ QIODevice* PythonQtShell_QAudioDecoderControl::sourceDevice() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sourceDevice"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3655,7 +3655,7 @@ QString PythonQtShell_QAudioDecoderControl::sourceFilename() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sourceFilename"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3688,7 +3688,7 @@ void PythonQtShell_QAudioDecoderControl::start() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("start"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3710,7 +3710,7 @@ QAudioDecoder::State PythonQtShell_QAudioDecoderControl::state() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("state"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3743,7 +3743,7 @@ void PythonQtShell_QAudioDecoderControl::stop() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stop"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3765,7 +3765,7 @@ void PythonQtShell_QAudioDecoderControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4085,7 +4085,7 @@ QAudioEncoderSettings PythonQtShell_QAudioEncoderSettingsControl::audioSettings { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("audioSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4118,7 +4118,7 @@ void PythonQtShell_QAudioEncoderSettingsControl::childEvent(QChildEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4140,7 +4140,7 @@ QString PythonQtShell_QAudioEncoderSettingsControl::codecDescription(const QStr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("codecDescription"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4173,7 +4173,7 @@ void PythonQtShell_QAudioEncoderSettingsControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4195,7 +4195,7 @@ bool PythonQtShell_QAudioEncoderSettingsControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4228,7 +4228,7 @@ bool PythonQtShell_QAudioEncoderSettingsControl::eventFilter(QObject* watched0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4261,7 +4261,7 @@ void PythonQtShell_QAudioEncoderSettingsControl::setAudioSettings(const QAudioEn { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setAudioSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4283,7 +4283,7 @@ QStringList PythonQtShell_QAudioEncoderSettingsControl::supportedAudioCodecs() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedAudioCodecs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4316,7 +4316,7 @@ QList PythonQtShell_QAudioEncoderSettingsControl::supportedSampleRates(co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedSampleRates"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4349,7 +4349,7 @@ void PythonQtShell_QAudioEncoderSettingsControl::timerEvent(QTimerEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4551,7 +4551,7 @@ void PythonQtShell_QAudioInput::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4573,7 +4573,7 @@ void PythonQtShell_QAudioInput::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4595,7 +4595,7 @@ bool PythonQtShell_QAudioInput::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4628,7 +4628,7 @@ bool PythonQtShell_QAudioInput::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4661,7 +4661,7 @@ void PythonQtShell_QAudioInput::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4805,7 +4805,7 @@ QString PythonQtShell_QAudioInputSelectorControl::activeInput() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("activeInput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4838,7 +4838,7 @@ QList PythonQtShell_QAudioInputSelectorControl::availableInputs() con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availableInputs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4871,7 +4871,7 @@ void PythonQtShell_QAudioInputSelectorControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4893,7 +4893,7 @@ void PythonQtShell_QAudioInputSelectorControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4915,7 +4915,7 @@ QString PythonQtShell_QAudioInputSelectorControl::defaultInput() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("defaultInput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4948,7 +4948,7 @@ bool PythonQtShell_QAudioInputSelectorControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4981,7 +4981,7 @@ bool PythonQtShell_QAudioInputSelectorControl::eventFilter(QObject* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5014,7 +5014,7 @@ QString PythonQtShell_QAudioInputSelectorControl::inputDescription(const QStrin { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputDescription"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5047,7 +5047,7 @@ void PythonQtShell_QAudioInputSelectorControl::setActiveInput(const QString& na { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setActiveInput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5069,7 +5069,7 @@ void PythonQtShell_QAudioInputSelectorControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5134,7 +5134,7 @@ void PythonQtShell_QAudioOutput::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5156,7 +5156,7 @@ void PythonQtShell_QAudioOutput::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5178,7 +5178,7 @@ bool PythonQtShell_QAudioOutput::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5211,7 +5211,7 @@ bool PythonQtShell_QAudioOutput::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5244,7 +5244,7 @@ void PythonQtShell_QAudioOutput::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5398,7 +5398,7 @@ QString PythonQtShell_QAudioOutputSelectorControl::activeOutput() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("activeOutput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5431,7 +5431,7 @@ QList PythonQtShell_QAudioOutputSelectorControl::availableOutputs() c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availableOutputs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5464,7 +5464,7 @@ void PythonQtShell_QAudioOutputSelectorControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5486,7 +5486,7 @@ void PythonQtShell_QAudioOutputSelectorControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5508,7 +5508,7 @@ QString PythonQtShell_QAudioOutputSelectorControl::defaultOutput() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("defaultOutput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5541,7 +5541,7 @@ bool PythonQtShell_QAudioOutputSelectorControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5574,7 +5574,7 @@ bool PythonQtShell_QAudioOutputSelectorControl::eventFilter(QObject* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5607,7 +5607,7 @@ QString PythonQtShell_QAudioOutputSelectorControl::outputDescription(const QStr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("outputDescription"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5640,7 +5640,7 @@ void PythonQtShell_QAudioOutputSelectorControl::setActiveOutput(const QString& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setActiveOutput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5662,7 +5662,7 @@ void PythonQtShell_QAudioOutputSelectorControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5727,7 +5727,7 @@ void PythonQtShell_QAudioProbe::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5749,7 +5749,7 @@ void PythonQtShell_QAudioProbe::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5771,7 +5771,7 @@ bool PythonQtShell_QAudioProbe::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5804,7 +5804,7 @@ bool PythonQtShell_QAudioProbe::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5837,7 +5837,7 @@ void PythonQtShell_QAudioProbe::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5897,7 +5897,7 @@ void PythonQtShell_QAudioRecorder::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5919,7 +5919,7 @@ void PythonQtShell_QAudioRecorder::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5941,7 +5941,7 @@ bool PythonQtShell_QAudioRecorder::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5974,7 +5974,7 @@ bool PythonQtShell_QAudioRecorder::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6007,7 +6007,7 @@ QMediaObject* PythonQtShell_QAudioRecorder::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6040,7 +6040,7 @@ bool PythonQtShell_QAudioRecorder::setMediaObject(QMediaObject* object0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6073,7 +6073,7 @@ void PythonQtShell_QAudioRecorder::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6138,7 +6138,7 @@ QAudio::Role PythonQtShell_QAudioRoleControl::audioRole() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("audioRole"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6171,7 +6171,7 @@ void PythonQtShell_QAudioRoleControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6193,7 +6193,7 @@ void PythonQtShell_QAudioRoleControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6215,7 +6215,7 @@ bool PythonQtShell_QAudioRoleControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6248,7 +6248,7 @@ bool PythonQtShell_QAudioRoleControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6281,7 +6281,7 @@ void PythonQtShell_QAudioRoleControl::setAudioRole(QAudio::Role role0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setAudioRole"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6303,7 +6303,7 @@ QList PythonQtShell_QAudioRoleControl::supportedAudioRoles() con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedAudioRoles"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6336,7 +6336,7 @@ void PythonQtShell_QAudioRoleControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6396,7 +6396,7 @@ QList PythonQtShell_QAudioSystemFactoryInterface::availableDevices { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availableDevices"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6429,7 +6429,7 @@ QAbstractAudioDeviceInfo* PythonQtShell_QAudioSystemFactoryInterface::createDev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createDeviceInfo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6462,7 +6462,7 @@ QAbstractAudioInput* PythonQtShell_QAudioSystemFactoryInterface::createInput(co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createInput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6495,7 +6495,7 @@ QAbstractAudioOutput* PythonQtShell_QAudioSystemFactoryInterface::createOutput( { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createOutput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6558,7 +6558,7 @@ QList PythonQtShell_QAudioSystemPlugin::availableDevices(QAudio::M { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availableDevices"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6591,7 +6591,7 @@ QAbstractAudioDeviceInfo* PythonQtShell_QAudioSystemPlugin::createDeviceInfo(co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createDeviceInfo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6624,7 +6624,7 @@ QAbstractAudioInput* PythonQtShell_QAudioSystemPlugin::createInput(const QByteA { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createInput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6657,7 +6657,7 @@ QAbstractAudioOutput* PythonQtShell_QAudioSystemPlugin::createOutput(const QByt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createOutput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6733,7 +6733,7 @@ QMultimedia::AvailabilityStatus PythonQtShell_QCamera::availability() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6766,7 +6766,7 @@ bool PythonQtShell_QCamera::bind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6799,7 +6799,7 @@ void PythonQtShell_QCamera::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6821,7 +6821,7 @@ void PythonQtShell_QCamera::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6843,7 +6843,7 @@ bool PythonQtShell_QCamera::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6876,7 +6876,7 @@ bool PythonQtShell_QCamera::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6909,7 +6909,7 @@ bool PythonQtShell_QCamera::isAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6942,7 +6942,7 @@ QMediaService* PythonQtShell_QCamera::service() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6975,7 +6975,7 @@ void PythonQtShell_QCamera::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6997,7 +6997,7 @@ void PythonQtShell_QCamera::unbind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7174,7 +7174,7 @@ QVideoFrame::PixelFormat PythonQtShell_QCameraCaptureBufferFormatControl::buffe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bufferFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7207,7 +7207,7 @@ void PythonQtShell_QCameraCaptureBufferFormatControl::childEvent(QChildEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7229,7 +7229,7 @@ void PythonQtShell_QCameraCaptureBufferFormatControl::customEvent(QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7251,7 +7251,7 @@ bool PythonQtShell_QCameraCaptureBufferFormatControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7284,7 +7284,7 @@ bool PythonQtShell_QCameraCaptureBufferFormatControl::eventFilter(QObject* wat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7317,7 +7317,7 @@ void PythonQtShell_QCameraCaptureBufferFormatControl::setBufferFormat(QVideoFram { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setBufferFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7339,7 +7339,7 @@ QList PythonQtShell_QCameraCaptureBufferFormatContro { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedBufferFormats"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7372,7 +7372,7 @@ void PythonQtShell_QCameraCaptureBufferFormatControl::timerEvent(QTimerEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7432,7 +7432,7 @@ QCameraImageCapture::CaptureDestinations PythonQtShell_QCameraCaptureDestinatio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("captureDestination"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7465,7 +7465,7 @@ void PythonQtShell_QCameraCaptureDestinationControl::childEvent(QChildEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7487,7 +7487,7 @@ void PythonQtShell_QCameraCaptureDestinationControl::customEvent(QEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7509,7 +7509,7 @@ bool PythonQtShell_QCameraCaptureDestinationControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7542,7 +7542,7 @@ bool PythonQtShell_QCameraCaptureDestinationControl::eventFilter(QObject* watc { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7575,7 +7575,7 @@ bool PythonQtShell_QCameraCaptureDestinationControl::isCaptureDestinationSuppor { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isCaptureDestinationSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7608,7 +7608,7 @@ void PythonQtShell_QCameraCaptureDestinationControl::setCaptureDestination(QCame { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setCaptureDestination"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7630,7 +7630,7 @@ void PythonQtShell_QCameraCaptureDestinationControl::timerEvent(QTimerEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7690,7 +7690,7 @@ bool PythonQtShell_QCameraControl::canChangeProperty(QCameraControl::PropertyCh { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canChangeProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7723,7 +7723,7 @@ QCamera::CaptureModes PythonQtShell_QCameraControl::captureMode() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("captureMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7756,7 +7756,7 @@ void PythonQtShell_QCameraControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7778,7 +7778,7 @@ void PythonQtShell_QCameraControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7800,7 +7800,7 @@ bool PythonQtShell_QCameraControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7833,7 +7833,7 @@ bool PythonQtShell_QCameraControl::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7866,7 +7866,7 @@ bool PythonQtShell_QCameraControl::isCaptureModeSupported(QCamera::CaptureModes { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isCaptureModeSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7899,7 +7899,7 @@ void PythonQtShell_QCameraControl::setCaptureMode(QCamera::CaptureModes arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setCaptureMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7921,7 +7921,7 @@ void PythonQtShell_QCameraControl::setState(QCamera::State state0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7943,7 +7943,7 @@ QCamera::State PythonQtShell_QCameraControl::state() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("state"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7976,7 +7976,7 @@ QCamera::Status PythonQtShell_QCameraControl::status() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("status"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8009,7 +8009,7 @@ void PythonQtShell_QCameraControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8191,7 +8191,7 @@ QVariant PythonQtShell_QCameraExposureControl::actualValue(QCameraExposureContr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actualValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8224,7 +8224,7 @@ void PythonQtShell_QCameraExposureControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8246,7 +8246,7 @@ void PythonQtShell_QCameraExposureControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8268,7 +8268,7 @@ bool PythonQtShell_QCameraExposureControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8301,7 +8301,7 @@ bool PythonQtShell_QCameraExposureControl::eventFilter(QObject* watched0, QEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8334,7 +8334,7 @@ bool PythonQtShell_QCameraExposureControl::isParameterSupported(QCameraExposure { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isParameterSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8367,7 +8367,7 @@ QVariant PythonQtShell_QCameraExposureControl::requestedValue(QCameraExposureCo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("requestedValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8400,7 +8400,7 @@ bool PythonQtShell_QCameraExposureControl::setValue(QCameraExposureControl::Exp { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8433,7 +8433,7 @@ QList PythonQtShell_QCameraExposureControl::supportedParameterRange( { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedParameterRange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8466,7 +8466,7 @@ void PythonQtShell_QCameraExposureControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8536,7 +8536,7 @@ void PythonQtShell_QCameraFeedbackControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8558,7 +8558,7 @@ void PythonQtShell_QCameraFeedbackControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8580,7 +8580,7 @@ bool PythonQtShell_QCameraFeedbackControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8613,7 +8613,7 @@ bool PythonQtShell_QCameraFeedbackControl::eventFilter(QObject* watched0, QEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8646,7 +8646,7 @@ bool PythonQtShell_QCameraFeedbackControl::isEventFeedbackEnabled(QCameraFeedba { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEventFeedbackEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8679,7 +8679,7 @@ bool PythonQtShell_QCameraFeedbackControl::isEventFeedbackLocked(QCameraFeedbac { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEventFeedbackLocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8712,7 +8712,7 @@ void PythonQtShell_QCameraFeedbackControl::resetEventFeedback(QCameraFeedbackCon { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resetEventFeedback"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8734,7 +8734,7 @@ bool PythonQtShell_QCameraFeedbackControl::setEventFeedbackEnabled(QCameraFeedb { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEventFeedbackEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8767,7 +8767,7 @@ bool PythonQtShell_QCameraFeedbackControl::setEventFeedbackSound(QCameraFeedbac { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEventFeedbackSound"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8800,7 +8800,7 @@ void PythonQtShell_QCameraFeedbackControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8870,7 +8870,7 @@ void PythonQtShell_QCameraFlashControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8892,7 +8892,7 @@ void PythonQtShell_QCameraFlashControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8914,7 +8914,7 @@ bool PythonQtShell_QCameraFlashControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8947,7 +8947,7 @@ bool PythonQtShell_QCameraFlashControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8980,7 +8980,7 @@ QCameraExposure::FlashModes PythonQtShell_QCameraFlashControl::flashMode() cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flashMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9013,7 +9013,7 @@ bool PythonQtShell_QCameraFlashControl::isFlashModeSupported(QCameraExposure::F { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isFlashModeSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9046,7 +9046,7 @@ bool PythonQtShell_QCameraFlashControl::isFlashReady() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isFlashReady"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9079,7 +9079,7 @@ void PythonQtShell_QCameraFlashControl::setFlashMode(QCameraExposure::FlashModes { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFlashMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9101,7 +9101,7 @@ void PythonQtShell_QCameraFlashControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp b/generated_cpp_515/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp index c8cae6325..95d7f2bdc 100644 --- a/generated_cpp_515/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp +++ b/generated_cpp_515/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp @@ -156,7 +156,7 @@ void PythonQtShell_QCameraFocusControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -178,7 +178,7 @@ void PythonQtShell_QCameraFocusControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -200,7 +200,7 @@ QPointF PythonQtShell_QCameraFocusControl::customFocusPoint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customFocusPoint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -233,7 +233,7 @@ bool PythonQtShell_QCameraFocusControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -266,7 +266,7 @@ bool PythonQtShell_QCameraFocusControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -299,7 +299,7 @@ QCameraFocus::FocusModes PythonQtShell_QCameraFocusControl::focusMode() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -332,7 +332,7 @@ QCameraFocus::FocusPointMode PythonQtShell_QCameraFocusControl::focusPointMode( { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusPointMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -365,7 +365,7 @@ QList PythonQtShell_QCameraFocusControl::focusZones() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusZones"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -398,7 +398,7 @@ bool PythonQtShell_QCameraFocusControl::isFocusModeSupported(QCameraFocus::Focu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isFocusModeSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -431,7 +431,7 @@ bool PythonQtShell_QCameraFocusControl::isFocusPointModeSupported(QCameraFocus: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isFocusPointModeSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -464,7 +464,7 @@ void PythonQtShell_QCameraFocusControl::setCustomFocusPoint(const QPointF& poin { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setCustomFocusPoint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -486,7 +486,7 @@ void PythonQtShell_QCameraFocusControl::setFocusMode(QCameraFocus::FocusModes m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFocusMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -508,7 +508,7 @@ void PythonQtShell_QCameraFocusControl::setFocusPointMode(QCameraFocus::FocusPoi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFocusPointMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -530,7 +530,7 @@ void PythonQtShell_QCameraFocusControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -669,7 +669,7 @@ void PythonQtShell_QCameraImageCapture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -691,7 +691,7 @@ void PythonQtShell_QCameraImageCapture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -713,7 +713,7 @@ bool PythonQtShell_QCameraImageCapture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -746,7 +746,7 @@ bool PythonQtShell_QCameraImageCapture::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -779,7 +779,7 @@ QMediaObject* PythonQtShell_QCameraImageCapture::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -812,7 +812,7 @@ bool PythonQtShell_QCameraImageCapture::setMediaObject(QMediaObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -845,7 +845,7 @@ void PythonQtShell_QCameraImageCapture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -970,7 +970,7 @@ void PythonQtShell_QCameraImageCaptureControl::cancelCapture() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cancelCapture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -992,7 +992,7 @@ int PythonQtShell_QCameraImageCaptureControl::capture(const QString& fileName0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("capture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1025,7 +1025,7 @@ void PythonQtShell_QCameraImageCaptureControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1047,7 +1047,7 @@ void PythonQtShell_QCameraImageCaptureControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1069,7 +1069,7 @@ QCameraImageCapture::DriveMode PythonQtShell_QCameraImageCaptureControl::driveM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("driveMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1102,7 +1102,7 @@ bool PythonQtShell_QCameraImageCaptureControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1135,7 +1135,7 @@ bool PythonQtShell_QCameraImageCaptureControl::eventFilter(QObject* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1168,7 +1168,7 @@ bool PythonQtShell_QCameraImageCaptureControl::isReadyForCapture() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isReadyForCapture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1201,7 +1201,7 @@ void PythonQtShell_QCameraImageCaptureControl::setDriveMode(QCameraImageCapture: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDriveMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1223,7 +1223,7 @@ void PythonQtShell_QCameraImageCaptureControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1390,7 +1390,7 @@ void PythonQtShell_QCameraImageProcessingControl::childEvent(QChildEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1412,7 +1412,7 @@ void PythonQtShell_QCameraImageProcessingControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1434,7 +1434,7 @@ bool PythonQtShell_QCameraImageProcessingControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1467,7 +1467,7 @@ bool PythonQtShell_QCameraImageProcessingControl::eventFilter(QObject* watched { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1500,7 +1500,7 @@ bool PythonQtShell_QCameraImageProcessingControl::isParameterSupported(QCameraI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isParameterSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1533,7 +1533,7 @@ bool PythonQtShell_QCameraImageProcessingControl::isParameterValueSupported(QCa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isParameterValueSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1566,7 +1566,7 @@ QVariant PythonQtShell_QCameraImageProcessingControl::parameter(QCameraImagePro { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parameter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1599,7 +1599,7 @@ void PythonQtShell_QCameraImageProcessingControl::setParameter(QCameraImageProce { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setParameter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1621,7 +1621,7 @@ void PythonQtShell_QCameraImageProcessingControl::timerEvent(QTimerEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1757,7 +1757,7 @@ int PythonQtShell_QCameraInfoControl::cameraOrientation(const QString& deviceN { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cameraOrientation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1790,7 +1790,7 @@ QCamera::Position PythonQtShell_QCameraInfoControl::cameraPosition(const QStrin { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cameraPosition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1823,7 +1823,7 @@ void PythonQtShell_QCameraInfoControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1845,7 +1845,7 @@ void PythonQtShell_QCameraInfoControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1867,7 +1867,7 @@ bool PythonQtShell_QCameraInfoControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1900,7 +1900,7 @@ bool PythonQtShell_QCameraInfoControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1933,7 +1933,7 @@ void PythonQtShell_QCameraInfoControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1988,7 +1988,7 @@ void PythonQtShell_QCameraLocksControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2010,7 +2010,7 @@ void PythonQtShell_QCameraLocksControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2032,7 +2032,7 @@ bool PythonQtShell_QCameraLocksControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2065,7 +2065,7 @@ bool PythonQtShell_QCameraLocksControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2098,7 +2098,7 @@ QCamera::LockStatus PythonQtShell_QCameraLocksControl::lockStatus(QCamera::Lock { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("lockStatus"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2131,7 +2131,7 @@ void PythonQtShell_QCameraLocksControl::searchAndLock(QCamera::LockTypes locks0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("searchAndLock"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2153,7 +2153,7 @@ QCamera::LockTypes PythonQtShell_QCameraLocksControl::supportedLocks() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedLocks"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2186,7 +2186,7 @@ void PythonQtShell_QCameraLocksControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2208,7 +2208,7 @@ void PythonQtShell_QCameraLocksControl::unlock(QCamera::LockTypes locks0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unlock"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2273,7 +2273,7 @@ void PythonQtShell_QCameraViewfinder::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2295,7 +2295,7 @@ void PythonQtShell_QCameraViewfinder::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2317,7 +2317,7 @@ void PythonQtShell_QCameraViewfinder::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2339,7 +2339,7 @@ void PythonQtShell_QCameraViewfinder::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2361,7 +2361,7 @@ void PythonQtShell_QCameraViewfinder::contextMenuEvent(QContextMenuEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2383,7 +2383,7 @@ void PythonQtShell_QCameraViewfinder::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2405,7 +2405,7 @@ int PythonQtShell_QCameraViewfinder::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2438,7 +2438,7 @@ void PythonQtShell_QCameraViewfinder::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2460,7 +2460,7 @@ void PythonQtShell_QCameraViewfinder::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2482,7 +2482,7 @@ void PythonQtShell_QCameraViewfinder::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2504,7 +2504,7 @@ void PythonQtShell_QCameraViewfinder::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2526,7 +2526,7 @@ void PythonQtShell_QCameraViewfinder::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2548,7 +2548,7 @@ bool PythonQtShell_QCameraViewfinder::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2581,7 +2581,7 @@ bool PythonQtShell_QCameraViewfinder::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2614,7 +2614,7 @@ void PythonQtShell_QCameraViewfinder::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2636,7 +2636,7 @@ bool PythonQtShell_QCameraViewfinder::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2669,7 +2669,7 @@ void PythonQtShell_QCameraViewfinder::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2691,7 +2691,7 @@ bool PythonQtShell_QCameraViewfinder::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2724,7 +2724,7 @@ int PythonQtShell_QCameraViewfinder::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2757,7 +2757,7 @@ void PythonQtShell_QCameraViewfinder::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2779,7 +2779,7 @@ void PythonQtShell_QCameraViewfinder::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2801,7 +2801,7 @@ void PythonQtShell_QCameraViewfinder::inputMethodEvent(QInputMethodEvent* arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2823,7 +2823,7 @@ QVariant PythonQtShell_QCameraViewfinder::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2856,7 +2856,7 @@ void PythonQtShell_QCameraViewfinder::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2878,7 +2878,7 @@ void PythonQtShell_QCameraViewfinder::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2900,7 +2900,7 @@ void PythonQtShell_QCameraViewfinder::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2922,7 +2922,7 @@ QMediaObject* PythonQtShell_QCameraViewfinder::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2955,7 +2955,7 @@ int PythonQtShell_QCameraViewfinder::metric(QPaintDevice::PaintDeviceMetric ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2988,7 +2988,7 @@ QSize PythonQtShell_QCameraViewfinder::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3021,7 +3021,7 @@ void PythonQtShell_QCameraViewfinder::mouseDoubleClickEvent(QMouseEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3043,7 +3043,7 @@ void PythonQtShell_QCameraViewfinder::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3065,7 +3065,7 @@ void PythonQtShell_QCameraViewfinder::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3087,7 +3087,7 @@ void PythonQtShell_QCameraViewfinder::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3109,7 +3109,7 @@ void PythonQtShell_QCameraViewfinder::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3131,7 +3131,7 @@ bool PythonQtShell_QCameraViewfinder::nativeEvent(const QByteArray& eventType0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3164,7 +3164,7 @@ QPaintEngine* PythonQtShell_QCameraViewfinder::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3197,7 +3197,7 @@ void PythonQtShell_QCameraViewfinder::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3219,7 +3219,7 @@ QPaintDevice* PythonQtShell_QCameraViewfinder::redirected(QPoint* offset0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3252,7 +3252,7 @@ void PythonQtShell_QCameraViewfinder::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3274,7 +3274,7 @@ bool PythonQtShell_QCameraViewfinder::setMediaObject(QMediaObject* object0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3307,7 +3307,7 @@ void PythonQtShell_QCameraViewfinder::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3329,7 +3329,7 @@ QPainter* PythonQtShell_QCameraViewfinder::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3362,7 +3362,7 @@ void PythonQtShell_QCameraViewfinder::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3384,7 +3384,7 @@ QSize PythonQtShell_QCameraViewfinder::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3417,7 +3417,7 @@ void PythonQtShell_QCameraViewfinder::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3439,7 +3439,7 @@ void PythonQtShell_QCameraViewfinder::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3461,7 +3461,7 @@ void PythonQtShell_QCameraViewfinder::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3596,7 +3596,7 @@ void PythonQtShell_QCameraViewfinderSettingsControl::childEvent(QChildEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3618,7 +3618,7 @@ void PythonQtShell_QCameraViewfinderSettingsControl::customEvent(QEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3640,7 +3640,7 @@ bool PythonQtShell_QCameraViewfinderSettingsControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3673,7 +3673,7 @@ bool PythonQtShell_QCameraViewfinderSettingsControl::eventFilter(QObject* watc { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3706,7 +3706,7 @@ bool PythonQtShell_QCameraViewfinderSettingsControl::isViewfinderParameterSuppo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isViewfinderParameterSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3739,7 +3739,7 @@ void PythonQtShell_QCameraViewfinderSettingsControl::setViewfinderParameter(QCam { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setViewfinderParameter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3761,7 +3761,7 @@ void PythonQtShell_QCameraViewfinderSettingsControl::timerEvent(QTimerEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3783,7 +3783,7 @@ QVariant PythonQtShell_QCameraViewfinderSettingsControl::viewfinderParameter(QC { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewfinderParameter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3854,7 +3854,7 @@ void PythonQtShell_QCameraViewfinderSettingsControl2::childEvent(QChildEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3876,7 +3876,7 @@ void PythonQtShell_QCameraViewfinderSettingsControl2::customEvent(QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3898,7 +3898,7 @@ bool PythonQtShell_QCameraViewfinderSettingsControl2::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3931,7 +3931,7 @@ bool PythonQtShell_QCameraViewfinderSettingsControl2::eventFilter(QObject* wat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3964,7 +3964,7 @@ void PythonQtShell_QCameraViewfinderSettingsControl2::setViewfinderSettings(cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setViewfinderSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3986,7 +3986,7 @@ QList PythonQtShell_QCameraViewfinderSettingsContro { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedViewfinderSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4019,7 +4019,7 @@ void PythonQtShell_QCameraViewfinderSettingsControl2::timerEvent(QTimerEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4041,7 +4041,7 @@ QCameraViewfinderSettings PythonQtShell_QCameraViewfinderSettingsControl2::view { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewfinderSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4112,7 +4112,7 @@ void PythonQtShell_QCameraZoomControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4134,7 +4134,7 @@ qreal PythonQtShell_QCameraZoomControl::currentDigitalZoom() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentDigitalZoom"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4167,7 +4167,7 @@ qreal PythonQtShell_QCameraZoomControl::currentOpticalZoom() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentOpticalZoom"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4200,7 +4200,7 @@ void PythonQtShell_QCameraZoomControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4222,7 +4222,7 @@ bool PythonQtShell_QCameraZoomControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4255,7 +4255,7 @@ bool PythonQtShell_QCameraZoomControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4288,7 +4288,7 @@ qreal PythonQtShell_QCameraZoomControl::maximumDigitalZoom() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumDigitalZoom"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4321,7 +4321,7 @@ qreal PythonQtShell_QCameraZoomControl::maximumOpticalZoom() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumOpticalZoom"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4354,7 +4354,7 @@ qreal PythonQtShell_QCameraZoomControl::requestedDigitalZoom() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("requestedDigitalZoom"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4387,7 +4387,7 @@ qreal PythonQtShell_QCameraZoomControl::requestedOpticalZoom() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("requestedOpticalZoom"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4420,7 +4420,7 @@ void PythonQtShell_QCameraZoomControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4442,7 +4442,7 @@ void PythonQtShell_QCameraZoomControl::zoomTo(qreal optical0, qreal digital1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("zoomTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4546,7 +4546,7 @@ void PythonQtShell_QGraphicsVideoItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4568,7 +4568,7 @@ QRectF PythonQtShell_QGraphicsVideoItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4601,7 +4601,7 @@ void PythonQtShell_QGraphicsVideoItem::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4623,7 +4623,7 @@ bool PythonQtShell_QGraphicsVideoItem::collidesWithItem(const QGraphicsItem* o { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4656,7 +4656,7 @@ bool PythonQtShell_QGraphicsVideoItem::collidesWithPath(const QPainterPath& pa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4689,7 +4689,7 @@ bool PythonQtShell_QGraphicsVideoItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4722,7 +4722,7 @@ void PythonQtShell_QGraphicsVideoItem::contextMenuEvent(QGraphicsSceneContextMen { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4744,7 +4744,7 @@ void PythonQtShell_QGraphicsVideoItem::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4766,7 +4766,7 @@ void PythonQtShell_QGraphicsVideoItem::dragEnterEvent(QGraphicsSceneDragDropEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4788,7 +4788,7 @@ void PythonQtShell_QGraphicsVideoItem::dragLeaveEvent(QGraphicsSceneDragDropEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4810,7 +4810,7 @@ void PythonQtShell_QGraphicsVideoItem::dragMoveEvent(QGraphicsSceneDragDropEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4832,7 +4832,7 @@ void PythonQtShell_QGraphicsVideoItem::dropEvent(QGraphicsSceneDragDropEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4854,7 +4854,7 @@ bool PythonQtShell_QGraphicsVideoItem::event(QEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4887,7 +4887,7 @@ bool PythonQtShell_QGraphicsVideoItem::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4920,7 +4920,7 @@ QVariant PythonQtShell_QGraphicsVideoItem::extension(const QVariant& variant0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4953,7 +4953,7 @@ void PythonQtShell_QGraphicsVideoItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4975,7 +4975,7 @@ void PythonQtShell_QGraphicsVideoItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4997,7 +4997,7 @@ void PythonQtShell_QGraphicsVideoItem::hoverEnterEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5019,7 +5019,7 @@ void PythonQtShell_QGraphicsVideoItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5041,7 +5041,7 @@ void PythonQtShell_QGraphicsVideoItem::hoverMoveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5063,7 +5063,7 @@ void PythonQtShell_QGraphicsVideoItem::inputMethodEvent(QInputMethodEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5085,7 +5085,7 @@ QVariant PythonQtShell_QGraphicsVideoItem::inputMethodQuery(Qt::InputMethodQuer { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5118,7 +5118,7 @@ bool PythonQtShell_QGraphicsVideoItem::isObscuredBy(const QGraphicsItem* item0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5151,7 +5151,7 @@ QVariant PythonQtShell_QGraphicsVideoItem::itemChange(QGraphicsItem::GraphicsIt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5187,7 +5187,7 @@ void PythonQtShell_QGraphicsVideoItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5209,7 +5209,7 @@ void PythonQtShell_QGraphicsVideoItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5231,7 +5231,7 @@ QMediaObject* PythonQtShell_QGraphicsVideoItem::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5264,7 +5264,7 @@ void PythonQtShell_QGraphicsVideoItem::mouseDoubleClickEvent(QGraphicsSceneMouse { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5286,7 +5286,7 @@ void PythonQtShell_QGraphicsVideoItem::mouseMoveEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5308,7 +5308,7 @@ void PythonQtShell_QGraphicsVideoItem::mousePressEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5330,7 +5330,7 @@ void PythonQtShell_QGraphicsVideoItem::mouseReleaseEvent(QGraphicsSceneMouseEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5352,7 +5352,7 @@ QPainterPath PythonQtShell_QGraphicsVideoItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5385,7 +5385,7 @@ void PythonQtShell_QGraphicsVideoItem::paint(QPainter* painter0, const QStyleOp { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5407,7 +5407,7 @@ bool PythonQtShell_QGraphicsVideoItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5440,7 +5440,7 @@ bool PythonQtShell_QGraphicsVideoItem::sceneEventFilter(QGraphicsItem* watched { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5473,7 +5473,7 @@ void PythonQtShell_QGraphicsVideoItem::setExtension(QGraphicsItem::Extension ex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5495,7 +5495,7 @@ bool PythonQtShell_QGraphicsVideoItem::setMediaObject(QMediaObject* object0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5528,7 +5528,7 @@ QPainterPath PythonQtShell_QGraphicsVideoItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5561,7 +5561,7 @@ bool PythonQtShell_QGraphicsVideoItem::supportsExtension(QGraphicsItem::Extensi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5594,7 +5594,7 @@ void PythonQtShell_QGraphicsVideoItem::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5616,7 +5616,7 @@ int PythonQtShell_QGraphicsVideoItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5649,7 +5649,7 @@ void PythonQtShell_QGraphicsVideoItem::wheelEvent(QGraphicsSceneWheelEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5734,7 +5734,7 @@ void PythonQtShell_QImageEncoderControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5756,7 +5756,7 @@ void PythonQtShell_QImageEncoderControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5778,7 +5778,7 @@ bool PythonQtShell_QImageEncoderControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5811,7 +5811,7 @@ bool PythonQtShell_QImageEncoderControl::eventFilter(QObject* watched0, QEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5844,7 +5844,7 @@ QString PythonQtShell_QImageEncoderControl::imageCodecDescription(const QString { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("imageCodecDescription"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5877,7 +5877,7 @@ QImageEncoderSettings PythonQtShell_QImageEncoderControl::imageSettings() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("imageSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5910,7 +5910,7 @@ void PythonQtShell_QImageEncoderControl::setImageSettings(const QImageEncoderSet { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setImageSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5932,7 +5932,7 @@ QStringList PythonQtShell_QImageEncoderControl::supportedImageCodecs() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedImageCodecs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5965,7 +5965,7 @@ QList PythonQtShell_QImageEncoderControl::supportedResolutions(const QI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedResolutions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5998,7 +5998,7 @@ void PythonQtShell_QImageEncoderControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6153,7 +6153,7 @@ void PythonQtShell_QMediaAudioProbeControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6175,7 +6175,7 @@ void PythonQtShell_QMediaAudioProbeControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6197,7 +6197,7 @@ bool PythonQtShell_QMediaAudioProbeControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6230,7 +6230,7 @@ bool PythonQtShell_QMediaAudioProbeControl::eventFilter(QObject* watched0, QEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6263,7 +6263,7 @@ void PythonQtShell_QMediaAudioProbeControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6308,7 +6308,7 @@ QMultimedia::AvailabilityStatus PythonQtShell_QMediaAvailabilityControl::availa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6341,7 +6341,7 @@ void PythonQtShell_QMediaAvailabilityControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6363,7 +6363,7 @@ void PythonQtShell_QMediaAvailabilityControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6385,7 +6385,7 @@ bool PythonQtShell_QMediaAvailabilityControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6418,7 +6418,7 @@ bool PythonQtShell_QMediaAvailabilityControl::eventFilter(QObject* watched0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6451,7 +6451,7 @@ void PythonQtShell_QMediaAvailabilityControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6501,7 +6501,7 @@ QMediaObject* PythonQtShell_QMediaBindableInterface::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6534,7 +6534,7 @@ bool PythonQtShell_QMediaBindableInterface::setMediaObject(QMediaObject* objec { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6587,7 +6587,7 @@ void PythonQtShell_QMediaContainerControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6609,7 +6609,7 @@ QString PythonQtShell_QMediaContainerControl::containerDescription(const QStrin { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("containerDescription"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6642,7 +6642,7 @@ QString PythonQtShell_QMediaContainerControl::containerFormat() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("containerFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6675,7 +6675,7 @@ void PythonQtShell_QMediaContainerControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6697,7 +6697,7 @@ bool PythonQtShell_QMediaContainerControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6730,7 +6730,7 @@ bool PythonQtShell_QMediaContainerControl::eventFilter(QObject* watched0, QEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6763,7 +6763,7 @@ void PythonQtShell_QMediaContainerControl::setContainerFormat(const QString& fo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setContainerFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6785,7 +6785,7 @@ QStringList PythonQtShell_QMediaContainerControl::supportedContainers() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedContainers"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6818,7 +6818,7 @@ void PythonQtShell_QMediaContainerControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6963,7 +6963,7 @@ void PythonQtShell_QMediaControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6985,7 +6985,7 @@ void PythonQtShell_QMediaControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7007,7 +7007,7 @@ bool PythonQtShell_QMediaControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7040,7 +7040,7 @@ bool PythonQtShell_QMediaControl::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7073,7 +7073,7 @@ void PythonQtShell_QMediaControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7118,7 +7118,7 @@ void PythonQtShell_QMediaGaplessPlaybackControl::childEvent(QChildEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7140,7 +7140,7 @@ qreal PythonQtShell_QMediaGaplessPlaybackControl::crossfadeTime() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("crossfadeTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7173,7 +7173,7 @@ void PythonQtShell_QMediaGaplessPlaybackControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7195,7 +7195,7 @@ bool PythonQtShell_QMediaGaplessPlaybackControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7228,7 +7228,7 @@ bool PythonQtShell_QMediaGaplessPlaybackControl::eventFilter(QObject* watched0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7261,7 +7261,7 @@ bool PythonQtShell_QMediaGaplessPlaybackControl::isCrossfadeSupported() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isCrossfadeSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7294,7 +7294,7 @@ QMediaContent PythonQtShell_QMediaGaplessPlaybackControl::nextMedia() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextMedia"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7327,7 +7327,7 @@ void PythonQtShell_QMediaGaplessPlaybackControl::setCrossfadeTime(qreal crossfa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setCrossfadeTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7349,7 +7349,7 @@ void PythonQtShell_QMediaGaplessPlaybackControl::setNextMedia(const QMediaConten { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setNextMedia"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7371,7 +7371,7 @@ void PythonQtShell_QMediaGaplessPlaybackControl::timerEvent(QTimerEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7441,7 +7441,7 @@ void PythonQtShell_QMediaNetworkAccessControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7463,7 +7463,7 @@ QNetworkConfiguration PythonQtShell_QMediaNetworkAccessControl::currentConfigur { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentConfiguration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7496,7 +7496,7 @@ void PythonQtShell_QMediaNetworkAccessControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7518,7 +7518,7 @@ bool PythonQtShell_QMediaNetworkAccessControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7551,7 +7551,7 @@ bool PythonQtShell_QMediaNetworkAccessControl::eventFilter(QObject* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7584,7 +7584,7 @@ void PythonQtShell_QMediaNetworkAccessControl::setConfigurations(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setConfigurations"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7606,7 +7606,7 @@ void PythonQtShell_QMediaNetworkAccessControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7661,7 +7661,7 @@ QMultimedia::AvailabilityStatus PythonQtShell_QMediaObject::availability() cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7694,7 +7694,7 @@ bool PythonQtShell_QMediaObject::bind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7727,7 +7727,7 @@ void PythonQtShell_QMediaObject::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7749,7 +7749,7 @@ void PythonQtShell_QMediaObject::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7771,7 +7771,7 @@ bool PythonQtShell_QMediaObject::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7804,7 +7804,7 @@ bool PythonQtShell_QMediaObject::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7837,7 +7837,7 @@ bool PythonQtShell_QMediaObject::isAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7870,7 +7870,7 @@ QMediaService* PythonQtShell_QMediaObject::service() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7903,7 +7903,7 @@ void PythonQtShell_QMediaObject::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7925,7 +7925,7 @@ void PythonQtShell_QMediaObject::unbind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8030,7 +8030,7 @@ QMultimedia::AvailabilityStatus PythonQtShell_QMediaPlayer::availability() cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8063,7 +8063,7 @@ bool PythonQtShell_QMediaPlayer::bind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8096,7 +8096,7 @@ void PythonQtShell_QMediaPlayer::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8118,7 +8118,7 @@ void PythonQtShell_QMediaPlayer::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8140,7 +8140,7 @@ bool PythonQtShell_QMediaPlayer::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8173,7 +8173,7 @@ bool PythonQtShell_QMediaPlayer::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8206,7 +8206,7 @@ bool PythonQtShell_QMediaPlayer::isAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8239,7 +8239,7 @@ QMediaService* PythonQtShell_QMediaPlayer::service() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8272,7 +8272,7 @@ void PythonQtShell_QMediaPlayer::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8294,7 +8294,7 @@ void PythonQtShell_QMediaPlayer::unbind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8489,7 +8489,7 @@ QMediaTimeRange PythonQtShell_QMediaPlayerControl::availablePlaybackRanges() co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availablePlaybackRanges"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8522,7 +8522,7 @@ int PythonQtShell_QMediaPlayerControl::bufferStatus() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bufferStatus"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8555,7 +8555,7 @@ void PythonQtShell_QMediaPlayerControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8577,7 +8577,7 @@ void PythonQtShell_QMediaPlayerControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8599,7 +8599,7 @@ qint64 PythonQtShell_QMediaPlayerControl::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8632,7 +8632,7 @@ bool PythonQtShell_QMediaPlayerControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8665,7 +8665,7 @@ bool PythonQtShell_QMediaPlayerControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8698,7 +8698,7 @@ bool PythonQtShell_QMediaPlayerControl::isAudioAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAudioAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8731,7 +8731,7 @@ bool PythonQtShell_QMediaPlayerControl::isMuted() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isMuted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8764,7 +8764,7 @@ bool PythonQtShell_QMediaPlayerControl::isSeekable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSeekable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8797,7 +8797,7 @@ bool PythonQtShell_QMediaPlayerControl::isVideoAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isVideoAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8830,7 +8830,7 @@ QMediaContent PythonQtShell_QMediaPlayerControl::media() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("media"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8863,7 +8863,7 @@ QMediaPlayer::MediaStatus PythonQtShell_QMediaPlayerControl::mediaStatus() cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaStatus"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8896,7 +8896,7 @@ const QIODevice* PythonQtShell_QMediaPlayerControl::mediaStream() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaStream"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8929,7 +8929,7 @@ void PythonQtShell_QMediaPlayerControl::pause() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pause"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8951,7 +8951,7 @@ void PythonQtShell_QMediaPlayerControl::play() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("play"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8973,7 +8973,7 @@ qreal PythonQtShell_QMediaPlayerControl::playbackRate() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("playbackRate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9006,7 +9006,7 @@ qint64 PythonQtShell_QMediaPlayerControl::position() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("position"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9039,7 +9039,7 @@ void PythonQtShell_QMediaPlayerControl::setMedia(const QMediaContent& media0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMedia"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9061,7 +9061,7 @@ void PythonQtShell_QMediaPlayerControl::setMuted(bool mute0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMuted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9083,7 +9083,7 @@ void PythonQtShell_QMediaPlayerControl::setPlaybackRate(qreal rate0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPlaybackRate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9105,7 +9105,7 @@ void PythonQtShell_QMediaPlayerControl::setPosition(qint64 position0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPosition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9127,7 +9127,7 @@ void PythonQtShell_QMediaPlayerControl::setVolume(int volume0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVolume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9149,7 +9149,7 @@ QMediaPlayer::State PythonQtShell_QMediaPlayerControl::state() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("state"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9182,7 +9182,7 @@ void PythonQtShell_QMediaPlayerControl::stop() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stop"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9204,7 +9204,7 @@ void PythonQtShell_QMediaPlayerControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9226,7 +9226,7 @@ int PythonQtShell_QMediaPlayerControl::volume() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("volume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp b/generated_cpp_515/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp index eb14251a2..704f8fed6 100644 --- a/generated_cpp_515/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp +++ b/generated_cpp_515/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp @@ -39,7 +39,7 @@ void PythonQtShell_QMediaPlaylist::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -61,7 +61,7 @@ void PythonQtShell_QMediaPlaylist::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -83,7 +83,7 @@ bool PythonQtShell_QMediaPlaylist::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -116,7 +116,7 @@ bool PythonQtShell_QMediaPlaylist::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -149,7 +149,7 @@ QMediaObject* PythonQtShell_QMediaPlaylist::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -182,7 +182,7 @@ bool PythonQtShell_QMediaPlaylist::setMediaObject(QMediaObject* object0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -215,7 +215,7 @@ void PythonQtShell_QMediaPlaylist::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -385,7 +385,7 @@ void PythonQtShell_QMediaRecorder::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -407,7 +407,7 @@ void PythonQtShell_QMediaRecorder::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -429,7 +429,7 @@ bool PythonQtShell_QMediaRecorder::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -462,7 +462,7 @@ bool PythonQtShell_QMediaRecorder::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -495,7 +495,7 @@ QMediaObject* PythonQtShell_QMediaRecorder::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -528,7 +528,7 @@ bool PythonQtShell_QMediaRecorder::setMediaObject(QMediaObject* object0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -561,7 +561,7 @@ void PythonQtShell_QMediaRecorder::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -771,7 +771,7 @@ void PythonQtShell_QMediaRecorderControl::applySettings() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("applySettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -793,7 +793,7 @@ void PythonQtShell_QMediaRecorderControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -815,7 +815,7 @@ void PythonQtShell_QMediaRecorderControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -837,7 +837,7 @@ qint64 PythonQtShell_QMediaRecorderControl::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -870,7 +870,7 @@ bool PythonQtShell_QMediaRecorderControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -903,7 +903,7 @@ bool PythonQtShell_QMediaRecorderControl::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -936,7 +936,7 @@ bool PythonQtShell_QMediaRecorderControl::isMuted() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isMuted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -969,7 +969,7 @@ QUrl PythonQtShell_QMediaRecorderControl::outputLocation() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("outputLocation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1002,7 +1002,7 @@ void PythonQtShell_QMediaRecorderControl::setMuted(bool muted0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMuted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1024,7 +1024,7 @@ bool PythonQtShell_QMediaRecorderControl::setOutputLocation(const QUrl& locati { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setOutputLocation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1057,7 +1057,7 @@ void PythonQtShell_QMediaRecorderControl::setState(QMediaRecorder::State state0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1079,7 +1079,7 @@ void PythonQtShell_QMediaRecorderControl::setVolume(qreal volume0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVolume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1101,7 +1101,7 @@ QMediaRecorder::State PythonQtShell_QMediaRecorderControl::state() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("state"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1134,7 +1134,7 @@ QMediaRecorder::Status PythonQtShell_QMediaRecorderControl::status() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("status"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1167,7 +1167,7 @@ void PythonQtShell_QMediaRecorderControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1189,7 +1189,7 @@ qreal PythonQtShell_QMediaRecorderControl::volume() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("volume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1433,7 +1433,7 @@ void PythonQtShell_QMediaService::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1455,7 +1455,7 @@ void PythonQtShell_QMediaService::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1477,7 +1477,7 @@ bool PythonQtShell_QMediaService::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1510,7 +1510,7 @@ bool PythonQtShell_QMediaService::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1543,7 +1543,7 @@ void PythonQtShell_QMediaService::releaseControl(QMediaControl* control0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("releaseControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1565,7 +1565,7 @@ QMediaControl* PythonQtShell_QMediaService::requestControl(const char* name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("requestControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1598,7 +1598,7 @@ void PythonQtShell_QMediaService::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1653,7 +1653,7 @@ int PythonQtShell_QMediaServiceCameraInfoInterface::cameraOrientation(const QBy { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cameraOrientation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1686,7 +1686,7 @@ QCamera::Position PythonQtShell_QMediaServiceCameraInfoInterface::cameraPositio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cameraPosition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1739,7 +1739,7 @@ QByteArray PythonQtShell_QMediaServiceDefaultDeviceInterface::defaultDevice(con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("defaultDevice"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1787,7 +1787,7 @@ QMediaService* PythonQtShell_QMediaServiceProviderFactoryInterface::create(cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1820,7 +1820,7 @@ void PythonQtShell_QMediaServiceProviderFactoryInterface::release(QMediaService* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("release"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1929,7 +1929,7 @@ QMediaService* PythonQtShell_QMediaServiceProviderPlugin::create(const QString& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1962,7 +1962,7 @@ void PythonQtShell_QMediaServiceProviderPlugin::release(QMediaService* service0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("release"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2017,7 +2017,7 @@ QString PythonQtShell_QMediaServiceSupportedDevicesInterface::deviceDescription { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deviceDescription"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2050,7 +2050,7 @@ QList PythonQtShell_QMediaServiceSupportedDevicesInterface::device { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devices"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2103,7 +2103,7 @@ QMultimedia::SupportEstimate PythonQtShell_QMediaServiceSupportedFormatsInterfa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasSupport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2136,7 +2136,7 @@ QStringList PythonQtShell_QMediaServiceSupportedFormatsInterface::supportedMime { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedMimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2189,7 +2189,7 @@ void PythonQtShell_QMediaStreamsControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2211,7 +2211,7 @@ void PythonQtShell_QMediaStreamsControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2233,7 +2233,7 @@ bool PythonQtShell_QMediaStreamsControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2266,7 +2266,7 @@ bool PythonQtShell_QMediaStreamsControl::eventFilter(QObject* watched0, QEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2299,7 +2299,7 @@ bool PythonQtShell_QMediaStreamsControl::isActive(int streamNumber0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isActive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2332,7 +2332,7 @@ QVariant PythonQtShell_QMediaStreamsControl::metaData(int streamNumber0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2365,7 +2365,7 @@ void PythonQtShell_QMediaStreamsControl::setActive(int streamNumber0, bool sta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setActive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2387,7 +2387,7 @@ int PythonQtShell_QMediaStreamsControl::streamCount() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("streamCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2420,7 +2420,7 @@ QMediaStreamsControl::StreamType PythonQtShell_QMediaStreamsControl::streamType { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("streamType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2453,7 +2453,7 @@ void PythonQtShell_QMediaStreamsControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2722,7 +2722,7 @@ void PythonQtShell_QMediaVideoProbeControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2744,7 +2744,7 @@ void PythonQtShell_QMediaVideoProbeControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2766,7 +2766,7 @@ bool PythonQtShell_QMediaVideoProbeControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2799,7 +2799,7 @@ bool PythonQtShell_QMediaVideoProbeControl::eventFilter(QObject* watched0, QEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2832,7 +2832,7 @@ void PythonQtShell_QMediaVideoProbeControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2877,7 +2877,7 @@ QStringList PythonQtShell_QMetaDataReaderControl::availableMetaData() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availableMetaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2910,7 +2910,7 @@ void PythonQtShell_QMetaDataReaderControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2932,7 +2932,7 @@ void PythonQtShell_QMetaDataReaderControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2954,7 +2954,7 @@ bool PythonQtShell_QMetaDataReaderControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2987,7 +2987,7 @@ bool PythonQtShell_QMetaDataReaderControl::eventFilter(QObject* watched0, QEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3020,7 +3020,7 @@ bool PythonQtShell_QMetaDataReaderControl::isMetaDataAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isMetaDataAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3053,7 +3053,7 @@ QVariant PythonQtShell_QMetaDataReaderControl::metaData(const QString& key0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3086,7 +3086,7 @@ void PythonQtShell_QMetaDataReaderControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3146,7 +3146,7 @@ QStringList PythonQtShell_QMetaDataWriterControl::availableMetaData() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availableMetaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3179,7 +3179,7 @@ void PythonQtShell_QMetaDataWriterControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3201,7 +3201,7 @@ void PythonQtShell_QMetaDataWriterControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3223,7 +3223,7 @@ bool PythonQtShell_QMetaDataWriterControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3256,7 +3256,7 @@ bool PythonQtShell_QMetaDataWriterControl::eventFilter(QObject* watched0, QEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3289,7 +3289,7 @@ bool PythonQtShell_QMetaDataWriterControl::isMetaDataAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isMetaDataAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3322,7 +3322,7 @@ bool PythonQtShell_QMetaDataWriterControl::isWritable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isWritable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3355,7 +3355,7 @@ QVariant PythonQtShell_QMetaDataWriterControl::metaData(const QString& key0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3388,7 +3388,7 @@ void PythonQtShell_QMetaDataWriterControl::setMetaData(const QString& key0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMetaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3410,7 +3410,7 @@ void PythonQtShell_QMetaDataWriterControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3482,7 +3482,7 @@ void PythonQtShell_QRadioData::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3504,7 +3504,7 @@ void PythonQtShell_QRadioData::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3526,7 +3526,7 @@ bool PythonQtShell_QRadioData::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3559,7 +3559,7 @@ bool PythonQtShell_QRadioData::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3592,7 +3592,7 @@ QMediaObject* PythonQtShell_QRadioData::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3625,7 +3625,7 @@ bool PythonQtShell_QRadioData::setMediaObject(QMediaObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3658,7 +3658,7 @@ void PythonQtShell_QRadioData::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3748,7 +3748,7 @@ void PythonQtShell_QRadioDataControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3770,7 +3770,7 @@ void PythonQtShell_QRadioDataControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3792,7 +3792,7 @@ QRadioData::Error PythonQtShell_QRadioDataControl::error() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("error"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3825,7 +3825,7 @@ QString PythonQtShell_QRadioDataControl::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3858,7 +3858,7 @@ bool PythonQtShell_QRadioDataControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3891,7 +3891,7 @@ bool PythonQtShell_QRadioDataControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3924,7 +3924,7 @@ bool PythonQtShell_QRadioDataControl::isAlternativeFrequenciesEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAlternativeFrequenciesEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3957,7 +3957,7 @@ QRadioData::ProgramType PythonQtShell_QRadioDataControl::programType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("programType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3990,7 +3990,7 @@ QString PythonQtShell_QRadioDataControl::programTypeName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("programTypeName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4023,7 +4023,7 @@ QString PythonQtShell_QRadioDataControl::radioText() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("radioText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4056,7 +4056,7 @@ void PythonQtShell_QRadioDataControl::setAlternativeFrequenciesEnabled(bool ena { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setAlternativeFrequenciesEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4078,7 +4078,7 @@ QString PythonQtShell_QRadioDataControl::stationId() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stationId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4111,7 +4111,7 @@ QString PythonQtShell_QRadioDataControl::stationName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stationName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4144,7 +4144,7 @@ void PythonQtShell_QRadioDataControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4234,7 +4234,7 @@ QMultimedia::AvailabilityStatus PythonQtShell_QRadioTuner::availability() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4267,7 +4267,7 @@ bool PythonQtShell_QRadioTuner::bind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4300,7 +4300,7 @@ void PythonQtShell_QRadioTuner::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4322,7 +4322,7 @@ void PythonQtShell_QRadioTuner::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4344,7 +4344,7 @@ bool PythonQtShell_QRadioTuner::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4377,7 +4377,7 @@ bool PythonQtShell_QRadioTuner::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4410,7 +4410,7 @@ bool PythonQtShell_QRadioTuner::isAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4443,7 +4443,7 @@ QMediaService* PythonQtShell_QRadioTuner::service() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4476,7 +4476,7 @@ void PythonQtShell_QRadioTuner::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4498,7 +4498,7 @@ void PythonQtShell_QRadioTuner::unbind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4628,7 +4628,7 @@ QRadioTuner::Band PythonQtShell_QRadioTunerControl::band() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("band"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4661,7 +4661,7 @@ void PythonQtShell_QRadioTunerControl::cancelSearch() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cancelSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4683,7 +4683,7 @@ void PythonQtShell_QRadioTunerControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4705,7 +4705,7 @@ void PythonQtShell_QRadioTunerControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4727,7 +4727,7 @@ QRadioTuner::Error PythonQtShell_QRadioTunerControl::error() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("error"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4760,7 +4760,7 @@ QString PythonQtShell_QRadioTunerControl::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4793,7 +4793,7 @@ bool PythonQtShell_QRadioTunerControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4826,7 +4826,7 @@ bool PythonQtShell_QRadioTunerControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4859,7 +4859,7 @@ int PythonQtShell_QRadioTunerControl::frequency() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("frequency"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4892,7 +4892,7 @@ QPair PythonQtShell_QRadioTunerControl::frequencyRange(QRadioTuner: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("frequencyRange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4925,7 +4925,7 @@ int PythonQtShell_QRadioTunerControl::frequencyStep(QRadioTuner::Band b0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("frequencyStep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4958,7 +4958,7 @@ bool PythonQtShell_QRadioTunerControl::isAntennaConnected() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAntennaConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4991,7 +4991,7 @@ bool PythonQtShell_QRadioTunerControl::isBandSupported(QRadioTuner::Band b0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isBandSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5024,7 +5024,7 @@ bool PythonQtShell_QRadioTunerControl::isMuted() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isMuted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5057,7 +5057,7 @@ bool PythonQtShell_QRadioTunerControl::isSearching() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSearching"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5090,7 +5090,7 @@ bool PythonQtShell_QRadioTunerControl::isStereo() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isStereo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5123,7 +5123,7 @@ void PythonQtShell_QRadioTunerControl::searchAllStations(QRadioTuner::SearchMode { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("searchAllStations"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5145,7 +5145,7 @@ void PythonQtShell_QRadioTunerControl::searchBackward() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("searchBackward"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5167,7 +5167,7 @@ void PythonQtShell_QRadioTunerControl::searchForward() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("searchForward"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5189,7 +5189,7 @@ void PythonQtShell_QRadioTunerControl::setBand(QRadioTuner::Band b0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setBand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5211,7 +5211,7 @@ void PythonQtShell_QRadioTunerControl::setFrequency(int frequency0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFrequency"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5233,7 +5233,7 @@ void PythonQtShell_QRadioTunerControl::setMuted(bool muted0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMuted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5255,7 +5255,7 @@ void PythonQtShell_QRadioTunerControl::setStereoMode(QRadioTuner::StereoMode mo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setStereoMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5277,7 +5277,7 @@ void PythonQtShell_QRadioTunerControl::setVolume(int volume0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVolume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5299,7 +5299,7 @@ int PythonQtShell_QRadioTunerControl::signalStrength() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("signalStrength"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5332,7 +5332,7 @@ void PythonQtShell_QRadioTunerControl::start() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("start"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5354,7 +5354,7 @@ QRadioTuner::State PythonQtShell_QRadioTunerControl::state() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("state"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5387,7 +5387,7 @@ QRadioTuner::StereoMode PythonQtShell_QRadioTunerControl::stereoMode() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stereoMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5420,7 +5420,7 @@ void PythonQtShell_QRadioTunerControl::stop() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stop"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5442,7 +5442,7 @@ void PythonQtShell_QRadioTunerControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5464,7 +5464,7 @@ int PythonQtShell_QRadioTunerControl::volume() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("volume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5650,7 +5650,7 @@ void PythonQtShell_QSound::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5672,7 +5672,7 @@ void PythonQtShell_QSound::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5694,7 +5694,7 @@ bool PythonQtShell_QSound::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5727,7 +5727,7 @@ bool PythonQtShell_QSound::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5760,7 +5760,7 @@ void PythonQtShell_QSound::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5835,7 +5835,7 @@ void PythonQtShell_QSoundEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5857,7 +5857,7 @@ void PythonQtShell_QSoundEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5879,7 +5879,7 @@ bool PythonQtShell_QSoundEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5912,7 +5912,7 @@ bool PythonQtShell_QSoundEffect::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5945,7 +5945,7 @@ void PythonQtShell_QSoundEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6069,7 +6069,7 @@ void PythonQtShell_QVideoDeviceSelectorControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6091,7 +6091,7 @@ void PythonQtShell_QVideoDeviceSelectorControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6113,7 +6113,7 @@ int PythonQtShell_QVideoDeviceSelectorControl::defaultDevice() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("defaultDevice"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6146,7 +6146,7 @@ int PythonQtShell_QVideoDeviceSelectorControl::deviceCount() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deviceCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6179,7 +6179,7 @@ QString PythonQtShell_QVideoDeviceSelectorControl::deviceDescription(int index { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deviceDescription"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6212,7 +6212,7 @@ QString PythonQtShell_QVideoDeviceSelectorControl::deviceName(int index0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deviceName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6245,7 +6245,7 @@ bool PythonQtShell_QVideoDeviceSelectorControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6278,7 +6278,7 @@ bool PythonQtShell_QVideoDeviceSelectorControl::eventFilter(QObject* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6311,7 +6311,7 @@ int PythonQtShell_QVideoDeviceSelectorControl::selectedDevice() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedDevice"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6344,7 +6344,7 @@ void PythonQtShell_QVideoDeviceSelectorControl::setSelectedDevice(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectedDevice"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6366,7 +6366,7 @@ void PythonQtShell_QVideoDeviceSelectorControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6551,7 +6551,7 @@ void PythonQtShell_QVideoEncoderSettingsControl::childEvent(QChildEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6573,7 +6573,7 @@ void PythonQtShell_QVideoEncoderSettingsControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6595,7 +6595,7 @@ bool PythonQtShell_QVideoEncoderSettingsControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6628,7 +6628,7 @@ bool PythonQtShell_QVideoEncoderSettingsControl::eventFilter(QObject* watched0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6661,7 +6661,7 @@ void PythonQtShell_QVideoEncoderSettingsControl::setVideoSettings(const QVideoEn { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVideoSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6683,7 +6683,7 @@ QList PythonQtShell_QVideoEncoderSettingsControl::supportedFrameRates(c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedFrameRates"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6716,7 +6716,7 @@ QList PythonQtShell_QVideoEncoderSettingsControl::supportedResolutions( { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedResolutions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6749,7 +6749,7 @@ QStringList PythonQtShell_QVideoEncoderSettingsControl::supportedVideoCodecs() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedVideoCodecs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6782,7 +6782,7 @@ void PythonQtShell_QVideoEncoderSettingsControl::timerEvent(QTimerEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6804,7 +6804,7 @@ QString PythonQtShell_QVideoEncoderSettingsControl::videoCodecDescription(const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("videoCodecDescription"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6837,7 +6837,7 @@ QVideoEncoderSettings PythonQtShell_QVideoEncoderSettingsControl::videoSettings { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("videoSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7137,7 +7137,7 @@ void PythonQtShell_QVideoProbe::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7159,7 +7159,7 @@ void PythonQtShell_QVideoProbe::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7181,7 +7181,7 @@ bool PythonQtShell_QVideoProbe::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7214,7 +7214,7 @@ bool PythonQtShell_QVideoProbe::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7247,7 +7247,7 @@ void PythonQtShell_QVideoProbe::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp b/generated_cpp_515/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp index ec9fd76fd..c143a9e25 100644 --- a/generated_cpp_515/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp +++ b/generated_cpp_515/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp @@ -50,7 +50,7 @@ void PythonQtShell_QVideoRendererControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -72,7 +72,7 @@ void PythonQtShell_QVideoRendererControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -94,7 +94,7 @@ bool PythonQtShell_QVideoRendererControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -127,7 +127,7 @@ bool PythonQtShell_QVideoRendererControl::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -160,7 +160,7 @@ void PythonQtShell_QVideoRendererControl::setSurface(QAbstractVideoSurface* sur { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSurface"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -182,7 +182,7 @@ QAbstractVideoSurface* PythonQtShell_QVideoRendererControl::surface() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surface"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -215,7 +215,7 @@ void PythonQtShell_QVideoRendererControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -431,7 +431,7 @@ void PythonQtShell_QVideoWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -453,7 +453,7 @@ void PythonQtShell_QVideoWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -475,7 +475,7 @@ void PythonQtShell_QVideoWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -497,7 +497,7 @@ void PythonQtShell_QVideoWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -519,7 +519,7 @@ void PythonQtShell_QVideoWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -541,7 +541,7 @@ void PythonQtShell_QVideoWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -563,7 +563,7 @@ int PythonQtShell_QVideoWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -596,7 +596,7 @@ void PythonQtShell_QVideoWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -618,7 +618,7 @@ void PythonQtShell_QVideoWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -640,7 +640,7 @@ void PythonQtShell_QVideoWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -662,7 +662,7 @@ void PythonQtShell_QVideoWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -684,7 +684,7 @@ void PythonQtShell_QVideoWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -706,7 +706,7 @@ bool PythonQtShell_QVideoWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -739,7 +739,7 @@ bool PythonQtShell_QVideoWidget::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -772,7 +772,7 @@ void PythonQtShell_QVideoWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -794,7 +794,7 @@ bool PythonQtShell_QVideoWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -827,7 +827,7 @@ void PythonQtShell_QVideoWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -849,7 +849,7 @@ bool PythonQtShell_QVideoWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -882,7 +882,7 @@ int PythonQtShell_QVideoWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -915,7 +915,7 @@ void PythonQtShell_QVideoWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -937,7 +937,7 @@ void PythonQtShell_QVideoWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -959,7 +959,7 @@ void PythonQtShell_QVideoWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -981,7 +981,7 @@ QVariant PythonQtShell_QVideoWidget::inputMethodQuery(Qt::InputMethodQuery arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1014,7 +1014,7 @@ void PythonQtShell_QVideoWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1036,7 +1036,7 @@ void PythonQtShell_QVideoWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1058,7 +1058,7 @@ void PythonQtShell_QVideoWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1080,7 +1080,7 @@ QMediaObject* PythonQtShell_QVideoWidget::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1113,7 +1113,7 @@ int PythonQtShell_QVideoWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1146,7 +1146,7 @@ QSize PythonQtShell_QVideoWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1179,7 +1179,7 @@ void PythonQtShell_QVideoWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1201,7 +1201,7 @@ void PythonQtShell_QVideoWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1223,7 +1223,7 @@ void PythonQtShell_QVideoWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1245,7 +1245,7 @@ void PythonQtShell_QVideoWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1267,7 +1267,7 @@ void PythonQtShell_QVideoWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1289,7 +1289,7 @@ bool PythonQtShell_QVideoWidget::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1322,7 +1322,7 @@ QPaintEngine* PythonQtShell_QVideoWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1355,7 +1355,7 @@ void PythonQtShell_QVideoWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1377,7 +1377,7 @@ QPaintDevice* PythonQtShell_QVideoWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1410,7 +1410,7 @@ void PythonQtShell_QVideoWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1432,7 +1432,7 @@ bool PythonQtShell_QVideoWidget::setMediaObject(QMediaObject* object0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1465,7 +1465,7 @@ void PythonQtShell_QVideoWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1487,7 +1487,7 @@ QPainter* PythonQtShell_QVideoWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1520,7 +1520,7 @@ void PythonQtShell_QVideoWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1542,7 +1542,7 @@ QSize PythonQtShell_QVideoWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1575,7 +1575,7 @@ void PythonQtShell_QVideoWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1597,7 +1597,7 @@ void PythonQtShell_QVideoWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1619,7 +1619,7 @@ void PythonQtShell_QVideoWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1699,7 +1699,7 @@ Qt::AspectRatioMode PythonQtShell_QVideoWidgetControl::aspectRatioMode() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("aspectRatioMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1732,7 +1732,7 @@ int PythonQtShell_QVideoWidgetControl::brightness() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("brightness"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1765,7 +1765,7 @@ void PythonQtShell_QVideoWidgetControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1787,7 +1787,7 @@ int PythonQtShell_QVideoWidgetControl::contrast() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contrast"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1820,7 +1820,7 @@ void PythonQtShell_QVideoWidgetControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1842,7 +1842,7 @@ bool PythonQtShell_QVideoWidgetControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1875,7 +1875,7 @@ bool PythonQtShell_QVideoWidgetControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1908,7 +1908,7 @@ int PythonQtShell_QVideoWidgetControl::hue() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1941,7 +1941,7 @@ bool PythonQtShell_QVideoWidgetControl::isFullScreen() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isFullScreen"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1974,7 +1974,7 @@ int PythonQtShell_QVideoWidgetControl::saturation() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("saturation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2007,7 +2007,7 @@ void PythonQtShell_QVideoWidgetControl::setAspectRatioMode(Qt::AspectRatioMode { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setAspectRatioMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2029,7 +2029,7 @@ void PythonQtShell_QVideoWidgetControl::setBrightness(int brightness0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setBrightness"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2051,7 +2051,7 @@ void PythonQtShell_QVideoWidgetControl::setContrast(int contrast0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setContrast"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2073,7 +2073,7 @@ void PythonQtShell_QVideoWidgetControl::setFullScreen(bool fullScreen0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFullScreen"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2095,7 +2095,7 @@ void PythonQtShell_QVideoWidgetControl::setHue(int hue0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2117,7 +2117,7 @@ void PythonQtShell_QVideoWidgetControl::setSaturation(int saturation0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSaturation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2139,7 +2139,7 @@ void PythonQtShell_QVideoWidgetControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2161,7 +2161,7 @@ QWidget* PythonQtShell_QVideoWidgetControl::videoWidget() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("videoWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2282,7 +2282,7 @@ Qt::AspectRatioMode PythonQtShell_QVideoWindowControl::aspectRatioMode() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("aspectRatioMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2315,7 +2315,7 @@ int PythonQtShell_QVideoWindowControl::brightness() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("brightness"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2348,7 +2348,7 @@ void PythonQtShell_QVideoWindowControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2370,7 +2370,7 @@ int PythonQtShell_QVideoWindowControl::contrast() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contrast"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2403,7 +2403,7 @@ void PythonQtShell_QVideoWindowControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2425,7 +2425,7 @@ QRect PythonQtShell_QVideoWindowControl::displayRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("displayRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2458,7 +2458,7 @@ bool PythonQtShell_QVideoWindowControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2491,7 +2491,7 @@ bool PythonQtShell_QVideoWindowControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2524,7 +2524,7 @@ int PythonQtShell_QVideoWindowControl::hue() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2557,7 +2557,7 @@ bool PythonQtShell_QVideoWindowControl::isFullScreen() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isFullScreen"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2590,7 +2590,7 @@ QSize PythonQtShell_QVideoWindowControl::nativeSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2623,7 +2623,7 @@ void PythonQtShell_QVideoWindowControl::repaint() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("repaint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2645,7 +2645,7 @@ int PythonQtShell_QVideoWindowControl::saturation() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("saturation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2678,7 +2678,7 @@ void PythonQtShell_QVideoWindowControl::setAspectRatioMode(Qt::AspectRatioMode { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setAspectRatioMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2700,7 +2700,7 @@ void PythonQtShell_QVideoWindowControl::setBrightness(int brightness0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setBrightness"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2722,7 +2722,7 @@ void PythonQtShell_QVideoWindowControl::setContrast(int contrast0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setContrast"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2744,7 +2744,7 @@ void PythonQtShell_QVideoWindowControl::setDisplayRect(const QRect& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDisplayRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2766,7 +2766,7 @@ void PythonQtShell_QVideoWindowControl::setFullScreen(bool fullScreen0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFullScreen"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2788,7 +2788,7 @@ void PythonQtShell_QVideoWindowControl::setHue(int hue0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2810,7 +2810,7 @@ void PythonQtShell_QVideoWindowControl::setSaturation(int saturation0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSaturation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2832,7 +2832,7 @@ void PythonQtShell_QVideoWindowControl::setWinId(WId id0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setWinId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2854,7 +2854,7 @@ void PythonQtShell_QVideoWindowControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2876,7 +2876,7 @@ WId PythonQtShell_QVideoWindowControl::winId() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("winId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_network/com_trolltech_qt_network0.cpp b/generated_cpp_515/com_trolltech_qt_network/com_trolltech_qt_network0.cpp index 1a8e9077c..d76ebc1ad 100644 --- a/generated_cpp_515/com_trolltech_qt_network/com_trolltech_qt_network0.cpp +++ b/generated_cpp_515/com_trolltech_qt_network/com_trolltech_qt_network0.cpp @@ -50,7 +50,7 @@ qint64 PythonQtShell_QAbstractNetworkCache::cacheSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cacheSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -83,7 +83,7 @@ void PythonQtShell_QAbstractNetworkCache::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -105,7 +105,7 @@ void PythonQtShell_QAbstractNetworkCache::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -127,7 +127,7 @@ void PythonQtShell_QAbstractNetworkCache::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -149,7 +149,7 @@ QIODevice* PythonQtShell_QAbstractNetworkCache::data(const QUrl& url0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -182,7 +182,7 @@ bool PythonQtShell_QAbstractNetworkCache::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -215,7 +215,7 @@ bool PythonQtShell_QAbstractNetworkCache::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -248,7 +248,7 @@ void PythonQtShell_QAbstractNetworkCache::insert(QIODevice* device0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -270,7 +270,7 @@ QNetworkCacheMetaData PythonQtShell_QAbstractNetworkCache::metaData(const QUrl& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -303,7 +303,7 @@ QIODevice* PythonQtShell_QAbstractNetworkCache::prepare(const QNetworkCacheMeta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("prepare"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -336,7 +336,7 @@ bool PythonQtShell_QAbstractNetworkCache::remove(const QUrl& url0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("remove"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -369,7 +369,7 @@ void PythonQtShell_QAbstractNetworkCache::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -391,7 +391,7 @@ void PythonQtShell_QAbstractNetworkCache::updateMetaData(const QNetworkCacheMeta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateMetaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -471,7 +471,7 @@ bool PythonQtShell_QAbstractSocket::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -504,7 +504,7 @@ qint64 PythonQtShell_QAbstractSocket::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -537,7 +537,7 @@ qint64 PythonQtShell_QAbstractSocket::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -570,7 +570,7 @@ bool PythonQtShell_QAbstractSocket::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -603,7 +603,7 @@ void PythonQtShell_QAbstractSocket::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -625,7 +625,7 @@ void PythonQtShell_QAbstractSocket::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -647,7 +647,7 @@ void PythonQtShell_QAbstractSocket::connectToHost(const QHostAddress& address0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -669,7 +669,7 @@ void PythonQtShell_QAbstractSocket::connectToHost(const QString& hostName0, uns { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -691,7 +691,7 @@ void PythonQtShell_QAbstractSocket::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -713,7 +713,7 @@ void PythonQtShell_QAbstractSocket::disconnectFromHost() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("disconnectFromHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -735,7 +735,7 @@ bool PythonQtShell_QAbstractSocket::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -768,7 +768,7 @@ bool PythonQtShell_QAbstractSocket::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -801,7 +801,7 @@ bool PythonQtShell_QAbstractSocket::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -834,7 +834,7 @@ bool PythonQtShell_QAbstractSocket::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -867,7 +867,7 @@ qint64 PythonQtShell_QAbstractSocket::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -900,7 +900,7 @@ qint64 PythonQtShell_QAbstractSocket::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -933,7 +933,7 @@ qint64 PythonQtShell_QAbstractSocket::readLineData(char* data0, qint64 maxlen { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -966,7 +966,7 @@ bool PythonQtShell_QAbstractSocket::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -999,7 +999,7 @@ void PythonQtShell_QAbstractSocket::resume() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1021,7 +1021,7 @@ bool PythonQtShell_QAbstractSocket::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1054,7 +1054,7 @@ void PythonQtShell_QAbstractSocket::setReadBufferSize(qint64 size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1076,7 +1076,7 @@ bool PythonQtShell_QAbstractSocket::setSocketDescriptor(qintptr socketDescript { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSocketDescriptor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1109,7 +1109,7 @@ void PythonQtShell_QAbstractSocket::setSocketOption(QAbstractSocket::SocketOptio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSocketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1131,7 +1131,7 @@ qint64 PythonQtShell_QAbstractSocket::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1164,7 +1164,7 @@ qintptr PythonQtShell_QAbstractSocket::socketDescriptor() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("socketDescriptor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1197,7 +1197,7 @@ QVariant PythonQtShell_QAbstractSocket::socketOption(QAbstractSocket::SocketOpt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("socketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1230,7 +1230,7 @@ void PythonQtShell_QAbstractSocket::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1252,7 +1252,7 @@ bool PythonQtShell_QAbstractSocket::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1285,7 +1285,7 @@ bool PythonQtShell_QAbstractSocket::waitForConnected(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1318,7 +1318,7 @@ bool PythonQtShell_QAbstractSocket::waitForDisconnected(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForDisconnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1351,7 +1351,7 @@ bool PythonQtShell_QAbstractSocket::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1384,7 +1384,7 @@ qint64 PythonQtShell_QAbstractSocket::writeData(const char* data0, qint64 len { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1770,7 +1770,7 @@ void PythonQtShell_QDnsLookup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1792,7 +1792,7 @@ void PythonQtShell_QDnsLookup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1814,7 +1814,7 @@ bool PythonQtShell_QDnsLookup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1847,7 +1847,7 @@ bool PythonQtShell_QDnsLookup::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1880,7 +1880,7 @@ void PythonQtShell_QDnsLookup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2138,7 +2138,7 @@ void PythonQtShell_QDtls::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2160,7 +2160,7 @@ void PythonQtShell_QDtls::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2182,7 +2182,7 @@ bool PythonQtShell_QDtls::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2215,7 +2215,7 @@ bool PythonQtShell_QDtls::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2248,7 +2248,7 @@ void PythonQtShell_QDtls::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2428,7 +2428,7 @@ void PythonQtShell_QDtlsClientVerifier::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2450,7 +2450,7 @@ void PythonQtShell_QDtlsClientVerifier::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2472,7 +2472,7 @@ bool PythonQtShell_QDtlsClientVerifier::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2505,7 +2505,7 @@ bool PythonQtShell_QDtlsClientVerifier::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2538,7 +2538,7 @@ void PythonQtShell_QDtlsClientVerifier::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3023,7 +3023,7 @@ void PythonQtShell_QHttpMultiPart::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3045,7 +3045,7 @@ void PythonQtShell_QHttpMultiPart::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3067,7 +3067,7 @@ bool PythonQtShell_QHttpMultiPart::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3100,7 +3100,7 @@ bool PythonQtShell_QHttpMultiPart::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3133,7 +3133,7 @@ void PythonQtShell_QHttpMultiPart::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3262,7 +3262,7 @@ void PythonQtShell_QLocalServer::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3284,7 +3284,7 @@ void PythonQtShell_QLocalServer::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3306,7 +3306,7 @@ bool PythonQtShell_QLocalServer::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3339,7 +3339,7 @@ bool PythonQtShell_QLocalServer::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3372,7 +3372,7 @@ bool PythonQtShell_QLocalServer::hasPendingConnections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasPendingConnections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3405,7 +3405,7 @@ void PythonQtShell_QLocalServer::incomingConnection(quintptr socketDescriptor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("incomingConnection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3427,7 +3427,7 @@ QLocalSocket* PythonQtShell_QLocalServer::nextPendingConnection() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextPendingConnection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3460,7 +3460,7 @@ void PythonQtShell_QLocalServer::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3595,7 +3595,7 @@ bool PythonQtShell_QLocalSocket::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3628,7 +3628,7 @@ qint64 PythonQtShell_QLocalSocket::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3661,7 +3661,7 @@ qint64 PythonQtShell_QLocalSocket::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3694,7 +3694,7 @@ bool PythonQtShell_QLocalSocket::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3727,7 +3727,7 @@ void PythonQtShell_QLocalSocket::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3749,7 +3749,7 @@ void PythonQtShell_QLocalSocket::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3771,7 +3771,7 @@ void PythonQtShell_QLocalSocket::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3793,7 +3793,7 @@ bool PythonQtShell_QLocalSocket::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3826,7 +3826,7 @@ bool PythonQtShell_QLocalSocket::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3859,7 +3859,7 @@ bool PythonQtShell_QLocalSocket::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3892,7 +3892,7 @@ bool PythonQtShell_QLocalSocket::open(QIODevice::OpenMode openMode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3925,7 +3925,7 @@ qint64 PythonQtShell_QLocalSocket::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3958,7 +3958,7 @@ qint64 PythonQtShell_QLocalSocket::readData(char* arg__1, qint64 arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3991,7 +3991,7 @@ qint64 PythonQtShell_QLocalSocket::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4024,7 +4024,7 @@ bool PythonQtShell_QLocalSocket::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4057,7 +4057,7 @@ bool PythonQtShell_QLocalSocket::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4090,7 +4090,7 @@ qint64 PythonQtShell_QLocalSocket::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4123,7 +4123,7 @@ void PythonQtShell_QLocalSocket::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4145,7 +4145,7 @@ bool PythonQtShell_QLocalSocket::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4178,7 +4178,7 @@ bool PythonQtShell_QLocalSocket::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4211,7 +4211,7 @@ qint64 PythonQtShell_QLocalSocket::writeData(const char* arg__1, qint64 arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4352,7 +4352,7 @@ void PythonQtShell_QNetworkAccessManager::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4374,7 +4374,7 @@ QNetworkReply* PythonQtShell_QNetworkAccessManager::createRequest(QNetworkAcces { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createRequest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4407,7 +4407,7 @@ void PythonQtShell_QNetworkAccessManager::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4429,7 +4429,7 @@ bool PythonQtShell_QNetworkAccessManager::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4462,7 +4462,7 @@ bool PythonQtShell_QNetworkAccessManager::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4495,7 +4495,7 @@ void PythonQtShell_QNetworkAccessManager::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5065,7 +5065,7 @@ void PythonQtShell_QNetworkConfigurationManager::childEvent(QChildEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5087,7 +5087,7 @@ void PythonQtShell_QNetworkConfigurationManager::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5109,7 +5109,7 @@ bool PythonQtShell_QNetworkConfigurationManager::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5142,7 +5142,7 @@ bool PythonQtShell_QNetworkConfigurationManager::eventFilter(QObject* watched0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5175,7 +5175,7 @@ void PythonQtShell_QNetworkConfigurationManager::timerEvent(QTimerEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5372,7 +5372,7 @@ void PythonQtShell_QNetworkCookieJar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5394,7 +5394,7 @@ QList PythonQtShell_QNetworkCookieJar::cookiesForUrl(const QUr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cookiesForUrl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5427,7 +5427,7 @@ void PythonQtShell_QNetworkCookieJar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5449,7 +5449,7 @@ bool PythonQtShell_QNetworkCookieJar::deleteCookie(const QNetworkCookie& cooki { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deleteCookie"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5482,7 +5482,7 @@ bool PythonQtShell_QNetworkCookieJar::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5515,7 +5515,7 @@ bool PythonQtShell_QNetworkCookieJar::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5548,7 +5548,7 @@ bool PythonQtShell_QNetworkCookieJar::insertCookie(const QNetworkCookie& cooki { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertCookie"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5581,7 +5581,7 @@ bool PythonQtShell_QNetworkCookieJar::setCookiesFromUrl(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setCookiesFromUrl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5614,7 +5614,7 @@ void PythonQtShell_QNetworkCookieJar::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5636,7 +5636,7 @@ bool PythonQtShell_QNetworkCookieJar::updateCookie(const QNetworkCookie& cooki { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCookie"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5669,7 +5669,7 @@ bool PythonQtShell_QNetworkCookieJar::validateCookie(const QNetworkCookie& coo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validateCookie"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5869,7 +5869,7 @@ qint64 PythonQtShell_QNetworkDiskCache::cacheSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cacheSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5902,7 +5902,7 @@ void PythonQtShell_QNetworkDiskCache::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5924,7 +5924,7 @@ void PythonQtShell_QNetworkDiskCache::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5946,7 +5946,7 @@ void PythonQtShell_QNetworkDiskCache::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5968,7 +5968,7 @@ QIODevice* PythonQtShell_QNetworkDiskCache::data(const QUrl& url0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6001,7 +6001,7 @@ bool PythonQtShell_QNetworkDiskCache::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6034,7 +6034,7 @@ bool PythonQtShell_QNetworkDiskCache::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6067,7 +6067,7 @@ qint64 PythonQtShell_QNetworkDiskCache::expire() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expire"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6100,7 +6100,7 @@ void PythonQtShell_QNetworkDiskCache::insert(QIODevice* device0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6122,7 +6122,7 @@ QNetworkCacheMetaData PythonQtShell_QNetworkDiskCache::metaData(const QUrl& ur { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6155,7 +6155,7 @@ QIODevice* PythonQtShell_QNetworkDiskCache::prepare(const QNetworkCacheMetaData { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("prepare"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6188,7 +6188,7 @@ bool PythonQtShell_QNetworkDiskCache::remove(const QUrl& url0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("remove"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6221,7 +6221,7 @@ void PythonQtShell_QNetworkDiskCache::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6243,7 +6243,7 @@ void PythonQtShell_QNetworkDiskCache::updateMetaData(const QNetworkCacheMetaData { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateMetaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_network/com_trolltech_qt_network1.cpp b/generated_cpp_515/com_trolltech_qt_network/com_trolltech_qt_network1.cpp index 9a743862b..32a477d40 100644 --- a/generated_cpp_515/com_trolltech_qt_network/com_trolltech_qt_network1.cpp +++ b/generated_cpp_515/com_trolltech_qt_network/com_trolltech_qt_network1.cpp @@ -290,7 +290,7 @@ QList PythonQtShell_QNetworkProxyFactory::queryProxy(const QNet { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("queryProxy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -489,7 +489,7 @@ void PythonQtShell_QNetworkReply::abort() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("abort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -511,7 +511,7 @@ bool PythonQtShell_QNetworkReply::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -544,7 +544,7 @@ qint64 PythonQtShell_QNetworkReply::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -577,7 +577,7 @@ qint64 PythonQtShell_QNetworkReply::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -610,7 +610,7 @@ bool PythonQtShell_QNetworkReply::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -643,7 +643,7 @@ void PythonQtShell_QNetworkReply::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -665,7 +665,7 @@ void PythonQtShell_QNetworkReply::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -687,7 +687,7 @@ void PythonQtShell_QNetworkReply::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -709,7 +709,7 @@ bool PythonQtShell_QNetworkReply::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -742,7 +742,7 @@ bool PythonQtShell_QNetworkReply::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -775,7 +775,7 @@ void PythonQtShell_QNetworkReply::ignoreSslErrors() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ignoreSslErrors"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -797,7 +797,7 @@ void PythonQtShell_QNetworkReply::ignoreSslErrorsImplementation(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ignoreSslErrorsImplementation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -819,7 +819,7 @@ bool PythonQtShell_QNetworkReply::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -852,7 +852,7 @@ bool PythonQtShell_QNetworkReply::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -885,7 +885,7 @@ qint64 PythonQtShell_QNetworkReply::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -918,7 +918,7 @@ qint64 PythonQtShell_QNetworkReply::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -951,7 +951,7 @@ qint64 PythonQtShell_QNetworkReply::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -984,7 +984,7 @@ bool PythonQtShell_QNetworkReply::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1017,7 +1017,7 @@ bool PythonQtShell_QNetworkReply::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1050,7 +1050,7 @@ void PythonQtShell_QNetworkReply::setReadBufferSize(qint64 size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1072,7 +1072,7 @@ void PythonQtShell_QNetworkReply::setSslConfigurationImplementation(const QSslCo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSslConfigurationImplementation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1094,7 +1094,7 @@ qint64 PythonQtShell_QNetworkReply::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1127,7 +1127,7 @@ void PythonQtShell_QNetworkReply::sslConfigurationImplementation(QSslConfigurati { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sslConfigurationImplementation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1149,7 +1149,7 @@ void PythonQtShell_QNetworkReply::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1171,7 +1171,7 @@ bool PythonQtShell_QNetworkReply::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1204,7 +1204,7 @@ bool PythonQtShell_QNetworkReply::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1237,7 +1237,7 @@ qint64 PythonQtShell_QNetworkReply::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1582,7 +1582,7 @@ void PythonQtShell_QNetworkSession::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1604,7 +1604,7 @@ void PythonQtShell_QNetworkSession::connectNotify(const QMetaMethod& signal0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectNotify"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1626,7 +1626,7 @@ void PythonQtShell_QNetworkSession::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1648,7 +1648,7 @@ void PythonQtShell_QNetworkSession::disconnectNotify(const QMetaMethod& signal0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("disconnectNotify"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1670,7 +1670,7 @@ bool PythonQtShell_QNetworkSession::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1703,7 +1703,7 @@ bool PythonQtShell_QNetworkSession::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1736,7 +1736,7 @@ void PythonQtShell_QNetworkSession::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2888,7 +2888,7 @@ bool PythonQtShell_QSslSocket::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2921,7 +2921,7 @@ qint64 PythonQtShell_QSslSocket::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2954,7 +2954,7 @@ qint64 PythonQtShell_QSslSocket::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2987,7 +2987,7 @@ bool PythonQtShell_QSslSocket::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3020,7 +3020,7 @@ void PythonQtShell_QSslSocket::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3042,7 +3042,7 @@ void PythonQtShell_QSslSocket::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3064,7 +3064,7 @@ void PythonQtShell_QSslSocket::connectToHost(const QString& hostName0, unsigned { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3086,7 +3086,7 @@ void PythonQtShell_QSslSocket::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3108,7 +3108,7 @@ void PythonQtShell_QSslSocket::disconnectFromHost() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("disconnectFromHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3130,7 +3130,7 @@ bool PythonQtShell_QSslSocket::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3163,7 +3163,7 @@ bool PythonQtShell_QSslSocket::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3196,7 +3196,7 @@ bool PythonQtShell_QSslSocket::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3229,7 +3229,7 @@ bool PythonQtShell_QSslSocket::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3262,7 +3262,7 @@ qint64 PythonQtShell_QSslSocket::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3295,7 +3295,7 @@ qint64 PythonQtShell_QSslSocket::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3328,7 +3328,7 @@ qint64 PythonQtShell_QSslSocket::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3361,7 +3361,7 @@ bool PythonQtShell_QSslSocket::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3394,7 +3394,7 @@ void PythonQtShell_QSslSocket::resume() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3416,7 +3416,7 @@ bool PythonQtShell_QSslSocket::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3449,7 +3449,7 @@ void PythonQtShell_QSslSocket::setReadBufferSize(qint64 size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3471,7 +3471,7 @@ bool PythonQtShell_QSslSocket::setSocketDescriptor(qintptr socketDescriptor0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSocketDescriptor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3504,7 +3504,7 @@ void PythonQtShell_QSslSocket::setSocketOption(QAbstractSocket::SocketOption op { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSocketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3526,7 +3526,7 @@ qint64 PythonQtShell_QSslSocket::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3559,7 +3559,7 @@ qintptr PythonQtShell_QSslSocket::socketDescriptor() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("socketDescriptor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3592,7 +3592,7 @@ QVariant PythonQtShell_QSslSocket::socketOption(QAbstractSocket::SocketOption { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("socketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3625,7 +3625,7 @@ void PythonQtShell_QSslSocket::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3647,7 +3647,7 @@ bool PythonQtShell_QSslSocket::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3680,7 +3680,7 @@ bool PythonQtShell_QSslSocket::waitForConnected(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3713,7 +3713,7 @@ bool PythonQtShell_QSslSocket::waitForDisconnected(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForDisconnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3746,7 +3746,7 @@ bool PythonQtShell_QSslSocket::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3779,7 +3779,7 @@ qint64 PythonQtShell_QSslSocket::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4121,7 +4121,7 @@ void PythonQtShell_QTcpServer::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4143,7 +4143,7 @@ void PythonQtShell_QTcpServer::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4165,7 +4165,7 @@ bool PythonQtShell_QTcpServer::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4198,7 +4198,7 @@ bool PythonQtShell_QTcpServer::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4231,7 +4231,7 @@ bool PythonQtShell_QTcpServer::hasPendingConnections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasPendingConnections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4264,7 +4264,7 @@ void PythonQtShell_QTcpServer::incomingConnection(qintptr handle0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("incomingConnection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4286,7 +4286,7 @@ QTcpSocket* PythonQtShell_QTcpServer::nextPendingConnection() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextPendingConnection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4319,7 +4319,7 @@ void PythonQtShell_QTcpServer::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4464,7 +4464,7 @@ bool PythonQtShell_QTcpSocket::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4497,7 +4497,7 @@ qint64 PythonQtShell_QTcpSocket::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4530,7 +4530,7 @@ qint64 PythonQtShell_QTcpSocket::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4563,7 +4563,7 @@ bool PythonQtShell_QTcpSocket::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4596,7 +4596,7 @@ void PythonQtShell_QTcpSocket::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4618,7 +4618,7 @@ void PythonQtShell_QTcpSocket::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4640,7 +4640,7 @@ void PythonQtShell_QTcpSocket::connectToHost(const QHostAddress& address0, unsi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4662,7 +4662,7 @@ void PythonQtShell_QTcpSocket::connectToHost(const QString& hostName0, unsigned { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4684,7 +4684,7 @@ void PythonQtShell_QTcpSocket::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4706,7 +4706,7 @@ void PythonQtShell_QTcpSocket::disconnectFromHost() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("disconnectFromHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4728,7 +4728,7 @@ bool PythonQtShell_QTcpSocket::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4761,7 +4761,7 @@ bool PythonQtShell_QTcpSocket::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4794,7 +4794,7 @@ bool PythonQtShell_QTcpSocket::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4827,7 +4827,7 @@ bool PythonQtShell_QTcpSocket::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4860,7 +4860,7 @@ qint64 PythonQtShell_QTcpSocket::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4893,7 +4893,7 @@ qint64 PythonQtShell_QTcpSocket::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4926,7 +4926,7 @@ qint64 PythonQtShell_QTcpSocket::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4959,7 +4959,7 @@ bool PythonQtShell_QTcpSocket::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4992,7 +4992,7 @@ void PythonQtShell_QTcpSocket::resume() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5014,7 +5014,7 @@ bool PythonQtShell_QTcpSocket::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5047,7 +5047,7 @@ void PythonQtShell_QTcpSocket::setReadBufferSize(qint64 size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5069,7 +5069,7 @@ bool PythonQtShell_QTcpSocket::setSocketDescriptor(qintptr socketDescriptor0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSocketDescriptor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5102,7 +5102,7 @@ void PythonQtShell_QTcpSocket::setSocketOption(QAbstractSocket::SocketOption op { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSocketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5124,7 +5124,7 @@ qint64 PythonQtShell_QTcpSocket::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5157,7 +5157,7 @@ qintptr PythonQtShell_QTcpSocket::socketDescriptor() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("socketDescriptor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5190,7 +5190,7 @@ QVariant PythonQtShell_QTcpSocket::socketOption(QAbstractSocket::SocketOption { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("socketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5223,7 +5223,7 @@ void PythonQtShell_QTcpSocket::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5245,7 +5245,7 @@ bool PythonQtShell_QTcpSocket::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5278,7 +5278,7 @@ bool PythonQtShell_QTcpSocket::waitForConnected(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5311,7 +5311,7 @@ bool PythonQtShell_QTcpSocket::waitForDisconnected(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForDisconnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5344,7 +5344,7 @@ bool PythonQtShell_QTcpSocket::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5377,7 +5377,7 @@ qint64 PythonQtShell_QTcpSocket::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5433,7 +5433,7 @@ bool PythonQtShell_QUdpSocket::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5466,7 +5466,7 @@ qint64 PythonQtShell_QUdpSocket::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5499,7 +5499,7 @@ qint64 PythonQtShell_QUdpSocket::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5532,7 +5532,7 @@ bool PythonQtShell_QUdpSocket::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5565,7 +5565,7 @@ void PythonQtShell_QUdpSocket::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5587,7 +5587,7 @@ void PythonQtShell_QUdpSocket::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5609,7 +5609,7 @@ void PythonQtShell_QUdpSocket::connectToHost(const QHostAddress& address0, unsi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5631,7 +5631,7 @@ void PythonQtShell_QUdpSocket::connectToHost(const QString& hostName0, unsigned { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5653,7 +5653,7 @@ void PythonQtShell_QUdpSocket::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5675,7 +5675,7 @@ void PythonQtShell_QUdpSocket::disconnectFromHost() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("disconnectFromHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5697,7 +5697,7 @@ bool PythonQtShell_QUdpSocket::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5730,7 +5730,7 @@ bool PythonQtShell_QUdpSocket::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5763,7 +5763,7 @@ bool PythonQtShell_QUdpSocket::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5796,7 +5796,7 @@ bool PythonQtShell_QUdpSocket::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5829,7 +5829,7 @@ qint64 PythonQtShell_QUdpSocket::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5862,7 +5862,7 @@ qint64 PythonQtShell_QUdpSocket::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5895,7 +5895,7 @@ qint64 PythonQtShell_QUdpSocket::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5928,7 +5928,7 @@ bool PythonQtShell_QUdpSocket::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5961,7 +5961,7 @@ void PythonQtShell_QUdpSocket::resume() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5983,7 +5983,7 @@ bool PythonQtShell_QUdpSocket::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6016,7 +6016,7 @@ void PythonQtShell_QUdpSocket::setReadBufferSize(qint64 size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6038,7 +6038,7 @@ bool PythonQtShell_QUdpSocket::setSocketDescriptor(qintptr socketDescriptor0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSocketDescriptor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6071,7 +6071,7 @@ void PythonQtShell_QUdpSocket::setSocketOption(QAbstractSocket::SocketOption op { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSocketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6093,7 +6093,7 @@ qint64 PythonQtShell_QUdpSocket::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6126,7 +6126,7 @@ qintptr PythonQtShell_QUdpSocket::socketDescriptor() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("socketDescriptor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6159,7 +6159,7 @@ QVariant PythonQtShell_QUdpSocket::socketOption(QAbstractSocket::SocketOption { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("socketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6192,7 +6192,7 @@ void PythonQtShell_QUdpSocket::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6214,7 +6214,7 @@ bool PythonQtShell_QUdpSocket::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6247,7 +6247,7 @@ bool PythonQtShell_QUdpSocket::waitForConnected(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6280,7 +6280,7 @@ bool PythonQtShell_QUdpSocket::waitForDisconnected(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForDisconnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6313,7 +6313,7 @@ bool PythonQtShell_QUdpSocket::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6346,7 +6346,7 @@ qint64 PythonQtShell_QUdpSocket::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp b/generated_cpp_515/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp index 3c55bddbf..79e2ae388 100644 --- a/generated_cpp_515/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp +++ b/generated_cpp_515/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp @@ -232,7 +232,7 @@ bool PythonQtShell_QGLContext::chooseContext(const QGLContext* shareContext0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("chooseContext"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -265,7 +265,7 @@ bool PythonQtShell_QGLContext::create(const QGLContext* shareContext0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -298,7 +298,7 @@ void PythonQtShell_QGLContext::doneCurrent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doneCurrent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -320,7 +320,7 @@ void PythonQtShell_QGLContext::makeCurrent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("makeCurrent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -342,7 +342,7 @@ void PythonQtShell_QGLContext::swapBuffers() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("swapBuffers"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -869,7 +869,7 @@ int PythonQtShell_QGLFramebufferObject::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -902,7 +902,7 @@ void PythonQtShell_QGLFramebufferObject::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -924,7 +924,7 @@ int PythonQtShell_QGLFramebufferObject::metric(QPaintDevice::PaintDeviceMetric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -957,7 +957,7 @@ QPaintEngine* PythonQtShell_QGLFramebufferObject::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -990,7 +990,7 @@ QPaintDevice* PythonQtShell_QGLFramebufferObject::redirected(QPoint* offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1023,7 +1023,7 @@ QPainter* PythonQtShell_QGLFramebufferObject::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1741,7 +1741,7 @@ int PythonQtShell_QGLPixelBuffer::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1774,7 +1774,7 @@ void PythonQtShell_QGLPixelBuffer::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1796,7 +1796,7 @@ int PythonQtShell_QGLPixelBuffer::metric(QPaintDevice::PaintDeviceMetric metri { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1829,7 +1829,7 @@ QPaintEngine* PythonQtShell_QGLPixelBuffer::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1862,7 +1862,7 @@ QPaintDevice* PythonQtShell_QGLPixelBuffer::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1895,7 +1895,7 @@ QPainter* PythonQtShell_QGLPixelBuffer::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2037,7 +2037,7 @@ void PythonQtShell_QGLShader::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2059,7 +2059,7 @@ void PythonQtShell_QGLShader::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2081,7 +2081,7 @@ bool PythonQtShell_QGLShader::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2114,7 +2114,7 @@ bool PythonQtShell_QGLShader::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2147,7 +2147,7 @@ void PythonQtShell_QGLShader::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2246,7 +2246,7 @@ void PythonQtShell_QGLShaderProgram::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2268,7 +2268,7 @@ void PythonQtShell_QGLShaderProgram::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2290,7 +2290,7 @@ bool PythonQtShell_QGLShaderProgram::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2323,7 +2323,7 @@ bool PythonQtShell_QGLShaderProgram::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2356,7 +2356,7 @@ bool PythonQtShell_QGLShaderProgram::link() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("link"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2389,7 +2389,7 @@ void PythonQtShell_QGLShaderProgram::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2993,7 +2993,7 @@ void PythonQtShell_QGLWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3015,7 +3015,7 @@ void PythonQtShell_QGLWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3037,7 +3037,7 @@ void PythonQtShell_QGLWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3059,7 +3059,7 @@ void PythonQtShell_QGLWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3081,7 +3081,7 @@ void PythonQtShell_QGLWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3103,7 +3103,7 @@ void PythonQtShell_QGLWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3125,7 +3125,7 @@ int PythonQtShell_QGLWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3158,7 +3158,7 @@ void PythonQtShell_QGLWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3180,7 +3180,7 @@ void PythonQtShell_QGLWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3202,7 +3202,7 @@ void PythonQtShell_QGLWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3224,7 +3224,7 @@ void PythonQtShell_QGLWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3246,7 +3246,7 @@ void PythonQtShell_QGLWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3268,7 +3268,7 @@ bool PythonQtShell_QGLWidget::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3301,7 +3301,7 @@ bool PythonQtShell_QGLWidget::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3334,7 +3334,7 @@ void PythonQtShell_QGLWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3356,7 +3356,7 @@ bool PythonQtShell_QGLWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3389,7 +3389,7 @@ void PythonQtShell_QGLWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3411,7 +3411,7 @@ void PythonQtShell_QGLWidget::glDraw() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("glDraw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3433,7 +3433,7 @@ void PythonQtShell_QGLWidget::glInit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("glInit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3455,7 +3455,7 @@ bool PythonQtShell_QGLWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3488,7 +3488,7 @@ int PythonQtShell_QGLWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3521,7 +3521,7 @@ void PythonQtShell_QGLWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3543,7 +3543,7 @@ void PythonQtShell_QGLWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3565,7 +3565,7 @@ void PythonQtShell_QGLWidget::initializeGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initializeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3587,7 +3587,7 @@ void PythonQtShell_QGLWidget::initializeOverlayGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initializeOverlayGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3609,7 +3609,7 @@ void PythonQtShell_QGLWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3631,7 +3631,7 @@ QVariant PythonQtShell_QGLWidget::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3664,7 +3664,7 @@ void PythonQtShell_QGLWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3686,7 +3686,7 @@ void PythonQtShell_QGLWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3708,7 +3708,7 @@ void PythonQtShell_QGLWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3730,7 +3730,7 @@ int PythonQtShell_QGLWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3763,7 +3763,7 @@ QSize PythonQtShell_QGLWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3796,7 +3796,7 @@ void PythonQtShell_QGLWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3818,7 +3818,7 @@ void PythonQtShell_QGLWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3840,7 +3840,7 @@ void PythonQtShell_QGLWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3862,7 +3862,7 @@ void PythonQtShell_QGLWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3884,7 +3884,7 @@ void PythonQtShell_QGLWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3906,7 +3906,7 @@ bool PythonQtShell_QGLWidget::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3939,7 +3939,7 @@ QPaintEngine* PythonQtShell_QGLWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3972,7 +3972,7 @@ void PythonQtShell_QGLWidget::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3994,7 +3994,7 @@ void PythonQtShell_QGLWidget::paintGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4016,7 +4016,7 @@ void PythonQtShell_QGLWidget::paintOverlayGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintOverlayGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4038,7 +4038,7 @@ QPaintDevice* PythonQtShell_QGLWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4071,7 +4071,7 @@ void PythonQtShell_QGLWidget::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4093,7 +4093,7 @@ void PythonQtShell_QGLWidget::resizeGL(int w0, int h1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4115,7 +4115,7 @@ void PythonQtShell_QGLWidget::resizeOverlayGL(int w0, int h1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeOverlayGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4137,7 +4137,7 @@ void PythonQtShell_QGLWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4159,7 +4159,7 @@ QPainter* PythonQtShell_QGLWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4192,7 +4192,7 @@ void PythonQtShell_QGLWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4214,7 +4214,7 @@ QSize PythonQtShell_QGLWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4247,7 +4247,7 @@ void PythonQtShell_QGLWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4269,7 +4269,7 @@ void PythonQtShell_QGLWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4291,7 +4291,7 @@ void PythonQtShell_QGLWidget::updateGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4313,7 +4313,7 @@ void PythonQtShell_QGLWidget::updateOverlayGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateOverlayGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4335,7 +4335,7 @@ void PythonQtShell_QGLWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp b/generated_cpp_515/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp index 236cfdb3b..8c3c243c8 100644 --- a/generated_cpp_515/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp +++ b/generated_cpp_515/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp @@ -36,7 +36,7 @@ void PythonQtShell_QJSEngine::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -58,7 +58,7 @@ void PythonQtShell_QJSEngine::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -80,7 +80,7 @@ bool PythonQtShell_QJSEngine::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -113,7 +113,7 @@ bool PythonQtShell_QJSEngine::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -146,7 +146,7 @@ void PythonQtShell_QJSEngine::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -510,7 +510,7 @@ QUrl PythonQtShell_QQmlAbstractUrlInterceptor::intercept(const QUrl& path0, QQ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("intercept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -558,7 +558,7 @@ void PythonQtShell_QQmlApplicationEngine::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -580,7 +580,7 @@ void PythonQtShell_QQmlApplicationEngine::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -602,7 +602,7 @@ bool PythonQtShell_QQmlApplicationEngine::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -635,7 +635,7 @@ bool PythonQtShell_QQmlApplicationEngine::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -668,7 +668,7 @@ void PythonQtShell_QQmlApplicationEngine::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -731,7 +731,7 @@ QObject* PythonQtShell_QQmlComponent::beginCreate(QQmlContext* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("beginCreate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -764,7 +764,7 @@ void PythonQtShell_QQmlComponent::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -786,7 +786,7 @@ void PythonQtShell_QQmlComponent::completeCreate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("completeCreate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -808,7 +808,7 @@ QObject* PythonQtShell_QQmlComponent::create(QQmlContext* context0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -841,7 +841,7 @@ void PythonQtShell_QQmlComponent::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -863,7 +863,7 @@ bool PythonQtShell_QQmlComponent::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -896,7 +896,7 @@ bool PythonQtShell_QQmlComponent::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -929,7 +929,7 @@ void PythonQtShell_QQmlComponent::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1079,7 +1079,7 @@ void PythonQtShell_QQmlContext::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1101,7 +1101,7 @@ void PythonQtShell_QQmlContext::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1123,7 +1123,7 @@ bool PythonQtShell_QQmlContext::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1156,7 +1156,7 @@ bool PythonQtShell_QQmlContext::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1189,7 +1189,7 @@ void PythonQtShell_QQmlContext::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1344,7 +1344,7 @@ void PythonQtShell_QQmlEngine::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1366,7 +1366,7 @@ void PythonQtShell_QQmlEngine::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1388,7 +1388,7 @@ bool PythonQtShell_QQmlEngine::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1421,7 +1421,7 @@ bool PythonQtShell_QQmlEngine::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1454,7 +1454,7 @@ void PythonQtShell_QQmlEngine::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1735,7 +1735,7 @@ void PythonQtShell_QQmlExpression::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1757,7 +1757,7 @@ void PythonQtShell_QQmlExpression::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1779,7 +1779,7 @@ bool PythonQtShell_QQmlExpression::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1812,7 +1812,7 @@ bool PythonQtShell_QQmlExpression::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1845,7 +1845,7 @@ void PythonQtShell_QQmlExpression::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1973,7 +1973,7 @@ void PythonQtShell_QQmlExtensionInterface::initializeEngine(QQmlEngine* engine0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initializeEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1995,7 +1995,7 @@ void PythonQtShell_QQmlExtensionInterface::registerTypes(const char* uri0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("registerTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2032,7 +2032,7 @@ void PythonQtShell_QQmlExtensionPlugin::initializeEngine(QQmlEngine* engine0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initializeEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2054,7 +2054,7 @@ void PythonQtShell_QQmlExtensionPlugin::registerTypes(const char* uri0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("registerTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2248,7 +2248,7 @@ void PythonQtShell_QQmlFileSelector::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2270,7 +2270,7 @@ void PythonQtShell_QQmlFileSelector::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2292,7 +2292,7 @@ bool PythonQtShell_QQmlFileSelector::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2325,7 +2325,7 @@ bool PythonQtShell_QQmlFileSelector::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2358,7 +2358,7 @@ void PythonQtShell_QQmlFileSelector::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2428,7 +2428,7 @@ void PythonQtShell_QQmlIncubationController::incubatingObjectCountChanged(int a { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("incubatingObjectCountChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2485,7 +2485,7 @@ void PythonQtShell_QQmlIncubator::setInitialState(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setInitialState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2507,7 +2507,7 @@ void PythonQtShell_QQmlIncubator::statusChanged(QQmlIncubator::Status arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("statusChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2804,7 +2804,7 @@ QNetworkAccessManager* PythonQtShell_QQmlNetworkAccessManagerFactory::create(QO { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2852,7 +2852,7 @@ void PythonQtShell_QQmlParserStatus::classBegin() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("classBegin"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2874,7 +2874,7 @@ void PythonQtShell_QQmlParserStatus::componentComplete() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("componentComplete"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3100,7 +3100,7 @@ void PythonQtShell_QQmlPropertyMap::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3122,7 +3122,7 @@ void PythonQtShell_QQmlPropertyMap::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3144,7 +3144,7 @@ bool PythonQtShell_QQmlPropertyMap::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3177,7 +3177,7 @@ bool PythonQtShell_QQmlPropertyMap::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3210,7 +3210,7 @@ void PythonQtShell_QQmlPropertyMap::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3232,7 +3232,7 @@ QVariant PythonQtShell_QQmlPropertyMap::updateValue(const QString& key0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3338,7 +3338,7 @@ void PythonQtShell_QQmlPropertyValueSource::setTarget(const QQmlProperty& arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setTarget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3430,7 +3430,7 @@ void PythonQtShell_QQmlTypesExtensionInterface::registerTypes(const char* uri0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("registerTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp b/generated_cpp_515/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp index abeb4f708..04abb9b66 100644 --- a/generated_cpp_515/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp +++ b/generated_cpp_515/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp @@ -78,7 +78,7 @@ QRectF PythonQtShell_QQuickFramebufferObject::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -111,7 +111,7 @@ bool PythonQtShell_QQuickFramebufferObject::childMouseEventFilter(QQuickItem* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childMouseEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -144,7 +144,7 @@ void PythonQtShell_QQuickFramebufferObject::classBegin() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("classBegin"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -166,7 +166,7 @@ QRectF PythonQtShell_QQuickFramebufferObject::clipRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clipRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -199,7 +199,7 @@ void PythonQtShell_QQuickFramebufferObject::componentComplete() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("componentComplete"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -221,7 +221,7 @@ bool PythonQtShell_QQuickFramebufferObject::contains(const QPointF& point0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -254,7 +254,7 @@ QQuickFramebufferObject::Renderer* PythonQtShell_QQuickFramebufferObject::creat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createRenderer"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -287,7 +287,7 @@ void PythonQtShell_QQuickFramebufferObject::dragEnterEvent(QDragEnterEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -309,7 +309,7 @@ void PythonQtShell_QQuickFramebufferObject::dragLeaveEvent(QDragLeaveEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -331,7 +331,7 @@ void PythonQtShell_QQuickFramebufferObject::dragMoveEvent(QDragMoveEvent* arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -353,7 +353,7 @@ void PythonQtShell_QQuickFramebufferObject::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -375,7 +375,7 @@ bool PythonQtShell_QQuickFramebufferObject::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -408,7 +408,7 @@ void PythonQtShell_QQuickFramebufferObject::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -430,7 +430,7 @@ void PythonQtShell_QQuickFramebufferObject::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -452,7 +452,7 @@ void PythonQtShell_QQuickFramebufferObject::geometryChanged(const QRectF& newGe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometryChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -474,7 +474,7 @@ void PythonQtShell_QQuickFramebufferObject::hoverEnterEvent(QHoverEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -496,7 +496,7 @@ void PythonQtShell_QQuickFramebufferObject::hoverLeaveEvent(QHoverEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -518,7 +518,7 @@ void PythonQtShell_QQuickFramebufferObject::hoverMoveEvent(QHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -540,7 +540,7 @@ void PythonQtShell_QQuickFramebufferObject::inputMethodEvent(QInputMethodEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -562,7 +562,7 @@ QVariant PythonQtShell_QQuickFramebufferObject::inputMethodQuery(Qt::InputMetho { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -595,7 +595,7 @@ bool PythonQtShell_QQuickFramebufferObject::isTextureProvider() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isTextureProvider"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -628,7 +628,7 @@ void PythonQtShell_QQuickFramebufferObject::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -650,7 +650,7 @@ void PythonQtShell_QQuickFramebufferObject::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -672,7 +672,7 @@ void PythonQtShell_QQuickFramebufferObject::mouseDoubleClickEvent(QMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -694,7 +694,7 @@ void PythonQtShell_QQuickFramebufferObject::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -716,7 +716,7 @@ void PythonQtShell_QQuickFramebufferObject::mousePressEvent(QMouseEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -738,7 +738,7 @@ void PythonQtShell_QQuickFramebufferObject::mouseReleaseEvent(QMouseEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -760,7 +760,7 @@ void PythonQtShell_QQuickFramebufferObject::mouseUngrabEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseUngrabEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -782,7 +782,7 @@ void PythonQtShell_QQuickFramebufferObject::releaseResources() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("releaseResources"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -804,7 +804,7 @@ QSGTextureProvider* PythonQtShell_QQuickFramebufferObject::textureProvider() co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textureProvider"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -837,7 +837,7 @@ void PythonQtShell_QQuickFramebufferObject::touchEvent(QTouchEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -859,7 +859,7 @@ void PythonQtShell_QQuickFramebufferObject::touchUngrabEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchUngrabEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -881,7 +881,7 @@ QSGNode* PythonQtShell_QQuickFramebufferObject::updatePaintNode(QSGNode* arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updatePaintNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -914,7 +914,7 @@ void PythonQtShell_QQuickFramebufferObject::updatePolish() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updatePolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -936,7 +936,7 @@ void PythonQtShell_QQuickFramebufferObject::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -958,7 +958,7 @@ void PythonQtShell_QQuickFramebufferObject::windowDeactivateEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowDeactivateEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1028,7 +1028,7 @@ QOpenGLFramebufferObject* PythonQtShell_QQuickFramebufferObject__Renderer::crea { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createFramebufferObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1061,7 +1061,7 @@ void PythonQtShell_QQuickFramebufferObject__Renderer::render() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("render"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1083,7 +1083,7 @@ void PythonQtShell_QQuickFramebufferObject__Renderer::synchronize(QQuickFramebuf { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("synchronize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1157,7 +1157,7 @@ QRectF PythonQtShell_QQuickItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1190,7 +1190,7 @@ bool PythonQtShell_QQuickItem::childMouseEventFilter(QQuickItem* arg__1, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childMouseEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1223,7 +1223,7 @@ void PythonQtShell_QQuickItem::classBegin() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("classBegin"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1245,7 +1245,7 @@ QRectF PythonQtShell_QQuickItem::clipRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clipRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1278,7 +1278,7 @@ void PythonQtShell_QQuickItem::componentComplete() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("componentComplete"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1300,7 +1300,7 @@ bool PythonQtShell_QQuickItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1333,7 +1333,7 @@ void PythonQtShell_QQuickItem::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1355,7 +1355,7 @@ void PythonQtShell_QQuickItem::dragLeaveEvent(QDragLeaveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1377,7 +1377,7 @@ void PythonQtShell_QQuickItem::dragMoveEvent(QDragMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1399,7 +1399,7 @@ void PythonQtShell_QQuickItem::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1421,7 +1421,7 @@ bool PythonQtShell_QQuickItem::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1454,7 +1454,7 @@ void PythonQtShell_QQuickItem::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1476,7 +1476,7 @@ void PythonQtShell_QQuickItem::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1498,7 +1498,7 @@ void PythonQtShell_QQuickItem::geometryChanged(const QRectF& newGeometry0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometryChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1520,7 +1520,7 @@ void PythonQtShell_QQuickItem::hoverEnterEvent(QHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1542,7 +1542,7 @@ void PythonQtShell_QQuickItem::hoverLeaveEvent(QHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1564,7 +1564,7 @@ void PythonQtShell_QQuickItem::hoverMoveEvent(QHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1586,7 +1586,7 @@ void PythonQtShell_QQuickItem::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1608,7 +1608,7 @@ QVariant PythonQtShell_QQuickItem::inputMethodQuery(Qt::InputMethodQuery query { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1641,7 +1641,7 @@ bool PythonQtShell_QQuickItem::isTextureProvider() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isTextureProvider"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1674,7 +1674,7 @@ void PythonQtShell_QQuickItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1696,7 +1696,7 @@ void PythonQtShell_QQuickItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1718,7 +1718,7 @@ void PythonQtShell_QQuickItem::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1740,7 +1740,7 @@ void PythonQtShell_QQuickItem::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1762,7 +1762,7 @@ void PythonQtShell_QQuickItem::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1784,7 +1784,7 @@ void PythonQtShell_QQuickItem::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1806,7 +1806,7 @@ void PythonQtShell_QQuickItem::mouseUngrabEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseUngrabEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1828,7 +1828,7 @@ void PythonQtShell_QQuickItem::releaseResources() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("releaseResources"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1850,7 +1850,7 @@ QSGTextureProvider* PythonQtShell_QQuickItem::textureProvider() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textureProvider"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1883,7 +1883,7 @@ void PythonQtShell_QQuickItem::touchEvent(QTouchEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1905,7 +1905,7 @@ void PythonQtShell_QQuickItem::touchUngrabEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchUngrabEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1927,7 +1927,7 @@ QSGNode* PythonQtShell_QQuickItem::updatePaintNode(QSGNode* arg__1, QQuickItem { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updatePaintNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1960,7 +1960,7 @@ void PythonQtShell_QQuickItem::updatePolish() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updatePolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1982,7 +1982,7 @@ void PythonQtShell_QQuickItem::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2004,7 +2004,7 @@ void PythonQtShell_QQuickItem::windowDeactivateEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowDeactivateEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2785,7 +2785,7 @@ QRectF PythonQtShell_QQuickPaintedItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2818,7 +2818,7 @@ bool PythonQtShell_QQuickPaintedItem::childMouseEventFilter(QQuickItem* arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childMouseEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2851,7 +2851,7 @@ void PythonQtShell_QQuickPaintedItem::classBegin() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("classBegin"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2873,7 +2873,7 @@ QRectF PythonQtShell_QQuickPaintedItem::clipRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clipRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2906,7 +2906,7 @@ void PythonQtShell_QQuickPaintedItem::componentComplete() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("componentComplete"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2928,7 +2928,7 @@ bool PythonQtShell_QQuickPaintedItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2961,7 +2961,7 @@ void PythonQtShell_QQuickPaintedItem::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2983,7 +2983,7 @@ void PythonQtShell_QQuickPaintedItem::dragLeaveEvent(QDragLeaveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3005,7 +3005,7 @@ void PythonQtShell_QQuickPaintedItem::dragMoveEvent(QDragMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3027,7 +3027,7 @@ void PythonQtShell_QQuickPaintedItem::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3049,7 +3049,7 @@ bool PythonQtShell_QQuickPaintedItem::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3082,7 +3082,7 @@ void PythonQtShell_QQuickPaintedItem::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3104,7 +3104,7 @@ void PythonQtShell_QQuickPaintedItem::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3126,7 +3126,7 @@ void PythonQtShell_QQuickPaintedItem::geometryChanged(const QRectF& newGeometry { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometryChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3148,7 +3148,7 @@ void PythonQtShell_QQuickPaintedItem::hoverEnterEvent(QHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3170,7 +3170,7 @@ void PythonQtShell_QQuickPaintedItem::hoverLeaveEvent(QHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3192,7 +3192,7 @@ void PythonQtShell_QQuickPaintedItem::hoverMoveEvent(QHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3214,7 +3214,7 @@ void PythonQtShell_QQuickPaintedItem::inputMethodEvent(QInputMethodEvent* arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3236,7 +3236,7 @@ QVariant PythonQtShell_QQuickPaintedItem::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3269,7 +3269,7 @@ bool PythonQtShell_QQuickPaintedItem::isTextureProvider() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isTextureProvider"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3302,7 +3302,7 @@ void PythonQtShell_QQuickPaintedItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3324,7 +3324,7 @@ void PythonQtShell_QQuickPaintedItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3346,7 +3346,7 @@ void PythonQtShell_QQuickPaintedItem::mouseDoubleClickEvent(QMouseEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3368,7 +3368,7 @@ void PythonQtShell_QQuickPaintedItem::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3390,7 +3390,7 @@ void PythonQtShell_QQuickPaintedItem::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3412,7 +3412,7 @@ void PythonQtShell_QQuickPaintedItem::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3434,7 +3434,7 @@ void PythonQtShell_QQuickPaintedItem::mouseUngrabEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseUngrabEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3456,7 +3456,7 @@ void PythonQtShell_QQuickPaintedItem::paint(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3478,7 +3478,7 @@ void PythonQtShell_QQuickPaintedItem::releaseResources() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("releaseResources"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3500,7 +3500,7 @@ QSGTextureProvider* PythonQtShell_QQuickPaintedItem::textureProvider() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textureProvider"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3533,7 +3533,7 @@ void PythonQtShell_QQuickPaintedItem::touchEvent(QTouchEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3555,7 +3555,7 @@ void PythonQtShell_QQuickPaintedItem::touchUngrabEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchUngrabEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3577,7 +3577,7 @@ QSGNode* PythonQtShell_QQuickPaintedItem::updatePaintNode(QSGNode* arg__1, QQu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updatePaintNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3610,7 +3610,7 @@ void PythonQtShell_QQuickPaintedItem::updatePolish() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updatePolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3632,7 +3632,7 @@ void PythonQtShell_QQuickPaintedItem::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3654,7 +3654,7 @@ void PythonQtShell_QQuickPaintedItem::windowDeactivateEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowDeactivateEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3804,7 +3804,7 @@ void PythonQtShell_QQuickRenderControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3826,7 +3826,7 @@ void PythonQtShell_QQuickRenderControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3848,7 +3848,7 @@ bool PythonQtShell_QQuickRenderControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3881,7 +3881,7 @@ bool PythonQtShell_QQuickRenderControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3914,7 +3914,7 @@ QWindow* PythonQtShell_QQuickRenderControl::renderWindow(QPoint* offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("renderWindow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3947,7 +3947,7 @@ void PythonQtShell_QQuickRenderControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4037,7 +4037,7 @@ void PythonQtShell_QQuickTextDocument::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4059,7 +4059,7 @@ void PythonQtShell_QQuickTextDocument::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4081,7 +4081,7 @@ bool PythonQtShell_QQuickTextDocument::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4114,7 +4114,7 @@ bool PythonQtShell_QQuickTextDocument::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4147,7 +4147,7 @@ void PythonQtShell_QQuickTextDocument::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4197,7 +4197,7 @@ void PythonQtShell_QQuickTransform::applyTo(QMatrix4x4* matrix0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4219,7 +4219,7 @@ void PythonQtShell_QQuickTransform::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4241,7 +4241,7 @@ void PythonQtShell_QQuickTransform::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4263,7 +4263,7 @@ bool PythonQtShell_QQuickTransform::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4296,7 +4296,7 @@ bool PythonQtShell_QQuickTransform::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4329,7 +4329,7 @@ void PythonQtShell_QQuickTransform::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4389,7 +4389,7 @@ void PythonQtShell_QQuickView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4411,7 +4411,7 @@ void PythonQtShell_QQuickView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4433,7 +4433,7 @@ bool PythonQtShell_QQuickView::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4466,7 +4466,7 @@ bool PythonQtShell_QQuickView::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4499,7 +4499,7 @@ void PythonQtShell_QQuickView::exposeEvent(QExposeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exposeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4521,7 +4521,7 @@ void PythonQtShell_QQuickView::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4543,7 +4543,7 @@ QObject* PythonQtShell_QQuickView::focusObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4576,7 +4576,7 @@ void PythonQtShell_QQuickView::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4598,7 +4598,7 @@ QSurfaceFormat PythonQtShell_QQuickView::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4631,7 +4631,7 @@ void PythonQtShell_QQuickView::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4653,7 +4653,7 @@ void PythonQtShell_QQuickView::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4675,7 +4675,7 @@ void PythonQtShell_QQuickView::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4697,7 +4697,7 @@ void PythonQtShell_QQuickView::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4719,7 +4719,7 @@ void PythonQtShell_QQuickView::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4741,7 +4741,7 @@ void PythonQtShell_QQuickView::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4763,7 +4763,7 @@ void PythonQtShell_QQuickView::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4785,7 +4785,7 @@ void PythonQtShell_QQuickView::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4807,7 +4807,7 @@ bool PythonQtShell_QQuickView::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4840,7 +4840,7 @@ void PythonQtShell_QQuickView::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4862,7 +4862,7 @@ void PythonQtShell_QQuickView::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4884,7 +4884,7 @@ QSize PythonQtShell_QQuickView::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4917,7 +4917,7 @@ QSurface::SurfaceType PythonQtShell_QQuickView::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4950,7 +4950,7 @@ void PythonQtShell_QQuickView::tabletEvent(QTabletEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4972,7 +4972,7 @@ void PythonQtShell_QQuickView::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4994,7 +4994,7 @@ void PythonQtShell_QQuickView::touchEvent(QTouchEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5016,7 +5016,7 @@ void PythonQtShell_QQuickView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5123,7 +5123,7 @@ void PythonQtShell_QQuickWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5145,7 +5145,7 @@ void PythonQtShell_QQuickWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5167,7 +5167,7 @@ void PythonQtShell_QQuickWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5189,7 +5189,7 @@ void PythonQtShell_QQuickWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5211,7 +5211,7 @@ void PythonQtShell_QQuickWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5233,7 +5233,7 @@ void PythonQtShell_QQuickWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5255,7 +5255,7 @@ int PythonQtShell_QQuickWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5288,7 +5288,7 @@ void PythonQtShell_QQuickWidget::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5310,7 +5310,7 @@ void PythonQtShell_QQuickWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5332,7 +5332,7 @@ void PythonQtShell_QQuickWidget::dragMoveEvent(QDragMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5354,7 +5354,7 @@ void PythonQtShell_QQuickWidget::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5376,7 +5376,7 @@ void PythonQtShell_QQuickWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5398,7 +5398,7 @@ bool PythonQtShell_QQuickWidget::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5431,7 +5431,7 @@ bool PythonQtShell_QQuickWidget::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5464,7 +5464,7 @@ void PythonQtShell_QQuickWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5486,7 +5486,7 @@ bool PythonQtShell_QQuickWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5519,7 +5519,7 @@ void PythonQtShell_QQuickWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5541,7 +5541,7 @@ bool PythonQtShell_QQuickWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5574,7 +5574,7 @@ int PythonQtShell_QQuickWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5607,7 +5607,7 @@ void PythonQtShell_QQuickWidget::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5629,7 +5629,7 @@ void PythonQtShell_QQuickWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5651,7 +5651,7 @@ void PythonQtShell_QQuickWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5673,7 +5673,7 @@ QVariant PythonQtShell_QQuickWidget::inputMethodQuery(Qt::InputMethodQuery arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5706,7 +5706,7 @@ void PythonQtShell_QQuickWidget::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5728,7 +5728,7 @@ void PythonQtShell_QQuickWidget::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5750,7 +5750,7 @@ void PythonQtShell_QQuickWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5772,7 +5772,7 @@ int PythonQtShell_QQuickWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5805,7 +5805,7 @@ QSize PythonQtShell_QQuickWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5838,7 +5838,7 @@ void PythonQtShell_QQuickWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5860,7 +5860,7 @@ void PythonQtShell_QQuickWidget::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5882,7 +5882,7 @@ void PythonQtShell_QQuickWidget::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5904,7 +5904,7 @@ void PythonQtShell_QQuickWidget::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5926,7 +5926,7 @@ void PythonQtShell_QQuickWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5948,7 +5948,7 @@ bool PythonQtShell_QQuickWidget::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5981,7 +5981,7 @@ QPaintEngine* PythonQtShell_QQuickWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6014,7 +6014,7 @@ void PythonQtShell_QQuickWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6036,7 +6036,7 @@ QPaintDevice* PythonQtShell_QQuickWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6069,7 +6069,7 @@ void PythonQtShell_QQuickWidget::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6091,7 +6091,7 @@ void PythonQtShell_QQuickWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6113,7 +6113,7 @@ QPainter* PythonQtShell_QQuickWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6146,7 +6146,7 @@ void PythonQtShell_QQuickWidget::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6168,7 +6168,7 @@ QSize PythonQtShell_QQuickWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6201,7 +6201,7 @@ void PythonQtShell_QQuickWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6223,7 +6223,7 @@ void PythonQtShell_QQuickWidget::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6245,7 +6245,7 @@ void PythonQtShell_QQuickWidget::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6373,7 +6373,7 @@ void PythonQtShell_QQuickWindow::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6395,7 +6395,7 @@ void PythonQtShell_QQuickWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6417,7 +6417,7 @@ bool PythonQtShell_QQuickWindow::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6450,7 +6450,7 @@ bool PythonQtShell_QQuickWindow::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6483,7 +6483,7 @@ void PythonQtShell_QQuickWindow::exposeEvent(QExposeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exposeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6505,7 +6505,7 @@ void PythonQtShell_QQuickWindow::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6527,7 +6527,7 @@ QObject* PythonQtShell_QQuickWindow::focusObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6560,7 +6560,7 @@ void PythonQtShell_QQuickWindow::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6582,7 +6582,7 @@ QSurfaceFormat PythonQtShell_QQuickWindow::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6615,7 +6615,7 @@ void PythonQtShell_QQuickWindow::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6637,7 +6637,7 @@ void PythonQtShell_QQuickWindow::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6659,7 +6659,7 @@ void PythonQtShell_QQuickWindow::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6681,7 +6681,7 @@ void PythonQtShell_QQuickWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6703,7 +6703,7 @@ void PythonQtShell_QQuickWindow::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6725,7 +6725,7 @@ void PythonQtShell_QQuickWindow::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6747,7 +6747,7 @@ void PythonQtShell_QQuickWindow::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6769,7 +6769,7 @@ void PythonQtShell_QQuickWindow::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6791,7 +6791,7 @@ bool PythonQtShell_QQuickWindow::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6824,7 +6824,7 @@ void PythonQtShell_QQuickWindow::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6846,7 +6846,7 @@ void PythonQtShell_QQuickWindow::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6868,7 +6868,7 @@ QSize PythonQtShell_QQuickWindow::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6901,7 +6901,7 @@ QSurface::SurfaceType PythonQtShell_QQuickWindow::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6934,7 +6934,7 @@ void PythonQtShell_QQuickWindow::tabletEvent(QTabletEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6956,7 +6956,7 @@ void PythonQtShell_QQuickWindow::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6978,7 +6978,7 @@ void PythonQtShell_QQuickWindow::touchEvent(QTouchEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7000,7 +7000,7 @@ void PythonQtShell_QQuickWindow::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7251,7 +7251,7 @@ void PythonQtShell_QSGAbstractRenderer::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7273,7 +7273,7 @@ void PythonQtShell_QSGAbstractRenderer::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7295,7 +7295,7 @@ bool PythonQtShell_QSGAbstractRenderer::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7328,7 +7328,7 @@ bool PythonQtShell_QSGAbstractRenderer::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7361,7 +7361,7 @@ void PythonQtShell_QSGAbstractRenderer::nodeChanged(QSGNode* node0, QSGNode::Di { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nodeChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7383,7 +7383,7 @@ void PythonQtShell_QSGAbstractRenderer::renderScene(uint fboId0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("renderScene"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7405,7 +7405,7 @@ void PythonQtShell_QSGAbstractRenderer::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7535,7 +7535,7 @@ bool PythonQtShell_QSGBasicGeometryNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7568,7 +7568,7 @@ void PythonQtShell_QSGBasicGeometryNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7635,7 +7635,7 @@ bool PythonQtShell_QSGClipNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7668,7 +7668,7 @@ void PythonQtShell_QSGClipNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7720,7 +7720,7 @@ void PythonQtShell_QSGDynamicTexture::bind() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7742,7 +7742,7 @@ void PythonQtShell_QSGDynamicTexture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7764,7 +7764,7 @@ void PythonQtShell_QSGDynamicTexture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7786,7 +7786,7 @@ bool PythonQtShell_QSGDynamicTexture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7819,7 +7819,7 @@ bool PythonQtShell_QSGDynamicTexture::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7852,7 +7852,7 @@ bool PythonQtShell_QSGDynamicTexture::hasAlphaChannel() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasAlphaChannel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7885,7 +7885,7 @@ bool PythonQtShell_QSGDynamicTexture::hasMipmaps() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasMipmaps"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7918,7 +7918,7 @@ bool PythonQtShell_QSGDynamicTexture::isAtlasTexture() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAtlasTexture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7951,7 +7951,7 @@ QRectF PythonQtShell_QSGDynamicTexture::normalizedTextureSubRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("normalizedTextureSubRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7984,7 +7984,7 @@ QSGTexture* PythonQtShell_QSGDynamicTexture::removedFromAtlas() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removedFromAtlas"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8017,7 +8017,7 @@ int PythonQtShell_QSGDynamicTexture::textureId() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textureId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8050,7 +8050,7 @@ QSize PythonQtShell_QSGDynamicTexture::textureSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textureSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8083,7 +8083,7 @@ void PythonQtShell_QSGDynamicTexture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8105,7 +8105,7 @@ bool PythonQtShell_QSGDynamicTexture::updateTexture() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateTexture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8166,7 +8166,7 @@ void PythonQtShell_QSGEngine::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8188,7 +8188,7 @@ void PythonQtShell_QSGEngine::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8210,7 +8210,7 @@ bool PythonQtShell_QSGEngine::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8243,7 +8243,7 @@ bool PythonQtShell_QSGEngine::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8276,7 +8276,7 @@ void PythonQtShell_QSGEngine::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8351,7 +8351,7 @@ QSGMaterialType* PythonQtShell_QSGFlatColorMaterial::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8609,7 +8609,7 @@ bool PythonQtShell_QSGGeometryNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8642,7 +8642,7 @@ void PythonQtShell_QSGGeometryNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8858,7 +8858,7 @@ bool PythonQtShell_QSGNinePatchNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8891,7 +8891,7 @@ void PythonQtShell_QSGNinePatchNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8913,7 +8913,7 @@ void PythonQtShell_QSGNinePatchNode::setBounds(const QRectF& bounds0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setBounds"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8935,7 +8935,7 @@ void PythonQtShell_QSGNinePatchNode::setDevicePixelRatio(qreal ratio0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDevicePixelRatio"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8957,7 +8957,7 @@ void PythonQtShell_QSGNinePatchNode::setPadding(qreal left0, qreal top1, qreal { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPadding"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8979,7 +8979,7 @@ void PythonQtShell_QSGNinePatchNode::setTexture(QSGTexture* texture0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setTexture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9001,7 +9001,7 @@ void PythonQtShell_QSGNinePatchNode::update() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("update"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp b/generated_cpp_515/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp index 1d469bc95..6b88bd0d1 100644 --- a/generated_cpp_515/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp +++ b/generated_cpp_515/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp @@ -28,7 +28,7 @@ bool PythonQtShell_QSGNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -61,7 +61,7 @@ void PythonQtShell_QSGNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -209,7 +209,7 @@ void PythonQtShell_QSGNodeVisitor::enterClipNode(QSGClipNode* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterClipNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -231,7 +231,7 @@ void PythonQtShell_QSGNodeVisitor::enterGeometryNode(QSGGeometryNode* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterGeometryNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -253,7 +253,7 @@ void PythonQtShell_QSGNodeVisitor::enterOpacityNode(QSGOpacityNode* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterOpacityNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -275,7 +275,7 @@ void PythonQtShell_QSGNodeVisitor::enterTransformNode(QSGTransformNode* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterTransformNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -297,7 +297,7 @@ void PythonQtShell_QSGNodeVisitor::leaveClipNode(QSGClipNode* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveClipNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -319,7 +319,7 @@ void PythonQtShell_QSGNodeVisitor::leaveGeometryNode(QSGGeometryNode* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveGeometryNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -341,7 +341,7 @@ void PythonQtShell_QSGNodeVisitor::leaveOpacityNode(QSGOpacityNode* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveOpacityNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -363,7 +363,7 @@ void PythonQtShell_QSGNodeVisitor::leaveTransformNode(QSGTransformNode* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveTransformNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -385,7 +385,7 @@ void PythonQtShell_QSGNodeVisitor::visitChildren(QSGNode* n0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visitChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -407,7 +407,7 @@ void PythonQtShell_QSGNodeVisitor::visitNode(QSGNode* n0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visitNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -489,7 +489,7 @@ bool PythonQtShell_QSGOpacityNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -522,7 +522,7 @@ void PythonQtShell_QSGOpacityNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -581,7 +581,7 @@ QColor PythonQtShell_QSGRectangleNode::color() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("color"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -614,7 +614,7 @@ bool PythonQtShell_QSGRectangleNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -647,7 +647,7 @@ void PythonQtShell_QSGRectangleNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -669,7 +669,7 @@ QRectF PythonQtShell_QSGRectangleNode::rect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -702,7 +702,7 @@ void PythonQtShell_QSGRectangleNode::setColor(const QColor& color0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setColor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -724,7 +724,7 @@ void PythonQtShell_QSGRectangleNode::setRect(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -781,7 +781,7 @@ bool PythonQtShell_QSGRenderNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -814,7 +814,7 @@ void PythonQtShell_QSGRenderNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -836,7 +836,7 @@ QRectF PythonQtShell_QSGRenderNode::rect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -869,7 +869,7 @@ void PythonQtShell_QSGRenderNode::releaseResources() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("releaseResources"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -891,7 +891,7 @@ void PythonQtShell_QSGRenderNode::render(const QSGRenderNode::RenderState* stat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("render"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -953,7 +953,7 @@ const QRegion* PythonQtShell_QSGRenderNode__RenderState::clipRegion() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clipRegion"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -986,7 +986,7 @@ void* PythonQtShell_QSGRenderNode__RenderState::get(const char* state0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("get"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1019,7 +1019,7 @@ const QMatrix4x4* PythonQtShell_QSGRenderNode__RenderState::projectionMatrix() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("projectionMatrix"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1052,7 +1052,7 @@ bool PythonQtShell_QSGRenderNode__RenderState::scissorEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scissorEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1085,7 +1085,7 @@ QRect PythonQtShell_QSGRenderNode__RenderState::scissorRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scissorRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1118,7 +1118,7 @@ bool PythonQtShell_QSGRenderNode__RenderState::stencilEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stencilEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1151,7 +1151,7 @@ int PythonQtShell_QSGRenderNode__RenderState::stencilValue() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stencilValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1229,7 +1229,7 @@ bool PythonQtShell_QSGRootNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1262,7 +1262,7 @@ void PythonQtShell_QSGRootNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1301,7 +1301,7 @@ void PythonQtShell_QSGTexture::bind() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1323,7 +1323,7 @@ void PythonQtShell_QSGTexture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1345,7 +1345,7 @@ void PythonQtShell_QSGTexture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1367,7 +1367,7 @@ bool PythonQtShell_QSGTexture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1400,7 +1400,7 @@ bool PythonQtShell_QSGTexture::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1433,7 +1433,7 @@ bool PythonQtShell_QSGTexture::hasAlphaChannel() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasAlphaChannel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1466,7 +1466,7 @@ bool PythonQtShell_QSGTexture::hasMipmaps() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasMipmaps"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1499,7 +1499,7 @@ bool PythonQtShell_QSGTexture::isAtlasTexture() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAtlasTexture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1532,7 +1532,7 @@ QRectF PythonQtShell_QSGTexture::normalizedTextureSubRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("normalizedTextureSubRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1565,7 +1565,7 @@ QSGTexture* PythonQtShell_QSGTexture::removedFromAtlas() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removedFromAtlas"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1598,7 +1598,7 @@ int PythonQtShell_QSGTexture::textureId() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textureId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1631,7 +1631,7 @@ QSize PythonQtShell_QSGTexture::textureSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textureSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1664,7 +1664,7 @@ void PythonQtShell_QSGTexture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1814,7 +1814,7 @@ QSGMaterialType* PythonQtShell_QSGTextureMaterial::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1862,7 +1862,7 @@ void PythonQtShell_QSGTextureProvider::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1884,7 +1884,7 @@ void PythonQtShell_QSGTextureProvider::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1906,7 +1906,7 @@ bool PythonQtShell_QSGTextureProvider::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1939,7 +1939,7 @@ bool PythonQtShell_QSGTextureProvider::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1972,7 +1972,7 @@ QSGTexture* PythonQtShell_QSGTextureProvider::texture() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("texture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2005,7 +2005,7 @@ void PythonQtShell_QSGTextureProvider::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2055,7 +2055,7 @@ bool PythonQtShell_QSGTransformNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2088,7 +2088,7 @@ void PythonQtShell_QSGTransformNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp b/generated_cpp_515/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp index 76c6f72a6..1399b4d6d 100644 --- a/generated_cpp_515/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp +++ b/generated_cpp_515/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp @@ -284,7 +284,7 @@ bool PythonQtShell_QSqlDriver::beginTransaction() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("beginTransaction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -317,7 +317,7 @@ bool PythonQtShell_QSqlDriver::cancelQuery() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cancelQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -350,7 +350,7 @@ void PythonQtShell_QSqlDriver::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -372,7 +372,7 @@ void PythonQtShell_QSqlDriver::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -394,7 +394,7 @@ bool PythonQtShell_QSqlDriver::commitTransaction() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitTransaction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -427,7 +427,7 @@ QSqlResult* PythonQtShell_QSqlDriver::createResult() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createResult"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -460,7 +460,7 @@ void PythonQtShell_QSqlDriver::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -482,7 +482,7 @@ QString PythonQtShell_QSqlDriver::escapeIdentifier(const QString& identifier0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("escapeIdentifier"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -515,7 +515,7 @@ bool PythonQtShell_QSqlDriver::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -548,7 +548,7 @@ bool PythonQtShell_QSqlDriver::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -581,7 +581,7 @@ QString PythonQtShell_QSqlDriver::formatValue(const QSqlField& field0, bool t { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("formatValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -614,7 +614,7 @@ QVariant PythonQtShell_QSqlDriver::handle() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("handle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -647,7 +647,7 @@ bool PythonQtShell_QSqlDriver::hasFeature(QSqlDriver::DriverFeature f0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -680,7 +680,7 @@ bool PythonQtShell_QSqlDriver::isIdentifierEscaped(const QString& identifier0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIdentifierEscaped"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -713,7 +713,7 @@ bool PythonQtShell_QSqlDriver::isOpen() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isOpen"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -746,7 +746,7 @@ bool PythonQtShell_QSqlDriver::open(const QString& db0, const QString& user1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -779,7 +779,7 @@ QSqlIndex PythonQtShell_QSqlDriver::primaryIndex(const QString& tableName0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("primaryIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -812,7 +812,7 @@ QSqlRecord PythonQtShell_QSqlDriver::record(const QString& tableName0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("record"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -845,7 +845,7 @@ bool PythonQtShell_QSqlDriver::rollbackTransaction() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rollbackTransaction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -878,7 +878,7 @@ void PythonQtShell_QSqlDriver::setLastError(const QSqlError& e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setLastError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -900,7 +900,7 @@ void PythonQtShell_QSqlDriver::setOpen(bool o0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setOpen"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -922,7 +922,7 @@ void PythonQtShell_QSqlDriver::setOpenError(bool e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setOpenError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -944,7 +944,7 @@ QString PythonQtShell_QSqlDriver::sqlStatement(QSqlDriver::StatementType type0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sqlStatement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -977,7 +977,7 @@ QString PythonQtShell_QSqlDriver::stripDelimiters(const QString& identifier0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stripDelimiters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1010,7 +1010,7 @@ bool PythonQtShell_QSqlDriver::subscribeToNotification(const QString& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("subscribeToNotification"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1043,7 +1043,7 @@ QStringList PythonQtShell_QSqlDriver::subscribedToNotifications() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("subscribedToNotifications"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1076,7 +1076,7 @@ QStringList PythonQtShell_QSqlDriver::tables(QSql::TableType tableType0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tables"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1109,7 +1109,7 @@ void PythonQtShell_QSqlDriver::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1131,7 +1131,7 @@ bool PythonQtShell_QSqlDriver::unsubscribeFromNotification(const QString& name { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unsubscribeFromNotification"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1327,7 +1327,7 @@ QSqlDriver* PythonQtShell_QSqlDriverCreatorBase::createObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1900,7 +1900,7 @@ QModelIndex PythonQtShell_QSqlQueryModel::buddy(const QModelIndex& index0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1933,7 +1933,7 @@ bool PythonQtShell_QSqlQueryModel::canDropMimeData(const QMimeData* data0, Qt: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1966,7 +1966,7 @@ bool PythonQtShell_QSqlQueryModel::canFetchMore(const QModelIndex& parent0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1999,7 +1999,7 @@ void PythonQtShell_QSqlQueryModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2021,7 +2021,7 @@ void PythonQtShell_QSqlQueryModel::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2043,7 +2043,7 @@ int PythonQtShell_QSqlQueryModel::columnCount(const QModelIndex& parent0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2076,7 +2076,7 @@ void PythonQtShell_QSqlQueryModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2098,7 +2098,7 @@ QVariant PythonQtShell_QSqlQueryModel::data(const QModelIndex& item0, int rol { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2131,7 +2131,7 @@ bool PythonQtShell_QSqlQueryModel::dropMimeData(const QMimeData* data0, Qt::Dr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2164,7 +2164,7 @@ bool PythonQtShell_QSqlQueryModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2197,7 +2197,7 @@ bool PythonQtShell_QSqlQueryModel::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2230,7 +2230,7 @@ void PythonQtShell_QSqlQueryModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2252,7 +2252,7 @@ Qt::ItemFlags PythonQtShell_QSqlQueryModel::flags(const QModelIndex& index0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2285,7 +2285,7 @@ QVariant PythonQtShell_QSqlQueryModel::headerData(int section0, Qt::Orientatio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2318,7 +2318,7 @@ QModelIndex PythonQtShell_QSqlQueryModel::index(int row0, int column1, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2351,7 +2351,7 @@ QModelIndex PythonQtShell_QSqlQueryModel::indexInQuery(const QModelIndex& item { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexInQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2384,7 +2384,7 @@ bool PythonQtShell_QSqlQueryModel::insertColumns(int column0, int count1, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2417,7 +2417,7 @@ bool PythonQtShell_QSqlQueryModel::insertRows(int row0, int count1, const QMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2450,7 +2450,7 @@ QMap PythonQtShell_QSqlQueryModel::itemData(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2483,7 +2483,7 @@ QList PythonQtShell_QSqlQueryModel::match(const QModelIndex& sta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2516,7 +2516,7 @@ QMimeData* PythonQtShell_QSqlQueryModel::mimeData(const QList& i { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2549,7 +2549,7 @@ QStringList PythonQtShell_QSqlQueryModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2582,7 +2582,7 @@ bool PythonQtShell_QSqlQueryModel::moveColumns(const QModelIndex& sourceParent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2615,7 +2615,7 @@ bool PythonQtShell_QSqlQueryModel::moveRows(const QModelIndex& sourceParent0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2648,7 +2648,7 @@ void PythonQtShell_QSqlQueryModel::queryChange() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("queryChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2670,7 +2670,7 @@ bool PythonQtShell_QSqlQueryModel::removeColumns(int column0, int count1, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2703,7 +2703,7 @@ bool PythonQtShell_QSqlQueryModel::removeRows(int row0, int count1, const QMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2736,7 +2736,7 @@ void PythonQtShell_QSqlQueryModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2758,7 +2758,7 @@ QHash PythonQtShell_QSqlQueryModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2791,7 +2791,7 @@ int PythonQtShell_QSqlQueryModel::rowCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2824,7 +2824,7 @@ bool PythonQtShell_QSqlQueryModel::setData(const QModelIndex& index0, const QV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2857,7 +2857,7 @@ bool PythonQtShell_QSqlQueryModel::setHeaderData(int section0, Qt::Orientation { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2890,7 +2890,7 @@ bool PythonQtShell_QSqlQueryModel::setItemData(const QModelIndex& index0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2923,7 +2923,7 @@ QModelIndex PythonQtShell_QSqlQueryModel::sibling(int row0, int column1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2956,7 +2956,7 @@ void PythonQtShell_QSqlQueryModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2978,7 +2978,7 @@ QSize PythonQtShell_QSqlQueryModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3011,7 +3011,7 @@ bool PythonQtShell_QSqlQueryModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3044,7 +3044,7 @@ Qt::DropActions PythonQtShell_QSqlQueryModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3077,7 +3077,7 @@ Qt::DropActions PythonQtShell_QSqlQueryModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3110,7 +3110,7 @@ void PythonQtShell_QSqlQueryModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3447,7 +3447,7 @@ QModelIndex PythonQtShell_QSqlRelationalTableModel::buddy(const QModelIndex& i { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3480,7 +3480,7 @@ bool PythonQtShell_QSqlRelationalTableModel::canDropMimeData(const QMimeData* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3513,7 +3513,7 @@ bool PythonQtShell_QSqlRelationalTableModel::canFetchMore(const QModelIndex& p { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3546,7 +3546,7 @@ void PythonQtShell_QSqlRelationalTableModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3568,7 +3568,7 @@ void PythonQtShell_QSqlRelationalTableModel::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3590,7 +3590,7 @@ int PythonQtShell_QSqlRelationalTableModel::columnCount(const QModelIndex& par { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3623,7 +3623,7 @@ void PythonQtShell_QSqlRelationalTableModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3645,7 +3645,7 @@ QVariant PythonQtShell_QSqlRelationalTableModel::data(const QModelIndex& item0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3678,7 +3678,7 @@ bool PythonQtShell_QSqlRelationalTableModel::deleteRowFromTable(int row0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deleteRowFromTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3711,7 +3711,7 @@ bool PythonQtShell_QSqlRelationalTableModel::dropMimeData(const QMimeData* dat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3744,7 +3744,7 @@ bool PythonQtShell_QSqlRelationalTableModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3777,7 +3777,7 @@ bool PythonQtShell_QSqlRelationalTableModel::eventFilter(QObject* watched0, QE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3810,7 +3810,7 @@ void PythonQtShell_QSqlRelationalTableModel::fetchMore(const QModelIndex& paren { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3832,7 +3832,7 @@ Qt::ItemFlags PythonQtShell_QSqlRelationalTableModel::flags(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3865,7 +3865,7 @@ QVariant PythonQtShell_QSqlRelationalTableModel::headerData(int section0, Qt:: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3898,7 +3898,7 @@ QModelIndex PythonQtShell_QSqlRelationalTableModel::index(int row0, int colum { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3931,7 +3931,7 @@ QModelIndex PythonQtShell_QSqlRelationalTableModel::indexInQuery(const QModelIn { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexInQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3964,7 +3964,7 @@ bool PythonQtShell_QSqlRelationalTableModel::insertColumns(int column0, int c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3997,7 +3997,7 @@ bool PythonQtShell_QSqlRelationalTableModel::insertRowIntoTable(const QSqlRecor { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRowIntoTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4030,7 +4030,7 @@ bool PythonQtShell_QSqlRelationalTableModel::insertRows(int row0, int count1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4063,7 +4063,7 @@ QMap PythonQtShell_QSqlRelationalTableModel::itemData(const QM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4096,7 +4096,7 @@ QList PythonQtShell_QSqlRelationalTableModel::match(const QModelI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4129,7 +4129,7 @@ QMimeData* PythonQtShell_QSqlRelationalTableModel::mimeData(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4162,7 +4162,7 @@ QStringList PythonQtShell_QSqlRelationalTableModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4195,7 +4195,7 @@ bool PythonQtShell_QSqlRelationalTableModel::moveColumns(const QModelIndex& so { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4228,7 +4228,7 @@ bool PythonQtShell_QSqlRelationalTableModel::moveRows(const QModelIndex& sourc { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4261,7 +4261,7 @@ QString PythonQtShell_QSqlRelationalTableModel::orderByClause() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("orderByClause"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4294,7 +4294,7 @@ void PythonQtShell_QSqlRelationalTableModel::queryChange() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("queryChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4316,7 +4316,7 @@ QSqlTableModel* PythonQtShell_QSqlRelationalTableModel::relationModel(int colu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("relationModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4349,7 +4349,7 @@ bool PythonQtShell_QSqlRelationalTableModel::removeColumns(int column0, int c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4382,7 +4382,7 @@ bool PythonQtShell_QSqlRelationalTableModel::removeRows(int row0, int count1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4415,7 +4415,7 @@ void PythonQtShell_QSqlRelationalTableModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4437,7 +4437,7 @@ void PythonQtShell_QSqlRelationalTableModel::revertRow(int row0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revertRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4459,7 +4459,7 @@ QHash PythonQtShell_QSqlRelationalTableModel::roleNames() co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4492,7 +4492,7 @@ int PythonQtShell_QSqlRelationalTableModel::rowCount(const QModelIndex& parent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4525,7 +4525,7 @@ bool PythonQtShell_QSqlRelationalTableModel::select() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4558,7 +4558,7 @@ bool PythonQtShell_QSqlRelationalTableModel::selectRow(int row0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4591,7 +4591,7 @@ QString PythonQtShell_QSqlRelationalTableModel::selectStatement() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectStatement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4624,7 +4624,7 @@ bool PythonQtShell_QSqlRelationalTableModel::setData(const QModelIndex& item0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4657,7 +4657,7 @@ void PythonQtShell_QSqlRelationalTableModel::setEditStrategy(QSqlTableModel::Edi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEditStrategy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4679,7 +4679,7 @@ void PythonQtShell_QSqlRelationalTableModel::setFilter(const QString& filter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4701,7 +4701,7 @@ bool PythonQtShell_QSqlRelationalTableModel::setHeaderData(int section0, Qt::O { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4734,7 +4734,7 @@ bool PythonQtShell_QSqlRelationalTableModel::setItemData(const QModelIndex& in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4767,7 +4767,7 @@ void PythonQtShell_QSqlRelationalTableModel::setRelation(int column0, const QSq { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRelation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4789,7 +4789,7 @@ void PythonQtShell_QSqlRelationalTableModel::setSort(int column0, Qt::SortOrder { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4811,7 +4811,7 @@ void PythonQtShell_QSqlRelationalTableModel::setTable(const QString& tableName0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4833,7 +4833,7 @@ QModelIndex PythonQtShell_QSqlRelationalTableModel::sibling(int row0, int col { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4866,7 +4866,7 @@ void PythonQtShell_QSqlRelationalTableModel::sort(int column0, Qt::SortOrder o { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4888,7 +4888,7 @@ QSize PythonQtShell_QSqlRelationalTableModel::span(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4921,7 +4921,7 @@ bool PythonQtShell_QSqlRelationalTableModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4954,7 +4954,7 @@ Qt::DropActions PythonQtShell_QSqlRelationalTableModel::supportedDragActions() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4987,7 +4987,7 @@ Qt::DropActions PythonQtShell_QSqlRelationalTableModel::supportedDropActions() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5020,7 +5020,7 @@ void PythonQtShell_QSqlRelationalTableModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5042,7 +5042,7 @@ bool PythonQtShell_QSqlRelationalTableModel::updateRowInTable(int row0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateRowInTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5118,7 +5118,7 @@ void PythonQtShell_QSqlResult::bindValue(const QString& placeholder0, const QVa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bindValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5140,7 +5140,7 @@ void PythonQtShell_QSqlResult::bindValue(int pos0, const QVariant& val1, QSql: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bindValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5162,7 +5162,7 @@ QVariant PythonQtShell_QSqlResult::data(int i0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5195,7 +5195,7 @@ void PythonQtShell_QSqlResult::detachFromResultSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("detachFromResultSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5217,7 +5217,7 @@ bool PythonQtShell_QSqlResult::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5250,7 +5250,7 @@ bool PythonQtShell_QSqlResult::execBatch(bool arrayBind0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("execBatch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5283,7 +5283,7 @@ bool PythonQtShell_QSqlResult::fetch(int i0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5316,7 +5316,7 @@ bool PythonQtShell_QSqlResult::fetchFirst() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchFirst"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5349,7 +5349,7 @@ bool PythonQtShell_QSqlResult::fetchLast() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchLast"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5382,7 +5382,7 @@ bool PythonQtShell_QSqlResult::fetchNext() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchNext"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5415,7 +5415,7 @@ bool PythonQtShell_QSqlResult::fetchPrevious() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchPrevious"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5448,7 +5448,7 @@ QVariant PythonQtShell_QSqlResult::handle() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("handle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5481,7 +5481,7 @@ bool PythonQtShell_QSqlResult::isNull(int i0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isNull"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5514,7 +5514,7 @@ QVariant PythonQtShell_QSqlResult::lastInsertId() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("lastInsertId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5547,7 +5547,7 @@ bool PythonQtShell_QSqlResult::nextResult() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextResult"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5580,7 +5580,7 @@ int PythonQtShell_QSqlResult::numRowsAffected() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("numRowsAffected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5613,7 +5613,7 @@ bool PythonQtShell_QSqlResult::prepare(const QString& query0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("prepare"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5646,7 +5646,7 @@ QSqlRecord PythonQtShell_QSqlResult::record() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("record"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5679,7 +5679,7 @@ bool PythonQtShell_QSqlResult::reset(const QString& sqlquery0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5712,7 +5712,7 @@ bool PythonQtShell_QSqlResult::savePrepare(const QString& sqlquery0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("savePrepare"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5745,7 +5745,7 @@ void PythonQtShell_QSqlResult::setActive(bool a0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setActive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5767,7 +5767,7 @@ void PythonQtShell_QSqlResult::setAt(int at0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5789,7 +5789,7 @@ void PythonQtShell_QSqlResult::setForwardOnly(bool forward0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setForwardOnly"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5811,7 +5811,7 @@ void PythonQtShell_QSqlResult::setLastError(const QSqlError& e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setLastError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5833,7 +5833,7 @@ void PythonQtShell_QSqlResult::setNumericalPrecisionPolicy(QSql::NumericalPrecis { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setNumericalPrecisionPolicy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5855,7 +5855,7 @@ void PythonQtShell_QSqlResult::setQuery(const QString& query0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5877,7 +5877,7 @@ void PythonQtShell_QSqlResult::setSelect(bool s0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5899,7 +5899,7 @@ int PythonQtShell_QSqlResult::size() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6192,7 +6192,7 @@ QModelIndex PythonQtShell_QSqlTableModel::buddy(const QModelIndex& index0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6225,7 +6225,7 @@ bool PythonQtShell_QSqlTableModel::canDropMimeData(const QMimeData* data0, Qt: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6258,7 +6258,7 @@ bool PythonQtShell_QSqlTableModel::canFetchMore(const QModelIndex& parent0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6291,7 +6291,7 @@ void PythonQtShell_QSqlTableModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6313,7 +6313,7 @@ void PythonQtShell_QSqlTableModel::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6335,7 +6335,7 @@ int PythonQtShell_QSqlTableModel::columnCount(const QModelIndex& parent0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6368,7 +6368,7 @@ void PythonQtShell_QSqlTableModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6390,7 +6390,7 @@ QVariant PythonQtShell_QSqlTableModel::data(const QModelIndex& idx0, int role { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6423,7 +6423,7 @@ bool PythonQtShell_QSqlTableModel::deleteRowFromTable(int row0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deleteRowFromTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6456,7 +6456,7 @@ bool PythonQtShell_QSqlTableModel::dropMimeData(const QMimeData* data0, Qt::Dr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6489,7 +6489,7 @@ bool PythonQtShell_QSqlTableModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6522,7 +6522,7 @@ bool PythonQtShell_QSqlTableModel::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6555,7 +6555,7 @@ void PythonQtShell_QSqlTableModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6577,7 +6577,7 @@ Qt::ItemFlags PythonQtShell_QSqlTableModel::flags(const QModelIndex& index0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6610,7 +6610,7 @@ QVariant PythonQtShell_QSqlTableModel::headerData(int section0, Qt::Orientatio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6643,7 +6643,7 @@ QModelIndex PythonQtShell_QSqlTableModel::index(int row0, int column1, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6676,7 +6676,7 @@ QModelIndex PythonQtShell_QSqlTableModel::indexInQuery(const QModelIndex& item { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexInQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6709,7 +6709,7 @@ bool PythonQtShell_QSqlTableModel::insertColumns(int column0, int count1, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6742,7 +6742,7 @@ bool PythonQtShell_QSqlTableModel::insertRowIntoTable(const QSqlRecord& values { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRowIntoTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6775,7 +6775,7 @@ bool PythonQtShell_QSqlTableModel::insertRows(int row0, int count1, const QMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6808,7 +6808,7 @@ QMap PythonQtShell_QSqlTableModel::itemData(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6841,7 +6841,7 @@ QList PythonQtShell_QSqlTableModel::match(const QModelIndex& sta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6874,7 +6874,7 @@ QMimeData* PythonQtShell_QSqlTableModel::mimeData(const QList& i { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6907,7 +6907,7 @@ QStringList PythonQtShell_QSqlTableModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6940,7 +6940,7 @@ bool PythonQtShell_QSqlTableModel::moveColumns(const QModelIndex& sourceParent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6973,7 +6973,7 @@ bool PythonQtShell_QSqlTableModel::moveRows(const QModelIndex& sourceParent0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7006,7 +7006,7 @@ QString PythonQtShell_QSqlTableModel::orderByClause() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("orderByClause"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7039,7 +7039,7 @@ void PythonQtShell_QSqlTableModel::queryChange() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("queryChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7061,7 +7061,7 @@ bool PythonQtShell_QSqlTableModel::removeColumns(int column0, int count1, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7094,7 +7094,7 @@ bool PythonQtShell_QSqlTableModel::removeRows(int row0, int count1, const QMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7127,7 +7127,7 @@ void PythonQtShell_QSqlTableModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7149,7 +7149,7 @@ void PythonQtShell_QSqlTableModel::revertRow(int row0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revertRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7171,7 +7171,7 @@ QHash PythonQtShell_QSqlTableModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7204,7 +7204,7 @@ int PythonQtShell_QSqlTableModel::rowCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7237,7 +7237,7 @@ bool PythonQtShell_QSqlTableModel::select() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7270,7 +7270,7 @@ bool PythonQtShell_QSqlTableModel::selectRow(int row0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7303,7 +7303,7 @@ QString PythonQtShell_QSqlTableModel::selectStatement() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectStatement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7336,7 +7336,7 @@ bool PythonQtShell_QSqlTableModel::setData(const QModelIndex& index0, const QV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7369,7 +7369,7 @@ void PythonQtShell_QSqlTableModel::setEditStrategy(QSqlTableModel::EditStrategy { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEditStrategy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7391,7 +7391,7 @@ void PythonQtShell_QSqlTableModel::setFilter(const QString& filter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7413,7 +7413,7 @@ bool PythonQtShell_QSqlTableModel::setHeaderData(int section0, Qt::Orientation { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7446,7 +7446,7 @@ bool PythonQtShell_QSqlTableModel::setItemData(const QModelIndex& index0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7479,7 +7479,7 @@ void PythonQtShell_QSqlTableModel::setSort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7501,7 +7501,7 @@ void PythonQtShell_QSqlTableModel::setTable(const QString& tableName0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7523,7 +7523,7 @@ QModelIndex PythonQtShell_QSqlTableModel::sibling(int row0, int column1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7556,7 +7556,7 @@ void PythonQtShell_QSqlTableModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7578,7 +7578,7 @@ QSize PythonQtShell_QSqlTableModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7611,7 +7611,7 @@ bool PythonQtShell_QSqlTableModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7644,7 +7644,7 @@ Qt::DropActions PythonQtShell_QSqlTableModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7677,7 +7677,7 @@ Qt::DropActions PythonQtShell_QSqlTableModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7710,7 +7710,7 @@ void PythonQtShell_QSqlTableModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7732,7 +7732,7 @@ bool PythonQtShell_QSqlTableModel::updateRowInTable(int row0, const QSqlRecord { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateRowInTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp b/generated_cpp_515/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp index 3985473f8..adb0bf30e 100644 --- a/generated_cpp_515/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp +++ b/generated_cpp_515/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp @@ -66,7 +66,7 @@ void PythonQtShell_QGraphicsSvgItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -88,7 +88,7 @@ QRectF PythonQtShell_QGraphicsSvgItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -121,7 +121,7 @@ void PythonQtShell_QGraphicsSvgItem::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -143,7 +143,7 @@ bool PythonQtShell_QGraphicsSvgItem::collidesWithItem(const QGraphicsItem* oth { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -176,7 +176,7 @@ bool PythonQtShell_QGraphicsSvgItem::collidesWithPath(const QPainterPath& path { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -209,7 +209,7 @@ bool PythonQtShell_QGraphicsSvgItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -242,7 +242,7 @@ void PythonQtShell_QGraphicsSvgItem::contextMenuEvent(QGraphicsSceneContextMenuE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -264,7 +264,7 @@ void PythonQtShell_QGraphicsSvgItem::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -286,7 +286,7 @@ void PythonQtShell_QGraphicsSvgItem::dragEnterEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -308,7 +308,7 @@ void PythonQtShell_QGraphicsSvgItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -330,7 +330,7 @@ void PythonQtShell_QGraphicsSvgItem::dragMoveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -352,7 +352,7 @@ void PythonQtShell_QGraphicsSvgItem::dropEvent(QGraphicsSceneDragDropEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -374,7 +374,7 @@ bool PythonQtShell_QGraphicsSvgItem::event(QEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -407,7 +407,7 @@ bool PythonQtShell_QGraphicsSvgItem::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -440,7 +440,7 @@ QVariant PythonQtShell_QGraphicsSvgItem::extension(const QVariant& variant0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -473,7 +473,7 @@ void PythonQtShell_QGraphicsSvgItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -495,7 +495,7 @@ void PythonQtShell_QGraphicsSvgItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -517,7 +517,7 @@ void PythonQtShell_QGraphicsSvgItem::hoverEnterEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -539,7 +539,7 @@ void PythonQtShell_QGraphicsSvgItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -561,7 +561,7 @@ void PythonQtShell_QGraphicsSvgItem::hoverMoveEvent(QGraphicsSceneHoverEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -583,7 +583,7 @@ void PythonQtShell_QGraphicsSvgItem::inputMethodEvent(QInputMethodEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -605,7 +605,7 @@ QVariant PythonQtShell_QGraphicsSvgItem::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -638,7 +638,7 @@ bool PythonQtShell_QGraphicsSvgItem::isObscuredBy(const QGraphicsItem* item0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -671,7 +671,7 @@ QVariant PythonQtShell_QGraphicsSvgItem::itemChange(QGraphicsItem::GraphicsItem { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -707,7 +707,7 @@ void PythonQtShell_QGraphicsSvgItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -729,7 +729,7 @@ void PythonQtShell_QGraphicsSvgItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -751,7 +751,7 @@ void PythonQtShell_QGraphicsSvgItem::mouseDoubleClickEvent(QGraphicsSceneMouseEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -773,7 +773,7 @@ void PythonQtShell_QGraphicsSvgItem::mouseMoveEvent(QGraphicsSceneMouseEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -795,7 +795,7 @@ void PythonQtShell_QGraphicsSvgItem::mousePressEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -817,7 +817,7 @@ void PythonQtShell_QGraphicsSvgItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -839,7 +839,7 @@ QPainterPath PythonQtShell_QGraphicsSvgItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -872,7 +872,7 @@ void PythonQtShell_QGraphicsSvgItem::paint(QPainter* painter0, const QStyleOpti { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -894,7 +894,7 @@ bool PythonQtShell_QGraphicsSvgItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -927,7 +927,7 @@ bool PythonQtShell_QGraphicsSvgItem::sceneEventFilter(QGraphicsItem* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -960,7 +960,7 @@ void PythonQtShell_QGraphicsSvgItem::setExtension(QGraphicsItem::Extension exte { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -982,7 +982,7 @@ QPainterPath PythonQtShell_QGraphicsSvgItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1015,7 +1015,7 @@ bool PythonQtShell_QGraphicsSvgItem::supportsExtension(QGraphicsItem::Extension { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1048,7 +1048,7 @@ void PythonQtShell_QGraphicsSvgItem::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1070,7 +1070,7 @@ int PythonQtShell_QGraphicsSvgItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1103,7 +1103,7 @@ void PythonQtShell_QGraphicsSvgItem::wheelEvent(QGraphicsSceneWheelEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1192,7 +1192,7 @@ int PythonQtShell_QSvgGenerator::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1225,7 +1225,7 @@ void PythonQtShell_QSvgGenerator::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1247,7 +1247,7 @@ int PythonQtShell_QSvgGenerator::metric(QPaintDevice::PaintDeviceMetric metric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1280,7 +1280,7 @@ QPaintEngine* PythonQtShell_QSvgGenerator::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1313,7 +1313,7 @@ QPaintDevice* PythonQtShell_QSvgGenerator::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1346,7 +1346,7 @@ QPainter* PythonQtShell_QSvgGenerator::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1469,7 +1469,7 @@ void PythonQtShell_QSvgRenderer::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1491,7 +1491,7 @@ void PythonQtShell_QSvgRenderer::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1513,7 +1513,7 @@ bool PythonQtShell_QSvgRenderer::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1546,7 +1546,7 @@ bool PythonQtShell_QSvgRenderer::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1579,7 +1579,7 @@ void PythonQtShell_QSvgRenderer::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1726,7 +1726,7 @@ void PythonQtShell_QSvgWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1748,7 +1748,7 @@ void PythonQtShell_QSvgWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1770,7 +1770,7 @@ void PythonQtShell_QSvgWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1792,7 +1792,7 @@ void PythonQtShell_QSvgWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1814,7 +1814,7 @@ void PythonQtShell_QSvgWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1836,7 +1836,7 @@ void PythonQtShell_QSvgWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1858,7 +1858,7 @@ int PythonQtShell_QSvgWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1891,7 +1891,7 @@ void PythonQtShell_QSvgWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1913,7 +1913,7 @@ void PythonQtShell_QSvgWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1935,7 +1935,7 @@ void PythonQtShell_QSvgWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1957,7 +1957,7 @@ void PythonQtShell_QSvgWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1979,7 +1979,7 @@ void PythonQtShell_QSvgWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2001,7 +2001,7 @@ bool PythonQtShell_QSvgWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2034,7 +2034,7 @@ bool PythonQtShell_QSvgWidget::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2067,7 +2067,7 @@ void PythonQtShell_QSvgWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2089,7 +2089,7 @@ bool PythonQtShell_QSvgWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2122,7 +2122,7 @@ void PythonQtShell_QSvgWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2144,7 +2144,7 @@ bool PythonQtShell_QSvgWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2177,7 +2177,7 @@ int PythonQtShell_QSvgWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2210,7 +2210,7 @@ void PythonQtShell_QSvgWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2232,7 +2232,7 @@ void PythonQtShell_QSvgWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2254,7 +2254,7 @@ void PythonQtShell_QSvgWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2276,7 +2276,7 @@ QVariant PythonQtShell_QSvgWidget::inputMethodQuery(Qt::InputMethodQuery arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2309,7 +2309,7 @@ void PythonQtShell_QSvgWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2331,7 +2331,7 @@ void PythonQtShell_QSvgWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2353,7 +2353,7 @@ void PythonQtShell_QSvgWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2375,7 +2375,7 @@ int PythonQtShell_QSvgWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2408,7 +2408,7 @@ QSize PythonQtShell_QSvgWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2441,7 +2441,7 @@ void PythonQtShell_QSvgWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2463,7 +2463,7 @@ void PythonQtShell_QSvgWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2485,7 +2485,7 @@ void PythonQtShell_QSvgWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2507,7 +2507,7 @@ void PythonQtShell_QSvgWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2529,7 +2529,7 @@ void PythonQtShell_QSvgWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2551,7 +2551,7 @@ bool PythonQtShell_QSvgWidget::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2584,7 +2584,7 @@ QPaintEngine* PythonQtShell_QSvgWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2617,7 +2617,7 @@ void PythonQtShell_QSvgWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2639,7 +2639,7 @@ QPaintDevice* PythonQtShell_QSvgWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2672,7 +2672,7 @@ void PythonQtShell_QSvgWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2694,7 +2694,7 @@ void PythonQtShell_QSvgWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2716,7 +2716,7 @@ QPainter* PythonQtShell_QSvgWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2749,7 +2749,7 @@ void PythonQtShell_QSvgWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2771,7 +2771,7 @@ QSize PythonQtShell_QSvgWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2804,7 +2804,7 @@ void PythonQtShell_QSvgWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2826,7 +2826,7 @@ void PythonQtShell_QSvgWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2848,7 +2848,7 @@ void PythonQtShell_QSvgWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp b/generated_cpp_515/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp index dde5bcb83..491f17bf2 100644 --- a/generated_cpp_515/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp +++ b/generated_cpp_515/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp @@ -25,7 +25,7 @@ void PythonQtShell_QUiLoader::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -47,7 +47,7 @@ QAction* PythonQtShell_QUiLoader::createAction(QObject* parent0, const QString { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -80,7 +80,7 @@ QActionGroup* PythonQtShell_QUiLoader::createActionGroup(QObject* parent0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createActionGroup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -113,7 +113,7 @@ QLayout* PythonQtShell_QUiLoader::createLayout(const QString& className0, QObj { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -146,7 +146,7 @@ QWidget* PythonQtShell_QUiLoader::createWidget(const QString& className0, QWid { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -179,7 +179,7 @@ void PythonQtShell_QUiLoader::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -201,7 +201,7 @@ bool PythonQtShell_QUiLoader::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -234,7 +234,7 @@ bool PythonQtShell_QUiLoader::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -267,7 +267,7 @@ void PythonQtShell_QUiLoader::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_webenginewidgets/com_trolltech_qt_webenginewidgets0.cpp b/generated_cpp_515/com_trolltech_qt_webenginewidgets/com_trolltech_qt_webenginewidgets0.cpp index 808fccf03..316c19787 100644 --- a/generated_cpp_515/com_trolltech_qt_webenginewidgets/com_trolltech_qt_webenginewidgets0.cpp +++ b/generated_cpp_515/com_trolltech_qt_webenginewidgets/com_trolltech_qt_webenginewidgets0.cpp @@ -87,7 +87,7 @@ void PythonQtShell_QWebChannel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -109,7 +109,7 @@ void PythonQtShell_QWebChannel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -131,7 +131,7 @@ bool PythonQtShell_QWebChannel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -164,7 +164,7 @@ bool PythonQtShell_QWebChannel::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -197,7 +197,7 @@ void PythonQtShell_QWebChannel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -272,7 +272,7 @@ void PythonQtShell_QWebChannelAbstractTransport::childEvent(QChildEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -294,7 +294,7 @@ void PythonQtShell_QWebChannelAbstractTransport::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -316,7 +316,7 @@ bool PythonQtShell_QWebChannelAbstractTransport::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -349,7 +349,7 @@ bool PythonQtShell_QWebChannelAbstractTransport::eventFilter(QObject* watched0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -382,7 +382,7 @@ void PythonQtShell_QWebChannelAbstractTransport::sendMessage(const QJsonObject& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sendMessage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -404,7 +404,7 @@ void PythonQtShell_QWebChannelAbstractTransport::timerEvent(QTimerEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1028,7 +1028,7 @@ bool PythonQtShell_QWebEnginePage::acceptNavigationRequest(const QUrl& url0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("acceptNavigationRequest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1061,7 +1061,7 @@ bool PythonQtShell_QWebEnginePage::certificateError(const QWebEngineCertificate { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("certificateError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1094,7 +1094,7 @@ void PythonQtShell_QWebEnginePage::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1116,7 +1116,7 @@ QStringList PythonQtShell_QWebEnginePage::chooseFiles(QWebEnginePage::FileSelec { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("chooseFiles"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1149,7 +1149,7 @@ QWebEnginePage* PythonQtShell_QWebEnginePage::createWindow(QWebEnginePage::WebW { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createWindow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1182,7 +1182,7 @@ void PythonQtShell_QWebEnginePage::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1204,7 +1204,7 @@ bool PythonQtShell_QWebEnginePage::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1237,7 +1237,7 @@ bool PythonQtShell_QWebEnginePage::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1270,7 +1270,7 @@ void PythonQtShell_QWebEnginePage::javaScriptAlert(const QUrl& securityOrigin0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("javaScriptAlert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1292,7 +1292,7 @@ bool PythonQtShell_QWebEnginePage::javaScriptConfirm(const QUrl& securityOrigi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("javaScriptConfirm"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1325,7 +1325,7 @@ void PythonQtShell_QWebEnginePage::javaScriptConsoleMessage(QWebEnginePage::Java { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("javaScriptConsoleMessage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1347,7 +1347,7 @@ bool PythonQtShell_QWebEnginePage::javaScriptPrompt(const QUrl& securityOrigin { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("javaScriptPrompt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1380,7 +1380,7 @@ void PythonQtShell_QWebEnginePage::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1402,7 +1402,7 @@ void PythonQtShell_QWebEnginePage::triggerAction(QWebEnginePage::WebAction acti { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("triggerAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1746,7 +1746,7 @@ void PythonQtShell_QWebEngineProfile::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1768,7 +1768,7 @@ void PythonQtShell_QWebEngineProfile::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1790,7 +1790,7 @@ bool PythonQtShell_QWebEngineProfile::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1823,7 +1823,7 @@ bool PythonQtShell_QWebEngineProfile::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1856,7 +1856,7 @@ void PythonQtShell_QWebEngineProfile::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2460,7 +2460,7 @@ void PythonQtShell_QWebEngineUrlRequestInterceptor::childEvent(QChildEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2482,7 +2482,7 @@ void PythonQtShell_QWebEngineUrlRequestInterceptor::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2504,7 +2504,7 @@ bool PythonQtShell_QWebEngineUrlRequestInterceptor::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2537,7 +2537,7 @@ bool PythonQtShell_QWebEngineUrlRequestInterceptor::eventFilter(QObject* watch { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2570,7 +2570,7 @@ void PythonQtShell_QWebEngineUrlRequestInterceptor::interceptRequest(QWebEngineU { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("interceptRequest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2592,7 +2592,7 @@ void PythonQtShell_QWebEngineUrlRequestInterceptor::timerEvent(QTimerEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2758,7 +2758,7 @@ void PythonQtShell_QWebEngineUrlSchemeHandler::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2780,7 +2780,7 @@ void PythonQtShell_QWebEngineUrlSchemeHandler::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2802,7 +2802,7 @@ bool PythonQtShell_QWebEngineUrlSchemeHandler::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2835,7 +2835,7 @@ bool PythonQtShell_QWebEngineUrlSchemeHandler::eventFilter(QObject* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2868,7 +2868,7 @@ void PythonQtShell_QWebEngineUrlSchemeHandler::requestStarted(QWebEngineUrlReque { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("requestStarted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2890,7 +2890,7 @@ void PythonQtShell_QWebEngineUrlSchemeHandler::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2940,7 +2940,7 @@ void PythonQtShell_QWebEngineView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2962,7 +2962,7 @@ void PythonQtShell_QWebEngineView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2984,7 +2984,7 @@ void PythonQtShell_QWebEngineView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3006,7 +3006,7 @@ void PythonQtShell_QWebEngineView::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3028,7 +3028,7 @@ void PythonQtShell_QWebEngineView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3050,7 +3050,7 @@ QWebEngineView* PythonQtShell_QWebEngineView::createWindow(QWebEnginePage::WebW { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createWindow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3083,7 +3083,7 @@ void PythonQtShell_QWebEngineView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3105,7 +3105,7 @@ int PythonQtShell_QWebEngineView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3138,7 +3138,7 @@ void PythonQtShell_QWebEngineView::dragEnterEvent(QDragEnterEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3160,7 +3160,7 @@ void PythonQtShell_QWebEngineView::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3182,7 +3182,7 @@ void PythonQtShell_QWebEngineView::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3204,7 +3204,7 @@ void PythonQtShell_QWebEngineView::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3226,7 +3226,7 @@ void PythonQtShell_QWebEngineView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3248,7 +3248,7 @@ bool PythonQtShell_QWebEngineView::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3281,7 +3281,7 @@ bool PythonQtShell_QWebEngineView::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3314,7 +3314,7 @@ void PythonQtShell_QWebEngineView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3336,7 +3336,7 @@ bool PythonQtShell_QWebEngineView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3369,7 +3369,7 @@ void PythonQtShell_QWebEngineView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3391,7 +3391,7 @@ bool PythonQtShell_QWebEngineView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3424,7 +3424,7 @@ int PythonQtShell_QWebEngineView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3457,7 +3457,7 @@ void PythonQtShell_QWebEngineView::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3479,7 +3479,7 @@ void PythonQtShell_QWebEngineView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3501,7 +3501,7 @@ void PythonQtShell_QWebEngineView::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3523,7 +3523,7 @@ QVariant PythonQtShell_QWebEngineView::inputMethodQuery(Qt::InputMethodQuery a { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3556,7 +3556,7 @@ void PythonQtShell_QWebEngineView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3578,7 +3578,7 @@ void PythonQtShell_QWebEngineView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3600,7 +3600,7 @@ void PythonQtShell_QWebEngineView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3622,7 +3622,7 @@ int PythonQtShell_QWebEngineView::metric(QPaintDevice::PaintDeviceMetric arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3655,7 +3655,7 @@ QSize PythonQtShell_QWebEngineView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3688,7 +3688,7 @@ void PythonQtShell_QWebEngineView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3710,7 +3710,7 @@ void PythonQtShell_QWebEngineView::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3732,7 +3732,7 @@ void PythonQtShell_QWebEngineView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3754,7 +3754,7 @@ void PythonQtShell_QWebEngineView::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3776,7 +3776,7 @@ void PythonQtShell_QWebEngineView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3798,7 +3798,7 @@ bool PythonQtShell_QWebEngineView::nativeEvent(const QByteArray& eventType0, v { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3831,7 +3831,7 @@ QPaintEngine* PythonQtShell_QWebEngineView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3864,7 +3864,7 @@ void PythonQtShell_QWebEngineView::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3886,7 +3886,7 @@ QPaintDevice* PythonQtShell_QWebEngineView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3919,7 +3919,7 @@ void PythonQtShell_QWebEngineView::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3941,7 +3941,7 @@ void PythonQtShell_QWebEngineView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3963,7 +3963,7 @@ QPainter* PythonQtShell_QWebEngineView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3996,7 +3996,7 @@ void PythonQtShell_QWebEngineView::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4018,7 +4018,7 @@ QSize PythonQtShell_QWebEngineView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4051,7 +4051,7 @@ void PythonQtShell_QWebEngineView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4073,7 +4073,7 @@ void PythonQtShell_QWebEngineView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4095,7 +4095,7 @@ void PythonQtShell_QWebEngineView::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp b/generated_cpp_515/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp index 2807f96af..b5f251d44 100644 --- a/generated_cpp_515/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp +++ b/generated_cpp_515/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp @@ -79,7 +79,7 @@ void PythonQtShell_QGraphicsWebView::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -101,7 +101,7 @@ QRectF PythonQtShell_QGraphicsWebView::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -134,7 +134,7 @@ void PythonQtShell_QGraphicsWebView::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -156,7 +156,7 @@ void PythonQtShell_QGraphicsWebView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -178,7 +178,7 @@ void PythonQtShell_QGraphicsWebView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -200,7 +200,7 @@ bool PythonQtShell_QGraphicsWebView::collidesWithItem(const QGraphicsItem* oth { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -233,7 +233,7 @@ bool PythonQtShell_QGraphicsWebView::collidesWithPath(const QPainterPath& path { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -266,7 +266,7 @@ bool PythonQtShell_QGraphicsWebView::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -299,7 +299,7 @@ void PythonQtShell_QGraphicsWebView::contextMenuEvent(QGraphicsSceneContextMenuE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -321,7 +321,7 @@ void PythonQtShell_QGraphicsWebView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -343,7 +343,7 @@ void PythonQtShell_QGraphicsWebView::dragEnterEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -365,7 +365,7 @@ void PythonQtShell_QGraphicsWebView::dragLeaveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -387,7 +387,7 @@ void PythonQtShell_QGraphicsWebView::dragMoveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -409,7 +409,7 @@ void PythonQtShell_QGraphicsWebView::dropEvent(QGraphicsSceneDragDropEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -431,7 +431,7 @@ bool PythonQtShell_QGraphicsWebView::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -464,7 +464,7 @@ bool PythonQtShell_QGraphicsWebView::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -497,7 +497,7 @@ QVariant PythonQtShell_QGraphicsWebView::extension(const QVariant& variant0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -530,7 +530,7 @@ void PythonQtShell_QGraphicsWebView::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -552,7 +552,7 @@ bool PythonQtShell_QGraphicsWebView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -585,7 +585,7 @@ void PythonQtShell_QGraphicsWebView::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -607,7 +607,7 @@ void PythonQtShell_QGraphicsWebView::getContentsMargins(qreal* left0, qreal* t { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -629,7 +629,7 @@ void PythonQtShell_QGraphicsWebView::grabKeyboardEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("grabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -651,7 +651,7 @@ void PythonQtShell_QGraphicsWebView::grabMouseEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("grabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -673,7 +673,7 @@ void PythonQtShell_QGraphicsWebView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -695,7 +695,7 @@ void PythonQtShell_QGraphicsWebView::hoverEnterEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -717,7 +717,7 @@ void PythonQtShell_QGraphicsWebView::hoverLeaveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -739,7 +739,7 @@ void PythonQtShell_QGraphicsWebView::hoverMoveEvent(QGraphicsSceneHoverEvent* a { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -761,7 +761,7 @@ void PythonQtShell_QGraphicsWebView::initStyleOption(QStyleOption* option0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -783,7 +783,7 @@ void PythonQtShell_QGraphicsWebView::inputMethodEvent(QInputMethodEvent* arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -805,7 +805,7 @@ QVariant PythonQtShell_QGraphicsWebView::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -838,7 +838,7 @@ bool PythonQtShell_QGraphicsWebView::isObscuredBy(const QGraphicsItem* item0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -871,7 +871,7 @@ QVariant PythonQtShell_QGraphicsWebView::itemChange(QGraphicsItem::GraphicsItem { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -907,7 +907,7 @@ void PythonQtShell_QGraphicsWebView::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -929,7 +929,7 @@ void PythonQtShell_QGraphicsWebView::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -951,7 +951,7 @@ void PythonQtShell_QGraphicsWebView::mouseDoubleClickEvent(QGraphicsSceneMouseEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -973,7 +973,7 @@ void PythonQtShell_QGraphicsWebView::mouseMoveEvent(QGraphicsSceneMouseEvent* a { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -995,7 +995,7 @@ void PythonQtShell_QGraphicsWebView::mousePressEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1017,7 +1017,7 @@ void PythonQtShell_QGraphicsWebView::mouseReleaseEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1039,7 +1039,7 @@ void PythonQtShell_QGraphicsWebView::moveEvent(QGraphicsSceneMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1061,7 +1061,7 @@ QPainterPath PythonQtShell_QGraphicsWebView::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1094,7 +1094,7 @@ void PythonQtShell_QGraphicsWebView::paint(QPainter* arg__1, const QStyleOption { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1116,7 +1116,7 @@ void PythonQtShell_QGraphicsWebView::paintWindowFrame(QPainter* painter0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintWindowFrame"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1138,7 +1138,7 @@ void PythonQtShell_QGraphicsWebView::polishEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polishEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1160,7 +1160,7 @@ QVariant PythonQtShell_QGraphicsWebView::propertyChange(const QString& propert { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("propertyChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1193,7 +1193,7 @@ void PythonQtShell_QGraphicsWebView::resizeEvent(QGraphicsSceneResizeEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1215,7 +1215,7 @@ bool PythonQtShell_QGraphicsWebView::sceneEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1248,7 +1248,7 @@ bool PythonQtShell_QGraphicsWebView::sceneEventFilter(QGraphicsItem* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1281,7 +1281,7 @@ void PythonQtShell_QGraphicsWebView::setExtension(QGraphicsItem::Extension exte { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1303,7 +1303,7 @@ void PythonQtShell_QGraphicsWebView::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1325,7 +1325,7 @@ QPainterPath PythonQtShell_QGraphicsWebView::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1358,7 +1358,7 @@ void PythonQtShell_QGraphicsWebView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1380,7 +1380,7 @@ QSizeF PythonQtShell_QGraphicsWebView::sizeHint(Qt::SizeHint which0, const QSi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1413,7 +1413,7 @@ bool PythonQtShell_QGraphicsWebView::supportsExtension(QGraphicsItem::Extension { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1446,7 +1446,7 @@ void PythonQtShell_QGraphicsWebView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1468,7 +1468,7 @@ int PythonQtShell_QGraphicsWebView::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1501,7 +1501,7 @@ void PythonQtShell_QGraphicsWebView::ungrabKeyboardEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1523,7 +1523,7 @@ void PythonQtShell_QGraphicsWebView::ungrabMouseEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ungrabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1545,7 +1545,7 @@ void PythonQtShell_QGraphicsWebView::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1567,7 +1567,7 @@ void PythonQtShell_QGraphicsWebView::wheelEvent(QGraphicsSceneWheelEvent* arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1589,7 +1589,7 @@ bool PythonQtShell_QGraphicsWebView::windowFrameEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowFrameEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1622,7 +1622,7 @@ Qt::WindowFrameSection PythonQtShell_QGraphicsWebView::windowFrameSectionAt(con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowFrameSectionAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2587,7 +2587,7 @@ void PythonQtShell_QWebHistoryInterface::addHistoryEntry(const QString& url0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addHistoryEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2609,7 +2609,7 @@ void PythonQtShell_QWebHistoryInterface::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2631,7 +2631,7 @@ void PythonQtShell_QWebHistoryInterface::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2653,7 +2653,7 @@ bool PythonQtShell_QWebHistoryInterface::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2686,7 +2686,7 @@ bool PythonQtShell_QWebHistoryInterface::eventFilter(QObject* watched0, QEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2719,7 +2719,7 @@ bool PythonQtShell_QWebHistoryInterface::historyContains(const QString& url0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("historyContains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2752,7 +2752,7 @@ void PythonQtShell_QWebHistoryInterface::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2978,7 +2978,7 @@ void PythonQtShell_QWebInspector::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3000,7 +3000,7 @@ void PythonQtShell_QWebInspector::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3022,7 +3022,7 @@ void PythonQtShell_QWebInspector::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3044,7 +3044,7 @@ void PythonQtShell_QWebInspector::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3066,7 +3066,7 @@ void PythonQtShell_QWebInspector::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3088,7 +3088,7 @@ void PythonQtShell_QWebInspector::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3110,7 +3110,7 @@ int PythonQtShell_QWebInspector::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3143,7 +3143,7 @@ void PythonQtShell_QWebInspector::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3165,7 +3165,7 @@ void PythonQtShell_QWebInspector::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3187,7 +3187,7 @@ void PythonQtShell_QWebInspector::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3209,7 +3209,7 @@ void PythonQtShell_QWebInspector::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3231,7 +3231,7 @@ void PythonQtShell_QWebInspector::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3253,7 +3253,7 @@ bool PythonQtShell_QWebInspector::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3286,7 +3286,7 @@ bool PythonQtShell_QWebInspector::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3319,7 +3319,7 @@ void PythonQtShell_QWebInspector::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3341,7 +3341,7 @@ bool PythonQtShell_QWebInspector::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3374,7 +3374,7 @@ void PythonQtShell_QWebInspector::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3396,7 +3396,7 @@ bool PythonQtShell_QWebInspector::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3429,7 +3429,7 @@ int PythonQtShell_QWebInspector::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3462,7 +3462,7 @@ void PythonQtShell_QWebInspector::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3484,7 +3484,7 @@ void PythonQtShell_QWebInspector::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3506,7 +3506,7 @@ void PythonQtShell_QWebInspector::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3528,7 +3528,7 @@ QVariant PythonQtShell_QWebInspector::inputMethodQuery(Qt::InputMethodQuery ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3561,7 +3561,7 @@ void PythonQtShell_QWebInspector::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3583,7 +3583,7 @@ void PythonQtShell_QWebInspector::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3605,7 +3605,7 @@ void PythonQtShell_QWebInspector::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3627,7 +3627,7 @@ int PythonQtShell_QWebInspector::metric(QPaintDevice::PaintDeviceMetric arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3660,7 +3660,7 @@ QSize PythonQtShell_QWebInspector::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3693,7 +3693,7 @@ void PythonQtShell_QWebInspector::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3715,7 +3715,7 @@ void PythonQtShell_QWebInspector::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3737,7 +3737,7 @@ void PythonQtShell_QWebInspector::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3759,7 +3759,7 @@ void PythonQtShell_QWebInspector::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3781,7 +3781,7 @@ void PythonQtShell_QWebInspector::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3803,7 +3803,7 @@ bool PythonQtShell_QWebInspector::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3836,7 +3836,7 @@ QPaintEngine* PythonQtShell_QWebInspector::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3869,7 +3869,7 @@ void PythonQtShell_QWebInspector::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3891,7 +3891,7 @@ QPaintDevice* PythonQtShell_QWebInspector::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3924,7 +3924,7 @@ void PythonQtShell_QWebInspector::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3946,7 +3946,7 @@ void PythonQtShell_QWebInspector::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3968,7 +3968,7 @@ QPainter* PythonQtShell_QWebInspector::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4001,7 +4001,7 @@ void PythonQtShell_QWebInspector::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4023,7 +4023,7 @@ QSize PythonQtShell_QWebInspector::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4056,7 +4056,7 @@ void PythonQtShell_QWebInspector::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4078,7 +4078,7 @@ void PythonQtShell_QWebInspector::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4100,7 +4100,7 @@ void PythonQtShell_QWebInspector::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4160,7 +4160,7 @@ bool PythonQtShell_QWebPage::acceptNavigationRequest(QWebFrame* frame0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("acceptNavigationRequest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4193,7 +4193,7 @@ void PythonQtShell_QWebPage::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4215,7 +4215,7 @@ QString PythonQtShell_QWebPage::chooseFile(QWebFrame* originatingFrame0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("chooseFile"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4248,7 +4248,7 @@ QObject* PythonQtShell_QWebPage::createPlugin(const QString& classid0, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createPlugin"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4281,7 +4281,7 @@ QWebPage* PythonQtShell_QWebPage::createWindow(QWebPage::WebWindowType type0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createWindow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4314,7 +4314,7 @@ void PythonQtShell_QWebPage::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4336,7 +4336,7 @@ bool PythonQtShell_QWebPage::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4369,7 +4369,7 @@ bool PythonQtShell_QWebPage::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4402,7 +4402,7 @@ bool PythonQtShell_QWebPage::extension(QWebPage::Extension extension0, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4435,7 +4435,7 @@ void PythonQtShell_QWebPage::javaScriptAlert(QWebFrame* originatingFrame0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("javaScriptAlert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4457,7 +4457,7 @@ bool PythonQtShell_QWebPage::javaScriptConfirm(QWebFrame* originatingFrame0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("javaScriptConfirm"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4490,7 +4490,7 @@ void PythonQtShell_QWebPage::javaScriptConsoleMessage(const QString& message0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("javaScriptConsoleMessage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4512,7 +4512,7 @@ bool PythonQtShell_QWebPage::javaScriptPrompt(QWebFrame* originatingFrame0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("javaScriptPrompt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4545,7 +4545,7 @@ bool PythonQtShell_QWebPage::shouldInterruptJavaScript() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shouldInterruptJavaScript"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4578,7 +4578,7 @@ bool PythonQtShell_QWebPage::supportsExtension(QWebPage::Extension extension0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4611,7 +4611,7 @@ void PythonQtShell_QWebPage::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4633,7 +4633,7 @@ void PythonQtShell_QWebPage::triggerAction(QWebPage::WebAction action0, bool c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("triggerAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4655,7 +4655,7 @@ QString PythonQtShell_QWebPage::userAgentForUrl(const QUrl& url0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("userAgentForUrl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5076,7 +5076,7 @@ void PythonQtShell_QWebPluginFactory::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5098,7 +5098,7 @@ QObject* PythonQtShell_QWebPluginFactory::create(const QString& mimeType0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5131,7 +5131,7 @@ void PythonQtShell_QWebPluginFactory::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5153,7 +5153,7 @@ bool PythonQtShell_QWebPluginFactory::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5186,7 +5186,7 @@ bool PythonQtShell_QWebPluginFactory::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5219,7 +5219,7 @@ bool PythonQtShell_QWebPluginFactory::extension(QWebPluginFactory::Extension e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5252,7 +5252,7 @@ QList PythonQtShell_QWebPluginFactory::plugins() co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("plugins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5285,7 +5285,7 @@ void PythonQtShell_QWebPluginFactory::refreshPlugins() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("refreshPlugins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5307,7 +5307,7 @@ bool PythonQtShell_QWebPluginFactory::supportsExtension(QWebPluginFactory::Exte { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5340,7 +5340,7 @@ void PythonQtShell_QWebPluginFactory::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5752,7 +5752,7 @@ void PythonQtShell_QWebView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5774,7 +5774,7 @@ void PythonQtShell_QWebView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5796,7 +5796,7 @@ void PythonQtShell_QWebView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5818,7 +5818,7 @@ void PythonQtShell_QWebView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5840,7 +5840,7 @@ void PythonQtShell_QWebView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5862,7 +5862,7 @@ QWebView* PythonQtShell_QWebView::createWindow(QWebPage::WebWindowType type0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createWindow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5895,7 +5895,7 @@ void PythonQtShell_QWebView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5917,7 +5917,7 @@ int PythonQtShell_QWebView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5950,7 +5950,7 @@ void PythonQtShell_QWebView::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5972,7 +5972,7 @@ void PythonQtShell_QWebView::dragLeaveEvent(QDragLeaveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5994,7 +5994,7 @@ void PythonQtShell_QWebView::dragMoveEvent(QDragMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6016,7 +6016,7 @@ void PythonQtShell_QWebView::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6038,7 +6038,7 @@ void PythonQtShell_QWebView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6060,7 +6060,7 @@ bool PythonQtShell_QWebView::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6093,7 +6093,7 @@ bool PythonQtShell_QWebView::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6126,7 +6126,7 @@ void PythonQtShell_QWebView::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6148,7 +6148,7 @@ bool PythonQtShell_QWebView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6181,7 +6181,7 @@ void PythonQtShell_QWebView::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6203,7 +6203,7 @@ bool PythonQtShell_QWebView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6236,7 +6236,7 @@ int PythonQtShell_QWebView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6269,7 +6269,7 @@ void PythonQtShell_QWebView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6291,7 +6291,7 @@ void PythonQtShell_QWebView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6313,7 +6313,7 @@ void PythonQtShell_QWebView::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6335,7 +6335,7 @@ QVariant PythonQtShell_QWebView::inputMethodQuery(Qt::InputMethodQuery propert { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6368,7 +6368,7 @@ void PythonQtShell_QWebView::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6390,7 +6390,7 @@ void PythonQtShell_QWebView::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6412,7 +6412,7 @@ void PythonQtShell_QWebView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6434,7 +6434,7 @@ int PythonQtShell_QWebView::metric(QPaintDevice::PaintDeviceMetric arg__1) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6467,7 +6467,7 @@ QSize PythonQtShell_QWebView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6500,7 +6500,7 @@ void PythonQtShell_QWebView::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6522,7 +6522,7 @@ void PythonQtShell_QWebView::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6544,7 +6544,7 @@ void PythonQtShell_QWebView::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6566,7 +6566,7 @@ void PythonQtShell_QWebView::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6588,7 +6588,7 @@ void PythonQtShell_QWebView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6610,7 +6610,7 @@ bool PythonQtShell_QWebView::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6643,7 +6643,7 @@ QPaintEngine* PythonQtShell_QWebView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6676,7 +6676,7 @@ void PythonQtShell_QWebView::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6698,7 +6698,7 @@ QPaintDevice* PythonQtShell_QWebView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6731,7 +6731,7 @@ void PythonQtShell_QWebView::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6753,7 +6753,7 @@ void PythonQtShell_QWebView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6775,7 +6775,7 @@ QPainter* PythonQtShell_QWebView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6808,7 +6808,7 @@ void PythonQtShell_QWebView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6830,7 +6830,7 @@ QSize PythonQtShell_QWebView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6863,7 +6863,7 @@ void PythonQtShell_QWebView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6885,7 +6885,7 @@ void PythonQtShell_QWebView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6907,7 +6907,7 @@ void PythonQtShell_QWebView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp b/generated_cpp_515/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp index f6a466c7f..f229356b3 100644 --- a/generated_cpp_515/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp +++ b/generated_cpp_515/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp @@ -1176,7 +1176,7 @@ bool PythonQtShell_QXmlContentHandler::characters(const QString& ch0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1209,7 +1209,7 @@ bool PythonQtShell_QXmlContentHandler::endDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1242,7 +1242,7 @@ bool PythonQtShell_QXmlContentHandler::endElement(const QString& namespaceURI0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1275,7 +1275,7 @@ bool PythonQtShell_QXmlContentHandler::endPrefixMapping(const QString& prefix0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endPrefixMapping"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1308,7 +1308,7 @@ QString PythonQtShell_QXmlContentHandler::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1341,7 +1341,7 @@ bool PythonQtShell_QXmlContentHandler::ignorableWhitespace(const QString& ch0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ignorableWhitespace"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1374,7 +1374,7 @@ bool PythonQtShell_QXmlContentHandler::processingInstruction(const QString& ta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1407,7 +1407,7 @@ void PythonQtShell_QXmlContentHandler::setDocumentLocator(QXmlLocator* locator0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDocumentLocator"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1429,7 +1429,7 @@ bool PythonQtShell_QXmlContentHandler::skippedEntity(const QString& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("skippedEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1462,7 +1462,7 @@ bool PythonQtShell_QXmlContentHandler::startDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1495,7 +1495,7 @@ bool PythonQtShell_QXmlContentHandler::startElement(const QString& namespaceUR { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1528,7 +1528,7 @@ bool PythonQtShell_QXmlContentHandler::startPrefixMapping(const QString& prefi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startPrefixMapping"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1631,7 +1631,7 @@ QString PythonQtShell_QXmlDTDHandler::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1664,7 +1664,7 @@ bool PythonQtShell_QXmlDTDHandler::notationDecl(const QString& name0, const QS { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("notationDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1697,7 +1697,7 @@ bool PythonQtShell_QXmlDTDHandler::unparsedEntityDecl(const QString& name0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unparsedEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1755,7 +1755,7 @@ bool PythonQtShell_QXmlDeclHandler::attributeDecl(const QString& eName0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("attributeDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1788,7 +1788,7 @@ QString PythonQtShell_QXmlDeclHandler::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1821,7 +1821,7 @@ bool PythonQtShell_QXmlDeclHandler::externalEntityDecl(const QString& name0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("externalEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1854,7 +1854,7 @@ bool PythonQtShell_QXmlDeclHandler::internalEntityDecl(const QString& name0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("internalEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1917,7 +1917,7 @@ bool PythonQtShell_QXmlDefaultHandler::attributeDecl(const QString& eName0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("attributeDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1950,7 +1950,7 @@ bool PythonQtShell_QXmlDefaultHandler::characters(const QString& ch0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1983,7 +1983,7 @@ bool PythonQtShell_QXmlDefaultHandler::comment(const QString& ch0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2016,7 +2016,7 @@ bool PythonQtShell_QXmlDefaultHandler::endCDATA() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endCDATA"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2049,7 +2049,7 @@ bool PythonQtShell_QXmlDefaultHandler::endDTD() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endDTD"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2082,7 +2082,7 @@ bool PythonQtShell_QXmlDefaultHandler::endDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2115,7 +2115,7 @@ bool PythonQtShell_QXmlDefaultHandler::endElement(const QString& namespaceURI0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2148,7 +2148,7 @@ bool PythonQtShell_QXmlDefaultHandler::endEntity(const QString& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2181,7 +2181,7 @@ bool PythonQtShell_QXmlDefaultHandler::endPrefixMapping(const QString& prefix0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endPrefixMapping"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2214,7 +2214,7 @@ bool PythonQtShell_QXmlDefaultHandler::error(const QXmlParseException& excepti { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("error"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2247,7 +2247,7 @@ QString PythonQtShell_QXmlDefaultHandler::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2280,7 +2280,7 @@ bool PythonQtShell_QXmlDefaultHandler::externalEntityDecl(const QString& name0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("externalEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2313,7 +2313,7 @@ bool PythonQtShell_QXmlDefaultHandler::fatalError(const QXmlParseException& ex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fatalError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2346,7 +2346,7 @@ bool PythonQtShell_QXmlDefaultHandler::ignorableWhitespace(const QString& ch0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ignorableWhitespace"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2379,7 +2379,7 @@ bool PythonQtShell_QXmlDefaultHandler::internalEntityDecl(const QString& name0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("internalEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2412,7 +2412,7 @@ bool PythonQtShell_QXmlDefaultHandler::notationDecl(const QString& name0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("notationDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2445,7 +2445,7 @@ bool PythonQtShell_QXmlDefaultHandler::processingInstruction(const QString& ta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2478,7 +2478,7 @@ bool PythonQtShell_QXmlDefaultHandler::resolveEntity(const QString& publicId0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resolveEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2511,7 +2511,7 @@ void PythonQtShell_QXmlDefaultHandler::setDocumentLocator(QXmlLocator* locator0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDocumentLocator"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2533,7 +2533,7 @@ bool PythonQtShell_QXmlDefaultHandler::skippedEntity(const QString& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("skippedEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2566,7 +2566,7 @@ bool PythonQtShell_QXmlDefaultHandler::startCDATA() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startCDATA"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2599,7 +2599,7 @@ bool PythonQtShell_QXmlDefaultHandler::startDTD(const QString& name0, const QS { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDTD"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2632,7 +2632,7 @@ bool PythonQtShell_QXmlDefaultHandler::startDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2665,7 +2665,7 @@ bool PythonQtShell_QXmlDefaultHandler::startElement(const QString& namespaceUR { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2698,7 +2698,7 @@ bool PythonQtShell_QXmlDefaultHandler::startEntity(const QString& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2731,7 +2731,7 @@ bool PythonQtShell_QXmlDefaultHandler::startPrefixMapping(const QString& prefi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startPrefixMapping"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2764,7 +2764,7 @@ bool PythonQtShell_QXmlDefaultHandler::unparsedEntityDecl(const QString& name0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unparsedEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2797,7 +2797,7 @@ bool PythonQtShell_QXmlDefaultHandler::warning(const QXmlParseException& excep { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("warning"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2840,7 +2840,7 @@ QString PythonQtShell_QXmlEntityResolver::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2873,7 +2873,7 @@ bool PythonQtShell_QXmlEntityResolver::resolveEntity(const QString& publicId0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resolveEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2926,7 +2926,7 @@ bool PythonQtShell_QXmlErrorHandler::error(const QXmlParseException& exception { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("error"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2959,7 +2959,7 @@ QString PythonQtShell_QXmlErrorHandler::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2992,7 +2992,7 @@ bool PythonQtShell_QXmlErrorHandler::fatalError(const QXmlParseException& exce { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fatalError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3025,7 +3025,7 @@ bool PythonQtShell_QXmlErrorHandler::warning(const QXmlParseException& excepti { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("warning"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3088,7 +3088,7 @@ QString PythonQtShell_QXmlInputSource::data() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3121,7 +3121,7 @@ void PythonQtShell_QXmlInputSource::fetchData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3143,7 +3143,7 @@ QString PythonQtShell_QXmlInputSource::fromRawData(const QByteArray& data0, bo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fromRawData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3176,7 +3176,7 @@ QChar PythonQtShell_QXmlInputSource::next() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("next"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3209,7 +3209,7 @@ void PythonQtShell_QXmlInputSource::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3231,7 +3231,7 @@ void PythonQtShell_QXmlInputSource::setData(const QByteArray& dat0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3253,7 +3253,7 @@ void PythonQtShell_QXmlInputSource::setData(const QString& dat0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3324,7 +3324,7 @@ bool PythonQtShell_QXmlLexicalHandler::comment(const QString& ch0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3357,7 +3357,7 @@ bool PythonQtShell_QXmlLexicalHandler::endCDATA() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endCDATA"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3390,7 +3390,7 @@ bool PythonQtShell_QXmlLexicalHandler::endDTD() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endDTD"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3423,7 +3423,7 @@ bool PythonQtShell_QXmlLexicalHandler::endEntity(const QString& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3456,7 +3456,7 @@ QString PythonQtShell_QXmlLexicalHandler::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3489,7 +3489,7 @@ bool PythonQtShell_QXmlLexicalHandler::startCDATA() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startCDATA"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3522,7 +3522,7 @@ bool PythonQtShell_QXmlLexicalHandler::startDTD(const QString& name0, const QS { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDTD"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3555,7 +3555,7 @@ bool PythonQtShell_QXmlLexicalHandler::startEntity(const QString& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3638,7 +3638,7 @@ int PythonQtShell_QXmlLocator::columnNumber() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnNumber"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3671,7 +3671,7 @@ int PythonQtShell_QXmlLocator::lineNumber() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("lineNumber"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3759,7 +3759,7 @@ QXmlDTDHandler* PythonQtShell_QXmlReader::DTDHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("DTDHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3792,7 +3792,7 @@ QXmlContentHandler* PythonQtShell_QXmlReader::contentHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contentHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3825,7 +3825,7 @@ QXmlDeclHandler* PythonQtShell_QXmlReader::declHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("declHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3858,7 +3858,7 @@ QXmlEntityResolver* PythonQtShell_QXmlReader::entityResolver() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("entityResolver"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3891,7 +3891,7 @@ QXmlErrorHandler* PythonQtShell_QXmlReader::errorHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3924,7 +3924,7 @@ bool PythonQtShell_QXmlReader::feature(const QString& name0, bool* ok1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("feature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3957,7 +3957,7 @@ bool PythonQtShell_QXmlReader::hasFeature(const QString& name0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3990,7 +3990,7 @@ bool PythonQtShell_QXmlReader::hasProperty(const QString& name0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4023,7 +4023,7 @@ QXmlLexicalHandler* PythonQtShell_QXmlReader::lexicalHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("lexicalHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4056,7 +4056,7 @@ bool PythonQtShell_QXmlReader::parse(const QXmlInputSource& input0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4089,7 +4089,7 @@ bool PythonQtShell_QXmlReader::parse(const QXmlInputSource* input0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4122,7 +4122,7 @@ void* PythonQtShell_QXmlReader::property(const QString& name0, bool* ok1) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("property"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4155,7 +4155,7 @@ void PythonQtShell_QXmlReader::setContentHandler(QXmlContentHandler* handler0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setContentHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4177,7 +4177,7 @@ void PythonQtShell_QXmlReader::setDTDHandler(QXmlDTDHandler* handler0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDTDHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4199,7 +4199,7 @@ void PythonQtShell_QXmlReader::setDeclHandler(QXmlDeclHandler* handler0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDeclHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4221,7 +4221,7 @@ void PythonQtShell_QXmlReader::setEntityResolver(QXmlEntityResolver* handler0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEntityResolver"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4243,7 +4243,7 @@ void PythonQtShell_QXmlReader::setErrorHandler(QXmlErrorHandler* handler0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setErrorHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4265,7 +4265,7 @@ void PythonQtShell_QXmlReader::setFeature(const QString& name0, bool value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4287,7 +4287,7 @@ void PythonQtShell_QXmlReader::setLexicalHandler(QXmlLexicalHandler* handler0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setLexicalHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4309,7 +4309,7 @@ void PythonQtShell_QXmlReader::setProperty(const QString& name0, void* value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4441,7 +4441,7 @@ QXmlDTDHandler* PythonQtShell_QXmlSimpleReader::DTDHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("DTDHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4474,7 +4474,7 @@ QXmlContentHandler* PythonQtShell_QXmlSimpleReader::contentHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contentHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4507,7 +4507,7 @@ QXmlDeclHandler* PythonQtShell_QXmlSimpleReader::declHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("declHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4540,7 +4540,7 @@ QXmlEntityResolver* PythonQtShell_QXmlSimpleReader::entityResolver() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("entityResolver"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4573,7 +4573,7 @@ QXmlErrorHandler* PythonQtShell_QXmlSimpleReader::errorHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4606,7 +4606,7 @@ bool PythonQtShell_QXmlSimpleReader::feature(const QString& name0, bool* ok1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("feature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4639,7 +4639,7 @@ bool PythonQtShell_QXmlSimpleReader::hasFeature(const QString& name0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4672,7 +4672,7 @@ bool PythonQtShell_QXmlSimpleReader::hasProperty(const QString& name0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4705,7 +4705,7 @@ QXmlLexicalHandler* PythonQtShell_QXmlSimpleReader::lexicalHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("lexicalHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4738,7 +4738,7 @@ bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource& input0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4771,7 +4771,7 @@ bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource* input0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4804,7 +4804,7 @@ bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource* input0, bool { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4837,7 +4837,7 @@ bool PythonQtShell_QXmlSimpleReader::parseContinue() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parseContinue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4870,7 +4870,7 @@ void* PythonQtShell_QXmlSimpleReader::property(const QString& name0, bool* ok { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("property"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4903,7 +4903,7 @@ void PythonQtShell_QXmlSimpleReader::setContentHandler(QXmlContentHandler* hand { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setContentHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4925,7 +4925,7 @@ void PythonQtShell_QXmlSimpleReader::setDTDHandler(QXmlDTDHandler* handler0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDTDHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4947,7 +4947,7 @@ void PythonQtShell_QXmlSimpleReader::setDeclHandler(QXmlDeclHandler* handler0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDeclHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4969,7 +4969,7 @@ void PythonQtShell_QXmlSimpleReader::setEntityResolver(QXmlEntityResolver* hand { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEntityResolver"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4991,7 +4991,7 @@ void PythonQtShell_QXmlSimpleReader::setErrorHandler(QXmlErrorHandler* handler0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setErrorHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5013,7 +5013,7 @@ void PythonQtShell_QXmlSimpleReader::setFeature(const QString& name0, bool val { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5035,7 +5035,7 @@ void PythonQtShell_QXmlSimpleReader::setLexicalHandler(QXmlLexicalHandler* hand { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setLexicalHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5057,7 +5057,7 @@ void PythonQtShell_QXmlSimpleReader::setProperty(const QString& name0, void* v { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_515/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp b/generated_cpp_515/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp index b7eb28144..96ce24fe2 100644 --- a/generated_cpp_515/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp +++ b/generated_cpp_515/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp @@ -32,7 +32,7 @@ void PythonQtShell_QAbstractMessageHandler::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -54,7 +54,7 @@ void PythonQtShell_QAbstractMessageHandler::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -76,7 +76,7 @@ bool PythonQtShell_QAbstractMessageHandler::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -109,7 +109,7 @@ bool PythonQtShell_QAbstractMessageHandler::eventFilter(QObject* watched0, QEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -142,7 +142,7 @@ void PythonQtShell_QAbstractMessageHandler::handleMessage(QtMsgType type0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("handleMessage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -164,7 +164,7 @@ void PythonQtShell_QAbstractMessageHandler::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -219,7 +219,7 @@ void PythonQtShell_QAbstractUriResolver::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -241,7 +241,7 @@ void PythonQtShell_QAbstractUriResolver::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -263,7 +263,7 @@ bool PythonQtShell_QAbstractUriResolver::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -296,7 +296,7 @@ bool PythonQtShell_QAbstractUriResolver::eventFilter(QObject* watched0, QEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -329,7 +329,7 @@ QUrl PythonQtShell_QAbstractUriResolver::resolve(const QUrl& relative0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resolve"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -362,7 +362,7 @@ void PythonQtShell_QAbstractUriResolver::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -412,7 +412,7 @@ QVector PythonQtShell_QAbstractXmlNodeModel::attributes(co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("attributes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -445,7 +445,7 @@ QUrl PythonQtShell_QAbstractXmlNodeModel::baseUri(const QXmlNodeModelIndex& ni { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("baseUri"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -478,7 +478,7 @@ QXmlNodeModelIndex::DocumentOrder PythonQtShell_QAbstractXmlNodeModel::compareO { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("compareOrder"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -511,7 +511,7 @@ QUrl PythonQtShell_QAbstractXmlNodeModel::documentUri(const QXmlNodeModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("documentUri"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -544,7 +544,7 @@ QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::elementById(const QXmlN { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("elementById"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -577,7 +577,7 @@ bool PythonQtShell_QAbstractXmlNodeModel::isDeepEqual(const QXmlNodeModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isDeepEqual"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -610,7 +610,7 @@ QXmlNodeModelIndex::NodeKind PythonQtShell_QAbstractXmlNodeModel::kind(const QX { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("kind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -643,7 +643,7 @@ QXmlName PythonQtShell_QAbstractXmlNodeModel::name(const QXmlNodeModelIndex& n { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("name"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -676,7 +676,7 @@ QVector PythonQtShell_QAbstractXmlNodeModel::namespaceBindings(const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("namespaceBindings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -709,7 +709,7 @@ short PythonQtShell_QAbstractXmlNodeModel::namespaceForPrefix(const QXmlNodeMod { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("namespaceForPrefix"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -742,7 +742,7 @@ QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::nextFromSimpleAxis(QAbs { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextFromSimpleAxis"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -775,7 +775,7 @@ QVector PythonQtShell_QAbstractXmlNodeModel::nodesByIdref( { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nodesByIdref"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -808,7 +808,7 @@ QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::root(const QXmlNodeMode { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("root"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -841,7 +841,7 @@ QString PythonQtShell_QAbstractXmlNodeModel::stringValue(const QXmlNodeModelInd { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stringValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -874,7 +874,7 @@ QVariant PythonQtShell_QAbstractXmlNodeModel::typedValue(const QXmlNodeModelInd { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("typedValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1012,7 +1012,7 @@ void PythonQtShell_QAbstractXmlReceiver::atomicValue(const QVariant& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atomicValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1034,7 +1034,7 @@ void PythonQtShell_QAbstractXmlReceiver::attribute(const QXmlName& name0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("attribute"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1056,7 +1056,7 @@ void PythonQtShell_QAbstractXmlReceiver::characters(const QStringRef& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1078,7 +1078,7 @@ void PythonQtShell_QAbstractXmlReceiver::comment(const QString& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1100,7 +1100,7 @@ void PythonQtShell_QAbstractXmlReceiver::endDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1122,7 +1122,7 @@ void PythonQtShell_QAbstractXmlReceiver::endElement() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1144,7 +1144,7 @@ void PythonQtShell_QAbstractXmlReceiver::endOfSequence() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1166,7 +1166,7 @@ void PythonQtShell_QAbstractXmlReceiver::namespaceBinding(const QXmlName& name0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("namespaceBinding"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1188,7 +1188,7 @@ void PythonQtShell_QAbstractXmlReceiver::processingInstruction(const QXmlName& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1210,7 +1210,7 @@ void PythonQtShell_QAbstractXmlReceiver::startDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1232,7 +1232,7 @@ void PythonQtShell_QAbstractXmlReceiver::startElement(const QXmlName& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1254,7 +1254,7 @@ void PythonQtShell_QAbstractXmlReceiver::startOfSequence() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1276,7 +1276,7 @@ void PythonQtShell_QAbstractXmlReceiver::whitespaceOnly(const QStringRef& value { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("whitespaceOnly"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1377,7 +1377,7 @@ QVector PythonQtShell_QSimpleXmlNodeModel::attributes(cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("attributes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1410,7 +1410,7 @@ QUrl PythonQtShell_QSimpleXmlNodeModel::baseUri(const QXmlNodeModelIndex& node { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("baseUri"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1443,7 +1443,7 @@ QXmlNodeModelIndex::DocumentOrder PythonQtShell_QSimpleXmlNodeModel::compareOrd { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("compareOrder"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1476,7 +1476,7 @@ QUrl PythonQtShell_QSimpleXmlNodeModel::documentUri(const QXmlNodeModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("documentUri"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1509,7 +1509,7 @@ QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::elementById(const QXmlNam { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("elementById"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1542,7 +1542,7 @@ bool PythonQtShell_QSimpleXmlNodeModel::isDeepEqual(const QXmlNodeModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isDeepEqual"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1575,7 +1575,7 @@ QXmlNodeModelIndex::NodeKind PythonQtShell_QSimpleXmlNodeModel::kind(const QXml { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("kind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1608,7 +1608,7 @@ QXmlName PythonQtShell_QSimpleXmlNodeModel::name(const QXmlNodeModelIndex& ni0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("name"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1641,7 +1641,7 @@ QVector PythonQtShell_QSimpleXmlNodeModel::namespaceBindings(const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("namespaceBindings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1674,7 +1674,7 @@ short PythonQtShell_QSimpleXmlNodeModel::namespaceForPrefix(const QXmlNodeModel { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("namespaceForPrefix"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1707,7 +1707,7 @@ QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::nextFromSimpleAxis(QAbstr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextFromSimpleAxis"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1740,7 +1740,7 @@ QVector PythonQtShell_QSimpleXmlNodeModel::nodesByIdref(co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nodesByIdref"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1773,7 +1773,7 @@ QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::root(const QXmlNodeModelI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("root"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1806,7 +1806,7 @@ QString PythonQtShell_QSimpleXmlNodeModel::stringValue(const QXmlNodeModelIndex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stringValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1839,7 +1839,7 @@ QVariant PythonQtShell_QSimpleXmlNodeModel::typedValue(const QXmlNodeModelIndex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("typedValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1953,7 +1953,7 @@ void PythonQtShell_QXmlFormatter::atomicValue(const QVariant& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atomicValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1975,7 +1975,7 @@ void PythonQtShell_QXmlFormatter::attribute(const QXmlName& name0, const QStrin { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("attribute"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1997,7 +1997,7 @@ void PythonQtShell_QXmlFormatter::characters(const QStringRef& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2019,7 +2019,7 @@ void PythonQtShell_QXmlFormatter::comment(const QString& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2041,7 +2041,7 @@ void PythonQtShell_QXmlFormatter::endDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2063,7 +2063,7 @@ void PythonQtShell_QXmlFormatter::endElement() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2085,7 +2085,7 @@ void PythonQtShell_QXmlFormatter::endOfSequence() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2107,7 +2107,7 @@ void PythonQtShell_QXmlFormatter::namespaceBinding(const QXmlName& nb0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("namespaceBinding"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2129,7 +2129,7 @@ void PythonQtShell_QXmlFormatter::processingInstruction(const QXmlName& name0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2151,7 +2151,7 @@ void PythonQtShell_QXmlFormatter::startDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2173,7 +2173,7 @@ void PythonQtShell_QXmlFormatter::startElement(const QXmlName& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2195,7 +2195,7 @@ void PythonQtShell_QXmlFormatter::startOfSequence() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2217,7 +2217,7 @@ void PythonQtShell_QXmlFormatter::whitespaceOnly(const QStringRef& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("whitespaceOnly"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2744,7 +2744,7 @@ void PythonQtShell_QXmlSerializer::atomicValue(const QVariant& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atomicValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2766,7 +2766,7 @@ void PythonQtShell_QXmlSerializer::attribute(const QXmlName& name0, const QStri { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("attribute"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2788,7 +2788,7 @@ void PythonQtShell_QXmlSerializer::characters(const QStringRef& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2810,7 +2810,7 @@ void PythonQtShell_QXmlSerializer::comment(const QString& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2832,7 +2832,7 @@ void PythonQtShell_QXmlSerializer::endDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2854,7 +2854,7 @@ void PythonQtShell_QXmlSerializer::endElement() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2876,7 +2876,7 @@ void PythonQtShell_QXmlSerializer::endOfSequence() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2898,7 +2898,7 @@ void PythonQtShell_QXmlSerializer::namespaceBinding(const QXmlName& nb0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("namespaceBinding"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2920,7 +2920,7 @@ void PythonQtShell_QXmlSerializer::processingInstruction(const QXmlName& name0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2942,7 +2942,7 @@ void PythonQtShell_QXmlSerializer::startDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2964,7 +2964,7 @@ void PythonQtShell_QXmlSerializer::startElement(const QXmlName& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2986,7 +2986,7 @@ void PythonQtShell_QXmlSerializer::startOfSequence() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3008,7 +3008,7 @@ void PythonQtShell_QXmlSerializer::whitespaceOnly(const QStringRef& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("whitespaceOnly"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_core/com_trolltech_qt_core0.cpp b/generated_cpp_53/com_trolltech_qt_core/com_trolltech_qt_core0.cpp index 7ca97a2fd..8712d6913 100644 --- a/generated_cpp_53/com_trolltech_qt_core/com_trolltech_qt_core0.cpp +++ b/generated_cpp_53/com_trolltech_qt_core/com_trolltech_qt_core0.cpp @@ -51,7 +51,7 @@ PythonQtShell_QAbstractAnimation::~PythonQtShell_QAbstractAnimation() { } void PythonQtShell_QAbstractAnimation::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -70,7 +70,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractAnimation::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -89,7 +89,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractAnimation::duration() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -119,7 +119,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractAnimation::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -149,7 +149,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -179,7 +179,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractAnimation::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -198,7 +198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractAnimation::updateCurrentTime(int currentTime0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -217,7 +217,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractAnimation::updateDirection(QAbstractAnimation::Direction direction0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -236,7 +236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -340,7 +340,7 @@ PythonQtShell_QAbstractItemModel::~PythonQtShell_QAbstractItemModel() { } QModelIndex PythonQtShell_QAbstractItemModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -370,7 +370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -400,7 +400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -430,7 +430,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -449,7 +449,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -479,7 +479,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -498,7 +498,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractItemModel::data(const QModelIndex& index0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -528,7 +528,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -558,7 +558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -588,7 +588,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -618,7 +618,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -637,7 +637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QAbstractItemModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -667,7 +667,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::hasChildren(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -697,7 +697,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractItemModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -727,7 +727,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractItemModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -757,7 +757,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -787,7 +787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -817,7 +817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QAbstractItemModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -847,7 +847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QAbstractItemModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -877,7 +877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QAbstractItemModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -907,7 +907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QAbstractItemModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -937,7 +937,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -967,7 +967,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -997,7 +997,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractItemModel::parent(const QModelIndex& child0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1027,7 +1027,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1057,7 +1057,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1087,7 +1087,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1106,7 +1106,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QAbstractItemModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1136,7 +1136,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1166,7 +1166,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1196,7 +1196,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1226,7 +1226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1256,7 +1256,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractItemModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1286,7 +1286,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1305,7 +1305,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractItemModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1335,7 +1335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1365,7 +1365,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QAbstractItemModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1395,7 +1395,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QAbstractItemModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1425,7 +1425,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1769,7 +1769,7 @@ PythonQtShell_QAbstractListModel::~PythonQtShell_QAbstractListModel() { } QModelIndex PythonQtShell_QAbstractListModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1799,7 +1799,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1829,7 +1829,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1859,7 +1859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractListModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1878,7 +1878,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractListModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1897,7 +1897,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractListModel::data(const QModelIndex& index0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1927,7 +1927,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1957,7 +1957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1987,7 +1987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2017,7 +2017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractListModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2036,7 +2036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QAbstractListModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2066,7 +2066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractListModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2096,7 +2096,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractListModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2126,7 +2126,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2156,7 +2156,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2186,7 +2186,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QAbstractListModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2216,7 +2216,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QAbstractListModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2246,7 +2246,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QAbstractListModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2276,7 +2276,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QAbstractListModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2306,7 +2306,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2336,7 +2336,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2366,7 +2366,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2396,7 +2396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2426,7 +2426,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractListModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2445,7 +2445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QAbstractListModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2475,7 +2475,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractListModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2505,7 +2505,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2535,7 +2535,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2565,7 +2565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2595,7 +2595,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractListModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2625,7 +2625,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractListModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2644,7 +2644,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractListModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2674,7 +2674,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2704,7 +2704,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QAbstractListModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2734,7 +2734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QAbstractListModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2764,7 +2764,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractListModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2813,7 +2813,7 @@ PythonQtShell_QAbstractState::~PythonQtShell_QAbstractState() { } void PythonQtShell_QAbstractState::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2832,7 +2832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractState::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2851,7 +2851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractState::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2881,7 +2881,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractState::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2911,7 +2911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractState::onEntry(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2930,7 +2930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractState::onExit(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2949,7 +2949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractState::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3003,7 +3003,7 @@ PythonQtShell_QAbstractTransition::~PythonQtShell_QAbstractTransition() { } void PythonQtShell_QAbstractTransition::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3022,7 +3022,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTransition::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3041,7 +3041,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTransition::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3071,7 +3071,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTransition::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3101,7 +3101,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTransition::eventTest(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3131,7 +3131,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTransition::onTransition(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3150,7 +3150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTransition::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3239,7 +3239,7 @@ PythonQtShell_QAnimationGroup::~PythonQtShell_QAnimationGroup() { } void PythonQtShell_QAnimationGroup::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3258,7 +3258,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAnimationGroup::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3277,7 +3277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAnimationGroup::duration() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3307,7 +3307,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAnimationGroup::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3337,7 +3337,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAnimationGroup::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3367,7 +3367,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAnimationGroup::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3386,7 +3386,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAnimationGroup::updateCurrentTime(int currentTime0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3405,7 +3405,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3424,7 +3424,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3559,7 +3559,7 @@ PythonQtShell_QBuffer::~PythonQtShell_QBuffer() { } bool PythonQtShell_QBuffer::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3589,7 +3589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QBuffer::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3619,7 +3619,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QBuffer::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3649,7 +3649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3679,7 +3679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBuffer::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3698,7 +3698,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBuffer::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3717,7 +3717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBuffer::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3736,7 +3736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3766,7 +3766,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3796,7 +3796,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3826,7 +3826,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::open(QIODevice::OpenMode openMode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3856,7 +3856,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QBuffer::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3886,7 +3886,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QBuffer::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3916,7 +3916,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QBuffer::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3946,7 +3946,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3976,7 +3976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::seek(qint64 off0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4006,7 +4006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QBuffer::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4036,7 +4036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBuffer::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4055,7 +4055,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4085,7 +4085,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4115,7 +4115,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QBuffer::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5572,7 +5572,7 @@ PythonQtShell_QEventLoop::~PythonQtShell_QEventLoop() { } void PythonQtShell_QEventLoop::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5591,7 +5591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QEventLoop::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5610,7 +5610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QEventLoop::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5640,7 +5640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QEventLoop::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5670,7 +5670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QEventLoop::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5734,7 +5734,7 @@ PythonQtShell_QEventTransition::~PythonQtShell_QEventTransition() { } void PythonQtShell_QEventTransition::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5753,7 +5753,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QEventTransition::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5772,7 +5772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QEventTransition::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5802,7 +5802,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QEventTransition::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5832,7 +5832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QEventTransition::eventTest(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5862,7 +5862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QEventTransition::onTransition(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5881,7 +5881,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QEventTransition::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5949,7 +5949,7 @@ PythonQtShell_QFactoryInterface::~PythonQtShell_QFactoryInterface() { } QStringList PythonQtShell_QFactoryInterface::keys() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keys"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5994,7 +5994,7 @@ PythonQtShell_QFile::~PythonQtShell_QFile() { } bool PythonQtShell_QFile::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6024,7 +6024,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFile::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6054,7 +6054,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFile::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6084,7 +6084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6114,7 +6114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFile::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6133,7 +6133,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFile::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6152,7 +6152,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFile::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6171,7 +6171,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6201,7 +6201,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6231,7 +6231,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QFile::fileName() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fileName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6261,7 +6261,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6291,7 +6291,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::open(QIODevice::OpenMode flags0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6321,7 +6321,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QFileDevice::Permissions PythonQtShell_QFile::permissions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("permissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6351,7 +6351,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFile::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6381,7 +6381,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFile::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6411,7 +6411,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFile::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6441,7 +6441,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6471,7 +6471,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::resize(qint64 sz0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6501,7 +6501,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::seek(qint64 offset0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6531,7 +6531,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::setPermissions(QFileDevice::Permissions permissionSpec0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6561,7 +6561,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFile::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6591,7 +6591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFile::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6610,7 +6610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6640,7 +6640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6670,7 +6670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFile::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6847,7 +6847,7 @@ PythonQtShell_QFileDevice::~PythonQtShell_QFileDevice() { } bool PythonQtShell_QFileDevice::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6877,7 +6877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFileDevice::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6907,7 +6907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFileDevice::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6937,7 +6937,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6967,7 +6967,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDevice::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6986,7 +6986,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDevice::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7005,7 +7005,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDevice::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7024,7 +7024,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7054,7 +7054,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7084,7 +7084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QFileDevice::fileName() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fileName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7114,7 +7114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7144,7 +7144,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7174,7 +7174,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QFileDevice::Permissions PythonQtShell_QFileDevice::permissions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("permissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7204,7 +7204,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFileDevice::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7234,7 +7234,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFileDevice::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7264,7 +7264,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFileDevice::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7294,7 +7294,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7324,7 +7324,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::resize(qint64 sz0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7354,7 +7354,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::seek(qint64 offset0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7384,7 +7384,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::setPermissions(QFileDevice::Permissions permissionSpec0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7414,7 +7414,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFileDevice::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7444,7 +7444,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDevice::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7463,7 +7463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7493,7 +7493,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7523,7 +7523,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFileDevice::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_core/com_trolltech_qt_core1.cpp b/generated_cpp_53/com_trolltech_qt_core/com_trolltech_qt_core1.cpp index f67e9c595..0f87a46d3 100644 --- a/generated_cpp_53/com_trolltech_qt_core/com_trolltech_qt_core1.cpp +++ b/generated_cpp_53/com_trolltech_qt_core/com_trolltech_qt_core1.cpp @@ -52,7 +52,7 @@ PythonQtShell_QFileSelector::~PythonQtShell_QFileSelector() { } void PythonQtShell_QFileSelector::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -71,7 +71,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSelector::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -90,7 +90,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSelector::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -120,7 +120,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSelector::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -150,7 +150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSelector::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -204,7 +204,7 @@ PythonQtShell_QFileSystemWatcher::~PythonQtShell_QFileSystemWatcher() { } void PythonQtShell_QFileSystemWatcher::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -223,7 +223,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSystemWatcher::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -242,7 +242,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemWatcher::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -272,7 +272,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemWatcher::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -302,7 +302,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSystemWatcher::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -365,7 +365,7 @@ PythonQtShell_QFinalState::~PythonQtShell_QFinalState() { } void PythonQtShell_QFinalState::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -384,7 +384,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFinalState::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -403,7 +403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFinalState::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -433,7 +433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFinalState::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -463,7 +463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFinalState::onEntry(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -482,7 +482,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFinalState::onExit(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -501,7 +501,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFinalState::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -545,7 +545,7 @@ PythonQtShell_QHistoryState::~PythonQtShell_QHistoryState() { } void PythonQtShell_QHistoryState::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -564,7 +564,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHistoryState::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -583,7 +583,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHistoryState::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -613,7 +613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHistoryState::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -643,7 +643,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHistoryState::onEntry(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -662,7 +662,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHistoryState::onExit(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -681,7 +681,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHistoryState::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -749,7 +749,7 @@ PythonQtShell_QIODevice::~PythonQtShell_QIODevice() { } bool PythonQtShell_QIODevice::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -779,7 +779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QIODevice::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -809,7 +809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QIODevice::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -839,7 +839,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -869,7 +869,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIODevice::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -888,7 +888,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIODevice::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -907,7 +907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIODevice::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -926,7 +926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -956,7 +956,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -986,7 +986,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1016,7 +1016,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1046,7 +1046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QIODevice::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1076,7 +1076,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QIODevice::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1106,7 +1106,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QIODevice::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1136,7 +1136,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1166,7 +1166,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::seek(qint64 pos0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1196,7 +1196,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QIODevice::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1226,7 +1226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIODevice::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1245,7 +1245,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1275,7 +1275,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1305,7 +1305,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QIODevice::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1519,7 +1519,7 @@ PythonQtShell_QIdentityProxyModel::~PythonQtShell_QIdentityProxyModel() { } QModelIndex PythonQtShell_QIdentityProxyModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1549,7 +1549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1579,7 +1579,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1609,7 +1609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIdentityProxyModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1628,7 +1628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QIdentityProxyModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1658,7 +1658,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIdentityProxyModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1677,7 +1677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QIdentityProxyModel::data(const QModelIndex& proxyIndex0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1707,7 +1707,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1737,7 +1737,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1767,7 +1767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1797,7 +1797,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIdentityProxyModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1816,7 +1816,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QIdentityProxyModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1846,7 +1846,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::hasChildren(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1876,7 +1876,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QIdentityProxyModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1906,7 +1906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QIdentityProxyModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1936,7 +1936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1966,7 +1966,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1996,7 +1996,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QIdentityProxyModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2026,7 +2026,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QIdentityProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2056,7 +2056,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionFromSource(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapSelectionFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2086,7 +2086,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionToSource(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapSelectionToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2116,7 +2116,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QIdentityProxyModel::mapToSource(const QModelIndex& proxyIndex0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2146,7 +2146,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QIdentityProxyModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2176,7 +2176,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QIdentityProxyModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2206,7 +2206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QIdentityProxyModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2236,7 +2236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2266,7 +2266,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2296,7 +2296,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QIdentityProxyModel::parent(const QModelIndex& child0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2326,7 +2326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2356,7 +2356,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2386,7 +2386,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIdentityProxyModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2405,7 +2405,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QIdentityProxyModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2435,7 +2435,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QIdentityProxyModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2465,7 +2465,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2495,7 +2495,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2525,7 +2525,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2555,7 +2555,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIdentityProxyModel::setSourceModel(QAbstractItemModel* sourceModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSourceModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2574,7 +2574,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QIdentityProxyModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2604,7 +2604,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIdentityProxyModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2623,7 +2623,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QIdentityProxyModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2653,7 +2653,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2683,7 +2683,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2713,7 +2713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2743,7 +2743,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIdentityProxyModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3417,7 +3417,7 @@ PythonQtShell_QLibrary::~PythonQtShell_QLibrary() { } void PythonQtShell_QLibrary::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3436,7 +3436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLibrary::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3455,7 +3455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLibrary::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3485,7 +3485,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLibrary::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3515,7 +3515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLibrary::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4419,7 +4419,7 @@ PythonQtShell_QMimeData::~PythonQtShell_QMimeData() { } void PythonQtShell_QMimeData::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4438,7 +4438,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMimeData::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4457,7 +4457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMimeData::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4487,7 +4487,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMimeData::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4517,7 +4517,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QMimeData::formats() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("formats"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4547,7 +4547,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMimeData::hasFormat(const QString& mimetype0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4577,7 +4577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QMimeData::retrieveData(const QString& mimetype0, QVariant::Type preferredType1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("retrieveData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4607,7 +4607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMimeData::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5011,7 +5011,7 @@ PythonQtShell_QObject::~PythonQtShell_QObject() { } void PythonQtShell_QObject::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5030,7 +5030,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QObject::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5049,7 +5049,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QObject::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5079,7 +5079,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QObject::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5109,7 +5109,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QObject::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5258,7 +5258,7 @@ PythonQtShell_QParallelAnimationGroup::~PythonQtShell_QParallelAnimationGroup() } void PythonQtShell_QParallelAnimationGroup::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5277,7 +5277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QParallelAnimationGroup::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5296,7 +5296,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QParallelAnimationGroup::duration() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5326,7 +5326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QParallelAnimationGroup::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5356,7 +5356,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QParallelAnimationGroup::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5386,7 +5386,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QParallelAnimationGroup::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5405,7 +5405,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QParallelAnimationGroup::updateCurrentTime(int currentTime0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5424,7 +5424,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QParallelAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5443,7 +5443,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QParallelAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_core/com_trolltech_qt_core2.cpp b/generated_cpp_53/com_trolltech_qt_core/com_trolltech_qt_core2.cpp index c16a074d0..3bb20c2ec 100644 --- a/generated_cpp_53/com_trolltech_qt_core/com_trolltech_qt_core2.cpp +++ b/generated_cpp_53/com_trolltech_qt_core/com_trolltech_qt_core2.cpp @@ -50,7 +50,7 @@ PythonQtShell_QPauseAnimation::~PythonQtShell_QPauseAnimation() { } void PythonQtShell_QPauseAnimation::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -69,7 +69,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPauseAnimation::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -88,7 +88,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPauseAnimation::duration() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -118,7 +118,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPauseAnimation::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -148,7 +148,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPauseAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -178,7 +178,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPauseAnimation::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -197,7 +197,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPauseAnimation::updateCurrentTime(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -216,7 +216,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPauseAnimation::updateDirection(QAbstractAnimation::Direction direction0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -235,7 +235,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPauseAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -394,7 +394,7 @@ PythonQtShell_QProcess::~PythonQtShell_QProcess() { } bool PythonQtShell_QProcess::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -424,7 +424,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QProcess::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -454,7 +454,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QProcess::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -484,7 +484,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -514,7 +514,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProcess::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -533,7 +533,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProcess::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -552,7 +552,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProcess::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -571,7 +571,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -601,7 +601,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -631,7 +631,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -661,7 +661,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -691,7 +691,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QProcess::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -721,7 +721,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QProcess::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -751,7 +751,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QProcess::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -781,7 +781,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -811,7 +811,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::seek(qint64 pos0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -841,7 +841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProcess::setupChildProcess() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupChildProcess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -860,7 +860,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QProcess::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -890,7 +890,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProcess::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -909,7 +909,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -939,7 +939,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -969,7 +969,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QProcess::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1359,7 +1359,7 @@ PythonQtShell_QPropertyAnimation::~PythonQtShell_QPropertyAnimation() { } void PythonQtShell_QPropertyAnimation::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1378,7 +1378,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPropertyAnimation::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1397,7 +1397,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPropertyAnimation::duration() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1427,7 +1427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPropertyAnimation::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1457,7 +1457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPropertyAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1487,7 +1487,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QPropertyAnimation::interpolated(const QVariant& from0, const QVariant& to1, qreal progress2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("interpolated"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1517,7 +1517,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPropertyAnimation::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1536,7 +1536,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPropertyAnimation::updateCurrentTime(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1555,7 +1555,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPropertyAnimation::updateCurrentValue(const QVariant& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1574,7 +1574,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPropertyAnimation::updateDirection(QAbstractAnimation::Direction direction0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1593,7 +1593,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPropertyAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2085,7 +2085,7 @@ PythonQtShell_QRunnable::~PythonQtShell_QRunnable() { } void PythonQtShell_QRunnable::run() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("run"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2129,7 +2129,7 @@ PythonQtShell_QSaveFile::~PythonQtShell_QSaveFile() { } bool PythonQtShell_QSaveFile::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2159,7 +2159,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSaveFile::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2189,7 +2189,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSaveFile::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2219,7 +2219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSaveFile::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2249,7 +2249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSaveFile::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2268,7 +2268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSaveFile::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2287,7 +2287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSaveFile::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2317,7 +2317,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSaveFile::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2347,7 +2347,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSaveFile::fileName() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fileName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2377,7 +2377,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSaveFile::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2407,7 +2407,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSaveFile::open(QIODevice::OpenMode flags0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2437,7 +2437,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QFileDevice::Permissions PythonQtShell_QSaveFile::permissions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("permissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2467,7 +2467,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSaveFile::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2497,7 +2497,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSaveFile::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2527,7 +2527,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSaveFile::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2557,7 +2557,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSaveFile::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2587,7 +2587,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSaveFile::resize(qint64 sz0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2617,7 +2617,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSaveFile::seek(qint64 offset0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2647,7 +2647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSaveFile::setPermissions(QFileDevice::Permissions permissionSpec0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2677,7 +2677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSaveFile::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2707,7 +2707,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSaveFile::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2726,7 +2726,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSaveFile::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2756,7 +2756,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSaveFile::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2786,7 +2786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSaveFile::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2905,7 +2905,7 @@ PythonQtShell_QSequentialAnimationGroup::~PythonQtShell_QSequentialAnimationGrou } void PythonQtShell_QSequentialAnimationGroup::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2924,7 +2924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSequentialAnimationGroup::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2943,7 +2943,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSequentialAnimationGroup::duration() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2973,7 +2973,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSequentialAnimationGroup::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3003,7 +3003,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSequentialAnimationGroup::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3033,7 +3033,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSequentialAnimationGroup::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3052,7 +3052,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSequentialAnimationGroup::updateCurrentTime(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3071,7 +3071,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSequentialAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3090,7 +3090,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSequentialAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3159,7 +3159,7 @@ PythonQtShell_QSettings::~PythonQtShell_QSettings() { } void PythonQtShell_QSettings::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3178,7 +3178,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSettings::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3197,7 +3197,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSettings::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3227,7 +3227,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSettings::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3257,7 +3257,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSettings::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3462,7 +3462,7 @@ PythonQtShell_QSharedMemory::~PythonQtShell_QSharedMemory() { } void PythonQtShell_QSharedMemory::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3481,7 +3481,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSharedMemory::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3500,7 +3500,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSharedMemory::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3530,7 +3530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSharedMemory::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3560,7 +3560,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSharedMemory::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3668,7 +3668,7 @@ PythonQtShell_QSignalMapper::~PythonQtShell_QSignalMapper() { } void PythonQtShell_QSignalMapper::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3687,7 +3687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSignalMapper::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3706,7 +3706,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSignalMapper::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3736,7 +3736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSignalMapper::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3766,7 +3766,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSignalMapper::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3840,7 +3840,7 @@ PythonQtShell_QSignalTransition::~PythonQtShell_QSignalTransition() { } void PythonQtShell_QSignalTransition::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3859,7 +3859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSignalTransition::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3878,7 +3878,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSignalTransition::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3908,7 +3908,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSignalTransition::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3938,7 +3938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSignalTransition::eventTest(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3968,7 +3968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSignalTransition::onTransition(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3987,7 +3987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSignalTransition::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4119,7 +4119,7 @@ PythonQtShell_QState::~PythonQtShell_QState() { } void PythonQtShell_QState::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4138,7 +4138,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QState::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4157,7 +4157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QState::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4187,7 +4187,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QState::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4217,7 +4217,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QState::onEntry(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4236,7 +4236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QState::onExit(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4255,7 +4255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QState::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4363,7 +4363,7 @@ PythonQtShell_QStateMachine::~PythonQtShell_QStateMachine() { } void PythonQtShell_QStateMachine::beginMicrostep(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("beginMicrostep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4382,7 +4382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStateMachine::beginSelectTransitions(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("beginSelectTransitions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4401,7 +4401,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStateMachine::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4420,7 +4420,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStateMachine::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4439,7 +4439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStateMachine::endMicrostep(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endMicrostep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4458,7 +4458,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStateMachine::endSelectTransitions(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endSelectTransitions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4477,7 +4477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStateMachine::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4507,7 +4507,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStateMachine::eventFilter(QObject* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4537,7 +4537,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStateMachine::onEntry(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4556,7 +4556,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStateMachine::onExit(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4575,7 +4575,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStateMachine::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4890,7 +4890,7 @@ PythonQtShell_QTemporaryFile::~PythonQtShell_QTemporaryFile() { } bool PythonQtShell_QTemporaryFile::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4920,7 +4920,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTemporaryFile::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4950,7 +4950,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTemporaryFile::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4980,7 +4980,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5010,7 +5010,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTemporaryFile::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5029,7 +5029,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTemporaryFile::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5048,7 +5048,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTemporaryFile::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5067,7 +5067,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5097,7 +5097,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5127,7 +5127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5157,7 +5157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::open(QIODevice::OpenMode flags0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5187,7 +5187,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QFileDevice::Permissions PythonQtShell_QTemporaryFile::permissions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("permissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5217,7 +5217,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTemporaryFile::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5247,7 +5247,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTemporaryFile::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5277,7 +5277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTemporaryFile::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5307,7 +5307,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5337,7 +5337,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::resize(qint64 sz0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5367,7 +5367,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::seek(qint64 offset0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5397,7 +5397,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::setPermissions(QFileDevice::Permissions permissionSpec0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5427,7 +5427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTemporaryFile::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5457,7 +5457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTemporaryFile::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5476,7 +5476,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5506,7 +5506,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5536,7 +5536,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTemporaryFile::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_core/com_trolltech_qt_core3.cpp b/generated_cpp_53/com_trolltech_qt_core/com_trolltech_qt_core3.cpp index 2b002e9f7..111c078d4 100644 --- a/generated_cpp_53/com_trolltech_qt_core/com_trolltech_qt_core3.cpp +++ b/generated_cpp_53/com_trolltech_qt_core/com_trolltech_qt_core3.cpp @@ -40,7 +40,7 @@ PythonQtShell_QTextCodec::~PythonQtShell_QTextCodec() { } QList PythonQtShell_QTextCodec::aliases() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("aliases"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -70,7 +70,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QByteArray PythonQtShell_QTextCodec::convertFromUnicode(const QChar* in0, int length1, QTextCodec::ConverterState* state2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("convertFromUnicode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -100,7 +100,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QTextCodec::convertToUnicode(const char* in0, int length1, QTextCodec::ConverterState* state2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("convertToUnicode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -130,7 +130,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTextCodec::mibEnum() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mibEnum"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -160,7 +160,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QByteArray PythonQtShell_QTextCodec::name() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("name"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -618,7 +618,7 @@ PythonQtShell_QThreadPool::~PythonQtShell_QThreadPool() { } void PythonQtShell_QThreadPool::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -637,7 +637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QThreadPool::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -656,7 +656,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QThreadPool::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -686,7 +686,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QThreadPool::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -716,7 +716,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QThreadPool::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -805,7 +805,7 @@ PythonQtShell_QTimeLine::~PythonQtShell_QTimeLine() { } void PythonQtShell_QTimeLine::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -824,7 +824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeLine::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -843,7 +843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimeLine::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -873,7 +873,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimeLine::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -903,7 +903,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeLine::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -922,7 +922,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qreal PythonQtShell_QTimeLine::valueForTime(int msec0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("valueForTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1256,7 +1256,7 @@ PythonQtShell_QTimer::~PythonQtShell_QTimer() { } void PythonQtShell_QTimer::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1275,7 +1275,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimer::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1294,7 +1294,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimer::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1324,7 +1324,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimer::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1354,7 +1354,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimer::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1458,7 +1458,7 @@ PythonQtShell_QTranslator::~PythonQtShell_QTranslator() { } void PythonQtShell_QTranslator::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1477,7 +1477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTranslator::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1496,7 +1496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTranslator::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1526,7 +1526,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTranslator::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1556,7 +1556,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTranslator::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1586,7 +1586,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTranslator::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1605,7 +1605,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QTranslator::translate(const char* context0, const char* sourceText1, const char* disambiguation2, int n3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("translate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1907,7 +1907,7 @@ PythonQtShell_QVariantAnimation::~PythonQtShell_QVariantAnimation() { } void PythonQtShell_QVariantAnimation::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1926,7 +1926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVariantAnimation::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1945,7 +1945,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QVariantAnimation::duration() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1975,7 +1975,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVariantAnimation::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2005,7 +2005,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVariantAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2035,7 +2035,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QVariantAnimation::interpolated(const QVariant& from0, const QVariant& to1, qreal progress2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("interpolated"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2065,7 +2065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVariantAnimation::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2084,7 +2084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVariantAnimation::updateCurrentTime(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2103,7 +2103,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVariantAnimation::updateCurrentValue(const QVariant& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2122,7 +2122,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVariantAnimation::updateDirection(QAbstractAnimation::Direction direction0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2141,7 +2141,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVariantAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2286,7 +2286,7 @@ PythonQtShell_QXmlStreamEntityResolver::~PythonQtShell_QXmlStreamEntityResolver( } QString PythonQtShell_QXmlStreamEntityResolver::resolveEntity(const QString& publicId0, const QString& systemId1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resolveEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2316,7 +2316,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QXmlStreamEntityResolver::resolveUndeclaredEntity(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resolveUndeclaredEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp index 182118ae3..31e35dbf6 100644 --- a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp +++ b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp @@ -114,7 +114,7 @@ PythonQtShell_QAbstractButton::~PythonQtShell_QAbstractButton() { } void PythonQtShell_QAbstractButton::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -133,7 +133,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -152,7 +152,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::checkStateSet() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -171,7 +171,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -190,7 +190,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -209,7 +209,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -228,7 +228,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -247,7 +247,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractButton::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -277,7 +277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -296,7 +296,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -315,7 +315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -334,7 +334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -353,7 +353,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -372,7 +372,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractButton::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -402,7 +402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractButton::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -432,7 +432,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -451,7 +451,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractButton::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -481,7 +481,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::focusOutEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -500,7 +500,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractButton::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -530,7 +530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractButton::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -560,7 +560,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -579,7 +579,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractButton::hitButton(const QPoint& pos0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -609,7 +609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -628,7 +628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -647,7 +647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -677,7 +677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::keyPressEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -696,7 +696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -715,7 +715,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -734,7 +734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -764,7 +764,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractButton::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -794,7 +794,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -813,7 +813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -832,7 +832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -851,7 +851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -870,7 +870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -889,7 +889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -919,7 +919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::nextCheckState() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -938,7 +938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QAbstractButton::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -968,7 +968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -987,7 +987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QAbstractButton::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1017,7 +1017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1036,7 +1036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QAbstractButton::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1066,7 +1066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1085,7 +1085,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractButton::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1115,7 +1115,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1134,7 +1134,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1153,7 +1153,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1357,7 +1357,7 @@ PythonQtShell_QAbstractGraphicsShapeItem::~PythonQtShell_QAbstractGraphicsShapeI } void PythonQtShell_QAbstractGraphicsShapeItem::advance(int phase0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1376,7 +1376,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRectF PythonQtShell_QAbstractGraphicsShapeItem::boundingRect() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1406,7 +1406,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractGraphicsShapeItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1436,7 +1436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractGraphicsShapeItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1466,7 +1466,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractGraphicsShapeItem::contains(const QPointF& point0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1496,7 +1496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1515,7 +1515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1534,7 +1534,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1553,7 +1553,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1572,7 +1572,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1591,7 +1591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractGraphicsShapeItem::extension(const QVariant& variant0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1621,7 +1621,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1640,7 +1640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1659,7 +1659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1678,7 +1678,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1697,7 +1697,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1716,7 +1716,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1735,7 +1735,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractGraphicsShapeItem::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1765,7 +1765,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractGraphicsShapeItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1795,7 +1795,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractGraphicsShapeItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1828,7 +1828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1847,7 +1847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1866,7 +1866,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1885,7 +1885,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1904,7 +1904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1923,7 +1923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1942,7 +1942,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QAbstractGraphicsShapeItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1972,7 +1972,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1991,7 +1991,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractGraphicsShapeItem::sceneEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2021,7 +2021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractGraphicsShapeItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2051,7 +2051,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2070,7 +2070,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QAbstractGraphicsShapeItem::shape() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2100,7 +2100,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractGraphicsShapeItem::supportsExtension(QGraphicsItem::Extension extension0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2130,7 +2130,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractGraphicsShapeItem::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2160,7 +2160,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2219,7 +2219,7 @@ PythonQtShell_QAbstractItemDelegate::~PythonQtShell_QAbstractItemDelegate() { } void PythonQtShell_QAbstractItemDelegate::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2238,7 +2238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QAbstractItemDelegate::createEditor(QWidget* parent0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2268,7 +2268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemDelegate::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2287,7 +2287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemDelegate::destroyEditor(QWidget* editor0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("destroyEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2306,7 +2306,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemDelegate::editorEvent(QEvent* event0, QAbstractItemModel* model1, const QStyleOptionViewItem& option2, const QModelIndex& index3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2336,7 +2336,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemDelegate::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2366,7 +2366,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemDelegate::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2396,7 +2396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemView* view1, const QStyleOptionViewItem& option2, const QModelIndex& index3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2426,7 +2426,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemDelegate::paint(QPainter* painter0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2445,7 +2445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVector PythonQtShell_QAbstractItemDelegate::paintingRoles() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintingRoles"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2475,7 +2475,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemDelegate::setEditorData(QWidget* editor0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2494,7 +2494,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemDelegate::setModelData(QWidget* editor0, QAbstractItemModel* model1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModelData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2513,7 +2513,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractItemDelegate::sizeHint(const QStyleOptionViewItem& option0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2543,7 +2543,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemDelegate::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2562,7 +2562,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemDelegate::updateEditorGeometry(QWidget* editor0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2641,7 +2641,7 @@ PythonQtShell_QAbstractItemView::~PythonQtShell_QAbstractItemView() { } void PythonQtShell_QAbstractItemView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2660,7 +2660,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2679,7 +2679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2698,7 +2698,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2717,7 +2717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2736,7 +2736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2755,7 +2755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2774,7 +2774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2793,7 +2793,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2812,7 +2812,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2831,7 +2831,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2861,7 +2861,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2880,7 +2880,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2899,7 +2899,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::dragLeaveEvent(QDragLeaveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2918,7 +2918,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::dragMoveEvent(QDragMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2937,7 +2937,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2956,7 +2956,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2986,7 +2986,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3005,7 +3005,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3024,7 +3024,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemView::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3054,7 +3054,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3084,7 +3084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3103,7 +3103,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3133,7 +3133,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3152,7 +3152,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3182,7 +3182,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3212,7 +3212,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3231,7 +3231,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemView::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3261,7 +3261,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3280,7 +3280,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3299,7 +3299,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractItemView::indexAt(const QPoint& point0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3329,7 +3329,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3348,7 +3348,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3367,7 +3367,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractItemView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3397,7 +3397,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemView::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3427,7 +3427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3446,7 +3446,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3465,7 +3465,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3484,7 +3484,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3503,7 +3503,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3533,7 +3533,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3552,7 +3552,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3571,7 +3571,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3590,7 +3590,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3609,7 +3609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractItemView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3639,7 +3639,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3658,7 +3658,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3688,7 +3688,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QAbstractItemView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3718,7 +3718,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3737,7 +3737,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QAbstractItemView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3767,7 +3767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3786,7 +3786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3805,7 +3805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3824,7 +3824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3843,7 +3843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3862,7 +3862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3881,7 +3881,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3900,7 +3900,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QAbstractItemView::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3930,7 +3930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3949,7 +3949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QAbstractItemView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3979,7 +3979,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::setModel(QAbstractItemModel* model0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3998,7 +3998,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4017,7 +4017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4036,7 +4036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4055,7 +4055,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4074,7 +4074,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QAbstractItemView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4104,7 +4104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4123,7 +4123,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemView::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4153,7 +4153,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemView::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4183,7 +4183,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4202,7 +4202,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4221,7 +4221,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4240,7 +4240,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4259,7 +4259,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4278,7 +4278,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4297,7 +4297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemView::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4327,7 +4327,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4346,7 +4346,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4365,7 +4365,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QAbstractItemView::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4395,7 +4395,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemView::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4425,7 +4425,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractItemView::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4455,7 +4455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QAbstractItemView::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4485,7 +4485,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QAbstractItemView::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4515,7 +4515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5119,7 +5119,7 @@ PythonQtShell_QAbstractPrintDialog::~PythonQtShell_QAbstractPrintDialog() { } void PythonQtShell_QAbstractPrintDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5138,7 +5138,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5157,7 +5157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5176,7 +5176,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5195,7 +5195,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5214,7 +5214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5233,7 +5233,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5252,7 +5252,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractPrintDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5282,7 +5282,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::done(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5301,7 +5301,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5320,7 +5320,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5339,7 +5339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5358,7 +5358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5377,7 +5377,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5396,7 +5396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractPrintDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5426,7 +5426,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractPrintDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5456,7 +5456,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractPrintDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5486,7 +5486,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5505,7 +5505,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractPrintDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5535,7 +5535,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5554,7 +5554,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractPrintDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5584,7 +5584,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractPrintDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5614,7 +5614,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5633,7 +5633,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5652,7 +5652,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5671,7 +5671,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractPrintDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5701,7 +5701,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5720,7 +5720,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5739,7 +5739,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5758,7 +5758,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractPrintDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5788,7 +5788,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5807,7 +5807,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5826,7 +5826,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5845,7 +5845,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5864,7 +5864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5883,7 +5883,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractPrintDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5913,7 +5913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5932,7 +5932,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QAbstractPrintDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5962,7 +5962,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5981,7 +5981,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QAbstractPrintDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6011,7 +6011,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6030,7 +6030,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6049,7 +6049,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QAbstractPrintDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6079,7 +6079,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6098,7 +6098,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6117,7 +6117,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6136,7 +6136,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractPrintDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6240,7 +6240,7 @@ PythonQtShell_QAbstractProxyModel::~PythonQtShell_QAbstractProxyModel() { } QModelIndex PythonQtShell_QAbstractProxyModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6270,7 +6270,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6300,7 +6300,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6330,7 +6330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractProxyModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6349,7 +6349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractProxyModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6379,7 +6379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractProxyModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6398,7 +6398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractProxyModel::data(const QModelIndex& proxyIndex0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6428,7 +6428,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6458,7 +6458,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6488,7 +6488,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6518,7 +6518,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractProxyModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6537,7 +6537,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QAbstractProxyModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6567,7 +6567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::hasChildren(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6597,7 +6597,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractProxyModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6627,7 +6627,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractProxyModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6657,7 +6657,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6687,7 +6687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6717,7 +6717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QAbstractProxyModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6747,7 +6747,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6777,7 +6777,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelection PythonQtShell_QAbstractProxyModel::mapSelectionFromSource(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapSelectionFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6807,7 +6807,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelection PythonQtShell_QAbstractProxyModel::mapSelectionToSource(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapSelectionToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6837,7 +6837,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractProxyModel::mapToSource(const QModelIndex& proxyIndex0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6867,7 +6867,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QAbstractProxyModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6897,7 +6897,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QAbstractProxyModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6927,7 +6927,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QAbstractProxyModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6957,7 +6957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6987,7 +6987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7017,7 +7017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractProxyModel::parent(const QModelIndex& child0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7047,7 +7047,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7077,7 +7077,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7107,7 +7107,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractProxyModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7126,7 +7126,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QAbstractProxyModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7156,7 +7156,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractProxyModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7186,7 +7186,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7216,7 +7216,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7246,7 +7246,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7276,7 +7276,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractProxyModel::setSourceModel(QAbstractItemModel* sourceModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSourceModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7295,7 +7295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractProxyModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7325,7 +7325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractProxyModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7344,7 +7344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractProxyModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7374,7 +7374,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7404,7 +7404,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QAbstractProxyModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7434,7 +7434,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QAbstractProxyModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7464,7 +7464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractProxyModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7618,7 +7618,7 @@ PythonQtShell_QAbstractScrollArea::~PythonQtShell_QAbstractScrollArea() { } void PythonQtShell_QAbstractScrollArea::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7637,7 +7637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7656,7 +7656,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7675,7 +7675,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7694,7 +7694,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7713,7 +7713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7732,7 +7732,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractScrollArea::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7762,7 +7762,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7781,7 +7781,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7800,7 +7800,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7819,7 +7819,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7838,7 +7838,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7857,7 +7857,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractScrollArea::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7887,7 +7887,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractScrollArea::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7917,7 +7917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7936,7 +7936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractScrollArea::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7966,7 +7966,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7985,7 +7985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractScrollArea::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8015,7 +8015,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractScrollArea::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8045,7 +8045,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8064,7 +8064,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8083,7 +8083,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8102,7 +8102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractScrollArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8132,7 +8132,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8151,7 +8151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8170,7 +8170,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8189,7 +8189,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractScrollArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8219,7 +8219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8238,7 +8238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8257,7 +8257,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8276,7 +8276,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8295,7 +8295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8314,7 +8314,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractScrollArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8344,7 +8344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QAbstractScrollArea::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8374,7 +8374,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8393,7 +8393,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QAbstractScrollArea::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8423,7 +8423,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8442,7 +8442,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8461,7 +8461,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8480,7 +8480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QAbstractScrollArea::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8510,7 +8510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8529,7 +8529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8548,7 +8548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8567,7 +8567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractScrollArea::viewportEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8597,7 +8597,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractScrollArea::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8627,7 +8627,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8856,7 +8856,7 @@ PythonQtShell_QAbstractSlider::~PythonQtShell_QAbstractSlider() { } void PythonQtShell_QAbstractSlider::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8875,7 +8875,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8894,7 +8894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8913,7 +8913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8932,7 +8932,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8951,7 +8951,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8970,7 +8970,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractSlider::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9000,7 +9000,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9019,7 +9019,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9038,7 +9038,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9057,7 +9057,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9076,7 +9076,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9095,7 +9095,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSlider::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9125,7 +9125,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSlider::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9155,7 +9155,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9174,7 +9174,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSlider::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9204,7 +9204,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9223,7 +9223,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSlider::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9253,7 +9253,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractSlider::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9283,7 +9283,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9302,7 +9302,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9321,7 +9321,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9340,7 +9340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractSlider::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9370,7 +9370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::keyPressEvent(QKeyEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9389,7 +9389,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9408,7 +9408,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9427,7 +9427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractSlider::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9457,7 +9457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractSlider::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9487,7 +9487,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9506,7 +9506,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9525,7 +9525,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9544,7 +9544,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9563,7 +9563,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9582,7 +9582,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSlider::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9612,7 +9612,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QAbstractSlider::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9642,7 +9642,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9661,7 +9661,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QAbstractSlider::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9691,7 +9691,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9710,7 +9710,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QAbstractSlider::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9740,7 +9740,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9759,7 +9759,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractSlider::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9789,7 +9789,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::sliderChange(QAbstractSlider::SliderChange change0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sliderChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9808,7 +9808,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9827,7 +9827,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9846,7 +9846,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::wheelEvent(QWheelEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10015,7 +10015,7 @@ PythonQtShell_QAbstractSpinBox::~PythonQtShell_QAbstractSpinBox() { } void PythonQtShell_QAbstractSpinBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10034,7 +10034,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10053,7 +10053,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10072,7 +10072,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10091,7 +10091,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10110,7 +10110,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::contextMenuEvent(QContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10129,7 +10129,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10148,7 +10148,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractSpinBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10178,7 +10178,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10197,7 +10197,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10216,7 +10216,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10235,7 +10235,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10254,7 +10254,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10273,7 +10273,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSpinBox::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10303,7 +10303,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSpinBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10333,7 +10333,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::fixup(QString& input0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10352,7 +10352,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10371,7 +10371,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSpinBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10401,7 +10401,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10420,7 +10420,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSpinBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10450,7 +10450,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractSpinBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10480,7 +10480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10499,7 +10499,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10518,7 +10518,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10537,7 +10537,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10567,7 +10567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10586,7 +10586,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10605,7 +10605,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10624,7 +10624,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10654,7 +10654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10673,7 +10673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10692,7 +10692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10711,7 +10711,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10730,7 +10730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10749,7 +10749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSpinBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10779,7 +10779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QAbstractSpinBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10809,7 +10809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10828,7 +10828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QAbstractSpinBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10858,7 +10858,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10877,7 +10877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QAbstractSpinBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10907,7 +10907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10926,7 +10926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::stepBy(int steps0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10945,7 +10945,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAbstractSpinBox::StepEnabled PythonQtShell_QAbstractSpinBox::stepEnabled() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10975,7 +10975,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10994,7 +10994,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11013,7 +11013,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QAbstractSpinBox::validate(QString& input0, int& pos1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11043,7 +11043,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::wheelEvent(QWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11327,7 +11327,7 @@ PythonQtShell_QAbstractTableModel::~PythonQtShell_QAbstractTableModel() { } QModelIndex PythonQtShell_QAbstractTableModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11357,7 +11357,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11387,7 +11387,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11417,7 +11417,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTableModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11436,7 +11436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractTableModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11466,7 +11466,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTableModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11485,7 +11485,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractTableModel::data(const QModelIndex& index0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11515,7 +11515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11545,7 +11545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11575,7 +11575,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11605,7 +11605,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTableModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11624,7 +11624,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QAbstractTableModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11654,7 +11654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractTableModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11684,7 +11684,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractTableModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11714,7 +11714,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11744,7 +11744,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11774,7 +11774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QAbstractTableModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11804,7 +11804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QAbstractTableModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11834,7 +11834,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QAbstractTableModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11864,7 +11864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QAbstractTableModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11894,7 +11894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11924,7 +11924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11954,7 +11954,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11984,7 +11984,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12014,7 +12014,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTableModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12033,7 +12033,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QAbstractTableModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12063,7 +12063,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractTableModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12093,7 +12093,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12123,7 +12123,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12153,7 +12153,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12183,7 +12183,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractTableModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12213,7 +12213,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTableModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12232,7 +12232,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractTableModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12262,7 +12262,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12292,7 +12292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QAbstractTableModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12322,7 +12322,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QAbstractTableModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12352,7 +12352,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTableModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12401,7 +12401,7 @@ PythonQtShell_QAbstractTextDocumentLayout::~PythonQtShell_QAbstractTextDocumentL } QRectF PythonQtShell_QAbstractTextDocumentLayout::blockBoundingRect(const QTextBlock& block0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("blockBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12431,7 +12431,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTextDocumentLayout::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12450,7 +12450,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTextDocumentLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12469,7 +12469,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTextDocumentLayout::documentChanged(int from0, int charsRemoved1, int charsAdded2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("documentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12488,7 +12488,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizeF PythonQtShell_QAbstractTextDocumentLayout::documentSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("documentSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12518,7 +12518,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTextDocumentLayout::draw(QPainter* painter0, const QAbstractTextDocumentLayout::PaintContext& context1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12537,7 +12537,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTextDocumentLayout::drawInlineObject(QPainter* painter0, const QRectF& rect1, QTextInlineObject object2, int posInDocument3, const QTextFormat& format4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12556,7 +12556,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTextDocumentLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12586,7 +12586,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTextDocumentLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12616,7 +12616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRectF PythonQtShell_QAbstractTextDocumentLayout::frameBoundingRect(QTextFrame* frame0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("frameBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12646,7 +12646,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractTextDocumentLayout::hitTest(const QPointF& point0, Qt::HitTestAccuracy accuracy1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12676,7 +12676,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractTextDocumentLayout::pageCount() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pageCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12706,7 +12706,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTextDocumentLayout::positionInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("positionInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12725,7 +12725,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTextDocumentLayout::resizeInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12744,7 +12744,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTextDocumentLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12920,7 +12920,7 @@ PythonQtShell_QAction::~PythonQtShell_QAction() { } void PythonQtShell_QAction::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12939,7 +12939,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAction::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12958,7 +12958,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAction::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12988,7 +12988,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAction::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13018,7 +13018,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAction::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13311,7 +13311,7 @@ PythonQtShell_QActionGroup::~PythonQtShell_QActionGroup() { } void PythonQtShell_QActionGroup::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13330,7 +13330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QActionGroup::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13349,7 +13349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QActionGroup::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13379,7 +13379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QActionGroup::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13409,7 +13409,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QActionGroup::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13781,7 +13781,7 @@ PythonQtShell_QBoxLayout::~PythonQtShell_QBoxLayout() { } void PythonQtShell_QBoxLayout::addItem(QLayoutItem* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13800,7 +13800,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBoxLayout::childEvent(QChildEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13819,7 +13819,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizePolicy::ControlTypes PythonQtShell_QBoxLayout::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13849,7 +13849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QBoxLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13879,7 +13879,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBoxLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13898,7 +13898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBoxLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13928,7 +13928,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBoxLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13958,7 +13958,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QBoxLayout::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13988,7 +13988,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QBoxLayout::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14018,7 +14018,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QBoxLayout::indexOf(QWidget* arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14048,7 +14048,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBoxLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14067,7 +14067,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBoxLayout::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14097,7 +14097,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QBoxLayout::itemAt(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14127,7 +14127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QBoxLayout::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14157,7 +14157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QBoxLayout::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14187,7 +14187,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QBoxLayout::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14217,7 +14217,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBoxLayout::setGeometry(const QRect& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14236,7 +14236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QBoxLayout::takeAt(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14266,7 +14266,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBoxLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14460,7 +14460,7 @@ PythonQtShell_QButtonGroup::~PythonQtShell_QButtonGroup() { } void PythonQtShell_QButtonGroup::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14479,7 +14479,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QButtonGroup::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14498,7 +14498,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QButtonGroup::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14528,7 +14528,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QButtonGroup::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14558,7 +14558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QButtonGroup::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14637,7 +14637,7 @@ PythonQtShell_QCalendarWidget::~PythonQtShell_QCalendarWidget() { } void PythonQtShell_QCalendarWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14656,7 +14656,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14675,7 +14675,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14694,7 +14694,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14713,7 +14713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14732,7 +14732,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14751,7 +14751,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCalendarWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14781,7 +14781,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14800,7 +14800,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14819,7 +14819,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14838,7 +14838,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14857,7 +14857,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14876,7 +14876,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCalendarWidget::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14906,7 +14906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCalendarWidget::eventFilter(QObject* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14936,7 +14936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14955,7 +14955,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCalendarWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14985,7 +14985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15004,7 +15004,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCalendarWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15034,7 +15034,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCalendarWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15064,7 +15064,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15083,7 +15083,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15102,7 +15102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15121,7 +15121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QCalendarWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15151,7 +15151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15170,7 +15170,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15189,7 +15189,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15208,7 +15208,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCalendarWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15238,7 +15238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QCalendarWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15268,7 +15268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15287,7 +15287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15306,7 +15306,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15325,7 +15325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15344,7 +15344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15363,7 +15363,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCalendarWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15393,7 +15393,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::paintCell(QPainter* painter0, const QRect& rect1, const QDate& date2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintCell"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15412,7 +15412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QCalendarWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15442,7 +15442,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15461,7 +15461,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QCalendarWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15491,7 +15491,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15510,7 +15510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QCalendarWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15540,7 +15540,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15559,7 +15559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QCalendarWidget::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15589,7 +15589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15608,7 +15608,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15627,7 +15627,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15846,7 +15846,7 @@ PythonQtShell_QCheckBox::~PythonQtShell_QCheckBox() { } void PythonQtShell_QCheckBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15865,7 +15865,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15884,7 +15884,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::checkStateSet() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15903,7 +15903,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15922,7 +15922,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15941,7 +15941,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15960,7 +15960,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15979,7 +15979,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCheckBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16009,7 +16009,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16028,7 +16028,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16047,7 +16047,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16066,7 +16066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16085,7 +16085,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16104,7 +16104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCheckBox::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16134,7 +16134,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCheckBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16164,7 +16164,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16183,7 +16183,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCheckBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16213,7 +16213,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::focusOutEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16232,7 +16232,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCheckBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16262,7 +16262,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCheckBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16292,7 +16292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16311,7 +16311,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCheckBox::hitButton(const QPoint& pos0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16341,7 +16341,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16360,7 +16360,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16379,7 +16379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QCheckBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16409,7 +16409,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::keyPressEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16428,7 +16428,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16447,7 +16447,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16466,7 +16466,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCheckBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16496,7 +16496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16515,7 +16515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16534,7 +16534,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16553,7 +16553,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16572,7 +16572,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16591,7 +16591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCheckBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16621,7 +16621,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::nextCheckState() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16640,7 +16640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QCheckBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16670,7 +16670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16689,7 +16689,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QCheckBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16719,7 +16719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16738,7 +16738,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QCheckBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16768,7 +16768,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16787,7 +16787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16806,7 +16806,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16825,7 +16825,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17006,7 +17006,7 @@ PythonQtShell_QColorDialog::~PythonQtShell_QColorDialog() { } void PythonQtShell_QColorDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17025,7 +17025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17044,7 +17044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17063,7 +17063,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17082,7 +17082,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17101,7 +17101,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17120,7 +17120,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17139,7 +17139,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColorDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17169,7 +17169,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::done(int result0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17188,7 +17188,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17207,7 +17207,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17226,7 +17226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17245,7 +17245,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17264,7 +17264,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17283,7 +17283,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColorDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17313,7 +17313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColorDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17343,7 +17343,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColorDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17373,7 +17373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17392,7 +17392,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColorDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17422,7 +17422,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17441,7 +17441,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColorDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17471,7 +17471,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColorDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17501,7 +17501,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17520,7 +17520,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17539,7 +17539,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17558,7 +17558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QColorDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17588,7 +17588,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17607,7 +17607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17626,7 +17626,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17645,7 +17645,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColorDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17675,7 +17675,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17694,7 +17694,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17713,7 +17713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17732,7 +17732,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17751,7 +17751,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17770,7 +17770,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColorDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17800,7 +17800,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17819,7 +17819,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QColorDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17849,7 +17849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17868,7 +17868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QColorDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17898,7 +17898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17917,7 +17917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17936,7 +17936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QColorDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17966,7 +17966,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17985,7 +17985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18004,7 +18004,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18023,7 +18023,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18151,7 +18151,7 @@ PythonQtShell_QColumnView::~PythonQtShell_QColumnView() { } void PythonQtShell_QColumnView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18170,7 +18170,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18189,7 +18189,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18208,7 +18208,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18227,7 +18227,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18246,7 +18246,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18265,7 +18265,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18284,7 +18284,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAbstractItemView* PythonQtShell_QColumnView::createColumn(const QModelIndex& rootIndex0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18314,7 +18314,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18333,7 +18333,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18352,7 +18352,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18371,7 +18371,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColumnView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18401,7 +18401,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18420,7 +18420,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18439,7 +18439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::dragLeaveEvent(QDragLeaveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18458,7 +18458,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::dragMoveEvent(QDragMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18477,7 +18477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18496,7 +18496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColumnView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18526,7 +18526,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18545,7 +18545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18564,7 +18564,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColumnView::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18594,7 +18594,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColumnView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18624,7 +18624,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18643,7 +18643,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColumnView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18673,7 +18673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18692,7 +18692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColumnView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18722,7 +18722,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColumnView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18752,7 +18752,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18771,7 +18771,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColumnView::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18801,7 +18801,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18820,7 +18820,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18839,7 +18839,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QColumnView::indexAt(const QPoint& point0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18869,7 +18869,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18888,7 +18888,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18907,7 +18907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QColumnView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18937,7 +18937,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColumnView::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18967,7 +18967,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18986,7 +18986,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19005,7 +19005,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19024,7 +19024,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19043,7 +19043,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColumnView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19073,7 +19073,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19092,7 +19092,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19111,7 +19111,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19130,7 +19130,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19149,7 +19149,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19168,7 +19168,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColumnView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19198,7 +19198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QColumnView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19228,7 +19228,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19247,7 +19247,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QColumnView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19277,7 +19277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19296,7 +19296,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19315,7 +19315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19334,7 +19334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19353,7 +19353,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19372,7 +19372,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19391,7 +19391,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19410,7 +19410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QColumnView::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19440,7 +19440,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19459,7 +19459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QColumnView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19489,7 +19489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::setModel(QAbstractItemModel* model0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19508,7 +19508,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19527,7 +19527,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19546,7 +19546,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19565,7 +19565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19584,7 +19584,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QColumnView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19614,7 +19614,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19633,7 +19633,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColumnView::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19663,7 +19663,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColumnView::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19693,7 +19693,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19712,7 +19712,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19731,7 +19731,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19750,7 +19750,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19769,7 +19769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19788,7 +19788,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19807,7 +19807,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColumnView::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19837,7 +19837,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19856,7 +19856,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19875,7 +19875,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QColumnView::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19905,7 +19905,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColumnView::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19935,7 +19935,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QColumnView::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19965,7 +19965,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QColumnView::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19995,7 +19995,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QColumnView::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20025,7 +20025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20184,7 +20184,7 @@ PythonQtShell_QComboBox::~PythonQtShell_QComboBox() { } void PythonQtShell_QComboBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20203,7 +20203,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20222,7 +20222,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20241,7 +20241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20260,7 +20260,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::contextMenuEvent(QContextMenuEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20279,7 +20279,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20298,7 +20298,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QComboBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20328,7 +20328,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20347,7 +20347,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20366,7 +20366,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20385,7 +20385,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20404,7 +20404,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20423,7 +20423,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QComboBox::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20453,7 +20453,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QComboBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20483,7 +20483,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20502,7 +20502,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QComboBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20532,7 +20532,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::focusOutEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20551,7 +20551,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QComboBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20581,7 +20581,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QComboBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20611,7 +20611,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::hideEvent(QHideEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20630,7 +20630,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::hidePopup() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hidePopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20649,7 +20649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20668,7 +20668,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20687,7 +20687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QComboBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20717,7 +20717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::keyPressEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20736,7 +20736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20755,7 +20755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20774,7 +20774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QComboBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20804,7 +20804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20823,7 +20823,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20842,7 +20842,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20861,7 +20861,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20880,7 +20880,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20899,7 +20899,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QComboBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20929,7 +20929,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QComboBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20959,7 +20959,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20978,7 +20978,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QComboBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21008,7 +21008,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21027,7 +21027,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QComboBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21057,7 +21057,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::showEvent(QShowEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21076,7 +21076,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::showPopup() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showPopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21095,7 +21095,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21114,7 +21114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21133,7 +21133,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::wheelEvent(QWheelEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21537,7 +21537,7 @@ PythonQtShell_QCommandLinkButton::~PythonQtShell_QCommandLinkButton() { } void PythonQtShell_QCommandLinkButton::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21556,7 +21556,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21575,7 +21575,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::checkStateSet() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21594,7 +21594,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21613,7 +21613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21632,7 +21632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21651,7 +21651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21670,7 +21670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCommandLinkButton::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21700,7 +21700,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21719,7 +21719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21738,7 +21738,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21757,7 +21757,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21776,7 +21776,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21795,7 +21795,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCommandLinkButton::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21825,7 +21825,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCommandLinkButton::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21855,7 +21855,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21874,7 +21874,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCommandLinkButton::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21904,7 +21904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21923,7 +21923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCommandLinkButton::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21953,7 +21953,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCommandLinkButton::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21983,7 +21983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22002,7 +22002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCommandLinkButton::hitButton(const QPoint& pos0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22032,7 +22032,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22051,7 +22051,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22070,7 +22070,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QCommandLinkButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22100,7 +22100,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22119,7 +22119,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22138,7 +22138,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22157,7 +22157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCommandLinkButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22187,7 +22187,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22206,7 +22206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22225,7 +22225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22244,7 +22244,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22263,7 +22263,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22282,7 +22282,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCommandLinkButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22312,7 +22312,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::nextCheckState() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22331,7 +22331,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QCommandLinkButton::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22361,7 +22361,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22380,7 +22380,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QCommandLinkButton::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22410,7 +22410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22429,7 +22429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QCommandLinkButton::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22459,7 +22459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22478,7 +22478,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22497,7 +22497,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22516,7 +22516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22588,7 +22588,7 @@ PythonQtShell_QCommonStyle::~PythonQtShell_QCommonStyle() { } void PythonQtShell_QCommonStyle::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22607,7 +22607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22626,7 +22626,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::drawComplexControl(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QPainter* p2, const QWidget* w3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22645,7 +22645,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::drawControl(QStyle::ControlElement element0, const QStyleOption* opt1, QPainter* p2, const QWidget* w3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22664,7 +22664,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::drawItemPixmap(QPainter* painter0, const QRect& rect1, int alignment2, const QPixmap& pixmap3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawItemPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22683,7 +22683,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::drawItemText(QPainter* painter0, const QRect& rect1, int flags2, const QPalette& pal3, bool enabled4, const QString& text5, QPalette::ColorRole textRole6) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawItemText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22702,7 +22702,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::drawPrimitive(QStyle::PrimitiveElement pe0, const QStyleOption* opt1, QPainter* p2, const QWidget* w3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPrimitive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22721,7 +22721,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCommonStyle::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22751,7 +22751,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCommonStyle::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22781,7 +22781,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPixmap PythonQtShell_QCommonStyle::generatedIconPixmap(QIcon::Mode iconMode0, const QPixmap& pixmap1, const QStyleOption* opt2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("generatedIconPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22811,7 +22811,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyle::SubControl PythonQtShell_QCommonStyle::hitTestComplexControl(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, const QPoint& pt2, const QWidget* w3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitTestComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22841,7 +22841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QCommonStyle::itemPixmapRect(const QRect& r0, int flags1, const QPixmap& pixmap2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemPixmapRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22871,7 +22871,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCommonStyle::layoutSpacing(QSizePolicy::ControlType control10, QSizePolicy::ControlType control21, Qt::Orientation orientation2, const QStyleOption* option3, const QWidget* widget4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layoutSpacing"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22901,7 +22901,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCommonStyle::pixelMetric(QStyle::PixelMetric m0, const QStyleOption* opt1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pixelMetric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22931,7 +22931,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::polish(QApplication* app0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22950,7 +22950,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::polish(QPalette& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22969,7 +22969,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::polish(QWidget* widget0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22988,7 +22988,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QCommonStyle::sizeFromContents(QStyle::ContentsType ct0, const QStyleOption* opt1, const QSize& contentsSize2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23018,7 +23018,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIcon PythonQtShell_QCommonStyle::standardIcon(QStyle::StandardPixmap standardIcon0, const QStyleOption* opt1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardIcon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23048,7 +23048,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPalette PythonQtShell_QCommonStyle::standardPalette() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardPalette"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23078,7 +23078,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPixmap PythonQtShell_QCommonStyle::standardPixmap(QStyle::StandardPixmap standardPixmap0, const QStyleOption* opt1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23108,7 +23108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCommonStyle::styleHint(QStyle::StyleHint sh0, const QStyleOption* opt1, const QWidget* w2, QStyleHintReturn* shret3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("styleHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23138,7 +23138,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QCommonStyle::subControlRect(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QStyle::SubControl sc2, const QWidget* w3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("subControlRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23168,7 +23168,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QCommonStyle::subElementRect(QStyle::SubElement r0, const QStyleOption* opt1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("subElementRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23198,7 +23198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23217,7 +23217,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::unpolish(QApplication* application0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23236,7 +23236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::unpolish(QWidget* widget0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp index 6e08fe936..0b7e287a0 100644 --- a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp +++ b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp @@ -83,7 +83,7 @@ PythonQtShell_QCompleter::~PythonQtShell_QCompleter() { } void PythonQtShell_QCompleter::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -102,7 +102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCompleter::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -121,7 +121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCompleter::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -151,7 +151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCompleter::eventFilter(QObject* o0, QEvent* e1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -181,7 +181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QCompleter::pathFromIndex(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pathFromIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -211,7 +211,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QCompleter::splitPath(const QString& path0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("splitPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -241,7 +241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCompleter::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -530,7 +530,7 @@ PythonQtShell_QDataWidgetMapper::~PythonQtShell_QDataWidgetMapper() { } void PythonQtShell_QDataWidgetMapper::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -549,7 +549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDataWidgetMapper::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -568,7 +568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDataWidgetMapper::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -598,7 +598,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDataWidgetMapper::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -628,7 +628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDataWidgetMapper::setCurrentIndex(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setCurrentIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -647,7 +647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDataWidgetMapper::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -771,7 +771,7 @@ PythonQtShell_QDateEdit::~PythonQtShell_QDateEdit() { } void PythonQtShell_QDateEdit::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -790,7 +790,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -809,7 +809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -828,7 +828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -847,7 +847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -866,7 +866,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::contextMenuEvent(QContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -885,7 +885,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -904,7 +904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QDateTime PythonQtShell_QDateEdit::dateTimeFromText(const QString& text0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dateTimeFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -934,7 +934,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDateEdit::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -964,7 +964,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -983,7 +983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1002,7 +1002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1021,7 +1021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1040,7 +1040,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1059,7 +1059,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateEdit::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1089,7 +1089,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1119,7 +1119,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::fixup(QString& input0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1138,7 +1138,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1157,7 +1157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateEdit::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1187,7 +1187,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1206,7 +1206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateEdit::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1236,7 +1236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDateEdit::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1266,7 +1266,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1285,7 +1285,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1304,7 +1304,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1323,7 +1323,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDateEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1353,7 +1353,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1372,7 +1372,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1391,7 +1391,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1410,7 +1410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDateEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1440,7 +1440,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1459,7 +1459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1478,7 +1478,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1497,7 +1497,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1516,7 +1516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1535,7 +1535,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1565,7 +1565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QDateEdit::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1595,7 +1595,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1614,7 +1614,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QDateEdit::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1644,7 +1644,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1663,7 +1663,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QDateEdit::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1693,7 +1693,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1712,7 +1712,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::stepBy(int steps0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1731,7 +1731,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAbstractSpinBox::StepEnabled PythonQtShell_QDateEdit::stepEnabled() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1761,7 +1761,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1780,7 +1780,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QDateEdit::textFromDateTime(const QDateTime& dt0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("textFromDateTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1810,7 +1810,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1829,7 +1829,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QDateEdit::validate(QString& input0, int& pos1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1859,7 +1859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::wheelEvent(QWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1892,7 +1892,7 @@ PythonQtShell_QDateTimeEdit::~PythonQtShell_QDateTimeEdit() { } void PythonQtShell_QDateTimeEdit::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1911,7 +1911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1930,7 +1930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1949,7 +1949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1968,7 +1968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1987,7 +1987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::contextMenuEvent(QContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2006,7 +2006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2025,7 +2025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QDateTime PythonQtShell_QDateTimeEdit::dateTimeFromText(const QString& text0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dateTimeFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2055,7 +2055,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDateTimeEdit::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2085,7 +2085,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2104,7 +2104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2123,7 +2123,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2142,7 +2142,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2161,7 +2161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2180,7 +2180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateTimeEdit::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2210,7 +2210,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateTimeEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2240,7 +2240,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::fixup(QString& input0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2259,7 +2259,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2278,7 +2278,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateTimeEdit::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2308,7 +2308,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2327,7 +2327,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateTimeEdit::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2357,7 +2357,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDateTimeEdit::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2387,7 +2387,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2406,7 +2406,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2425,7 +2425,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2444,7 +2444,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDateTimeEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2474,7 +2474,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2493,7 +2493,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2512,7 +2512,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2531,7 +2531,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDateTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2561,7 +2561,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2580,7 +2580,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2599,7 +2599,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2618,7 +2618,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2637,7 +2637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2656,7 +2656,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateTimeEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2686,7 +2686,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QDateTimeEdit::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2716,7 +2716,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2735,7 +2735,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QDateTimeEdit::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2765,7 +2765,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2784,7 +2784,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QDateTimeEdit::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2814,7 +2814,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2833,7 +2833,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::stepBy(int steps0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2852,7 +2852,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAbstractSpinBox::StepEnabled PythonQtShell_QDateTimeEdit::stepEnabled() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2882,7 +2882,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2901,7 +2901,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QDateTimeEdit::textFromDateTime(const QDateTime& dt0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("textFromDateTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2931,7 +2931,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2950,7 +2950,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QDateTimeEdit::validate(QString& input0, int& pos1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2980,7 +2980,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::wheelEvent(QWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3335,7 +3335,7 @@ PythonQtShell_QDesktopWidget::~PythonQtShell_QDesktopWidget() { } void PythonQtShell_QDesktopWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3354,7 +3354,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3373,7 +3373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3392,7 +3392,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3411,7 +3411,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3430,7 +3430,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3449,7 +3449,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDesktopWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3479,7 +3479,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3498,7 +3498,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3517,7 +3517,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3536,7 +3536,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3555,7 +3555,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3574,7 +3574,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDesktopWidget::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3604,7 +3604,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDesktopWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3634,7 +3634,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3653,7 +3653,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDesktopWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3683,7 +3683,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3702,7 +3702,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDesktopWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3732,7 +3732,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDesktopWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3762,7 +3762,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3781,7 +3781,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3800,7 +3800,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3819,7 +3819,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDesktopWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3849,7 +3849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3868,7 +3868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3887,7 +3887,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3906,7 +3906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDesktopWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3936,7 +3936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QDesktopWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3966,7 +3966,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3985,7 +3985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4004,7 +4004,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4023,7 +4023,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4042,7 +4042,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4061,7 +4061,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDesktopWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4091,7 +4091,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QDesktopWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4121,7 +4121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4140,7 +4140,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QDesktopWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4170,7 +4170,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4189,7 +4189,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QDesktopWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4219,7 +4219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4238,7 +4238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QDesktopWidget::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4268,7 +4268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4287,7 +4287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4306,7 +4306,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4405,7 +4405,7 @@ PythonQtShell_QDial::~PythonQtShell_QDial() { } void PythonQtShell_QDial::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4424,7 +4424,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4443,7 +4443,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4462,7 +4462,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4481,7 +4481,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4500,7 +4500,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4519,7 +4519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDial::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4549,7 +4549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4568,7 +4568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4587,7 +4587,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4606,7 +4606,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4625,7 +4625,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4644,7 +4644,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDial::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4674,7 +4674,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDial::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4704,7 +4704,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4723,7 +4723,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDial::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4753,7 +4753,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4772,7 +4772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDial::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4802,7 +4802,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDial::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4832,7 +4832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4851,7 +4851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4870,7 +4870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4889,7 +4889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDial::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4919,7 +4919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::keyPressEvent(QKeyEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4938,7 +4938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4957,7 +4957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4976,7 +4976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDial::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5006,7 +5006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5025,7 +5025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::mouseMoveEvent(QMouseEvent* me0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5044,7 +5044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::mousePressEvent(QMouseEvent* me0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5063,7 +5063,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::mouseReleaseEvent(QMouseEvent* me0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5082,7 +5082,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5101,7 +5101,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDial::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5131,7 +5131,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QDial::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5161,7 +5161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::paintEvent(QPaintEvent* pe0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5180,7 +5180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QDial::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5210,7 +5210,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::resizeEvent(QResizeEvent* re0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5229,7 +5229,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QDial::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5259,7 +5259,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5278,7 +5278,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5297,7 +5297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5316,7 +5316,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::wheelEvent(QWheelEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5420,7 +5420,7 @@ PythonQtShell_QDialog::~PythonQtShell_QDialog() { } void PythonQtShell_QDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5439,7 +5439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5458,7 +5458,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5477,7 +5477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5496,7 +5496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5515,7 +5515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5534,7 +5534,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5553,7 +5553,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5583,7 +5583,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::done(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5602,7 +5602,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5621,7 +5621,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5640,7 +5640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5659,7 +5659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5678,7 +5678,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5697,7 +5697,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5727,7 +5727,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5757,7 +5757,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5787,7 +5787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5806,7 +5806,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5836,7 +5836,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5855,7 +5855,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5885,7 +5885,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5915,7 +5915,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5934,7 +5934,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5953,7 +5953,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5972,7 +5972,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6002,7 +6002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6021,7 +6021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6040,7 +6040,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6059,7 +6059,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6089,7 +6089,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6108,7 +6108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6127,7 +6127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6146,7 +6146,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6165,7 +6165,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6184,7 +6184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6214,7 +6214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6233,7 +6233,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6263,7 +6263,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6282,7 +6282,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6312,7 +6312,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6331,7 +6331,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6350,7 +6350,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6380,7 +6380,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6399,7 +6399,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6418,7 +6418,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6437,7 +6437,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6566,7 +6566,7 @@ PythonQtShell_QDialogButtonBox::~PythonQtShell_QDialogButtonBox() { } void PythonQtShell_QDialogButtonBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6585,7 +6585,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6604,7 +6604,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6623,7 +6623,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6642,7 +6642,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6661,7 +6661,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6680,7 +6680,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDialogButtonBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6710,7 +6710,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6729,7 +6729,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6748,7 +6748,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6767,7 +6767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6786,7 +6786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6805,7 +6805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialogButtonBox::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6835,7 +6835,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialogButtonBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6865,7 +6865,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6884,7 +6884,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialogButtonBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6914,7 +6914,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6933,7 +6933,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialogButtonBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6963,7 +6963,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDialogButtonBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6993,7 +6993,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7012,7 +7012,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7031,7 +7031,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7050,7 +7050,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDialogButtonBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7080,7 +7080,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7099,7 +7099,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7118,7 +7118,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7137,7 +7137,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDialogButtonBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7167,7 +7167,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QDialogButtonBox::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7197,7 +7197,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7216,7 +7216,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7235,7 +7235,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7254,7 +7254,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7273,7 +7273,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7292,7 +7292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialogButtonBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7322,7 +7322,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QDialogButtonBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7352,7 +7352,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7371,7 +7371,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QDialogButtonBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7401,7 +7401,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7420,7 +7420,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QDialogButtonBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7450,7 +7450,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7469,7 +7469,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QDialogButtonBox::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7499,7 +7499,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7518,7 +7518,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7537,7 +7537,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7663,7 +7663,7 @@ PythonQtShell_QDirModel::~PythonQtShell_QDirModel() { } QModelIndex PythonQtShell_QDirModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7693,7 +7693,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7723,7 +7723,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7753,7 +7753,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDirModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7772,7 +7772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDirModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7802,7 +7802,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDirModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7821,7 +7821,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDirModel::data(const QModelIndex& index0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7851,7 +7851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7881,7 +7881,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7911,7 +7911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7941,7 +7941,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDirModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7960,7 +7960,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QDirModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7990,7 +7990,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::hasChildren(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8020,7 +8020,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDirModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8050,7 +8050,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QDirModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8080,7 +8080,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8110,7 +8110,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8140,7 +8140,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QDirModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8170,7 +8170,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QDirModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8200,7 +8200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QDirModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8230,7 +8230,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QDirModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8260,7 +8260,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8290,7 +8290,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8320,7 +8320,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QDirModel::parent(const QModelIndex& child0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8350,7 +8350,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8380,7 +8380,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8410,7 +8410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDirModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8429,7 +8429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QDirModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8459,7 +8459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDirModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8489,7 +8489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8519,7 +8519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8549,7 +8549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8579,7 +8579,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QDirModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8609,7 +8609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDirModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8628,7 +8628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QDirModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8658,7 +8658,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8688,7 +8688,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QDirModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8718,7 +8718,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QDirModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8748,7 +8748,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDirModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8966,7 +8966,7 @@ PythonQtShell_QDockWidget::~PythonQtShell_QDockWidget() { } void PythonQtShell_QDockWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8985,7 +8985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9004,7 +9004,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9023,7 +9023,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9042,7 +9042,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9061,7 +9061,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9080,7 +9080,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDockWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9110,7 +9110,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9129,7 +9129,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9148,7 +9148,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9167,7 +9167,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9186,7 +9186,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9205,7 +9205,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDockWidget::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9235,7 +9235,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDockWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9265,7 +9265,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9284,7 +9284,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDockWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9314,7 +9314,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9333,7 +9333,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDockWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9363,7 +9363,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDockWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9393,7 +9393,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9412,7 +9412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9431,7 +9431,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9450,7 +9450,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDockWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9480,7 +9480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9499,7 +9499,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9518,7 +9518,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9537,7 +9537,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDockWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9567,7 +9567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QDockWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9597,7 +9597,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9616,7 +9616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9635,7 +9635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9654,7 +9654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9673,7 +9673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9692,7 +9692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDockWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9722,7 +9722,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QDockWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9752,7 +9752,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9771,7 +9771,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QDockWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9801,7 +9801,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9820,7 +9820,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QDockWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9850,7 +9850,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9869,7 +9869,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QDockWidget::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9899,7 +9899,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9918,7 +9918,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9937,7 +9937,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10055,7 +10055,7 @@ PythonQtShell_QDoubleSpinBox::~PythonQtShell_QDoubleSpinBox() { } void PythonQtShell_QDoubleSpinBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10074,7 +10074,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10093,7 +10093,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10112,7 +10112,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10131,7 +10131,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10150,7 +10150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::contextMenuEvent(QContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10169,7 +10169,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10188,7 +10188,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDoubleSpinBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10218,7 +10218,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10237,7 +10237,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10256,7 +10256,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10275,7 +10275,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10294,7 +10294,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10313,7 +10313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDoubleSpinBox::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10343,7 +10343,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDoubleSpinBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10373,7 +10373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::fixup(QString& str0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10392,7 +10392,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10411,7 +10411,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDoubleSpinBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10441,7 +10441,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10460,7 +10460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDoubleSpinBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10490,7 +10490,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDoubleSpinBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10520,7 +10520,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10539,7 +10539,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10558,7 +10558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10577,7 +10577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDoubleSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10607,7 +10607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10626,7 +10626,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10645,7 +10645,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10664,7 +10664,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDoubleSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10694,7 +10694,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10713,7 +10713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10732,7 +10732,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10751,7 +10751,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10770,7 +10770,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10789,7 +10789,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDoubleSpinBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10819,7 +10819,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QDoubleSpinBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10849,7 +10849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10868,7 +10868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QDoubleSpinBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10898,7 +10898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10917,7 +10917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QDoubleSpinBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10947,7 +10947,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10966,7 +10966,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::stepBy(int steps0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10985,7 +10985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAbstractSpinBox::StepEnabled PythonQtShell_QDoubleSpinBox::stepEnabled() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11015,7 +11015,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11034,7 +11034,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QDoubleSpinBox::textFromValue(double val0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("textFromValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11064,7 +11064,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11083,7 +11083,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QDoubleSpinBox::validate(QString& input0, int& pos1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11113,7 +11113,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } double PythonQtShell_QDoubleSpinBox::valueFromText(const QString& text0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("valueFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11143,7 +11143,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::wheelEvent(QWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11267,7 +11267,7 @@ PythonQtShell_QDoubleValidator::~PythonQtShell_QDoubleValidator() { } void PythonQtShell_QDoubleValidator::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11286,7 +11286,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleValidator::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11305,7 +11305,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDoubleValidator::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11335,7 +11335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDoubleValidator::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11365,7 +11365,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleValidator::fixup(QString& arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11384,7 +11384,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleValidator::setRange(double bottom0, double top1, int decimals2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11403,7 +11403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleValidator::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11422,7 +11422,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QDoubleValidator::validate(QString& arg__1, int& arg__2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11516,7 +11516,7 @@ PythonQtShell_QDrag::~PythonQtShell_QDrag() { } void PythonQtShell_QDrag::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11535,7 +11535,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDrag::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11554,7 +11554,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDrag::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11584,7 +11584,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDrag::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11614,7 +11614,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDrag::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11870,7 +11870,7 @@ PythonQtShell_QErrorMessage::~PythonQtShell_QErrorMessage() { } void PythonQtShell_QErrorMessage::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11889,7 +11889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11908,7 +11908,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11927,7 +11927,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11946,7 +11946,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11965,7 +11965,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11984,7 +11984,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12003,7 +12003,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QErrorMessage::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12033,7 +12033,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::done(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12052,7 +12052,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12071,7 +12071,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12090,7 +12090,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12109,7 +12109,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12128,7 +12128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12147,7 +12147,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QErrorMessage::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12177,7 +12177,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QErrorMessage::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12207,7 +12207,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QErrorMessage::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12237,7 +12237,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12256,7 +12256,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QErrorMessage::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12286,7 +12286,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12305,7 +12305,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QErrorMessage::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12335,7 +12335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QErrorMessage::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12365,7 +12365,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12384,7 +12384,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12403,7 +12403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12422,7 +12422,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QErrorMessage::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12452,7 +12452,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12471,7 +12471,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12490,7 +12490,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12509,7 +12509,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QErrorMessage::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12539,7 +12539,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12558,7 +12558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12577,7 +12577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12596,7 +12596,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12615,7 +12615,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12634,7 +12634,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QErrorMessage::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12664,7 +12664,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12683,7 +12683,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QErrorMessage::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12713,7 +12713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12732,7 +12732,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QErrorMessage::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12762,7 +12762,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12781,7 +12781,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12800,7 +12800,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QErrorMessage::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12830,7 +12830,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12849,7 +12849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12868,7 +12868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12887,7 +12887,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12946,7 +12946,7 @@ PythonQtShell_QFileDialog::~PythonQtShell_QFileDialog() { } void PythonQtShell_QFileDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12965,7 +12965,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12984,7 +12984,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13003,7 +13003,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13022,7 +13022,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13041,7 +13041,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13060,7 +13060,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13079,7 +13079,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFileDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13109,7 +13109,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::done(int result0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13128,7 +13128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13147,7 +13147,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13166,7 +13166,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13185,7 +13185,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13204,7 +13204,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13223,7 +13223,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13253,7 +13253,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13283,7 +13283,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFileDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13313,7 +13313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13332,7 +13332,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13362,7 +13362,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13381,7 +13381,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13411,7 +13411,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFileDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13441,7 +13441,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13460,7 +13460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13479,7 +13479,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13498,7 +13498,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QFileDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13528,7 +13528,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13547,7 +13547,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13566,7 +13566,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13585,7 +13585,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFileDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13615,7 +13615,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13634,7 +13634,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13653,7 +13653,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13672,7 +13672,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13691,7 +13691,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13710,7 +13710,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13740,7 +13740,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13759,7 +13759,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QFileDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13789,7 +13789,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13808,7 +13808,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QFileDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13838,7 +13838,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13857,7 +13857,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13876,7 +13876,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QFileDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13906,7 +13906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13925,7 +13925,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13944,7 +13944,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13963,7 +13963,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14331,7 +14331,7 @@ PythonQtShell_QFileIconProvider::~PythonQtShell_QFileIconProvider() { } QIcon PythonQtShell_QFileIconProvider::icon(QFileIconProvider::IconType type0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("icon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14361,7 +14361,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIcon PythonQtShell_QFileIconProvider::icon(const QFileInfo& info0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("icon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14391,7 +14391,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QFileIconProvider::type(const QFileInfo& info0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14481,7 +14481,7 @@ PythonQtShell_QFileSystemModel::~PythonQtShell_QFileSystemModel() { } QModelIndex PythonQtShell_QFileSystemModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14511,7 +14511,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14541,7 +14541,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14571,7 +14571,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSystemModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14590,7 +14590,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFileSystemModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14620,7 +14620,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSystemModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14639,7 +14639,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QFileSystemModel::data(const QModelIndex& index0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14669,7 +14669,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14699,7 +14699,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14729,7 +14729,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14759,7 +14759,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSystemModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14778,7 +14778,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QFileSystemModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14808,7 +14808,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::hasChildren(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14838,7 +14838,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QFileSystemModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14868,7 +14868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QFileSystemModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14898,7 +14898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14928,7 +14928,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14958,7 +14958,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QFileSystemModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14988,7 +14988,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QFileSystemModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15018,7 +15018,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QFileSystemModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15048,7 +15048,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QFileSystemModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15078,7 +15078,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15108,7 +15108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15138,7 +15138,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QFileSystemModel::parent(const QModelIndex& child0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15168,7 +15168,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15198,7 +15198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15228,7 +15228,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSystemModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15247,7 +15247,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QFileSystemModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15277,7 +15277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFileSystemModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15307,7 +15307,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15337,7 +15337,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15367,7 +15367,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15397,7 +15397,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QFileSystemModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15427,7 +15427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSystemModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15446,7 +15446,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QFileSystemModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15476,7 +15476,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15506,7 +15506,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QFileSystemModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15536,7 +15536,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QFileSystemModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15566,7 +15566,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSystemModel::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15846,7 +15846,7 @@ PythonQtShell_QFocusFrame::~PythonQtShell_QFocusFrame() { } void PythonQtShell_QFocusFrame::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15865,7 +15865,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15884,7 +15884,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15903,7 +15903,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15922,7 +15922,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15941,7 +15941,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15960,7 +15960,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFocusFrame::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15990,7 +15990,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16009,7 +16009,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16028,7 +16028,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16047,7 +16047,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16066,7 +16066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16085,7 +16085,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFocusFrame::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16115,7 +16115,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFocusFrame::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16145,7 +16145,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16164,7 +16164,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFocusFrame::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16194,7 +16194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16213,7 +16213,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFocusFrame::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16243,7 +16243,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFocusFrame::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16273,7 +16273,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16292,7 +16292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16311,7 +16311,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16330,7 +16330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QFocusFrame::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16360,7 +16360,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16379,7 +16379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16398,7 +16398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16417,7 +16417,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFocusFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16447,7 +16447,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QFocusFrame::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16477,7 +16477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16496,7 +16496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16515,7 +16515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16534,7 +16534,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16553,7 +16553,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16572,7 +16572,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFocusFrame::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16602,7 +16602,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QFocusFrame::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16632,7 +16632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16651,7 +16651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QFocusFrame::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16681,7 +16681,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16700,7 +16700,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QFocusFrame::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16730,7 +16730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16749,7 +16749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QFocusFrame::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16779,7 +16779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16798,7 +16798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16817,7 +16817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16876,7 +16876,7 @@ PythonQtShell_QFontComboBox::~PythonQtShell_QFontComboBox() { } void PythonQtShell_QFontComboBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16895,7 +16895,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16914,7 +16914,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16933,7 +16933,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16952,7 +16952,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::contextMenuEvent(QContextMenuEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16971,7 +16971,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16990,7 +16990,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFontComboBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17020,7 +17020,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17039,7 +17039,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17058,7 +17058,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17077,7 +17077,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17096,7 +17096,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17115,7 +17115,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontComboBox::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17145,7 +17145,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontComboBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17175,7 +17175,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17194,7 +17194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontComboBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17224,7 +17224,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::focusOutEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17243,7 +17243,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontComboBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17273,7 +17273,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFontComboBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17303,7 +17303,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::hideEvent(QHideEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17322,7 +17322,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::hidePopup() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hidePopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17341,7 +17341,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17360,7 +17360,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17379,7 +17379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QFontComboBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17409,7 +17409,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::keyPressEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17428,7 +17428,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17447,7 +17447,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17466,7 +17466,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFontComboBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17496,7 +17496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17515,7 +17515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17534,7 +17534,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17553,7 +17553,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17572,7 +17572,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17591,7 +17591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontComboBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17621,7 +17621,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QFontComboBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17651,7 +17651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17670,7 +17670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QFontComboBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17700,7 +17700,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17719,7 +17719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QFontComboBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17749,7 +17749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::showEvent(QShowEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17768,7 +17768,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::showPopup() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showPopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17787,7 +17787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17806,7 +17806,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17825,7 +17825,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::wheelEvent(QWheelEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp index 50d688234..f021d5a4b 100644 --- a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp +++ b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp @@ -85,7 +85,7 @@ PythonQtShell_QTableWidget::~PythonQtShell_QTableWidget() { } void PythonQtShell_QTableWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -104,7 +104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -123,7 +123,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -142,7 +142,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -161,7 +161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -180,7 +180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -199,7 +199,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -218,7 +218,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -237,7 +237,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -256,7 +256,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -275,7 +275,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -305,7 +305,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -324,7 +324,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -343,7 +343,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::dragLeaveEvent(QDragLeaveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -362,7 +362,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::dragMoveEvent(QDragMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -381,7 +381,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -400,7 +400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::dropMimeData(int row0, int column1, const QMimeData* data2, Qt::DropAction action3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -430,7 +430,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -460,7 +460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -479,7 +479,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -498,7 +498,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -528,7 +528,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -558,7 +558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -577,7 +577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -607,7 +607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -626,7 +626,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -656,7 +656,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -686,7 +686,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -705,7 +705,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableWidget::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -735,7 +735,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -754,7 +754,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -773,7 +773,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QTableWidget::indexAt(const QPoint& p0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -803,7 +803,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -822,7 +822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -841,7 +841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTableWidget::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -871,7 +871,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -901,7 +901,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -920,7 +920,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -939,7 +939,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -958,7 +958,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -977,7 +977,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1007,7 +1007,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QTableWidget::mimeData(const QList items0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1037,7 +1037,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QTableWidget::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1067,7 +1067,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1086,7 +1086,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1105,7 +1105,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1124,7 +1124,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1143,7 +1143,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1162,7 +1162,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1192,7 +1192,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTableWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1222,7 +1222,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1241,7 +1241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTableWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1271,7 +1271,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1290,7 +1290,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1309,7 +1309,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1328,7 +1328,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1347,7 +1347,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1366,7 +1366,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1385,7 +1385,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1404,7 +1404,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QTableWidget::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1434,7 +1434,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1453,7 +1453,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QTableWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1483,7 +1483,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1502,7 +1502,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1521,7 +1521,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1540,7 +1540,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1559,7 +1559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTableWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1589,7 +1589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1608,7 +1608,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableWidget::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1638,7 +1638,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableWidget::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1668,7 +1668,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1687,7 +1687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QTableWidget::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1717,7 +1717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1736,7 +1736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1755,7 +1755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1774,7 +1774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1793,7 +1793,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1812,7 +1812,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableWidget::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1842,7 +1842,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1861,7 +1861,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1880,7 +1880,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QTableWidget::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1910,7 +1910,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1940,7 +1940,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QTableWidget::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1970,7 +1970,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QTableWidget::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2000,7 +2000,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QTableWidget::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2030,7 +2030,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2313,7 +2313,7 @@ PythonQtShell_QTableWidgetItem::~PythonQtShell_QTableWidgetItem() { } QTableWidgetItem* PythonQtShell_QTableWidgetItem::clone() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2343,7 +2343,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTableWidgetItem::data(int role0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2373,7 +2373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidgetItem::__lt__(const QTableWidgetItem& other0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("__lt__"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2403,7 +2403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidgetItem::read(QDataStream& in0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2422,7 +2422,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidgetItem::setData(int role0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2441,7 +2441,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidgetItem::write(QDataStream& out0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2802,7 +2802,7 @@ PythonQtShell_QTapAndHoldGesture::~PythonQtShell_QTapAndHoldGesture() { } void PythonQtShell_QTapAndHoldGesture::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2821,7 +2821,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTapAndHoldGesture::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2840,7 +2840,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTapAndHoldGesture::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2870,7 +2870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTapAndHoldGesture::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2900,7 +2900,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTapAndHoldGesture::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2949,7 +2949,7 @@ PythonQtShell_QTapGesture::~PythonQtShell_QTapGesture() { } void PythonQtShell_QTapGesture::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2968,7 +2968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTapGesture::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2987,7 +2987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTapGesture::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3017,7 +3017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTapGesture::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3047,7 +3047,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTapGesture::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3410,7 +3410,7 @@ PythonQtShell_QTextBlockGroup::~PythonQtShell_QTextBlockGroup() { } void PythonQtShell_QTextBlockGroup::blockFormatChanged(const QTextBlock& block0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("blockFormatChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3429,7 +3429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBlockGroup::blockInserted(const QTextBlock& block0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("blockInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3448,7 +3448,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBlockGroup::blockRemoved(const QTextBlock& block0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("blockRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3467,7 +3467,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBlockGroup::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3486,7 +3486,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBlockGroup::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3505,7 +3505,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBlockGroup::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3535,7 +3535,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBlockGroup::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3565,7 +3565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBlockGroup::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3624,7 +3624,7 @@ PythonQtShell_QTextBrowser::~PythonQtShell_QTextBrowser() { } void PythonQtShell_QTextBrowser::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3643,7 +3643,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::backward() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("backward"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3662,7 +3662,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBrowser::canInsertFromMimeData(const QMimeData* source0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canInsertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3692,7 +3692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3711,7 +3711,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3730,7 +3730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3749,7 +3749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::contextMenuEvent(QContextMenuEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3768,7 +3768,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QTextBrowser::createMimeDataFromSelection() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createMimeDataFromSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3798,7 +3798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3817,7 +3817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTextBrowser::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3847,7 +3847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::doSetTextCursor(const QTextCursor& cursor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doSetTextCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3866,7 +3866,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::dragEnterEvent(QDragEnterEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3885,7 +3885,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::dragLeaveEvent(QDragLeaveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3904,7 +3904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::dragMoveEvent(QDragMoveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3923,7 +3923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::dropEvent(QDropEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3942,7 +3942,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3961,7 +3961,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBrowser::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3991,7 +3991,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBrowser::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4021,7 +4021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4040,7 +4040,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBrowser::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4070,7 +4070,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::focusOutEvent(QFocusEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4089,7 +4089,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::forward() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("forward"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4108,7 +4108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBrowser::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4138,7 +4138,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTextBrowser::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4168,7 +4168,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4187,7 +4187,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::home() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("home"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4206,7 +4206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4225,7 +4225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4244,7 +4244,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTextBrowser::inputMethodQuery(Qt::InputMethodQuery property0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4274,7 +4274,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::insertFromMimeData(const QMimeData* source0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4293,7 +4293,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::keyPressEvent(QKeyEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4312,7 +4312,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4331,7 +4331,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4350,7 +4350,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTextBrowser::loadResource(int type0, const QUrl& name1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4380,7 +4380,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTextBrowser::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4410,7 +4410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::mouseDoubleClickEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4429,7 +4429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::mouseMoveEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4448,7 +4448,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::mousePressEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4467,7 +4467,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::mouseReleaseEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4486,7 +4486,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4505,7 +4505,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBrowser::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4535,7 +4535,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTextBrowser::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4565,7 +4565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4584,7 +4584,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTextBrowser::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4614,7 +4614,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::reload() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reload"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4633,7 +4633,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4652,7 +4652,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4671,7 +4671,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::setSource(const QUrl& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4690,7 +4690,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4709,7 +4709,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTextBrowser::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4739,7 +4739,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4758,7 +4758,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4777,7 +4777,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4796,7 +4796,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBrowser::viewportEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4826,7 +4826,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QTextBrowser::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4856,7 +4856,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::wheelEvent(QWheelEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5711,7 +5711,7 @@ PythonQtShell_QTextDocument::~PythonQtShell_QTextDocument() { } void PythonQtShell_QTextDocument::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5730,7 +5730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextDocument::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5749,7 +5749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QTextObject* PythonQtShell_QTextDocument::createObject(const QTextFormat& f0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5779,7 +5779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextDocument::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5798,7 +5798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextDocument::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5828,7 +5828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextDocument::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5858,7 +5858,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTextDocument::loadResource(int type0, const QUrl& name1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5888,7 +5888,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextDocument::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6413,7 +6413,7 @@ PythonQtShell_QTextEdit::~PythonQtShell_QTextEdit() { } void PythonQtShell_QTextEdit::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6432,7 +6432,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextEdit::canInsertFromMimeData(const QMimeData* source0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canInsertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6462,7 +6462,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6481,7 +6481,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6500,7 +6500,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6519,7 +6519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::contextMenuEvent(QContextMenuEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6538,7 +6538,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QTextEdit::createMimeDataFromSelection() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createMimeDataFromSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6568,7 +6568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6587,7 +6587,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTextEdit::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6617,7 +6617,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::doSetTextCursor(const QTextCursor& cursor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doSetTextCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6636,7 +6636,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::dragEnterEvent(QDragEnterEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6655,7 +6655,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6674,7 +6674,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::dragMoveEvent(QDragMoveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6693,7 +6693,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::dropEvent(QDropEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6712,7 +6712,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6731,7 +6731,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextEdit::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6761,7 +6761,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6791,7 +6791,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6810,7 +6810,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextEdit::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6840,7 +6840,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::focusOutEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6859,7 +6859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextEdit::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6889,7 +6889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTextEdit::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6919,7 +6919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6938,7 +6938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6957,7 +6957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6976,7 +6976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTextEdit::inputMethodQuery(Qt::InputMethodQuery property0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7006,7 +7006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::insertFromMimeData(const QMimeData* source0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7025,7 +7025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::keyPressEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7044,7 +7044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7063,7 +7063,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7082,7 +7082,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTextEdit::loadResource(int type0, const QUrl& name1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7112,7 +7112,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7142,7 +7142,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7161,7 +7161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7180,7 +7180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7199,7 +7199,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7218,7 +7218,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7237,7 +7237,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7267,7 +7267,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTextEdit::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7297,7 +7297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7316,7 +7316,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTextEdit::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7346,7 +7346,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7365,7 +7365,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7384,7 +7384,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7403,7 +7403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTextEdit::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7433,7 +7433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7452,7 +7452,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7471,7 +7471,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7490,7 +7490,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextEdit::viewportEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7520,7 +7520,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QTextEdit::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7550,7 +7550,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::wheelEvent(QWheelEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8108,7 +8108,7 @@ PythonQtShell_QTextFrame::~PythonQtShell_QTextFrame() { } void PythonQtShell_QTextFrame::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8127,7 +8127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextFrame::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8146,7 +8146,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextFrame::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8176,7 +8176,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextFrame::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8206,7 +8206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextFrame::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8963,7 +8963,7 @@ PythonQtShell_QTextList::~PythonQtShell_QTextList() { } void PythonQtShell_QTextList::blockFormatChanged(const QTextBlock& block0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("blockFormatChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8982,7 +8982,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextList::blockInserted(const QTextBlock& block0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("blockInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9001,7 +9001,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextList::blockRemoved(const QTextBlock& block0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("blockRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9020,7 +9020,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextList::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9039,7 +9039,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextList::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9058,7 +9058,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextList::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9088,7 +9088,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextList::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9118,7 +9118,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextList::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9251,7 +9251,7 @@ PythonQtShell_QTextObject::~PythonQtShell_QTextObject() { } void PythonQtShell_QTextObject::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9270,7 +9270,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextObject::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9289,7 +9289,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextObject::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9319,7 +9319,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextObject::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9349,7 +9349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextObject::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp index c51cae7b4..22a348f7c 100644 --- a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp +++ b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp @@ -207,7 +207,7 @@ PythonQtShell_QTextTable::~PythonQtShell_QTextTable() { } void PythonQtShell_QTextTable::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -226,7 +226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextTable::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -245,7 +245,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextTable::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -275,7 +275,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextTable::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -305,7 +305,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextTable::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -681,7 +681,7 @@ PythonQtShell_QTimeEdit::~PythonQtShell_QTimeEdit() { } void PythonQtShell_QTimeEdit::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -700,7 +700,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -719,7 +719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -738,7 +738,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -757,7 +757,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -776,7 +776,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::contextMenuEvent(QContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -795,7 +795,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -814,7 +814,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QDateTime PythonQtShell_QTimeEdit::dateTimeFromText(const QString& text0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dateTimeFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -844,7 +844,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTimeEdit::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -874,7 +874,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -893,7 +893,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -912,7 +912,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -931,7 +931,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -950,7 +950,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -969,7 +969,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimeEdit::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -999,7 +999,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimeEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1029,7 +1029,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::fixup(QString& input0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1048,7 +1048,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1067,7 +1067,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimeEdit::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1097,7 +1097,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1116,7 +1116,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimeEdit::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1146,7 +1146,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTimeEdit::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1176,7 +1176,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1195,7 +1195,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1214,7 +1214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1233,7 +1233,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTimeEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1263,7 +1263,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1282,7 +1282,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1301,7 +1301,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1320,7 +1320,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1350,7 +1350,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1369,7 +1369,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1388,7 +1388,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1407,7 +1407,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1426,7 +1426,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1445,7 +1445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimeEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1475,7 +1475,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTimeEdit::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1505,7 +1505,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1524,7 +1524,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTimeEdit::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1554,7 +1554,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1573,7 +1573,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTimeEdit::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1603,7 +1603,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1622,7 +1622,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::stepBy(int steps0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1641,7 +1641,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAbstractSpinBox::StepEnabled PythonQtShell_QTimeEdit::stepEnabled() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1671,7 +1671,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1690,7 +1690,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QTimeEdit::textFromDateTime(const QDateTime& dt0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("textFromDateTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1720,7 +1720,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1739,7 +1739,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QTimeEdit::validate(QString& input0, int& pos1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1769,7 +1769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::wheelEvent(QWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1802,7 +1802,7 @@ PythonQtShell_QToolBar::~PythonQtShell_QToolBar() { } void PythonQtShell_QToolBar::actionEvent(QActionEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1821,7 +1821,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1840,7 +1840,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1859,7 +1859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1878,7 +1878,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1897,7 +1897,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1916,7 +1916,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolBar::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1946,7 +1946,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1965,7 +1965,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1984,7 +1984,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2003,7 +2003,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2022,7 +2022,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2041,7 +2041,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBar::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2071,7 +2071,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBar::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2101,7 +2101,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2120,7 +2120,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBar::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2150,7 +2150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2169,7 +2169,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBar::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2199,7 +2199,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolBar::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2229,7 +2229,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2248,7 +2248,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2267,7 +2267,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2286,7 +2286,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QToolBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2316,7 +2316,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2335,7 +2335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2354,7 +2354,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2373,7 +2373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2403,7 +2403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QToolBar::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2433,7 +2433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2452,7 +2452,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2471,7 +2471,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2490,7 +2490,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2509,7 +2509,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2528,7 +2528,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2558,7 +2558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QToolBar::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2588,7 +2588,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2607,7 +2607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QToolBar::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2637,7 +2637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2656,7 +2656,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QToolBar::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2686,7 +2686,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2705,7 +2705,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QToolBar::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2735,7 +2735,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2754,7 +2754,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2773,7 +2773,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2977,7 +2977,7 @@ PythonQtShell_QToolBox::~PythonQtShell_QToolBox() { } void PythonQtShell_QToolBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2996,7 +2996,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3015,7 +3015,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3034,7 +3034,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3053,7 +3053,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3072,7 +3072,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3091,7 +3091,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3121,7 +3121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3140,7 +3140,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3159,7 +3159,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3178,7 +3178,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3197,7 +3197,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3216,7 +3216,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBox::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3246,7 +3246,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3276,7 +3276,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3295,7 +3295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3325,7 +3325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3344,7 +3344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3374,7 +3374,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3404,7 +3404,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3423,7 +3423,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3442,7 +3442,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3461,7 +3461,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QToolBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3491,7 +3491,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::itemInserted(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3510,7 +3510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::itemRemoved(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3529,7 +3529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3548,7 +3548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3567,7 +3567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3586,7 +3586,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3616,7 +3616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QToolBox::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3646,7 +3646,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3665,7 +3665,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3684,7 +3684,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3703,7 +3703,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3722,7 +3722,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3741,7 +3741,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3771,7 +3771,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QToolBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3801,7 +3801,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3820,7 +3820,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QToolBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3850,7 +3850,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3869,7 +3869,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QToolBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3899,7 +3899,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::showEvent(QShowEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3918,7 +3918,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3937,7 +3937,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3956,7 +3956,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4100,7 +4100,7 @@ PythonQtShell_QToolButton::~PythonQtShell_QToolButton() { } void PythonQtShell_QToolButton::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4119,7 +4119,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4138,7 +4138,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::checkStateSet() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4157,7 +4157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4176,7 +4176,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4195,7 +4195,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4214,7 +4214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4233,7 +4233,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolButton::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4263,7 +4263,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4282,7 +4282,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4301,7 +4301,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4320,7 +4320,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4339,7 +4339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4358,7 +4358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolButton::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4388,7 +4388,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolButton::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4418,7 +4418,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4437,7 +4437,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolButton::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4467,7 +4467,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::focusOutEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4486,7 +4486,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolButton::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4516,7 +4516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolButton::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4546,7 +4546,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4565,7 +4565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolButton::hitButton(const QPoint& pos0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4595,7 +4595,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4614,7 +4614,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4633,7 +4633,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QToolButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4663,7 +4663,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::keyPressEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4682,7 +4682,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4701,7 +4701,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4720,7 +4720,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4750,7 +4750,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4769,7 +4769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4788,7 +4788,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4807,7 +4807,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4826,7 +4826,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4845,7 +4845,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4875,7 +4875,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::nextCheckState() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4894,7 +4894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QToolButton::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4924,7 +4924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4943,7 +4943,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QToolButton::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4973,7 +4973,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4992,7 +4992,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QToolButton::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5022,7 +5022,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5041,7 +5041,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5060,7 +5060,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5079,7 +5079,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5951,7 +5951,7 @@ PythonQtShell_QTreeView::~PythonQtShell_QTreeView() { } void PythonQtShell_QTreeView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5970,7 +5970,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5989,7 +5989,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6008,7 +6008,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6027,7 +6027,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6046,7 +6046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6065,7 +6065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6084,7 +6084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6103,7 +6103,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6122,7 +6122,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6141,7 +6141,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6171,7 +6171,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6190,7 +6190,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6209,7 +6209,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::dragLeaveEvent(QDragLeaveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6228,7 +6228,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::dragMoveEvent(QDragMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6247,7 +6247,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::drawBranches(QPainter* painter0, const QRect& rect1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawBranches"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6266,7 +6266,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::drawRow(QPainter* painter0, const QStyleOptionViewItem& options1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6285,7 +6285,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6304,7 +6304,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6334,7 +6334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6353,7 +6353,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6372,7 +6372,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeView::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6402,7 +6402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6432,7 +6432,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6451,7 +6451,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6481,7 +6481,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6500,7 +6500,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6530,7 +6530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6560,7 +6560,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6579,7 +6579,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeView::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6609,7 +6609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6628,7 +6628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6647,7 +6647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QTreeView::indexAt(const QPoint& p0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6677,7 +6677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6696,7 +6696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6715,7 +6715,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTreeView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6745,7 +6745,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeView::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6775,7 +6775,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6794,7 +6794,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6813,7 +6813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6832,7 +6832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6851,7 +6851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6881,7 +6881,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6900,7 +6900,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6919,7 +6919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6938,7 +6938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6957,7 +6957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6976,7 +6976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7006,7 +7006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTreeView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7036,7 +7036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7055,7 +7055,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTreeView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7085,7 +7085,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7104,7 +7104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7123,7 +7123,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7142,7 +7142,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7161,7 +7161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7180,7 +7180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7199,7 +7199,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7218,7 +7218,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QTreeView::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7248,7 +7248,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7267,7 +7267,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QTreeView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7297,7 +7297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::setModel(QAbstractItemModel* model0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7316,7 +7316,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7335,7 +7335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7354,7 +7354,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7373,7 +7373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7392,7 +7392,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTreeView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7422,7 +7422,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7441,7 +7441,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeView::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7471,7 +7471,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeView::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7501,7 +7501,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7520,7 +7520,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7539,7 +7539,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7558,7 +7558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7577,7 +7577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7596,7 +7596,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7615,7 +7615,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeView::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7645,7 +7645,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7664,7 +7664,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7683,7 +7683,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QTreeView::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7713,7 +7713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeView::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7743,7 +7743,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QTreeView::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7773,7 +7773,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QTreeView::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7803,7 +7803,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QTreeView::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7833,7 +7833,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8272,7 +8272,7 @@ PythonQtShell_QTreeWidget::~PythonQtShell_QTreeWidget() { } void PythonQtShell_QTreeWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8291,7 +8291,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8310,7 +8310,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8329,7 +8329,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8348,7 +8348,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8367,7 +8367,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8386,7 +8386,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8405,7 +8405,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8424,7 +8424,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8443,7 +8443,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8462,7 +8462,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8492,7 +8492,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8511,7 +8511,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8530,7 +8530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::dragLeaveEvent(QDragLeaveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8549,7 +8549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::dragMoveEvent(QDragMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8568,7 +8568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::drawBranches(QPainter* painter0, const QRect& rect1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawBranches"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8587,7 +8587,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::drawRow(QPainter* painter0, const QStyleOptionViewItem& options1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8606,7 +8606,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8625,7 +8625,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::dropMimeData(QTreeWidgetItem* parent0, int index1, const QMimeData* data2, Qt::DropAction action3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8655,7 +8655,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8685,7 +8685,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8704,7 +8704,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8723,7 +8723,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8753,7 +8753,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8783,7 +8783,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8802,7 +8802,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8832,7 +8832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8851,7 +8851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8881,7 +8881,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8911,7 +8911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8930,7 +8930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeWidget::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8960,7 +8960,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8979,7 +8979,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8998,7 +8998,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QTreeWidget::indexAt(const QPoint& p0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9028,7 +9028,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9047,7 +9047,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9066,7 +9066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTreeWidget::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9096,7 +9096,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9126,7 +9126,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9145,7 +9145,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9164,7 +9164,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9183,7 +9183,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9202,7 +9202,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9232,7 +9232,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QTreeWidget::mimeData(const QList items0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9262,7 +9262,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QTreeWidget::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9292,7 +9292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9311,7 +9311,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9330,7 +9330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9349,7 +9349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9368,7 +9368,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9387,7 +9387,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9417,7 +9417,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTreeWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9447,7 +9447,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9466,7 +9466,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTreeWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9496,7 +9496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9515,7 +9515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9534,7 +9534,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9553,7 +9553,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9572,7 +9572,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9591,7 +9591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9610,7 +9610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9629,7 +9629,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QTreeWidget::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9659,7 +9659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9678,7 +9678,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QTreeWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9708,7 +9708,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9727,7 +9727,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9746,7 +9746,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9765,7 +9765,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9784,7 +9784,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTreeWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9814,7 +9814,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9833,7 +9833,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeWidget::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9863,7 +9863,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeWidget::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9893,7 +9893,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9912,7 +9912,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QTreeWidget::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9942,7 +9942,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9961,7 +9961,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9980,7 +9980,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9999,7 +9999,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10018,7 +10018,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10037,7 +10037,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeWidget::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10067,7 +10067,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10086,7 +10086,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10105,7 +10105,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QTreeWidget::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10135,7 +10135,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10165,7 +10165,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QTreeWidget::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10195,7 +10195,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QTreeWidget::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10225,7 +10225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QTreeWidget::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10255,7 +10255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10509,7 +10509,7 @@ PythonQtShell_QTreeWidgetItem::~PythonQtShell_QTreeWidgetItem() { } QTreeWidgetItem* PythonQtShell_QTreeWidgetItem::clone() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10539,7 +10539,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTreeWidgetItem::data(int column0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10569,7 +10569,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidgetItem::__lt__(const QTreeWidgetItem& other0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("__lt__"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10599,7 +10599,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidgetItem::read(QDataStream& in0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10618,7 +10618,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidgetItem::setData(int column0, int role1, const QVariant& value2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10637,7 +10637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidgetItem::write(QDataStream& out0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10979,7 +10979,7 @@ PythonQtShell_QUndoCommand::~PythonQtShell_QUndoCommand() { } int PythonQtShell_QUndoCommand::id() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("id"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11009,7 +11009,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoCommand::mergeWith(const QUndoCommand* other0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mergeWith"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11039,7 +11039,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoCommand::redo() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11058,7 +11058,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoCommand::undo() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("undo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11136,7 +11136,7 @@ PythonQtShell_QUndoGroup::~PythonQtShell_QUndoGroup() { } void PythonQtShell_QUndoGroup::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11155,7 +11155,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoGroup::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11174,7 +11174,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoGroup::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11204,7 +11204,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoGroup::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11234,7 +11234,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoGroup::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11318,7 +11318,7 @@ PythonQtShell_QUndoStack::~PythonQtShell_QUndoStack() { } void PythonQtShell_QUndoStack::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11337,7 +11337,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoStack::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11356,7 +11356,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoStack::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11386,7 +11386,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoStack::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11416,7 +11416,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoStack::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11540,7 +11540,7 @@ PythonQtShell_QUndoView::~PythonQtShell_QUndoView() { } void PythonQtShell_QUndoView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11559,7 +11559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11578,7 +11578,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11597,7 +11597,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11616,7 +11616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11635,7 +11635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11654,7 +11654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11673,7 +11673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11692,7 +11692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11711,7 +11711,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11730,7 +11730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QUndoView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11760,7 +11760,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11779,7 +11779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11798,7 +11798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::dragLeaveEvent(QDragLeaveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11817,7 +11817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::dragMoveEvent(QDragMoveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11836,7 +11836,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::dropEvent(QDropEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11855,7 +11855,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11885,7 +11885,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11904,7 +11904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11923,7 +11923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoView::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11953,7 +11953,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11983,7 +11983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12002,7 +12002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12032,7 +12032,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12051,7 +12051,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12081,7 +12081,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QUndoView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12111,7 +12111,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12130,7 +12130,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QUndoView::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12160,7 +12160,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12179,7 +12179,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12198,7 +12198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QUndoView::indexAt(const QPoint& p0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12228,7 +12228,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12247,7 +12247,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12266,7 +12266,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QUndoView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12296,7 +12296,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoView::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12326,7 +12326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12345,7 +12345,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12364,7 +12364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12383,7 +12383,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12402,7 +12402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QUndoView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12432,7 +12432,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12451,7 +12451,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12470,7 +12470,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12489,7 +12489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12508,7 +12508,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12527,7 +12527,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12557,7 +12557,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QUndoView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12587,7 +12587,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12606,7 +12606,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QUndoView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12636,7 +12636,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12655,7 +12655,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12674,7 +12674,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12693,7 +12693,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12712,7 +12712,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12731,7 +12731,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12750,7 +12750,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12769,7 +12769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QUndoView::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12799,7 +12799,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12818,7 +12818,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QUndoView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12848,7 +12848,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::setModel(QAbstractItemModel* model0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12867,7 +12867,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12886,7 +12886,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12905,7 +12905,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12924,7 +12924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12943,7 +12943,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QUndoView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12973,7 +12973,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12992,7 +12992,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QUndoView::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13022,7 +13022,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QUndoView::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13052,7 +13052,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13071,7 +13071,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13090,7 +13090,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13109,7 +13109,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13128,7 +13128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13147,7 +13147,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13166,7 +13166,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QUndoView::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13196,7 +13196,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13215,7 +13215,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13234,7 +13234,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QUndoView::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13264,7 +13264,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoView::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13294,7 +13294,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QUndoView::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13324,7 +13324,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QUndoView::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13354,7 +13354,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QUndoView::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13384,7 +13384,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13451,7 +13451,7 @@ PythonQtShell_QVBoxLayout::~PythonQtShell_QVBoxLayout() { } void PythonQtShell_QVBoxLayout::addItem(QLayoutItem* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13470,7 +13470,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVBoxLayout::childEvent(QChildEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13489,7 +13489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizePolicy::ControlTypes PythonQtShell_QVBoxLayout::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13519,7 +13519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QVBoxLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13549,7 +13549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVBoxLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13568,7 +13568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVBoxLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13598,7 +13598,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVBoxLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13628,7 +13628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QVBoxLayout::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13658,7 +13658,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QVBoxLayout::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13688,7 +13688,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QVBoxLayout::indexOf(QWidget* arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13718,7 +13718,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVBoxLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13737,7 +13737,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVBoxLayout::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13767,7 +13767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QVBoxLayout::itemAt(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13797,7 +13797,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QVBoxLayout::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13827,7 +13827,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QVBoxLayout::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13857,7 +13857,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QVBoxLayout::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13887,7 +13887,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVBoxLayout::setGeometry(const QRect& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13906,7 +13906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QVBoxLayout::takeAt(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13936,7 +13936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVBoxLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13969,7 +13969,7 @@ PythonQtShell_QValidator::~PythonQtShell_QValidator() { } void PythonQtShell_QValidator::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13988,7 +13988,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QValidator::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14007,7 +14007,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QValidator::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14037,7 +14037,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QValidator::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14067,7 +14067,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QValidator::fixup(QString& arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14086,7 +14086,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QValidator::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14105,7 +14105,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QValidator::validate(QString& arg__1, int& arg__2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp index 23c4f2cb0..68e9a7d0b 100644 --- a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp +++ b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp @@ -155,7 +155,7 @@ PythonQtShell_QWidget::~PythonQtShell_QWidget() { } void PythonQtShell_QWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -174,7 +174,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -193,7 +193,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -212,7 +212,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -231,7 +231,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -250,7 +250,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -269,7 +269,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -299,7 +299,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -318,7 +318,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -337,7 +337,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -356,7 +356,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -375,7 +375,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -394,7 +394,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidget::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -424,7 +424,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -454,7 +454,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -473,7 +473,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -503,7 +503,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -522,7 +522,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -552,7 +552,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -582,7 +582,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -601,7 +601,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -620,7 +620,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -639,7 +639,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -669,7 +669,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -688,7 +688,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -707,7 +707,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -726,7 +726,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -756,7 +756,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -786,7 +786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -805,7 +805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -824,7 +824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -843,7 +843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -862,7 +862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -881,7 +881,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -911,7 +911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -941,7 +941,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -960,7 +960,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -990,7 +990,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1009,7 +1009,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::setVisible(bool visible0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1028,7 +1028,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1058,7 +1058,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1077,7 +1077,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWidget::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1107,7 +1107,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1126,7 +1126,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1145,7 +1145,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2434,7 +2434,7 @@ PythonQtShell_QWidgetAction::~PythonQtShell_QWidgetAction() { } void PythonQtShell_QWidgetAction::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2453,7 +2453,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QWidgetAction::createWidget(QWidget* parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2483,7 +2483,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidgetAction::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2502,7 +2502,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidgetAction::deleteWidget(QWidget* widget0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("deleteWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2521,7 +2521,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidgetAction::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2551,7 +2551,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidgetAction::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2581,7 +2581,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidgetAction::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2655,7 +2655,7 @@ PythonQtShell_QWidgetItem::~PythonQtShell_QWidgetItem() { } QSizePolicy::ControlTypes PythonQtShell_QWidgetItem::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2685,7 +2685,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QWidgetItem::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2715,7 +2715,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QWidgetItem::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2745,7 +2745,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidgetItem::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2775,7 +2775,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWidgetItem::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2805,7 +2805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidgetItem::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2824,7 +2824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidgetItem::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2854,7 +2854,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QWidgetItem::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2884,7 +2884,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWidgetItem::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2914,7 +2914,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWidgetItem::minimumHeightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2944,7 +2944,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWidgetItem::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2974,7 +2974,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidgetItem::setGeometry(const QRect& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2993,7 +2993,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWidgetItem::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3023,7 +3023,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSpacerItem* PythonQtShell_QWidgetItem::spacerItem() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3053,7 +3053,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QWidgetItem::widget() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3148,7 +3148,7 @@ PythonQtShell_QWindow::~PythonQtShell_QWindow() { } void PythonQtShell_QWindow::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3167,7 +3167,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3186,7 +3186,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWindow::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3216,7 +3216,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWindow::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3246,7 +3246,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::exposeEvent(QExposeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exposeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3265,7 +3265,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3284,7 +3284,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QObject* PythonQtShell_QWindow::focusObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3314,7 +3314,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3333,7 +3333,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSurfaceFormat PythonQtShell_QWindow::format() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3363,7 +3363,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3382,7 +3382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3401,7 +3401,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3420,7 +3420,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3439,7 +3439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3458,7 +3458,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3477,7 +3477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3496,7 +3496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3515,7 +3515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3545,7 +3545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3564,7 +3564,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3583,7 +3583,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWindow::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3613,7 +3613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSurface::SurfaceType PythonQtShell_QWindow::surfaceType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3643,7 +3643,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3662,7 +3662,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3681,7 +3681,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::touchEvent(QTouchEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3700,7 +3700,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4234,7 +4234,7 @@ PythonQtShell_QWizard::~PythonQtShell_QWizard() { } void PythonQtShell_QWizard::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4253,7 +4253,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4272,7 +4272,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4291,7 +4291,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4310,7 +4310,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::cleanupPage(int id0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("cleanupPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4329,7 +4329,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4348,7 +4348,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4367,7 +4367,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4386,7 +4386,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizard::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4416,7 +4416,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::done(int result0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4435,7 +4435,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4454,7 +4454,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4473,7 +4473,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4492,7 +4492,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4511,7 +4511,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4530,7 +4530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizard::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4560,7 +4560,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizard::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4590,7 +4590,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizard::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4620,7 +4620,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4639,7 +4639,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizard::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4669,7 +4669,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4688,7 +4688,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizard::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4718,7 +4718,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizard::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4748,7 +4748,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4767,7 +4767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4786,7 +4786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::initializePage(int id0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initializePage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4805,7 +4805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4824,7 +4824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QWizard::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4854,7 +4854,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4873,7 +4873,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4892,7 +4892,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4911,7 +4911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizard::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4941,7 +4941,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4960,7 +4960,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4979,7 +4979,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4998,7 +4998,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5017,7 +5017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5036,7 +5036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizard::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5066,7 +5066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizard::nextId() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5096,7 +5096,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5115,7 +5115,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QWizard::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5145,7 +5145,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5164,7 +5164,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QWizard::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5194,7 +5194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5213,7 +5213,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5232,7 +5232,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QWizard::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5262,7 +5262,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5281,7 +5281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5300,7 +5300,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5319,7 +5319,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizard::validateCurrentPage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validateCurrentPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5349,7 +5349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5588,7 +5588,7 @@ PythonQtShell_QWizardPage::~PythonQtShell_QWizardPage() { } void PythonQtShell_QWizardPage::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5607,7 +5607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5626,7 +5626,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5645,7 +5645,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::cleanupPage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("cleanupPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5664,7 +5664,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5683,7 +5683,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5702,7 +5702,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5721,7 +5721,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizardPage::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5751,7 +5751,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5770,7 +5770,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5789,7 +5789,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5808,7 +5808,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5827,7 +5827,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5846,7 +5846,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizardPage::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5876,7 +5876,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizardPage::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5906,7 +5906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5925,7 +5925,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizardPage::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5955,7 +5955,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5974,7 +5974,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizardPage::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6004,7 +6004,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizardPage::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6034,7 +6034,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6053,7 +6053,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6072,7 +6072,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::initializePage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initializePage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6091,7 +6091,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6110,7 +6110,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QWizardPage::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6140,7 +6140,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizardPage::isComplete() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isComplete"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6170,7 +6170,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6189,7 +6189,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6208,7 +6208,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6227,7 +6227,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizardPage::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6257,7 +6257,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWizardPage::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6287,7 +6287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6306,7 +6306,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6325,7 +6325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6344,7 +6344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6363,7 +6363,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6382,7 +6382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizardPage::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6412,7 +6412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizardPage::nextId() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6442,7 +6442,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QWizardPage::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6472,7 +6472,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6491,7 +6491,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QWizardPage::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6521,7 +6521,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6540,7 +6540,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QWizardPage::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6570,7 +6570,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6589,7 +6589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWizardPage::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6619,7 +6619,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6638,7 +6638,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6657,7 +6657,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizardPage::validatePage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validatePage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6687,7 +6687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp index 33eeb0980..f307e3e97 100644 --- a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp +++ b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp @@ -217,7 +217,7 @@ PythonQtShell_QFontDialog::~PythonQtShell_QFontDialog() { } void PythonQtShell_QFontDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -236,7 +236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -255,7 +255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -274,7 +274,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -293,7 +293,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -312,7 +312,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -331,7 +331,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -350,7 +350,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFontDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -380,7 +380,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::done(int result0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -399,7 +399,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -418,7 +418,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -437,7 +437,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -456,7 +456,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -475,7 +475,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -494,7 +494,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -524,7 +524,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontDialog::eventFilter(QObject* object0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -554,7 +554,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFontDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -584,7 +584,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -603,7 +603,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -633,7 +633,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -652,7 +652,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -682,7 +682,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFontDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -712,7 +712,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -731,7 +731,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -750,7 +750,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -769,7 +769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QFontDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -799,7 +799,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -818,7 +818,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -837,7 +837,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -856,7 +856,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFontDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -886,7 +886,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -905,7 +905,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -924,7 +924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -943,7 +943,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -962,7 +962,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -981,7 +981,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1011,7 +1011,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1030,7 +1030,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QFontDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1060,7 +1060,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1079,7 +1079,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QFontDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1109,7 +1109,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1128,7 +1128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1147,7 +1147,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QFontDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1177,7 +1177,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1196,7 +1196,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1215,7 +1215,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1234,7 +1234,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1742,7 +1742,7 @@ PythonQtShell_QFormLayout::~PythonQtShell_QFormLayout() { } void PythonQtShell_QFormLayout::addItem(QLayoutItem* item0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1761,7 +1761,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFormLayout::childEvent(QChildEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1780,7 +1780,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizePolicy::ControlTypes PythonQtShell_QFormLayout::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1810,7 +1810,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFormLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1840,7 +1840,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFormLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1859,7 +1859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFormLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1889,7 +1889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFormLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1919,7 +1919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QFormLayout::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1949,7 +1949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QFormLayout::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1979,7 +1979,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFormLayout::indexOf(QWidget* arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2009,7 +2009,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFormLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2028,7 +2028,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFormLayout::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2058,7 +2058,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QFormLayout::itemAt(int index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2088,7 +2088,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QFormLayout::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2118,7 +2118,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QFormLayout::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2148,7 +2148,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QFormLayout::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2178,7 +2178,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFormLayout::setGeometry(const QRect& rect0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2197,7 +2197,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QFormLayout::takeAt(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2227,7 +2227,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFormLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2491,7 +2491,7 @@ PythonQtShell_QFrame::~PythonQtShell_QFrame() { } void PythonQtShell_QFrame::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2510,7 +2510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2529,7 +2529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2548,7 +2548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2567,7 +2567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2586,7 +2586,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2605,7 +2605,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFrame::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2635,7 +2635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2654,7 +2654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2673,7 +2673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2692,7 +2692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2711,7 +2711,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2730,7 +2730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFrame::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2760,7 +2760,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFrame::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2790,7 +2790,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2809,7 +2809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFrame::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2839,7 +2839,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2858,7 +2858,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFrame::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2888,7 +2888,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFrame::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2918,7 +2918,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2937,7 +2937,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2956,7 +2956,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2975,7 +2975,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QFrame::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3005,7 +3005,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3024,7 +3024,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3043,7 +3043,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3062,7 +3062,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3092,7 +3092,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QFrame::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3122,7 +3122,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3141,7 +3141,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3160,7 +3160,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3179,7 +3179,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3198,7 +3198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3217,7 +3217,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFrame::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3247,7 +3247,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QFrame::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3277,7 +3277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3296,7 +3296,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QFrame::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3326,7 +3326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3345,7 +3345,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QFrame::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3375,7 +3375,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3394,7 +3394,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3413,7 +3413,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3432,7 +3432,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3551,7 +3551,7 @@ PythonQtShell_QGesture::~PythonQtShell_QGesture() { } void PythonQtShell_QGesture::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3570,7 +3570,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGesture::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3589,7 +3589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGesture::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3619,7 +3619,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGesture::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3649,7 +3649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGesture::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3819,7 +3819,7 @@ PythonQtShell_QGestureRecognizer::~PythonQtShell_QGestureRecognizer() { } QGesture* PythonQtShell_QGestureRecognizer::create(QObject* target0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3849,7 +3849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QGestureRecognizer::Result PythonQtShell_QGestureRecognizer::recognize(QGesture* state0, QObject* watched1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("recognize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3879,7 +3879,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGestureRecognizer::reset(QGesture* state0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4156,7 +4156,7 @@ PythonQtShell_QGraphicsAnchorLayout::~PythonQtShell_QGraphicsAnchorLayout() { } int PythonQtShell_QGraphicsAnchorLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4186,7 +4186,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsAnchorLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4205,7 +4205,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsAnchorLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4224,7 +4224,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QGraphicsLayoutItem* PythonQtShell_QGraphicsAnchorLayout::itemAt(int index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4254,7 +4254,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsAnchorLayout::removeAt(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4273,7 +4273,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsAnchorLayout::updateGeometry() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4292,7 +4292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsAnchorLayout::widgetEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4396,7 +4396,7 @@ PythonQtShell_QGraphicsBlurEffect::~PythonQtShell_QGraphicsBlurEffect() { } QRectF PythonQtShell_QGraphicsBlurEffect::boundingRectFor(const QRectF& rect0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4426,7 +4426,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsBlurEffect::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4445,7 +4445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsBlurEffect::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4464,7 +4464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsBlurEffect::draw(QPainter* painter0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4483,7 +4483,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsBlurEffect::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4513,7 +4513,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsBlurEffect::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4543,7 +4543,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsBlurEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4562,7 +4562,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsBlurEffect::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4611,7 +4611,7 @@ PythonQtShell_QGraphicsColorizeEffect::~PythonQtShell_QGraphicsColorizeEffect() } QRectF PythonQtShell_QGraphicsColorizeEffect::boundingRectFor(const QRectF& sourceRect0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4641,7 +4641,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsColorizeEffect::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4660,7 +4660,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsColorizeEffect::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4679,7 +4679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsColorizeEffect::draw(QPainter* painter0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4698,7 +4698,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsColorizeEffect::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4728,7 +4728,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsColorizeEffect::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4758,7 +4758,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsColorizeEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4777,7 +4777,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsColorizeEffect::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4821,7 +4821,7 @@ PythonQtShell_QGraphicsDropShadowEffect::~PythonQtShell_QGraphicsDropShadowEffec } QRectF PythonQtShell_QGraphicsDropShadowEffect::boundingRectFor(const QRectF& rect0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4851,7 +4851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsDropShadowEffect::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4870,7 +4870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsDropShadowEffect::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4889,7 +4889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsDropShadowEffect::draw(QPainter* painter0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4908,7 +4908,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsDropShadowEffect::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4938,7 +4938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsDropShadowEffect::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4968,7 +4968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsDropShadowEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4987,7 +4987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsDropShadowEffect::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5051,7 +5051,7 @@ PythonQtShell_QGraphicsEffect::~PythonQtShell_QGraphicsEffect() { } QRectF PythonQtShell_QGraphicsEffect::boundingRectFor(const QRectF& sourceRect0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5081,7 +5081,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsEffect::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5100,7 +5100,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsEffect::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5119,7 +5119,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsEffect::draw(QPainter* painter0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5138,7 +5138,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsEffect::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5168,7 +5168,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsEffect::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5198,7 +5198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5217,7 +5217,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsEffect::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5296,7 +5296,7 @@ PythonQtShell_QGraphicsEllipseItem::~PythonQtShell_QGraphicsEllipseItem() { } bool PythonQtShell_QGraphicsEllipseItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5326,7 +5326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsEllipseItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5459,7 +5459,7 @@ PythonQtShell_QGraphicsGridLayout::~PythonQtShell_QGraphicsGridLayout() { } int PythonQtShell_QGraphicsGridLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5489,7 +5489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsGridLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5508,7 +5508,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsGridLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5527,7 +5527,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QGraphicsLayoutItem* PythonQtShell_QGraphicsGridLayout::itemAt(int index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5557,7 +5557,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsGridLayout::removeAt(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5576,7 +5576,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsGridLayout::updateGeometry() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5595,7 +5595,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsGridLayout::widgetEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5849,7 +5849,7 @@ PythonQtShell_QGraphicsItem::~PythonQtShell_QGraphicsItem() { } void PythonQtShell_QGraphicsItem::advance(int phase0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5868,7 +5868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRectF PythonQtShell_QGraphicsItem::boundingRect() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5898,7 +5898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5928,7 +5928,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5958,7 +5958,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItem::contains(const QPointF& point0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5988,7 +5988,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6007,7 +6007,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6026,7 +6026,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6045,7 +6045,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6064,7 +6064,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6083,7 +6083,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsItem::extension(const QVariant& variant0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6113,7 +6113,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6132,7 +6132,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6151,7 +6151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6170,7 +6170,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6189,7 +6189,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6208,7 +6208,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6227,7 +6227,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsItem::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6257,7 +6257,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6287,7 +6287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6320,7 +6320,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6339,7 +6339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6358,7 +6358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6377,7 +6377,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6396,7 +6396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6415,7 +6415,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6434,7 +6434,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6464,7 +6464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6483,7 +6483,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItem::sceneEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6513,7 +6513,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6543,7 +6543,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6562,7 +6562,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsItem::shape() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6592,7 +6592,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItem::supportsExtension(QGraphicsItem::Extension extension0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6622,7 +6622,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsItem::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6652,7 +6652,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7723,7 +7723,7 @@ PythonQtShell_QGraphicsItemAnimation::~PythonQtShell_QGraphicsItemAnimation() { } void PythonQtShell_QGraphicsItemAnimation::afterAnimationStep(qreal step0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("afterAnimationStep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7742,7 +7742,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemAnimation::beforeAnimationStep(qreal step0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("beforeAnimationStep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7761,7 +7761,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemAnimation::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7780,7 +7780,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemAnimation::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7799,7 +7799,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemAnimation::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7829,7 +7829,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7859,7 +7859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemAnimation::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8018,7 +8018,7 @@ PythonQtShell_QGraphicsItemGroup::~PythonQtShell_QGraphicsItemGroup() { } void PythonQtShell_QGraphicsItemGroup::advance(int phase0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8037,7 +8037,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRectF PythonQtShell_QGraphicsItemGroup::boundingRect() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8067,7 +8067,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemGroup::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8097,7 +8097,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemGroup::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8127,7 +8127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemGroup::contains(const QPointF& point0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8157,7 +8157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8176,7 +8176,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8195,7 +8195,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8214,7 +8214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8233,7 +8233,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::dropEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8252,7 +8252,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsItemGroup::extension(const QVariant& variant0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8282,7 +8282,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8301,7 +8301,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8320,7 +8320,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8339,7 +8339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8358,7 +8358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8377,7 +8377,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8396,7 +8396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsItemGroup::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8426,7 +8426,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemGroup::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8456,7 +8456,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsItemGroup::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8489,7 +8489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8508,7 +8508,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8527,7 +8527,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8546,7 +8546,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8565,7 +8565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::mousePressEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8584,7 +8584,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8603,7 +8603,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsItemGroup::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8633,7 +8633,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8652,7 +8652,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemGroup::sceneEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8682,7 +8682,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemGroup::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8712,7 +8712,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8731,7 +8731,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsItemGroup::shape() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8761,7 +8761,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemGroup::supportsExtension(QGraphicsItem::Extension extension0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8791,7 +8791,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsItemGroup::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8821,7 +8821,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::wheelEvent(QGraphicsSceneWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8885,7 +8885,7 @@ PythonQtShell_QGraphicsLayout::~PythonQtShell_QGraphicsLayout() { } int PythonQtShell_QGraphicsLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8915,7 +8915,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8934,7 +8934,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8953,7 +8953,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QGraphicsLayoutItem* PythonQtShell_QGraphicsLayout::itemAt(int i0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8983,7 +8983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLayout::removeAt(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9002,7 +9002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLayout::setGeometry(const QRectF& rect0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9021,7 +9021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizeF PythonQtShell_QGraphicsLayout::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9051,7 +9051,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLayout::updateGeometry() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9070,7 +9070,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLayout::widgetEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9164,7 +9164,7 @@ PythonQtShell_QGraphicsLayoutItem::~PythonQtShell_QGraphicsLayoutItem() { } void PythonQtShell_QGraphicsLayoutItem::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9183,7 +9183,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLayoutItem::setGeometry(const QRectF& rect0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9202,7 +9202,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizeF PythonQtShell_QGraphicsLayoutItem::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9232,7 +9232,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLayoutItem::updateGeometry() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9451,7 +9451,7 @@ PythonQtShell_QGraphicsLineItem::~PythonQtShell_QGraphicsLineItem() { } void PythonQtShell_QGraphicsLineItem::advance(int phase0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9470,7 +9470,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRectF PythonQtShell_QGraphicsLineItem::boundingRect() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9500,7 +9500,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsLineItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9530,7 +9530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsLineItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9560,7 +9560,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsLineItem::contains(const QPointF& point0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9590,7 +9590,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9609,7 +9609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9628,7 +9628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9647,7 +9647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9666,7 +9666,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9685,7 +9685,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsLineItem::extension(const QVariant& variant0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9715,7 +9715,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9734,7 +9734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9753,7 +9753,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9772,7 +9772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9791,7 +9791,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9810,7 +9810,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9829,7 +9829,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsLineItem::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9859,7 +9859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsLineItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9889,7 +9889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsLineItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9922,7 +9922,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9941,7 +9941,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9960,7 +9960,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9979,7 +9979,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9998,7 +9998,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10017,7 +10017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10036,7 +10036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsLineItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10066,7 +10066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10085,7 +10085,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsLineItem::sceneEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10115,7 +10115,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsLineItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10145,7 +10145,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10164,7 +10164,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsLineItem::shape() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10194,7 +10194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsLineItem::supportsExtension(QGraphicsItem::Extension extension0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10224,7 +10224,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsLineItem::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10254,7 +10254,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10366,7 +10366,7 @@ PythonQtShell_QGraphicsLinearLayout::~PythonQtShell_QGraphicsLinearLayout() { } int PythonQtShell_QGraphicsLinearLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10396,7 +10396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLinearLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10415,7 +10415,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLinearLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10434,7 +10434,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QGraphicsLayoutItem* PythonQtShell_QGraphicsLinearLayout::itemAt(int index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10464,7 +10464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLinearLayout::removeAt(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10483,7 +10483,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLinearLayout::updateGeometry() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10502,7 +10502,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLinearLayout::widgetEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10645,7 +10645,7 @@ PythonQtShell_QGraphicsObject::~PythonQtShell_QGraphicsObject() { } void PythonQtShell_QGraphicsObject::advance(int phase0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10664,7 +10664,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRectF PythonQtShell_QGraphicsObject::boundingRect() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10694,7 +10694,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10713,7 +10713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10743,7 +10743,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10773,7 +10773,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::contains(const QPointF& point0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10803,7 +10803,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10822,7 +10822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10841,7 +10841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10860,7 +10860,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10879,7 +10879,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10898,7 +10898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::dropEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10917,7 +10917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::event(QEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10947,7 +10947,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10977,7 +10977,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsObject::extension(const QVariant& variant0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11007,7 +11007,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11026,7 +11026,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11045,7 +11045,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11064,7 +11064,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11083,7 +11083,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11102,7 +11102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11121,7 +11121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsObject::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11151,7 +11151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11181,7 +11181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsObject::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11214,7 +11214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11233,7 +11233,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11252,7 +11252,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11271,7 +11271,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11290,7 +11290,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::mousePressEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11309,7 +11309,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11328,7 +11328,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsObject::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11358,7 +11358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11377,7 +11377,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::sceneEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11407,7 +11407,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11437,7 +11437,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11456,7 +11456,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsObject::shape() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11486,7 +11486,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::supportsExtension(QGraphicsItem::Extension extension0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11516,7 +11516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11535,7 +11535,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsObject::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11565,7 +11565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::wheelEvent(QGraphicsSceneWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11616,7 +11616,7 @@ PythonQtShell_QGraphicsOpacityEffect::~PythonQtShell_QGraphicsOpacityEffect() { } QRectF PythonQtShell_QGraphicsOpacityEffect::boundingRectFor(const QRectF& sourceRect0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11646,7 +11646,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsOpacityEffect::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11665,7 +11665,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsOpacityEffect::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11684,7 +11684,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsOpacityEffect::draw(QPainter* painter0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11703,7 +11703,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsOpacityEffect::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11733,7 +11733,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsOpacityEffect::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11763,7 +11763,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsOpacityEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11782,7 +11782,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsOpacityEffect::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11826,7 +11826,7 @@ PythonQtShell_QGraphicsPathItem::~PythonQtShell_QGraphicsPathItem() { } bool PythonQtShell_QGraphicsPathItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11856,7 +11856,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsPathItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp index 72d0fd851..a3a7a102f 100644 --- a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp +++ b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp @@ -85,7 +85,7 @@ PythonQtShell_QGraphicsPixmapItem::~PythonQtShell_QGraphicsPixmapItem() { } void PythonQtShell_QGraphicsPixmapItem::advance(int phase0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -104,7 +104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRectF PythonQtShell_QGraphicsPixmapItem::boundingRect() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -134,7 +134,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsPixmapItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -164,7 +164,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsPixmapItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -194,7 +194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsPixmapItem::contains(const QPointF& point0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -224,7 +224,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -243,7 +243,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -262,7 +262,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -281,7 +281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -300,7 +300,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -319,7 +319,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsPixmapItem::extension(const QVariant& variant0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -349,7 +349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -368,7 +368,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -387,7 +387,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -406,7 +406,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -425,7 +425,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -444,7 +444,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -463,7 +463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsPixmapItem::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -493,7 +493,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsPixmapItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -523,7 +523,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsPixmapItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -556,7 +556,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -575,7 +575,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -594,7 +594,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -613,7 +613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -632,7 +632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -651,7 +651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -670,7 +670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsPixmapItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -700,7 +700,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -719,7 +719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsPixmapItem::sceneEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -749,7 +749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsPixmapItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -779,7 +779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -798,7 +798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsPixmapItem::shape() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -828,7 +828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsPixmapItem::supportsExtension(QGraphicsItem::Extension extension0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -858,7 +858,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsPixmapItem::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -888,7 +888,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1016,7 +1016,7 @@ PythonQtShell_QGraphicsPolygonItem::~PythonQtShell_QGraphicsPolygonItem() { } bool PythonQtShell_QGraphicsPolygonItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1046,7 +1046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsPolygonItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1160,7 +1160,7 @@ PythonQtShell_QGraphicsProxyWidget::~PythonQtShell_QGraphicsProxyWidget() { } void PythonQtShell_QGraphicsProxyWidget::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1179,7 +1179,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1198,7 +1198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1217,7 +1217,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1236,7 +1236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsProxyWidget::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1266,7 +1266,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsProxyWidget::eventFilter(QObject* object0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1296,7 +1296,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsProxyWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1326,7 +1326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1345,7 +1345,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::grabKeyboardEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("grabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1364,7 +1364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::grabMouseEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("grabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1383,7 +1383,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1402,7 +1402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1421,7 +1421,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1440,7 +1440,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::initStyleOption(QStyleOption* option0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1459,7 +1459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::moveEvent(QGraphicsSceneMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1478,7 +1478,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::paintWindowFrame(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintWindowFrame"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1497,7 +1497,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::polishEvent() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polishEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1516,7 +1516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsProxyWidget::propertyChange(const QString& propertyName0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("propertyChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1546,7 +1546,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::resizeEvent(QGraphicsSceneResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1565,7 +1565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::setGeometry(const QRectF& rect0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1584,7 +1584,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1603,7 +1603,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizeF PythonQtShell_QGraphicsProxyWidget::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1633,7 +1633,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1652,7 +1652,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::ungrabKeyboardEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1671,7 +1671,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::ungrabMouseEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ungrabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1690,7 +1690,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::updateGeometry() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1709,7 +1709,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsProxyWidget::windowFrameEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("windowFrameEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1739,7 +1739,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::WindowFrameSection PythonQtShell_QGraphicsProxyWidget::windowFrameSectionAt(const QPointF& pos0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("windowFrameSectionAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1959,7 +1959,7 @@ PythonQtShell_QGraphicsRectItem::~PythonQtShell_QGraphicsRectItem() { } bool PythonQtShell_QGraphicsRectItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1989,7 +1989,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsRectItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2102,7 +2102,7 @@ PythonQtShell_QGraphicsRotation::~PythonQtShell_QGraphicsRotation() { } void PythonQtShell_QGraphicsRotation::applyTo(QMatrix4x4* matrix0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2121,7 +2121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsRotation::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2140,7 +2140,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsRotation::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2159,7 +2159,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsRotation::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2189,7 +2189,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsRotation::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2219,7 +2219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsRotation::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2288,7 +2288,7 @@ PythonQtShell_QGraphicsScale::~PythonQtShell_QGraphicsScale() { } void PythonQtShell_QGraphicsScale::applyTo(QMatrix4x4* matrix0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2307,7 +2307,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScale::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2326,7 +2326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScale::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2345,7 +2345,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsScale::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2375,7 +2375,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsScale::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2405,7 +2405,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScale::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2479,7 +2479,7 @@ PythonQtShell_QGraphicsScene::~PythonQtShell_QGraphicsScene() { } void PythonQtShell_QGraphicsScene::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2498,7 +2498,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2517,7 +2517,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2536,7 +2536,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2555,7 +2555,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2574,7 +2574,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2593,7 +2593,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::drawBackground(QPainter* painter0, const QRectF& rect1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawBackground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2612,7 +2612,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::drawForeground(QPainter* painter0, const QRectF& rect1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawForeground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2631,7 +2631,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::drawItems(QPainter* painter0, int numItems1, QGraphicsItem** items2, const QStyleOptionGraphicsItem* options3, QWidget* widget4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawItems"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2650,7 +2650,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::dropEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2669,7 +2669,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsScene::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2699,7 +2699,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsScene::eventFilter(QObject* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2729,7 +2729,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2748,7 +2748,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2767,7 +2767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::helpEvent(QGraphicsSceneHelpEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2786,7 +2786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2805,7 +2805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsScene::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2835,7 +2835,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2854,7 +2854,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2873,7 +2873,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2892,7 +2892,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2911,7 +2911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2930,7 +2930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2949,7 +2949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2968,7 +2968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::wheelEvent(QGraphicsSceneWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3984,7 +3984,7 @@ PythonQtShell_QGraphicsSimpleTextItem::~PythonQtShell_QGraphicsSimpleTextItem() } bool PythonQtShell_QGraphicsSimpleTextItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4014,7 +4014,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsSimpleTextItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4128,7 +4128,7 @@ PythonQtShell_QGraphicsTextItem::~PythonQtShell_QGraphicsTextItem() { } void PythonQtShell_QGraphicsTextItem::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4147,7 +4147,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsTextItem::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4166,7 +4166,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsTextItem::event(QEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4196,7 +4196,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsTextItem::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4226,7 +4226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsTextItem::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4509,7 +4509,7 @@ PythonQtShell_QGraphicsTransform::~PythonQtShell_QGraphicsTransform() { } void PythonQtShell_QGraphicsTransform::applyTo(QMatrix4x4* matrix0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4528,7 +4528,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsTransform::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4547,7 +4547,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsTransform::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4566,7 +4566,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsTransform::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4596,7 +4596,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsTransform::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4626,7 +4626,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsTransform::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4660,7 +4660,7 @@ PythonQtShell_QGraphicsView::~PythonQtShell_QGraphicsView() { } void PythonQtShell_QGraphicsView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4679,7 +4679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4698,7 +4698,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4717,7 +4717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4736,7 +4736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::contextMenuEvent(QContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4755,7 +4755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4774,7 +4774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4804,7 +4804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4823,7 +4823,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::dragLeaveEvent(QDragLeaveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4842,7 +4842,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::dragMoveEvent(QDragMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4861,7 +4861,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::drawBackground(QPainter* painter0, const QRectF& rect1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawBackground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4880,7 +4880,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::drawForeground(QPainter* painter0, const QRectF& rect1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawForeground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4899,7 +4899,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::drawItems(QPainter* painter0, int numItems1, QGraphicsItem** items2, const QStyleOptionGraphicsItem* options3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawItems"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4918,7 +4918,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4937,7 +4937,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4956,7 +4956,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsView::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4986,7 +4986,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5016,7 +5016,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5035,7 +5035,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5065,7 +5065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5084,7 +5084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5114,7 +5114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5144,7 +5144,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5163,7 +5163,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5182,7 +5182,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5201,7 +5201,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5231,7 +5231,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5250,7 +5250,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5269,7 +5269,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5288,7 +5288,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5318,7 +5318,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5337,7 +5337,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5356,7 +5356,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5375,7 +5375,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5394,7 +5394,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5413,7 +5413,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5443,7 +5443,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QGraphicsView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5473,7 +5473,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5492,7 +5492,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QGraphicsView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5522,7 +5522,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5541,7 +5541,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5560,7 +5560,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::setupViewport(QWidget* widget0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5579,7 +5579,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QGraphicsView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5609,7 +5609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5628,7 +5628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5647,7 +5647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5666,7 +5666,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsView::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5696,7 +5696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QGraphicsView::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5726,7 +5726,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::wheelEvent(QWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6279,7 +6279,7 @@ PythonQtShell_QGraphicsWidget::~PythonQtShell_QGraphicsWidget() { } void PythonQtShell_QGraphicsWidget::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6298,7 +6298,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6317,7 +6317,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6336,7 +6336,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6355,7 +6355,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWidget::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6385,7 +6385,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6415,7 +6415,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6445,7 +6445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6464,7 +6464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::grabKeyboardEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("grabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6483,7 +6483,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::grabMouseEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("grabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6502,7 +6502,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6521,7 +6521,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6540,7 +6540,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6559,7 +6559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::initStyleOption(QStyleOption* option0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6578,7 +6578,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::moveEvent(QGraphicsSceneMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6597,7 +6597,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::paintWindowFrame(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintWindowFrame"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6616,7 +6616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::polishEvent() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polishEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6635,7 +6635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsWidget::propertyChange(const QString& propertyName0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("propertyChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6665,7 +6665,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::resizeEvent(QGraphicsSceneResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6684,7 +6684,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::setGeometry(const QRectF& rect0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6703,7 +6703,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6722,7 +6722,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizeF PythonQtShell_QGraphicsWidget::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6752,7 +6752,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6771,7 +6771,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::ungrabKeyboardEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6790,7 +6790,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::ungrabMouseEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ungrabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6809,7 +6809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::updateGeometry() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6828,7 +6828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWidget::windowFrameEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("windowFrameEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6858,7 +6858,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::WindowFrameSection PythonQtShell_QGraphicsWidget::windowFrameSectionAt(const QPointF& pos0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("windowFrameSectionAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7293,7 +7293,7 @@ PythonQtShell_QGridLayout::~PythonQtShell_QGridLayout() { } void PythonQtShell_QGridLayout::addItem(QLayoutItem* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7312,7 +7312,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGridLayout::childEvent(QChildEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7331,7 +7331,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizePolicy::ControlTypes PythonQtShell_QGridLayout::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7361,7 +7361,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGridLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7391,7 +7391,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGridLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7410,7 +7410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGridLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7440,7 +7440,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGridLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7470,7 +7470,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QGridLayout::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7500,7 +7500,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QGridLayout::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7530,7 +7530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGridLayout::indexOf(QWidget* arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7560,7 +7560,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGridLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7579,7 +7579,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGridLayout::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7609,7 +7609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QGridLayout::itemAt(int index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7639,7 +7639,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QGridLayout::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7669,7 +7669,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QGridLayout::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7699,7 +7699,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QGridLayout::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7729,7 +7729,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGridLayout::setGeometry(const QRect& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7748,7 +7748,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QGridLayout::takeAt(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7778,7 +7778,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGridLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8011,7 +8011,7 @@ PythonQtShell_QGroupBox::~PythonQtShell_QGroupBox() { } void PythonQtShell_QGroupBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8030,7 +8030,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8049,7 +8049,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::childEvent(QChildEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8068,7 +8068,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8087,7 +8087,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8106,7 +8106,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8125,7 +8125,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGroupBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8155,7 +8155,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8174,7 +8174,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8193,7 +8193,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8212,7 +8212,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8231,7 +8231,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8250,7 +8250,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGroupBox::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8280,7 +8280,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGroupBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8310,7 +8310,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8329,7 +8329,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGroupBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8359,7 +8359,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8378,7 +8378,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGroupBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8408,7 +8408,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGroupBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8438,7 +8438,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8457,7 +8457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8476,7 +8476,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8495,7 +8495,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGroupBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8525,7 +8525,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8544,7 +8544,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8563,7 +8563,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8582,7 +8582,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGroupBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8612,7 +8612,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8631,7 +8631,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8650,7 +8650,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8669,7 +8669,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8688,7 +8688,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8707,7 +8707,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGroupBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8737,7 +8737,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QGroupBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8767,7 +8767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8786,7 +8786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QGroupBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8816,7 +8816,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8835,7 +8835,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QGroupBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8865,7 +8865,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8884,7 +8884,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QGroupBox::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8914,7 +8914,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8933,7 +8933,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8952,7 +8952,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9312,7 +9312,7 @@ PythonQtShell_QHBoxLayout::~PythonQtShell_QHBoxLayout() { } void PythonQtShell_QHBoxLayout::addItem(QLayoutItem* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9331,7 +9331,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHBoxLayout::childEvent(QChildEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9350,7 +9350,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizePolicy::ControlTypes PythonQtShell_QHBoxLayout::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9380,7 +9380,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHBoxLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9410,7 +9410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHBoxLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9429,7 +9429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHBoxLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9459,7 +9459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHBoxLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9489,7 +9489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QHBoxLayout::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9519,7 +9519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QHBoxLayout::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9549,7 +9549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHBoxLayout::indexOf(QWidget* arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9579,7 +9579,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHBoxLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9598,7 +9598,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHBoxLayout::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9628,7 +9628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QHBoxLayout::itemAt(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9658,7 +9658,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QHBoxLayout::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9688,7 +9688,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QHBoxLayout::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9718,7 +9718,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QHBoxLayout::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9748,7 +9748,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHBoxLayout::setGeometry(const QRect& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9767,7 +9767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QHBoxLayout::takeAt(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9797,7 +9797,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHBoxLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9830,7 +9830,7 @@ PythonQtShell_QHeaderView::~PythonQtShell_QHeaderView() { } void PythonQtShell_QHeaderView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9849,7 +9849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9868,7 +9868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9887,7 +9887,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9906,7 +9906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9925,7 +9925,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9944,7 +9944,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9963,7 +9963,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::currentChanged(const QModelIndex& current0, const QModelIndex& old1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9982,7 +9982,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10001,7 +10001,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10020,7 +10020,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHeaderView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10050,7 +10050,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10069,7 +10069,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10088,7 +10088,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::dragLeaveEvent(QDragLeaveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10107,7 +10107,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::dragMoveEvent(QDragMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10126,7 +10126,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10145,7 +10145,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHeaderView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10175,7 +10175,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10194,7 +10194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10213,7 +10213,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHeaderView::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10243,7 +10243,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHeaderView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10273,7 +10273,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10292,7 +10292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHeaderView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10322,7 +10322,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10341,7 +10341,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHeaderView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10371,7 +10371,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHeaderView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10401,7 +10401,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10420,7 +10420,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHeaderView::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10450,7 +10450,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10469,7 +10469,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10488,7 +10488,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QHeaderView::indexAt(const QPoint& p0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10518,7 +10518,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10537,7 +10537,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10556,7 +10556,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QHeaderView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10586,7 +10586,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHeaderView::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10616,7 +10616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10635,7 +10635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10654,7 +10654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10673,7 +10673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10692,7 +10692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHeaderView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10722,7 +10722,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::mouseDoubleClickEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10741,7 +10741,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10760,7 +10760,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10779,7 +10779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10798,7 +10798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10817,7 +10817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHeaderView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10847,7 +10847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QHeaderView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10877,7 +10877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10896,7 +10896,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::paintSection(QPainter* painter0, const QRect& rect1, int logicalIndex2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintSection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10915,7 +10915,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QHeaderView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10945,7 +10945,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10964,7 +10964,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10983,7 +10983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11002,7 +11002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11021,7 +11021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11040,7 +11040,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11059,7 +11059,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QHeaderView::sectionSizeFromContents(int logicalIndex0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sectionSizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11089,7 +11089,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11108,7 +11108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QHeaderView::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11138,7 +11138,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11157,7 +11157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QHeaderView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11187,7 +11187,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::setModel(QAbstractItemModel* model0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11206,7 +11206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11225,7 +11225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags flags1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11244,7 +11244,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11263,7 +11263,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11282,7 +11282,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QHeaderView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11312,7 +11312,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11331,7 +11331,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHeaderView::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11361,7 +11361,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHeaderView::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11391,7 +11391,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11410,7 +11410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11429,7 +11429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11448,7 +11448,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11467,7 +11467,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11486,7 +11486,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11505,7 +11505,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHeaderView::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11535,7 +11535,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11554,7 +11554,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11573,7 +11573,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QHeaderView::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11603,7 +11603,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHeaderView::viewportEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11633,7 +11633,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QHeaderView::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11663,7 +11663,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QHeaderView::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11693,7 +11693,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QHeaderView::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11723,7 +11723,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp index 36156c792..90d4e273c 100644 --- a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp +++ b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp @@ -91,7 +91,7 @@ PythonQtShell_QIconEngine::~PythonQtShell_QIconEngine() { } QSize PythonQtShell_QIconEngine::actualSize(const QSize& size0, QIcon::Mode mode1, QIcon::State state2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actualSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -121,7 +121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIconEngine::addFile(const QString& fileName0, const QSize& size1, QIcon::Mode mode2, QIcon::State state3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addFile"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -140,7 +140,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIconEngine::addPixmap(const QPixmap& pixmap0, QIcon::Mode mode1, QIcon::State state2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -159,7 +159,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QIconEngine::availableSizes(QIcon::Mode mode0, QIcon::State state1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("availableSizes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -189,7 +189,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIconEngine* PythonQtShell_QIconEngine::clone() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -219,7 +219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QIconEngine::iconName() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("iconName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -249,7 +249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QIconEngine::key() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("key"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -279,7 +279,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIconEngine::paint(QPainter* painter0, const QRect& rect1, QIcon::Mode mode2, QIcon::State state3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -298,7 +298,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPixmap PythonQtShell_QIconEngine::pixmap(const QSize& size0, QIcon::Mode mode1, QIcon::State state2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -328,7 +328,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIconEngine::read(QDataStream& in0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -358,7 +358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIconEngine::virtual_hook(int id0, void* data1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("virtual_hook"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -377,7 +377,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIconEngine::write(QDataStream& out0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -477,7 +477,7 @@ PythonQtShell_QImageIOHandler::~PythonQtShell_QImageIOHandler() { } bool PythonQtShell_QImageIOHandler::canRead() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -507,7 +507,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QImageIOHandler::currentImageNumber() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentImageNumber"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -537,7 +537,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QImageIOHandler::currentImageRect() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentImageRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -567,7 +567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QImageIOHandler::imageCount() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("imageCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -597,7 +597,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QImageIOHandler::jumpToImage(int imageNumber0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("jumpToImage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -627,7 +627,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QImageIOHandler::jumpToNextImage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("jumpToNextImage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -657,7 +657,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QImageIOHandler::loopCount() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("loopCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -687,7 +687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QByteArray PythonQtShell_QImageIOHandler::name() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("name"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -717,7 +717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QImageIOHandler::nextImageDelay() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextImageDelay"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -747,7 +747,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QImageIOHandler::option(QImageIOHandler::ImageOption option0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("option"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -777,7 +777,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QImageIOHandler::read(QImage* image0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -807,7 +807,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QImageIOHandler::setOption(QImageIOHandler::ImageOption option0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -826,7 +826,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QImageIOHandler::supportsOption(QImageIOHandler::ImageOption option0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -856,7 +856,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QImageIOHandler::write(const QImage& image0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -981,7 +981,7 @@ PythonQtShell_QImageIOPlugin::~PythonQtShell_QImageIOPlugin() { } QImageIOPlugin::Capabilities PythonQtShell_QImageIOPlugin::capabilities(QIODevice* device0, const QByteArray& format1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("capabilities"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1011,7 +1011,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QImageIOPlugin::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1030,7 +1030,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QImageIOHandler* PythonQtShell_QImageIOPlugin::create(QIODevice* device0, const QByteArray& format1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1060,7 +1060,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QImageIOPlugin::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1079,7 +1079,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QImageIOPlugin::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1109,7 +1109,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QImageIOPlugin::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1139,7 +1139,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QImageIOPlugin::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1511,7 +1511,7 @@ PythonQtShell_QInputDialog::~PythonQtShell_QInputDialog() { } void PythonQtShell_QInputDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1530,7 +1530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1549,7 +1549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1568,7 +1568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1587,7 +1587,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1606,7 +1606,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1625,7 +1625,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1644,7 +1644,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QInputDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1674,7 +1674,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::done(int result0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1693,7 +1693,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1712,7 +1712,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1731,7 +1731,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1750,7 +1750,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1769,7 +1769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1788,7 +1788,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QInputDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1818,7 +1818,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QInputDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1848,7 +1848,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QInputDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1878,7 +1878,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1897,7 +1897,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QInputDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1927,7 +1927,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1946,7 +1946,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QInputDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1976,7 +1976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QInputDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2006,7 +2006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2025,7 +2025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2044,7 +2044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2063,7 +2063,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QInputDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2093,7 +2093,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2112,7 +2112,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2131,7 +2131,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2150,7 +2150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QInputDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2180,7 +2180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2199,7 +2199,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2218,7 +2218,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2237,7 +2237,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2256,7 +2256,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2275,7 +2275,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QInputDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2305,7 +2305,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2324,7 +2324,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QInputDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2354,7 +2354,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2373,7 +2373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QInputDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2403,7 +2403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2422,7 +2422,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2441,7 +2441,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QInputDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2471,7 +2471,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2490,7 +2490,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2509,7 +2509,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2528,7 +2528,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2969,7 +2969,7 @@ PythonQtShell_QIntValidator::~PythonQtShell_QIntValidator() { } void PythonQtShell_QIntValidator::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2988,7 +2988,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIntValidator::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3007,7 +3007,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIntValidator::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3037,7 +3037,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIntValidator::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3067,7 +3067,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIntValidator::fixup(QString& input0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3086,7 +3086,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIntValidator::setRange(int bottom0, int top1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3105,7 +3105,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIntValidator::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3124,7 +3124,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QIntValidator::validate(QString& arg__1, int& arg__2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3203,7 +3203,7 @@ PythonQtShell_QItemDelegate::~PythonQtShell_QItemDelegate() { } void PythonQtShell_QItemDelegate::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3222,7 +3222,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QItemDelegate::createEditor(QWidget* parent0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3252,7 +3252,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3271,7 +3271,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::destroyEditor(QWidget* editor0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("destroyEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3290,7 +3290,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::drawCheck(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, Qt::CheckState state3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawCheck"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3309,7 +3309,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::drawDecoration(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, const QPixmap& pixmap3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawDecoration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3328,7 +3328,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::drawDisplay(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, const QString& text3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawDisplay"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3347,7 +3347,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::drawFocus(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawFocus"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3366,7 +3366,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QItemDelegate::editorEvent(QEvent* event0, QAbstractItemModel* model1, const QStyleOptionViewItem& option2, const QModelIndex& index3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3396,7 +3396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QItemDelegate::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3426,7 +3426,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QItemDelegate::eventFilter(QObject* object0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3456,7 +3456,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemView* view1, const QStyleOptionViewItem& option2, const QModelIndex& index3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3486,7 +3486,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::paint(QPainter* painter0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3505,7 +3505,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVector PythonQtShell_QItemDelegate::paintingRoles() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintingRoles"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3535,7 +3535,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::setEditorData(QWidget* editor0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3554,7 +3554,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::setModelData(QWidget* editor0, QAbstractItemModel* model1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModelData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3573,7 +3573,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QItemDelegate::sizeHint(const QStyleOptionViewItem& option0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3603,7 +3603,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3622,7 +3622,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::updateEditorGeometry(QWidget* editor0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3761,7 +3761,7 @@ PythonQtShell_QItemEditorCreatorBase::~PythonQtShell_QItemEditorCreatorBase() { } QWidget* PythonQtShell_QItemEditorCreatorBase::createWidget(QWidget* parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3791,7 +3791,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QByteArray PythonQtShell_QItemEditorCreatorBase::valuePropertyName() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("valuePropertyName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3841,7 +3841,7 @@ PythonQtShell_QItemEditorFactory::~PythonQtShell_QItemEditorFactory() { } QWidget* PythonQtShell_QItemEditorFactory::createEditor(int userType0, QWidget* parent1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3871,7 +3871,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QByteArray PythonQtShell_QItemEditorFactory::valuePropertyName(int userType0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("valuePropertyName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4201,7 +4201,7 @@ PythonQtShell_QItemSelectionModel::~PythonQtShell_QItemSelectionModel() { } void PythonQtShell_QItemSelectionModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4220,7 +4220,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemSelectionModel::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4239,7 +4239,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemSelectionModel::clearCurrentIndex() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clearCurrentIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4258,7 +4258,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemSelectionModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4277,7 +4277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QItemSelectionModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4307,7 +4307,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QItemSelectionModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4337,7 +4337,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemSelectionModel::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4356,7 +4356,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemSelectionModel::select(const QItemSelection& selection0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4375,7 +4375,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemSelectionModel::select(const QModelIndex& index0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4394,7 +4394,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemSelectionModel::setCurrentIndex(const QModelIndex& index0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setCurrentIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4413,7 +4413,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemSelectionModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4725,7 +4725,7 @@ PythonQtShell_QKeyEventTransition::~PythonQtShell_QKeyEventTransition() { } void PythonQtShell_QKeyEventTransition::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4744,7 +4744,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QKeyEventTransition::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4763,7 +4763,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QKeyEventTransition::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4793,7 +4793,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QKeyEventTransition::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4823,7 +4823,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QKeyEventTransition::eventTest(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4853,7 +4853,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QKeyEventTransition::onTransition(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4872,7 +4872,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QKeyEventTransition::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4935,7 +4935,7 @@ PythonQtShell_QLCDNumber::~PythonQtShell_QLCDNumber() { } void PythonQtShell_QLCDNumber::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4954,7 +4954,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4973,7 +4973,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4992,7 +4992,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5011,7 +5011,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5030,7 +5030,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5049,7 +5049,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLCDNumber::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5079,7 +5079,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5098,7 +5098,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5117,7 +5117,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5136,7 +5136,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5155,7 +5155,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5174,7 +5174,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLCDNumber::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5204,7 +5204,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLCDNumber::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5234,7 +5234,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5253,7 +5253,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLCDNumber::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5283,7 +5283,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5302,7 +5302,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLCDNumber::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5332,7 +5332,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLCDNumber::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5362,7 +5362,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5381,7 +5381,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5400,7 +5400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5419,7 +5419,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QLCDNumber::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5449,7 +5449,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5468,7 +5468,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5487,7 +5487,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5506,7 +5506,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLCDNumber::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5536,7 +5536,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QLCDNumber::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5566,7 +5566,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5585,7 +5585,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5604,7 +5604,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5623,7 +5623,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5642,7 +5642,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5661,7 +5661,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLCDNumber::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5691,7 +5691,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QLCDNumber::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5721,7 +5721,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5740,7 +5740,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QLCDNumber::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5770,7 +5770,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5789,7 +5789,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QLCDNumber::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5819,7 +5819,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5838,7 +5838,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5857,7 +5857,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5876,7 +5876,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5979,7 +5979,7 @@ PythonQtShell_QLabel::~PythonQtShell_QLabel() { } void PythonQtShell_QLabel::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5998,7 +5998,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6017,7 +6017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6036,7 +6036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6055,7 +6055,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::contextMenuEvent(QContextMenuEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6074,7 +6074,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6093,7 +6093,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLabel::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6123,7 +6123,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6142,7 +6142,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6161,7 +6161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6180,7 +6180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6199,7 +6199,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6218,7 +6218,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLabel::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6248,7 +6248,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLabel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6278,7 +6278,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::focusInEvent(QFocusEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6297,7 +6297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLabel::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6327,7 +6327,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::focusOutEvent(QFocusEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6346,7 +6346,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLabel::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6376,7 +6376,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLabel::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6406,7 +6406,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6425,7 +6425,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6444,7 +6444,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6463,7 +6463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QLabel::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6493,7 +6493,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::keyPressEvent(QKeyEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6512,7 +6512,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6531,7 +6531,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6550,7 +6550,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLabel::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6580,7 +6580,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6599,7 +6599,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::mouseMoveEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6618,7 +6618,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::mousePressEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6637,7 +6637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::mouseReleaseEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6656,7 +6656,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6675,7 +6675,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLabel::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6705,7 +6705,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QLabel::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6735,7 +6735,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6754,7 +6754,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QLabel::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6784,7 +6784,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6803,7 +6803,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QLabel::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6833,7 +6833,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6852,7 +6852,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6871,7 +6871,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6890,7 +6890,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7123,7 +7123,7 @@ PythonQtShell_QLayout::~PythonQtShell_QLayout() { } void PythonQtShell_QLayout::addItem(QLayoutItem* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7142,7 +7142,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLayout::childEvent(QChildEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7161,7 +7161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizePolicy::ControlTypes PythonQtShell_QLayout::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7191,7 +7191,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7221,7 +7221,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7240,7 +7240,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7270,7 +7270,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7300,7 +7300,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QLayout::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7330,7 +7330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QLayout::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7360,7 +7360,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLayout::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7390,7 +7390,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLayout::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7420,7 +7420,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLayout::indexOf(QWidget* arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7450,7 +7450,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7469,7 +7469,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLayout::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7499,7 +7499,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QLayout::itemAt(int index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7529,7 +7529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QLayout::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7559,7 +7559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QLayout::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7589,7 +7589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLayout::minimumHeightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7619,7 +7619,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QLayout::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7649,7 +7649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLayout::setGeometry(const QRect& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7668,7 +7668,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QLayout::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7698,7 +7698,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSpacerItem* PythonQtShell_QLayout::spacerItem() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7728,7 +7728,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QLayout::takeAt(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7758,7 +7758,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7777,7 +7777,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QLayout::widget() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8061,7 +8061,7 @@ PythonQtShell_QLayoutItem::~PythonQtShell_QLayoutItem() { } QSizePolicy::ControlTypes PythonQtShell_QLayoutItem::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8091,7 +8091,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QLayoutItem::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8121,7 +8121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QLayoutItem::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8151,7 +8151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLayoutItem::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8181,7 +8181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLayoutItem::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8211,7 +8211,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLayoutItem::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8230,7 +8230,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLayoutItem::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8260,7 +8260,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QLayoutItem::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8290,7 +8290,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QLayoutItem::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8320,7 +8320,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLayoutItem::minimumHeightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8350,7 +8350,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QLayoutItem::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8380,7 +8380,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLayoutItem::setGeometry(const QRect& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8399,7 +8399,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QLayoutItem::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8429,7 +8429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSpacerItem* PythonQtShell_QLayoutItem::spacerItem() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8459,7 +8459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QLayoutItem::widget() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8584,7 +8584,7 @@ PythonQtShell_QLineEdit::~PythonQtShell_QLineEdit() { } void PythonQtShell_QLineEdit::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8603,7 +8603,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8622,7 +8622,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8641,7 +8641,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8660,7 +8660,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8679,7 +8679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8698,7 +8698,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLineEdit::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8728,7 +8728,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8747,7 +8747,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::dragLeaveEvent(QDragLeaveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8766,7 +8766,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::dragMoveEvent(QDragMoveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8785,7 +8785,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8804,7 +8804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8823,7 +8823,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLineEdit::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8853,7 +8853,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLineEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8883,7 +8883,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8902,7 +8902,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLineEdit::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8932,7 +8932,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8951,7 +8951,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLineEdit::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8981,7 +8981,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLineEdit::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9011,7 +9011,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9030,7 +9030,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9049,7 +9049,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9068,7 +9068,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QLineEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9098,7 +9098,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9117,7 +9117,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9136,7 +9136,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9155,7 +9155,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLineEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9185,7 +9185,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9204,7 +9204,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9223,7 +9223,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9242,7 +9242,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9261,7 +9261,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9280,7 +9280,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLineEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9310,7 +9310,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QLineEdit::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9340,7 +9340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9359,7 +9359,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QLineEdit::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9389,7 +9389,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9408,7 +9408,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QLineEdit::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9438,7 +9438,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9457,7 +9457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9476,7 +9476,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9495,7 +9495,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9957,7 +9957,7 @@ PythonQtShell_QListView::~PythonQtShell_QListView() { } void PythonQtShell_QListView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9976,7 +9976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9995,7 +9995,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10014,7 +10014,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10033,7 +10033,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10052,7 +10052,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10071,7 +10071,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10090,7 +10090,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10109,7 +10109,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10128,7 +10128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10147,7 +10147,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10177,7 +10177,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10196,7 +10196,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10215,7 +10215,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::dragLeaveEvent(QDragLeaveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10234,7 +10234,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::dragMoveEvent(QDragMoveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10253,7 +10253,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::dropEvent(QDropEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10272,7 +10272,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10302,7 +10302,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10321,7 +10321,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10340,7 +10340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListView::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10370,7 +10370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10400,7 +10400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10419,7 +10419,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10449,7 +10449,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10468,7 +10468,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10498,7 +10498,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10528,7 +10528,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10547,7 +10547,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListView::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10577,7 +10577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10596,7 +10596,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10615,7 +10615,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QListView::indexAt(const QPoint& p0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10645,7 +10645,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10664,7 +10664,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10683,7 +10683,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QListView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10713,7 +10713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListView::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10743,7 +10743,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10762,7 +10762,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10781,7 +10781,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10800,7 +10800,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10819,7 +10819,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10849,7 +10849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10868,7 +10868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10887,7 +10887,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10906,7 +10906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10925,7 +10925,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10944,7 +10944,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10974,7 +10974,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QListView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11004,7 +11004,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11023,7 +11023,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QListView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11053,7 +11053,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11072,7 +11072,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11091,7 +11091,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11110,7 +11110,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11129,7 +11129,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11148,7 +11148,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11167,7 +11167,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11186,7 +11186,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QListView::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11216,7 +11216,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11235,7 +11235,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QListView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11265,7 +11265,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::setModel(QAbstractItemModel* model0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11284,7 +11284,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11303,7 +11303,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11322,7 +11322,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11341,7 +11341,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11360,7 +11360,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QListView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11390,7 +11390,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11409,7 +11409,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListView::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11439,7 +11439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListView::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11469,7 +11469,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11488,7 +11488,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11507,7 +11507,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11526,7 +11526,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11545,7 +11545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11564,7 +11564,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11583,7 +11583,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListView::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11613,7 +11613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11632,7 +11632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11651,7 +11651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QListView::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11681,7 +11681,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListView::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11711,7 +11711,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QListView::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11741,7 +11741,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QListView::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11771,7 +11771,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QListView::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11801,7 +11801,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12155,7 +12155,7 @@ PythonQtShell_QListWidget::~PythonQtShell_QListWidget() { } void PythonQtShell_QListWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12174,7 +12174,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12193,7 +12193,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12212,7 +12212,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12231,7 +12231,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12250,7 +12250,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12269,7 +12269,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12288,7 +12288,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12307,7 +12307,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12326,7 +12326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12345,7 +12345,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12375,7 +12375,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12394,7 +12394,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12413,7 +12413,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::dragLeaveEvent(QDragLeaveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12432,7 +12432,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::dragMoveEvent(QDragMoveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12451,7 +12451,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12470,7 +12470,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::dropMimeData(int index0, const QMimeData* data1, Qt::DropAction action2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12500,7 +12500,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12530,7 +12530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12549,7 +12549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12568,7 +12568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12598,7 +12598,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12628,7 +12628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12647,7 +12647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12677,7 +12677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12696,7 +12696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12726,7 +12726,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12756,7 +12756,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12775,7 +12775,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListWidget::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12805,7 +12805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12824,7 +12824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12843,7 +12843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QListWidget::indexAt(const QPoint& p0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12873,7 +12873,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12892,7 +12892,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12911,7 +12911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QListWidget::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12941,7 +12941,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12971,7 +12971,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12990,7 +12990,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13009,7 +13009,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13028,7 +13028,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13047,7 +13047,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13077,7 +13077,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QListWidget::mimeData(const QList items0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13107,7 +13107,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QListWidget::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13137,7 +13137,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13156,7 +13156,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13175,7 +13175,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13194,7 +13194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13213,7 +13213,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13232,7 +13232,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13262,7 +13262,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QListWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13292,7 +13292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13311,7 +13311,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QListWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13341,7 +13341,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13360,7 +13360,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13379,7 +13379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13398,7 +13398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13417,7 +13417,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13436,7 +13436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13455,7 +13455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13474,7 +13474,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QListWidget::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13504,7 +13504,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13523,7 +13523,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QListWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13553,7 +13553,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13572,7 +13572,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13591,7 +13591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13610,7 +13610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13629,7 +13629,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QListWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13659,7 +13659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13678,7 +13678,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListWidget::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13708,7 +13708,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListWidget::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13738,7 +13738,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13757,7 +13757,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QListWidget::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13787,7 +13787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13806,7 +13806,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13825,7 +13825,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13844,7 +13844,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13863,7 +13863,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13882,7 +13882,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListWidget::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13912,7 +13912,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13931,7 +13931,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13950,7 +13950,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QListWidget::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13980,7 +13980,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14010,7 +14010,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QListWidget::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14040,7 +14040,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QListWidget::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14070,7 +14070,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QListWidget::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14100,7 +14100,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14319,7 +14319,7 @@ PythonQtShell_QListWidgetItem::~PythonQtShell_QListWidgetItem() { } QListWidgetItem* PythonQtShell_QListWidgetItem::clone() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14349,7 +14349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QListWidgetItem::data(int role0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14379,7 +14379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidgetItem::__lt__(const QListWidgetItem& other0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("__lt__"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14409,7 +14409,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidgetItem::read(QDataStream& in0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14428,7 +14428,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidgetItem::setBackgroundColor(const QColor& color0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setBackgroundColor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14447,7 +14447,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidgetItem::setData(int role0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14466,7 +14466,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidgetItem::write(QDataStream& out0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14678,7 +14678,7 @@ PythonQtShell_QMainWindow::~PythonQtShell_QMainWindow() { } void PythonQtShell_QMainWindow::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14697,7 +14697,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14716,7 +14716,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14735,7 +14735,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14754,7 +14754,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::contextMenuEvent(QContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14773,7 +14773,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMenu* PythonQtShell_QMainWindow::createPopupMenu() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createPopupMenu"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14803,7 +14803,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14822,7 +14822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMainWindow::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14852,7 +14852,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14871,7 +14871,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14890,7 +14890,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14909,7 +14909,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14928,7 +14928,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14947,7 +14947,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMainWindow::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14977,7 +14977,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMainWindow::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15007,7 +15007,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15026,7 +15026,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMainWindow::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15056,7 +15056,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15075,7 +15075,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMainWindow::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15105,7 +15105,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMainWindow::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15135,7 +15135,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15154,7 +15154,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15173,7 +15173,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15192,7 +15192,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QMainWindow::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15222,7 +15222,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15241,7 +15241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15260,7 +15260,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15279,7 +15279,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMainWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15309,7 +15309,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QMainWindow::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15339,7 +15339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15358,7 +15358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15377,7 +15377,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15396,7 +15396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15415,7 +15415,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15434,7 +15434,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMainWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15464,7 +15464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QMainWindow::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15494,7 +15494,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15513,7 +15513,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QMainWindow::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15543,7 +15543,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15562,7 +15562,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QMainWindow::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15592,7 +15592,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15611,7 +15611,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QMainWindow::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15641,7 +15641,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15660,7 +15660,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15679,7 +15679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp index 4d1978f2a..732956cba 100644 --- a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp +++ b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp @@ -588,7 +588,7 @@ PythonQtShell_QMdiArea::~PythonQtShell_QMdiArea() { } void PythonQtShell_QMdiArea::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -607,7 +607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -626,7 +626,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::childEvent(QChildEvent* childEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -645,7 +645,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -664,7 +664,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -683,7 +683,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -702,7 +702,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMdiArea::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -732,7 +732,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -751,7 +751,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -770,7 +770,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -789,7 +789,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -808,7 +808,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -827,7 +827,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiArea::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -857,7 +857,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiArea::eventFilter(QObject* object0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -887,7 +887,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -906,7 +906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiArea::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -936,7 +936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -955,7 +955,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiArea::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -985,7 +985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMdiArea::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1015,7 +1015,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1034,7 +1034,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1053,7 +1053,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1072,7 +1072,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QMdiArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1102,7 +1102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1121,7 +1121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1140,7 +1140,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1159,7 +1159,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMdiArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1189,7 +1189,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1208,7 +1208,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1227,7 +1227,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1246,7 +1246,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1265,7 +1265,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1284,7 +1284,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1314,7 +1314,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QMdiArea::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1344,7 +1344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::paintEvent(QPaintEvent* paintEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1363,7 +1363,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QMdiArea::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1393,7 +1393,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::resizeEvent(QResizeEvent* resizeEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1412,7 +1412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1431,7 +1431,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1450,7 +1450,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QMdiArea::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1480,7 +1480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::showEvent(QShowEvent* showEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1499,7 +1499,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1518,7 +1518,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::timerEvent(QTimerEvent* timerEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1537,7 +1537,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiArea::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1567,7 +1567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QMdiArea::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1597,7 +1597,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1801,7 +1801,7 @@ PythonQtShell_QMdiSubWindow::~PythonQtShell_QMdiSubWindow() { } void PythonQtShell_QMdiSubWindow::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1820,7 +1820,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::changeEvent(QEvent* changeEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1839,7 +1839,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::childEvent(QChildEvent* childEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1858,7 +1858,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::closeEvent(QCloseEvent* closeEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1877,7 +1877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::contextMenuEvent(QContextMenuEvent* contextMenuEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1896,7 +1896,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1915,7 +1915,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMdiSubWindow::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1945,7 +1945,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1964,7 +1964,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1983,7 +1983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2002,7 +2002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2021,7 +2021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2040,7 +2040,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiSubWindow::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2070,7 +2070,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiSubWindow::eventFilter(QObject* object0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2100,7 +2100,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::focusInEvent(QFocusEvent* focusInEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2119,7 +2119,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiSubWindow::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2149,7 +2149,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::focusOutEvent(QFocusEvent* focusOutEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2168,7 +2168,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiSubWindow::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2198,7 +2198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMdiSubWindow::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2228,7 +2228,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::hideEvent(QHideEvent* hideEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2247,7 +2247,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2266,7 +2266,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2285,7 +2285,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QMdiSubWindow::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2315,7 +2315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::keyPressEvent(QKeyEvent* keyEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2334,7 +2334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2353,7 +2353,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::leaveEvent(QEvent* leaveEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2372,7 +2372,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMdiSubWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2402,7 +2402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::mouseDoubleClickEvent(QMouseEvent* mouseEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2421,7 +2421,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::mouseMoveEvent(QMouseEvent* mouseEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2440,7 +2440,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::mousePressEvent(QMouseEvent* mouseEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2459,7 +2459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::mouseReleaseEvent(QMouseEvent* mouseEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2478,7 +2478,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::moveEvent(QMoveEvent* moveEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2497,7 +2497,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiSubWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2527,7 +2527,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QMdiSubWindow::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2557,7 +2557,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::paintEvent(QPaintEvent* paintEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2576,7 +2576,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QMdiSubWindow::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2606,7 +2606,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::resizeEvent(QResizeEvent* resizeEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2625,7 +2625,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QMdiSubWindow::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2655,7 +2655,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::showEvent(QShowEvent* showEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2674,7 +2674,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2693,7 +2693,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::timerEvent(QTimerEvent* timerEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2712,7 +2712,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2921,7 +2921,7 @@ PythonQtShell_QMenu::~PythonQtShell_QMenu() { } void PythonQtShell_QMenu::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2940,7 +2940,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2959,7 +2959,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2978,7 +2978,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2997,7 +2997,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3016,7 +3016,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3035,7 +3035,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMenu::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3065,7 +3065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3084,7 +3084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3103,7 +3103,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3122,7 +3122,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3141,7 +3141,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3160,7 +3160,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenu::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3190,7 +3190,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenu::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3220,7 +3220,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3239,7 +3239,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenu::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3269,7 +3269,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3288,7 +3288,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenu::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3318,7 +3318,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMenu::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3348,7 +3348,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3367,7 +3367,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3386,7 +3386,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3405,7 +3405,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QMenu::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3435,7 +3435,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3454,7 +3454,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3473,7 +3473,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3492,7 +3492,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMenu::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3522,7 +3522,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QMenu::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3552,7 +3552,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3571,7 +3571,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3590,7 +3590,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3609,7 +3609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3628,7 +3628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3647,7 +3647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenu::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3677,7 +3677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QMenu::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3707,7 +3707,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3726,7 +3726,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QMenu::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3756,7 +3756,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3775,7 +3775,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QMenu::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3805,7 +3805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3824,7 +3824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3843,7 +3843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3862,7 +3862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4180,7 +4180,7 @@ PythonQtShell_QMenuBar::~PythonQtShell_QMenuBar() { } void PythonQtShell_QMenuBar::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4199,7 +4199,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4218,7 +4218,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4237,7 +4237,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4256,7 +4256,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4275,7 +4275,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4294,7 +4294,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMenuBar::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4324,7 +4324,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4343,7 +4343,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4362,7 +4362,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4381,7 +4381,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4400,7 +4400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4419,7 +4419,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenuBar::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4449,7 +4449,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenuBar::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4479,7 +4479,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4498,7 +4498,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenuBar::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4528,7 +4528,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4547,7 +4547,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenuBar::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4577,7 +4577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMenuBar::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4607,7 +4607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4626,7 +4626,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4645,7 +4645,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4664,7 +4664,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QMenuBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4694,7 +4694,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4713,7 +4713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4732,7 +4732,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4751,7 +4751,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMenuBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4781,7 +4781,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4800,7 +4800,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4819,7 +4819,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4838,7 +4838,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4857,7 +4857,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4876,7 +4876,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenuBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4906,7 +4906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QMenuBar::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4936,7 +4936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4955,7 +4955,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QMenuBar::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4985,7 +4985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5004,7 +5004,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::setVisible(bool visible0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5023,7 +5023,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QMenuBar::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5053,7 +5053,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5072,7 +5072,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5091,7 +5091,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5110,7 +5110,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5334,7 +5334,7 @@ PythonQtShell_QMessageBox::~PythonQtShell_QMessageBox() { } void PythonQtShell_QMessageBox::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5353,7 +5353,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5372,7 +5372,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5391,7 +5391,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5410,7 +5410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5429,7 +5429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5448,7 +5448,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5467,7 +5467,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMessageBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5497,7 +5497,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::done(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5516,7 +5516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5535,7 +5535,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5554,7 +5554,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5573,7 +5573,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5592,7 +5592,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5611,7 +5611,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMessageBox::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5641,7 +5641,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMessageBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5671,7 +5671,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMessageBox::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5701,7 +5701,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5720,7 +5720,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMessageBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5750,7 +5750,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5769,7 +5769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMessageBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5799,7 +5799,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMessageBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5829,7 +5829,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5848,7 +5848,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5867,7 +5867,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5886,7 +5886,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QMessageBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5916,7 +5916,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5935,7 +5935,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5954,7 +5954,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5973,7 +5973,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMessageBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6003,7 +6003,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6022,7 +6022,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6041,7 +6041,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6060,7 +6060,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6079,7 +6079,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6098,7 +6098,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMessageBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6128,7 +6128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6147,7 +6147,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QMessageBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6177,7 +6177,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6196,7 +6196,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QMessageBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6226,7 +6226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6245,7 +6245,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6264,7 +6264,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QMessageBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6294,7 +6294,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6313,7 +6313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6332,7 +6332,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6351,7 +6351,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6722,7 +6722,7 @@ PythonQtShell_QMouseEventTransition::~PythonQtShell_QMouseEventTransition() { } void PythonQtShell_QMouseEventTransition::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6741,7 +6741,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMouseEventTransition::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6760,7 +6760,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMouseEventTransition::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6790,7 +6790,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMouseEventTransition::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6820,7 +6820,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMouseEventTransition::eventTest(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6850,7 +6850,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMouseEventTransition::onTransition(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6869,7 +6869,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMouseEventTransition::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6962,7 +6962,7 @@ PythonQtShell_QMovie::~PythonQtShell_QMovie() { } void PythonQtShell_QMovie::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6981,7 +6981,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMovie::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7000,7 +7000,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMovie::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7030,7 +7030,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMovie::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7060,7 +7060,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMovie::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7262,7 +7262,7 @@ PythonQtShell_QOffscreenSurface::~PythonQtShell_QOffscreenSurface() { } void PythonQtShell_QOffscreenSurface::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7281,7 +7281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOffscreenSurface::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7300,7 +7300,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOffscreenSurface::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7330,7 +7330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOffscreenSurface::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7360,7 +7360,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSurfaceFormat PythonQtShell_QOffscreenSurface::format() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7390,7 +7390,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QOffscreenSurface::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7420,7 +7420,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSurface::SurfaceType PythonQtShell_QOffscreenSurface::surfaceType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7450,7 +7450,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOffscreenSurface::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7633,7 +7633,7 @@ PythonQtShell_QOpenGLContext::~PythonQtShell_QOpenGLContext() { } void PythonQtShell_QOpenGLContext::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7652,7 +7652,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLContext::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7671,7 +7671,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLContext::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7701,7 +7701,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLContext::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7731,7 +7731,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLContext::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8807,7 +8807,7 @@ PythonQtShell_QOpenGLPaintDevice::~PythonQtShell_QOpenGLPaintDevice() { } int PythonQtShell_QOpenGLPaintDevice::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8837,7 +8837,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLPaintDevice::ensureActiveTarget() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ensureActiveTarget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8856,7 +8856,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLPaintDevice::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8875,7 +8875,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QOpenGLPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8905,7 +8905,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QOpenGLPaintDevice::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8935,7 +8935,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QOpenGLPaintDevice::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8965,7 +8965,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QOpenGLPaintDevice::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9083,7 +9083,7 @@ PythonQtShell_QOpenGLShader::~PythonQtShell_QOpenGLShader() { } void PythonQtShell_QOpenGLShader::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9102,7 +9102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLShader::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9121,7 +9121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLShader::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9151,7 +9151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLShader::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9181,7 +9181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLShader::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9260,7 +9260,7 @@ PythonQtShell_QOpenGLShaderProgram::~PythonQtShell_QOpenGLShaderProgram() { } void PythonQtShell_QOpenGLShaderProgram::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9279,7 +9279,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLShaderProgram::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9298,7 +9298,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLShaderProgram::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9328,7 +9328,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLShaderProgram::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9358,7 +9358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLShaderProgram::link() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("link"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9388,7 +9388,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLShaderProgram::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10347,7 +10347,7 @@ PythonQtShell_QOpenGLTimeMonitor::~PythonQtShell_QOpenGLTimeMonitor() { } void PythonQtShell_QOpenGLTimeMonitor::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10366,7 +10366,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLTimeMonitor::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10385,7 +10385,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLTimeMonitor::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10415,7 +10415,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLTimeMonitor::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10445,7 +10445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLTimeMonitor::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10529,7 +10529,7 @@ PythonQtShell_QOpenGLTimerQuery::~PythonQtShell_QOpenGLTimerQuery() { } void PythonQtShell_QOpenGLTimerQuery::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10548,7 +10548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLTimerQuery::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10567,7 +10567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLTimerQuery::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10597,7 +10597,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLTimerQuery::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10627,7 +10627,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLTimerQuery::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10765,7 +10765,7 @@ PythonQtShell_QOpenGLVertexArrayObject::~PythonQtShell_QOpenGLVertexArrayObject( } void PythonQtShell_QOpenGLVertexArrayObject::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10784,7 +10784,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLVertexArrayObject::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10803,7 +10803,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLVertexArrayObject::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10833,7 +10833,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLVertexArrayObject::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10863,7 +10863,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLVertexArrayObject::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11108,7 +11108,7 @@ PythonQtShell_QPageSetupDialog::~PythonQtShell_QPageSetupDialog() { } void PythonQtShell_QPageSetupDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11127,7 +11127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11146,7 +11146,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11165,7 +11165,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11184,7 +11184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11203,7 +11203,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11222,7 +11222,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11241,7 +11241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPageSetupDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11271,7 +11271,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::done(int result0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11290,7 +11290,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11309,7 +11309,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11328,7 +11328,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11347,7 +11347,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11366,7 +11366,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11385,7 +11385,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPageSetupDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11415,7 +11415,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPageSetupDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11445,7 +11445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPageSetupDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11475,7 +11475,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11494,7 +11494,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPageSetupDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11524,7 +11524,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11543,7 +11543,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPageSetupDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11573,7 +11573,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPageSetupDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11603,7 +11603,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11622,7 +11622,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11641,7 +11641,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11660,7 +11660,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QPageSetupDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11690,7 +11690,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11709,7 +11709,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11728,7 +11728,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11747,7 +11747,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPageSetupDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11777,7 +11777,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11796,7 +11796,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11815,7 +11815,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11834,7 +11834,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11853,7 +11853,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11872,7 +11872,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPageSetupDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11902,7 +11902,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11921,7 +11921,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPageSetupDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11951,7 +11951,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11970,7 +11970,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPageSetupDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12000,7 +12000,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12019,7 +12019,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12038,7 +12038,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPageSetupDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12068,7 +12068,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12087,7 +12087,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12106,7 +12106,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12125,7 +12125,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPageSetupDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp index 83f5d4a15..27d6b2ff1 100644 --- a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp +++ b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp @@ -94,7 +94,7 @@ PythonQtShell_QPagedPaintDevice::~PythonQtShell_QPagedPaintDevice() { } int PythonQtShell_QPagedPaintDevice::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -124,7 +124,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPagedPaintDevice::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -143,7 +143,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPagedPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -173,7 +173,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPagedPaintDevice::newPage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -203,7 +203,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPagedPaintDevice::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -233,7 +233,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPagedPaintDevice::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -263,7 +263,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPagedPaintDevice::setMargins(const QPagedPaintDevice::Margins& margins0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -282,7 +282,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPagedPaintDevice::setPageSize(QPagedPaintDevice::PageSize size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPageSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -301,7 +301,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPagedPaintDevice::setPageSizeMM(const QSizeF& size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPageSizeMM"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -320,7 +320,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPagedPaintDevice::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -440,7 +440,7 @@ PythonQtShell_QPaintDevice::~PythonQtShell_QPaintDevice() { } int PythonQtShell_QPaintDevice::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -470,7 +470,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintDevice::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -489,7 +489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -519,7 +519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPaintDevice::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -549,7 +549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPaintDevice::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -579,7 +579,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPaintDevice::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -709,7 +709,7 @@ PythonQtShell_QPaintEngine::~PythonQtShell_QPaintEngine() { } bool PythonQtShell_QPaintEngine::begin(QPaintDevice* pdev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("begin"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -739,7 +739,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPoint PythonQtShell_QPaintEngine::coordinateOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("coordinateOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -769,7 +769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawEllipse(const QRect& r0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawEllipse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -788,7 +788,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawEllipse(const QRectF& r0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawEllipse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -807,7 +807,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawImage(const QRectF& r0, const QImage& pm1, const QRectF& sr2, Qt::ImageConversionFlags flags3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawImage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -826,7 +826,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawLines(const QLine* lines0, int lineCount1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawLines"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -845,7 +845,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawLines(const QLineF* lines0, int lineCount1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawLines"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -864,7 +864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawPath(const QPainterPath& path0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -883,7 +883,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawPixmap(const QRectF& r0, const QPixmap& pm1, const QRectF& sr2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -902,7 +902,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawPoints(const QPoint* points0, int pointCount1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPoints"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -921,7 +921,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawPoints(const QPointF* points0, int pointCount1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPoints"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -940,7 +940,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawPolygon(const QPoint* points0, int pointCount1, QPaintEngine::PolygonDrawMode mode2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPolygon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -959,7 +959,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawPolygon(const QPointF* points0, int pointCount1, QPaintEngine::PolygonDrawMode mode2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPolygon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -978,7 +978,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawRects(const QRect* rects0, int rectCount1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawRects"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -997,7 +997,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawRects(const QRectF* rects0, int rectCount1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawRects"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1016,7 +1016,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawTextItem(const QPointF& p0, const QTextItem& textItem1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawTextItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1035,7 +1035,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawTiledPixmap(const QRectF& r0, const QPixmap& pixmap1, const QPointF& s2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawTiledPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1054,7 +1054,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPaintEngine::end() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("end"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1084,7 +1084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine::Type PythonQtShell_QPaintEngine::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1114,7 +1114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::updateState(const QPaintEngineState& state0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2953,7 +2953,7 @@ PythonQtShell_QPanGesture::~PythonQtShell_QPanGesture() { } void PythonQtShell_QPanGesture::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2972,7 +2972,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPanGesture::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2991,7 +2991,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPanGesture::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3021,7 +3021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPanGesture::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3051,7 +3051,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPanGesture::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3115,7 +3115,7 @@ PythonQtShell_QPdfWriter::~PythonQtShell_QPdfWriter() { } void PythonQtShell_QPdfWriter::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3134,7 +3134,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPdfWriter::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3153,7 +3153,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPdfWriter::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3183,7 +3183,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPdfWriter::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3213,7 +3213,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPdfWriter::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3243,7 +3243,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPdfWriter::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3262,7 +3262,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPdfWriter::metric(QPaintDevice::PaintDeviceMetric id0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3292,7 +3292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPdfWriter::newPage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3322,7 +3322,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPdfWriter::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3352,7 +3352,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPdfWriter::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3382,7 +3382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPdfWriter::setMargins(const QPagedPaintDevice::Margins& m0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3401,7 +3401,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPdfWriter::setPageSize(QPagedPaintDevice::PageSize size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPageSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3420,7 +3420,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPdfWriter::setPageSizeMM(const QSizeF& size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPageSizeMM"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3439,7 +3439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPdfWriter::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3469,7 +3469,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPdfWriter::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3562,7 +3562,7 @@ PythonQtShell_QPicture::~PythonQtShell_QPicture() { } int PythonQtShell_QPicture::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3592,7 +3592,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPicture::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3611,7 +3611,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPicture::metric(QPaintDevice::PaintDeviceMetric m0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3641,7 +3641,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPicture::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3671,7 +3671,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPicture::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3701,7 +3701,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPicture::setData(const char* data0, uint size1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3720,7 +3720,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPicture::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3844,7 +3844,7 @@ PythonQtShell_QPictureFormatPlugin::~PythonQtShell_QPictureFormatPlugin() { } void PythonQtShell_QPictureFormatPlugin::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3863,7 +3863,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPictureFormatPlugin::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3882,7 +3882,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPictureFormatPlugin::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3912,7 +3912,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPictureFormatPlugin::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3942,7 +3942,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPictureFormatPlugin::installIOHandler(const QString& format0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("installIOHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3972,7 +3972,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPictureFormatPlugin::loadPicture(const QString& format0, const QString& filename1, QPicture* pic2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("loadPicture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4002,7 +4002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPictureFormatPlugin::savePicture(const QString& format0, const QString& filename1, const QPicture& pic2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("savePicture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4032,7 +4032,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPictureFormatPlugin::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4210,7 +4210,7 @@ PythonQtShell_QPinchGesture::~PythonQtShell_QPinchGesture() { } void PythonQtShell_QPinchGesture::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4229,7 +4229,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPinchGesture::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4248,7 +4248,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPinchGesture::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4278,7 +4278,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPinchGesture::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4308,7 +4308,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPinchGesture::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4532,7 +4532,7 @@ PythonQtShell_QPlainTextDocumentLayout::~PythonQtShell_QPlainTextDocumentLayout( } QRectF PythonQtShell_QPlainTextDocumentLayout::blockBoundingRect(const QTextBlock& block0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("blockBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4562,7 +4562,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextDocumentLayout::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4581,7 +4581,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextDocumentLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4600,7 +4600,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextDocumentLayout::documentChanged(int from0, int arg__2, int charsAdded2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("documentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4619,7 +4619,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizeF PythonQtShell_QPlainTextDocumentLayout::documentSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("documentSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4649,7 +4649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextDocumentLayout::draw(QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4668,7 +4668,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextDocumentLayout::drawInlineObject(QPainter* painter0, const QRectF& rect1, QTextInlineObject object2, int posInDocument3, const QTextFormat& format4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4687,7 +4687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextDocumentLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4717,7 +4717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextDocumentLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4747,7 +4747,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRectF PythonQtShell_QPlainTextDocumentLayout::frameBoundingRect(QTextFrame* arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("frameBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4777,7 +4777,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPlainTextDocumentLayout::hitTest(const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4807,7 +4807,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPlainTextDocumentLayout::pageCount() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pageCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4837,7 +4837,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextDocumentLayout::positionInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("positionInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4856,7 +4856,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextDocumentLayout::resizeInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4875,7 +4875,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextDocumentLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4959,7 +4959,7 @@ PythonQtShell_QPlainTextEdit::~PythonQtShell_QPlainTextEdit() { } void PythonQtShell_QPlainTextEdit::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4978,7 +4978,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextEdit::canInsertFromMimeData(const QMimeData* source0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canInsertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5008,7 +5008,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5027,7 +5027,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5046,7 +5046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5065,7 +5065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::contextMenuEvent(QContextMenuEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5084,7 +5084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QPlainTextEdit::createMimeDataFromSelection() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createMimeDataFromSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5114,7 +5114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5133,7 +5133,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPlainTextEdit::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5163,7 +5163,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::doSetTextCursor(const QTextCursor& cursor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doSetTextCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5182,7 +5182,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::dragEnterEvent(QDragEnterEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5201,7 +5201,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5220,7 +5220,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::dragMoveEvent(QDragMoveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5239,7 +5239,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::dropEvent(QDropEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5258,7 +5258,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5277,7 +5277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextEdit::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5307,7 +5307,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5337,7 +5337,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5356,7 +5356,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextEdit::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5386,7 +5386,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::focusOutEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5405,7 +5405,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextEdit::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5435,7 +5435,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPlainTextEdit::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5465,7 +5465,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5484,7 +5484,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5503,7 +5503,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5522,7 +5522,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QPlainTextEdit::inputMethodQuery(Qt::InputMethodQuery property0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5552,7 +5552,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::insertFromMimeData(const QMimeData* source0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5571,7 +5571,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::keyPressEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5590,7 +5590,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5609,7 +5609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5628,7 +5628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QPlainTextEdit::loadResource(int type0, const QUrl& name1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5658,7 +5658,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPlainTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5688,7 +5688,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5707,7 +5707,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5726,7 +5726,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5745,7 +5745,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5764,7 +5764,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5783,7 +5783,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5813,7 +5813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPlainTextEdit::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5843,7 +5843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5862,7 +5862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPlainTextEdit::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5892,7 +5892,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5911,7 +5911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5930,7 +5930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5949,7 +5949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPlainTextEdit::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5979,7 +5979,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5998,7 +5998,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6017,7 +6017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6036,7 +6036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextEdit::viewportEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6066,7 +6066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QPlainTextEdit::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6096,7 +6096,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::wheelEvent(QWheelEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6887,7 +6887,7 @@ PythonQtShell_QPrintDialog::~PythonQtShell_QPrintDialog() { } void PythonQtShell_QPrintDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6906,7 +6906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6925,7 +6925,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6944,7 +6944,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6963,7 +6963,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6982,7 +6982,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7001,7 +7001,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7020,7 +7020,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrintDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7050,7 +7050,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::done(int result0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7069,7 +7069,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7088,7 +7088,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7107,7 +7107,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7126,7 +7126,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7145,7 +7145,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7164,7 +7164,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7194,7 +7194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7224,7 +7224,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrintDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7254,7 +7254,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7273,7 +7273,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7303,7 +7303,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7322,7 +7322,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7352,7 +7352,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrintDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7382,7 +7382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7401,7 +7401,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7420,7 +7420,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7439,7 +7439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QPrintDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7469,7 +7469,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7488,7 +7488,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7507,7 +7507,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7526,7 +7526,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrintDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7556,7 +7556,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7575,7 +7575,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7594,7 +7594,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7613,7 +7613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7632,7 +7632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7651,7 +7651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7681,7 +7681,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7700,7 +7700,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPrintDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7730,7 +7730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7749,7 +7749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPrintDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7779,7 +7779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7798,7 +7798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7817,7 +7817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPrintDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7847,7 +7847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7866,7 +7866,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7885,7 +7885,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7904,7 +7904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7992,7 +7992,7 @@ PythonQtShell_QPrintEngine::~PythonQtShell_QPrintEngine() { } bool PythonQtShell_QPrintEngine::abort() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("abort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8022,7 +8022,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrintEngine::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8052,7 +8052,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintEngine::newPage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8082,7 +8082,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPrinter::PrinterState PythonQtShell_QPrintEngine::printerState() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("printerState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8112,7 +8112,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QPrintEngine::property(QPrintEngine::PrintEnginePropertyKey key0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("property"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8142,7 +8142,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintEngine::setProperty(QPrintEngine::PrintEnginePropertyKey key0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8201,7 +8201,7 @@ PythonQtShell_QPrintPreviewDialog::~PythonQtShell_QPrintPreviewDialog() { } void PythonQtShell_QPrintPreviewDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8220,7 +8220,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8239,7 +8239,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8258,7 +8258,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8277,7 +8277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8296,7 +8296,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8315,7 +8315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8334,7 +8334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrintPreviewDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8364,7 +8364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::done(int result0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8383,7 +8383,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8402,7 +8402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8421,7 +8421,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8440,7 +8440,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8459,7 +8459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8478,7 +8478,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintPreviewDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8508,7 +8508,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintPreviewDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8538,7 +8538,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrintPreviewDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8568,7 +8568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8587,7 +8587,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintPreviewDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8617,7 +8617,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8636,7 +8636,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintPreviewDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8666,7 +8666,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrintPreviewDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8696,7 +8696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8715,7 +8715,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8734,7 +8734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8753,7 +8753,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QPrintPreviewDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8783,7 +8783,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8802,7 +8802,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8821,7 +8821,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8840,7 +8840,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrintPreviewDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8870,7 +8870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8889,7 +8889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8908,7 +8908,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8927,7 +8927,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8946,7 +8946,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8965,7 +8965,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintPreviewDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8995,7 +8995,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9014,7 +9014,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPrintPreviewDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9044,7 +9044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9063,7 +9063,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPrintPreviewDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9093,7 +9093,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9112,7 +9112,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9131,7 +9131,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPrintPreviewDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9161,7 +9161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9180,7 +9180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9199,7 +9199,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9218,7 +9218,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9276,7 +9276,7 @@ PythonQtShell_QPrintPreviewWidget::~PythonQtShell_QPrintPreviewWidget() { } void PythonQtShell_QPrintPreviewWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9295,7 +9295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9314,7 +9314,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9333,7 +9333,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9352,7 +9352,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9371,7 +9371,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9390,7 +9390,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrintPreviewWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9420,7 +9420,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9439,7 +9439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9458,7 +9458,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9477,7 +9477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9496,7 +9496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9515,7 +9515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintPreviewWidget::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9545,7 +9545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintPreviewWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9575,7 +9575,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9594,7 +9594,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintPreviewWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9624,7 +9624,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9643,7 +9643,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintPreviewWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9673,7 +9673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrintPreviewWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9703,7 +9703,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9722,7 +9722,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9741,7 +9741,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9760,7 +9760,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QPrintPreviewWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9790,7 +9790,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9809,7 +9809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9828,7 +9828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9847,7 +9847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrintPreviewWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9877,7 +9877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QPrintPreviewWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9907,7 +9907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9926,7 +9926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9945,7 +9945,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9964,7 +9964,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9983,7 +9983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10002,7 +10002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrintPreviewWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10032,7 +10032,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPrintPreviewWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10062,7 +10062,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10081,7 +10081,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPrintPreviewWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10111,7 +10111,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10130,7 +10130,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPrintPreviewWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10160,7 +10160,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10179,7 +10179,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QPrintPreviewWidget::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10209,7 +10209,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10228,7 +10228,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10247,7 +10247,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrintPreviewWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10315,7 +10315,7 @@ PythonQtShell_QPrinter::~PythonQtShell_QPrinter() { } int PythonQtShell_QPrinter::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10345,7 +10345,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrinter::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10364,7 +10364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPrinter::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10394,7 +10394,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPrinter::newPage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10424,7 +10424,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPrinter::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10454,7 +10454,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPrinter::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10484,7 +10484,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrinter::setMargins(const QPagedPaintDevice::Margins& m0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10503,7 +10503,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrinter::setPageSize(QPagedPaintDevice::PageSize arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPageSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10522,7 +10522,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPrinter::setPageSizeMM(const QSizeF& size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPageSizeMM"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10541,7 +10541,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPrinter::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11059,7 +11059,7 @@ PythonQtShell_QProgressBar::~PythonQtShell_QProgressBar() { } void PythonQtShell_QProgressBar::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11078,7 +11078,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11097,7 +11097,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11116,7 +11116,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11135,7 +11135,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11154,7 +11154,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11173,7 +11173,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProgressBar::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11203,7 +11203,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11222,7 +11222,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11241,7 +11241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11260,7 +11260,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11279,7 +11279,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11298,7 +11298,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressBar::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11328,7 +11328,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressBar::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11358,7 +11358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11377,7 +11377,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressBar::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11407,7 +11407,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11426,7 +11426,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressBar::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11456,7 +11456,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProgressBar::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11486,7 +11486,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11505,7 +11505,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11524,7 +11524,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11543,7 +11543,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QProgressBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11573,7 +11573,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11592,7 +11592,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11611,7 +11611,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11630,7 +11630,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProgressBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11660,7 +11660,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11679,7 +11679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11698,7 +11698,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11717,7 +11717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11736,7 +11736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11755,7 +11755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11785,7 +11785,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QProgressBar::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11815,7 +11815,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11834,7 +11834,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QProgressBar::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11864,7 +11864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11883,7 +11883,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QProgressBar::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11913,7 +11913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11932,7 +11932,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11951,7 +11951,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QProgressBar::text() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("text"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11981,7 +11981,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12000,7 +12000,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12134,7 +12134,7 @@ PythonQtShell_QProgressDialog::~PythonQtShell_QProgressDialog() { } void PythonQtShell_QProgressDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12153,7 +12153,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12172,7 +12172,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12191,7 +12191,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12210,7 +12210,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12229,7 +12229,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12248,7 +12248,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12267,7 +12267,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProgressDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12297,7 +12297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::done(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12316,7 +12316,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12335,7 +12335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12354,7 +12354,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12373,7 +12373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12392,7 +12392,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12411,7 +12411,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12441,7 +12441,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12471,7 +12471,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProgressDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12501,7 +12501,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12520,7 +12520,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12550,7 +12550,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12569,7 +12569,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12599,7 +12599,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProgressDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12629,7 +12629,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12648,7 +12648,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12667,7 +12667,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12686,7 +12686,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QProgressDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12716,7 +12716,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12735,7 +12735,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12754,7 +12754,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12773,7 +12773,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProgressDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12803,7 +12803,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12822,7 +12822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12841,7 +12841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12860,7 +12860,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12879,7 +12879,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12898,7 +12898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12928,7 +12928,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12947,7 +12947,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QProgressDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12977,7 +12977,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12996,7 +12996,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QProgressDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13026,7 +13026,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13045,7 +13045,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13064,7 +13064,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QProgressDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13094,7 +13094,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13113,7 +13113,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13132,7 +13132,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13151,7 +13151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp index 05e98cb15..241dc5070 100644 --- a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp +++ b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp @@ -85,7 +85,7 @@ PythonQtShell_QProxyStyle::~PythonQtShell_QProxyStyle() { } void PythonQtShell_QProxyStyle::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -104,7 +104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -123,7 +123,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::drawComplexControl(QStyle::ComplexControl control0, const QStyleOptionComplex* option1, QPainter* painter2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -142,7 +142,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::drawControl(QStyle::ControlElement element0, const QStyleOption* option1, QPainter* painter2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -161,7 +161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::drawItemPixmap(QPainter* painter0, const QRect& rect1, int alignment2, const QPixmap& pixmap3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawItemPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -180,7 +180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::drawItemText(QPainter* painter0, const QRect& rect1, int flags2, const QPalette& pal3, bool enabled4, const QString& text5, QPalette::ColorRole textRole6) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawItemText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -199,7 +199,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::drawPrimitive(QStyle::PrimitiveElement element0, const QStyleOption* option1, QPainter* painter2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPrimitive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -218,7 +218,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProxyStyle::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -248,7 +248,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProxyStyle::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -278,7 +278,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPixmap PythonQtShell_QProxyStyle::generatedIconPixmap(QIcon::Mode iconMode0, const QPixmap& pixmap1, const QStyleOption* opt2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("generatedIconPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -308,7 +308,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyle::SubControl PythonQtShell_QProxyStyle::hitTestComplexControl(QStyle::ComplexControl control0, const QStyleOptionComplex* option1, const QPoint& pos2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitTestComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -338,7 +338,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QProxyStyle::itemPixmapRect(const QRect& r0, int flags1, const QPixmap& pixmap2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemPixmapRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -368,7 +368,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProxyStyle::layoutSpacing(QSizePolicy::ControlType control10, QSizePolicy::ControlType control21, Qt::Orientation orientation2, const QStyleOption* option3, const QWidget* widget4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layoutSpacing"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -398,7 +398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProxyStyle::pixelMetric(QStyle::PixelMetric metric0, const QStyleOption* option1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pixelMetric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -428,7 +428,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::polish(QApplication* app0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -447,7 +447,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::polish(QPalette& pal0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -466,7 +466,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::polish(QWidget* widget0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -485,7 +485,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QProxyStyle::sizeFromContents(QStyle::ContentsType type0, const QStyleOption* option1, const QSize& size2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -515,7 +515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIcon PythonQtShell_QProxyStyle::standardIcon(QStyle::StandardPixmap standardIcon0, const QStyleOption* option1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardIcon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -545,7 +545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPalette PythonQtShell_QProxyStyle::standardPalette() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardPalette"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -575,7 +575,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPixmap PythonQtShell_QProxyStyle::standardPixmap(QStyle::StandardPixmap standardPixmap0, const QStyleOption* opt1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -605,7 +605,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProxyStyle::styleHint(QStyle::StyleHint hint0, const QStyleOption* option1, const QWidget* widget2, QStyleHintReturn* returnData3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("styleHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -635,7 +635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QProxyStyle::subControlRect(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QStyle::SubControl sc2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("subControlRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -665,7 +665,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QProxyStyle::subElementRect(QStyle::SubElement element0, const QStyleOption* option1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("subElementRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -695,7 +695,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -714,7 +714,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::unpolish(QApplication* app0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -733,7 +733,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::unpolish(QWidget* widget0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -896,7 +896,7 @@ PythonQtShell_QPushButton::~PythonQtShell_QPushButton() { } void PythonQtShell_QPushButton::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -915,7 +915,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -934,7 +934,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::checkStateSet() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -953,7 +953,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -972,7 +972,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -991,7 +991,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1010,7 +1010,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1029,7 +1029,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPushButton::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1059,7 +1059,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1078,7 +1078,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1097,7 +1097,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1116,7 +1116,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1135,7 +1135,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1154,7 +1154,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPushButton::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1184,7 +1184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPushButton::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1214,7 +1214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1233,7 +1233,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPushButton::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1263,7 +1263,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1282,7 +1282,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPushButton::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1312,7 +1312,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPushButton::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1342,7 +1342,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1361,7 +1361,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPushButton::hitButton(const QPoint& pos0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1391,7 +1391,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1410,7 +1410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1429,7 +1429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QPushButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1459,7 +1459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1478,7 +1478,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1497,7 +1497,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1516,7 +1516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPushButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1546,7 +1546,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1565,7 +1565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1584,7 +1584,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1603,7 +1603,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1622,7 +1622,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1641,7 +1641,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPushButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1671,7 +1671,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::nextCheckState() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1690,7 +1690,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPushButton::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1720,7 +1720,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1739,7 +1739,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPushButton::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1769,7 +1769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1788,7 +1788,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPushButton::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1818,7 +1818,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1837,7 +1837,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1856,7 +1856,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1875,7 +1875,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2292,7 +2292,7 @@ PythonQtShell_QRadioButton::~PythonQtShell_QRadioButton() { } void PythonQtShell_QRadioButton::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2311,7 +2311,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2330,7 +2330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::checkStateSet() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2349,7 +2349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2368,7 +2368,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2387,7 +2387,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2406,7 +2406,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2425,7 +2425,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QRadioButton::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2455,7 +2455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2474,7 +2474,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2493,7 +2493,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2512,7 +2512,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2531,7 +2531,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2550,7 +2550,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioButton::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2580,7 +2580,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioButton::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2610,7 +2610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2629,7 +2629,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioButton::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2659,7 +2659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::focusOutEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2678,7 +2678,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioButton::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2708,7 +2708,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QRadioButton::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2738,7 +2738,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2757,7 +2757,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioButton::hitButton(const QPoint& arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2787,7 +2787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2806,7 +2806,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2825,7 +2825,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QRadioButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2855,7 +2855,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::keyPressEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2874,7 +2874,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2893,7 +2893,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2912,7 +2912,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QRadioButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2942,7 +2942,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2961,7 +2961,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2980,7 +2980,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2999,7 +2999,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3018,7 +3018,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3037,7 +3037,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3067,7 +3067,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::nextCheckState() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3086,7 +3086,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QRadioButton::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3116,7 +3116,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3135,7 +3135,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QRadioButton::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3165,7 +3165,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3184,7 +3184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QRadioButton::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3214,7 +3214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3233,7 +3233,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3252,7 +3252,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3271,7 +3271,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3542,7 +3542,7 @@ PythonQtShell_QRegExpValidator::~PythonQtShell_QRegExpValidator() { } void PythonQtShell_QRegExpValidator::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3561,7 +3561,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRegExpValidator::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3580,7 +3580,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRegExpValidator::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3610,7 +3610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRegExpValidator::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3640,7 +3640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRegExpValidator::fixup(QString& arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3659,7 +3659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRegExpValidator::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3678,7 +3678,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QRegExpValidator::validate(QString& input0, int& pos1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3737,7 +3737,7 @@ PythonQtShell_QRegularExpressionValidator::~PythonQtShell_QRegularExpressionVali } void PythonQtShell_QRegularExpressionValidator::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3756,7 +3756,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRegularExpressionValidator::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3775,7 +3775,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRegularExpressionValidator::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3805,7 +3805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRegularExpressionValidator::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3835,7 +3835,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRegularExpressionValidator::fixup(QString& arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3854,7 +3854,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRegularExpressionValidator::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3873,7 +3873,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QRegularExpressionValidator::validate(QString& input0, int& pos1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3947,7 +3947,7 @@ PythonQtShell_QRubberBand::~PythonQtShell_QRubberBand() { } void PythonQtShell_QRubberBand::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3966,7 +3966,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3985,7 +3985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4004,7 +4004,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4023,7 +4023,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4042,7 +4042,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4061,7 +4061,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QRubberBand::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4091,7 +4091,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4110,7 +4110,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4129,7 +4129,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4148,7 +4148,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4167,7 +4167,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4186,7 +4186,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRubberBand::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4216,7 +4216,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRubberBand::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4246,7 +4246,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4265,7 +4265,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRubberBand::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4295,7 +4295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4314,7 +4314,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRubberBand::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4344,7 +4344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QRubberBand::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4374,7 +4374,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4393,7 +4393,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4412,7 +4412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4431,7 +4431,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QRubberBand::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4461,7 +4461,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4480,7 +4480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4499,7 +4499,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4518,7 +4518,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QRubberBand::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4548,7 +4548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QRubberBand::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4578,7 +4578,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4597,7 +4597,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4616,7 +4616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4635,7 +4635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4654,7 +4654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4673,7 +4673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRubberBand::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4703,7 +4703,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QRubberBand::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4733,7 +4733,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4752,7 +4752,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QRubberBand::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4782,7 +4782,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4801,7 +4801,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QRubberBand::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4831,7 +4831,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4850,7 +4850,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QRubberBand::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4880,7 +4880,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4899,7 +4899,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4918,7 +4918,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5174,7 +5174,7 @@ PythonQtShell_QScrollArea::~PythonQtShell_QScrollArea() { } void PythonQtShell_QScrollArea::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5193,7 +5193,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5212,7 +5212,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5231,7 +5231,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5250,7 +5250,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5269,7 +5269,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5288,7 +5288,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QScrollArea::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5318,7 +5318,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5337,7 +5337,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5356,7 +5356,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5375,7 +5375,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5394,7 +5394,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5413,7 +5413,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollArea::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5443,7 +5443,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollArea::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5473,7 +5473,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5492,7 +5492,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollArea::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5522,7 +5522,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5541,7 +5541,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollArea::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5571,7 +5571,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QScrollArea::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5601,7 +5601,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5620,7 +5620,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5639,7 +5639,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5658,7 +5658,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QScrollArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5688,7 +5688,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5707,7 +5707,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5726,7 +5726,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5745,7 +5745,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QScrollArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5775,7 +5775,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5794,7 +5794,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5813,7 +5813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5832,7 +5832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5851,7 +5851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5870,7 +5870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5900,7 +5900,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QScrollArea::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5930,7 +5930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5949,7 +5949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QScrollArea::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5979,7 +5979,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5998,7 +5998,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6017,7 +6017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6036,7 +6036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QScrollArea::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6066,7 +6066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6085,7 +6085,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6104,7 +6104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6123,7 +6123,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollArea::viewportEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6153,7 +6153,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QScrollArea::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6183,7 +6183,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6292,7 +6292,7 @@ PythonQtShell_QScrollBar::~PythonQtShell_QScrollBar() { } void PythonQtShell_QScrollBar::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6311,7 +6311,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6330,7 +6330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6349,7 +6349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6368,7 +6368,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6387,7 +6387,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6406,7 +6406,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QScrollBar::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6436,7 +6436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6455,7 +6455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6474,7 +6474,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6493,7 +6493,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6512,7 +6512,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6531,7 +6531,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollBar::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6561,7 +6561,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollBar::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6591,7 +6591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6610,7 +6610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollBar::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6640,7 +6640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6659,7 +6659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollBar::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6689,7 +6689,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QScrollBar::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6719,7 +6719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6738,7 +6738,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6757,7 +6757,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6776,7 +6776,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QScrollBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6806,7 +6806,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::keyPressEvent(QKeyEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6825,7 +6825,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6844,7 +6844,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6863,7 +6863,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QScrollBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6893,7 +6893,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QScrollBar::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6923,7 +6923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6942,7 +6942,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6961,7 +6961,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6980,7 +6980,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6999,7 +6999,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7018,7 +7018,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7048,7 +7048,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QScrollBar::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7078,7 +7078,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7097,7 +7097,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QScrollBar::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7127,7 +7127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7146,7 +7146,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QScrollBar::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7176,7 +7176,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7195,7 +7195,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7214,7 +7214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7233,7 +7233,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7611,7 +7611,7 @@ PythonQtShell_QShortcut::~PythonQtShell_QShortcut() { } void PythonQtShell_QShortcut::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7630,7 +7630,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QShortcut::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7649,7 +7649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QShortcut::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7679,7 +7679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QShortcut::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7709,7 +7709,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QShortcut::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7838,7 +7838,7 @@ PythonQtShell_QSizeGrip::~PythonQtShell_QSizeGrip() { } void PythonQtShell_QSizeGrip::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7857,7 +7857,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7876,7 +7876,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7895,7 +7895,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7914,7 +7914,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7933,7 +7933,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7952,7 +7952,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSizeGrip::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7982,7 +7982,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8001,7 +8001,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8020,7 +8020,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8039,7 +8039,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8058,7 +8058,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8077,7 +8077,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSizeGrip::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8107,7 +8107,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSizeGrip::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8137,7 +8137,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8156,7 +8156,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSizeGrip::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8186,7 +8186,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8205,7 +8205,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSizeGrip::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8235,7 +8235,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSizeGrip::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8265,7 +8265,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::hideEvent(QHideEvent* hideEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8284,7 +8284,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8303,7 +8303,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8322,7 +8322,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSizeGrip::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8352,7 +8352,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8371,7 +8371,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8390,7 +8390,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8409,7 +8409,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSizeGrip::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8439,7 +8439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSizeGrip::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8469,7 +8469,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8488,7 +8488,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8507,7 +8507,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8526,7 +8526,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::mouseReleaseEvent(QMouseEvent* mouseEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8545,7 +8545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::moveEvent(QMoveEvent* moveEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8564,7 +8564,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSizeGrip::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8594,7 +8594,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QSizeGrip::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8624,7 +8624,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8643,7 +8643,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QSizeGrip::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8673,7 +8673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8692,7 +8692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QSizeGrip::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8722,7 +8722,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::showEvent(QShowEvent* showEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8741,7 +8741,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8760,7 +8760,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8779,7 +8779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8863,7 +8863,7 @@ PythonQtShell_QSlider::~PythonQtShell_QSlider() { } void PythonQtShell_QSlider::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8882,7 +8882,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8901,7 +8901,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8920,7 +8920,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8939,7 +8939,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8958,7 +8958,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8977,7 +8977,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSlider::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9007,7 +9007,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9026,7 +9026,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9045,7 +9045,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9064,7 +9064,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9083,7 +9083,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9102,7 +9102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSlider::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9132,7 +9132,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSlider::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9162,7 +9162,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9181,7 +9181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSlider::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9211,7 +9211,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9230,7 +9230,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSlider::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9260,7 +9260,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSlider::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9290,7 +9290,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9309,7 +9309,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9328,7 +9328,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9347,7 +9347,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSlider::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9377,7 +9377,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::keyPressEvent(QKeyEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9396,7 +9396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9415,7 +9415,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9434,7 +9434,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSlider::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9464,7 +9464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9483,7 +9483,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::mouseMoveEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9502,7 +9502,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::mousePressEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9521,7 +9521,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::mouseReleaseEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9540,7 +9540,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9559,7 +9559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSlider::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9589,7 +9589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QSlider::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9619,7 +9619,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::paintEvent(QPaintEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9638,7 +9638,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QSlider::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9668,7 +9668,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9687,7 +9687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QSlider::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9717,7 +9717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9736,7 +9736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9755,7 +9755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9774,7 +9774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::wheelEvent(QWheelEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9867,7 +9867,7 @@ PythonQtShell_QSortFilterProxyModel::~PythonQtShell_QSortFilterProxyModel() { } QModelIndex PythonQtShell_QSortFilterProxyModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9897,7 +9897,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9927,7 +9927,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9957,7 +9957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSortFilterProxyModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9976,7 +9976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSortFilterProxyModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10006,7 +10006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSortFilterProxyModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10025,7 +10025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSortFilterProxyModel::data(const QModelIndex& index0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10055,7 +10055,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10085,7 +10085,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10115,7 +10115,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10145,7 +10145,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSortFilterProxyModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10164,7 +10164,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::filterAcceptsColumn(int source_column0, const QModelIndex& source_parent1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("filterAcceptsColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10194,7 +10194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::filterAcceptsRow(int source_row0, const QModelIndex& source_parent1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("filterAcceptsRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10224,7 +10224,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QSortFilterProxyModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10254,7 +10254,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::hasChildren(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10284,7 +10284,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSortFilterProxyModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10314,7 +10314,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSortFilterProxyModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10344,7 +10344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10374,7 +10374,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10404,7 +10404,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QSortFilterProxyModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10434,7 +10434,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::lessThan(const QModelIndex& left0, const QModelIndex& right1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("lessThan"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10464,7 +10464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSortFilterProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10494,7 +10494,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelection PythonQtShell_QSortFilterProxyModel::mapSelectionFromSource(const QItemSelection& sourceSelection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapSelectionFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10524,7 +10524,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelection PythonQtShell_QSortFilterProxyModel::mapSelectionToSource(const QItemSelection& proxySelection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapSelectionToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10554,7 +10554,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSortFilterProxyModel::mapToSource(const QModelIndex& proxyIndex0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10584,7 +10584,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QSortFilterProxyModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10614,7 +10614,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QSortFilterProxyModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10644,7 +10644,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QSortFilterProxyModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10674,7 +10674,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10704,7 +10704,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10734,7 +10734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSortFilterProxyModel::parent(const QModelIndex& child0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10764,7 +10764,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10794,7 +10794,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10824,7 +10824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSortFilterProxyModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10843,7 +10843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QSortFilterProxyModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10873,7 +10873,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSortFilterProxyModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10903,7 +10903,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10933,7 +10933,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10963,7 +10963,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10993,7 +10993,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSortFilterProxyModel::setSourceModel(QAbstractItemModel* sourceModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSourceModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11012,7 +11012,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSortFilterProxyModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11042,7 +11042,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSortFilterProxyModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11061,7 +11061,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSortFilterProxyModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11091,7 +11091,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11121,7 +11121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QSortFilterProxyModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11151,7 +11151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QSortFilterProxyModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11181,7 +11181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSortFilterProxyModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11470,7 +11470,7 @@ PythonQtShell_QSound::~PythonQtShell_QSound() { } void PythonQtShell_QSound::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11489,7 +11489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSound::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11508,7 +11508,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSound::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11538,7 +11538,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSound::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11568,7 +11568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSound::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11627,7 +11627,7 @@ PythonQtShell_QSpacerItem::~PythonQtShell_QSpacerItem() { } QSizePolicy::ControlTypes PythonQtShell_QSpacerItem::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11657,7 +11657,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QSpacerItem::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11687,7 +11687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QSpacerItem::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11717,7 +11717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSpacerItem::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11747,7 +11747,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSpacerItem::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11777,7 +11777,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpacerItem::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11796,7 +11796,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSpacerItem::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11826,7 +11826,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QSpacerItem::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11856,7 +11856,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSpacerItem::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11886,7 +11886,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSpacerItem::minimumHeightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11916,7 +11916,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSpacerItem::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11946,7 +11946,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpacerItem::setGeometry(const QRect& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11965,7 +11965,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSpacerItem::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11995,7 +11995,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSpacerItem* PythonQtShell_QSpacerItem::spacerItem() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12025,7 +12025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QSpacerItem::widget() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12110,7 +12110,7 @@ PythonQtShell_QSpinBox::~PythonQtShell_QSpinBox() { } void PythonQtShell_QSpinBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12129,7 +12129,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12148,7 +12148,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12167,7 +12167,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12186,7 +12186,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12205,7 +12205,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::contextMenuEvent(QContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12224,7 +12224,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12243,7 +12243,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSpinBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12273,7 +12273,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12292,7 +12292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12311,7 +12311,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12330,7 +12330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12349,7 +12349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12368,7 +12368,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSpinBox::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12398,7 +12398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSpinBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12428,7 +12428,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::fixup(QString& str0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12447,7 +12447,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12466,7 +12466,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSpinBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12496,7 +12496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12515,7 +12515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSpinBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12545,7 +12545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSpinBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12575,7 +12575,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12594,7 +12594,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12613,7 +12613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12632,7 +12632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12662,7 +12662,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12681,7 +12681,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12700,7 +12700,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12719,7 +12719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12749,7 +12749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12768,7 +12768,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12787,7 +12787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12806,7 +12806,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12825,7 +12825,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12844,7 +12844,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSpinBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12874,7 +12874,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QSpinBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12904,7 +12904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12923,7 +12923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QSpinBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12953,7 +12953,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12972,7 +12972,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QSpinBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13002,7 +13002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13021,7 +13021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::stepBy(int steps0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13040,7 +13040,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAbstractSpinBox::StepEnabled PythonQtShell_QSpinBox::stepEnabled() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13070,7 +13070,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13089,7 +13089,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSpinBox::textFromValue(int val0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("textFromValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13119,7 +13119,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13138,7 +13138,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QSpinBox::validate(QString& input0, int& pos1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13168,7 +13168,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSpinBox::valueFromText(const QString& text0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("valueFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13198,7 +13198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::wheelEvent(QWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13327,7 +13327,7 @@ PythonQtShell_QSplashScreen::~PythonQtShell_QSplashScreen() { } void PythonQtShell_QSplashScreen::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13346,7 +13346,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13365,7 +13365,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13384,7 +13384,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13403,7 +13403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13422,7 +13422,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13441,7 +13441,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplashScreen::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13471,7 +13471,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13490,7 +13490,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13509,7 +13509,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13528,7 +13528,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::drawContents(QPainter* painter0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13547,7 +13547,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13566,7 +13566,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13585,7 +13585,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplashScreen::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13615,7 +13615,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplashScreen::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13645,7 +13645,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13664,7 +13664,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplashScreen::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13694,7 +13694,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13713,7 +13713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplashScreen::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13743,7 +13743,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplashScreen::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13773,7 +13773,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13792,7 +13792,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13811,7 +13811,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13830,7 +13830,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSplashScreen::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13860,7 +13860,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13879,7 +13879,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13898,7 +13898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13917,7 +13917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplashScreen::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13947,7 +13947,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSplashScreen::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13977,7 +13977,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13996,7 +13996,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14015,7 +14015,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14034,7 +14034,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14053,7 +14053,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14072,7 +14072,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplashScreen::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14102,7 +14102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QSplashScreen::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14132,7 +14132,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14151,7 +14151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QSplashScreen::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14181,7 +14181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14200,7 +14200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QSplashScreen::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14230,7 +14230,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14249,7 +14249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSplashScreen::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14279,7 +14279,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14298,7 +14298,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14317,7 +14317,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14385,7 +14385,7 @@ PythonQtShell_QSplitter::~PythonQtShell_QSplitter() { } void PythonQtShell_QSplitter::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14404,7 +14404,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14423,7 +14423,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14442,7 +14442,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14461,7 +14461,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14480,7 +14480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSplitterHandle* PythonQtShell_QSplitter::createHandle() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createHandle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14510,7 +14510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14529,7 +14529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplitter::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14559,7 +14559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14578,7 +14578,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14597,7 +14597,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14616,7 +14616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14635,7 +14635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14654,7 +14654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitter::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14684,7 +14684,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitter::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14714,7 +14714,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14733,7 +14733,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitter::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14763,7 +14763,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14782,7 +14782,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitter::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14812,7 +14812,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplitter::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14842,7 +14842,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14861,7 +14861,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14880,7 +14880,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14899,7 +14899,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSplitter::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14929,7 +14929,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14948,7 +14948,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14967,7 +14967,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14986,7 +14986,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplitter::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15016,7 +15016,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15035,7 +15035,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15054,7 +15054,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15073,7 +15073,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15092,7 +15092,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15111,7 +15111,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitter::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15141,7 +15141,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QSplitter::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15171,7 +15171,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15190,7 +15190,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QSplitter::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15220,7 +15220,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15239,7 +15239,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QSplitter::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15269,7 +15269,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15288,7 +15288,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15307,7 +15307,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15326,7 +15326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15529,7 +15529,7 @@ PythonQtShell_QSplitterHandle::~PythonQtShell_QSplitterHandle() { } void PythonQtShell_QSplitterHandle::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15548,7 +15548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15567,7 +15567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15586,7 +15586,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15605,7 +15605,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15624,7 +15624,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15643,7 +15643,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplitterHandle::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15673,7 +15673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15692,7 +15692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15711,7 +15711,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15730,7 +15730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15749,7 +15749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15768,7 +15768,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitterHandle::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15798,7 +15798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitterHandle::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15828,7 +15828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15847,7 +15847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitterHandle::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15877,7 +15877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15896,7 +15896,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitterHandle::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15926,7 +15926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplitterHandle::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15956,7 +15956,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15975,7 +15975,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15994,7 +15994,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16013,7 +16013,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSplitterHandle::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16043,7 +16043,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16062,7 +16062,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16081,7 +16081,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16100,7 +16100,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplitterHandle::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16130,7 +16130,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSplitterHandle::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16160,7 +16160,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16179,7 +16179,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16198,7 +16198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16217,7 +16217,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16236,7 +16236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16255,7 +16255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitterHandle::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16285,7 +16285,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QSplitterHandle::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16315,7 +16315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16334,7 +16334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QSplitterHandle::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16364,7 +16364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16383,7 +16383,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QSplitterHandle::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16413,7 +16413,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16432,7 +16432,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16451,7 +16451,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16470,7 +16470,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp index df371ab9d..a5f2fbd1f 100644 --- a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp +++ b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp @@ -60,7 +60,7 @@ PythonQtShell_QStackedLayout::~PythonQtShell_QStackedLayout() { } void PythonQtShell_QStackedLayout::addItem(QLayoutItem* item0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -79,7 +79,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedLayout::childEvent(QChildEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -98,7 +98,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizePolicy::ControlTypes PythonQtShell_QStackedLayout::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -128,7 +128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStackedLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -158,7 +158,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -177,7 +177,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStackedLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -207,7 +207,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStackedLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -237,7 +237,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QStackedLayout::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -267,7 +267,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QStackedLayout::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -297,7 +297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStackedLayout::indexOf(QWidget* arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -327,7 +327,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -346,7 +346,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStackedLayout::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -376,7 +376,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QStackedLayout::itemAt(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -406,7 +406,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QStackedLayout::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -436,7 +436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStackedLayout::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -466,7 +466,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStackedLayout::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -496,7 +496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedLayout::setGeometry(const QRect& rect0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -515,7 +515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QStackedLayout::takeAt(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -545,7 +545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -667,7 +667,7 @@ PythonQtShell_QStackedWidget::~PythonQtShell_QStackedWidget() { } void PythonQtShell_QStackedWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -686,7 +686,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -705,7 +705,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -724,7 +724,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -743,7 +743,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -762,7 +762,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -781,7 +781,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStackedWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -811,7 +811,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -830,7 +830,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -849,7 +849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -868,7 +868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -887,7 +887,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -906,7 +906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStackedWidget::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -936,7 +936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStackedWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -966,7 +966,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -985,7 +985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStackedWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1015,7 +1015,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1034,7 +1034,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStackedWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1064,7 +1064,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStackedWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1094,7 +1094,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1113,7 +1113,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1132,7 +1132,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1151,7 +1151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QStackedWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1181,7 +1181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1200,7 +1200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1219,7 +1219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1238,7 +1238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStackedWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1268,7 +1268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStackedWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1298,7 +1298,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1317,7 +1317,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1336,7 +1336,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1355,7 +1355,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1374,7 +1374,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1393,7 +1393,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStackedWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1423,7 +1423,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QStackedWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1453,7 +1453,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1472,7 +1472,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QStackedWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1502,7 +1502,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1521,7 +1521,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QStackedWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1551,7 +1551,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1570,7 +1570,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1589,7 +1589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1608,7 +1608,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1682,7 +1682,7 @@ PythonQtShell_QStandardItem::~PythonQtShell_QStandardItem() { } QStandardItem* PythonQtShell_QStandardItem::clone() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1712,7 +1712,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QStandardItem::data(int role0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1742,7 +1742,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItem::__lt__(const QStandardItem& other0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("__lt__"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1772,7 +1772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItem::read(QDataStream& in0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1791,7 +1791,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItem::setData(const QVariant& value0, int role1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1810,7 +1810,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStandardItem::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1840,7 +1840,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItem::write(QDataStream& out0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2285,7 +2285,7 @@ PythonQtShell_QStandardItemModel::~PythonQtShell_QStandardItemModel() { } QModelIndex PythonQtShell_QStandardItemModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2315,7 +2315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2345,7 +2345,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2375,7 +2375,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItemModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2394,7 +2394,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStandardItemModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2424,7 +2424,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItemModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2443,7 +2443,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QStandardItemModel::data(const QModelIndex& index0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2473,7 +2473,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2503,7 +2503,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2533,7 +2533,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2563,7 +2563,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItemModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2582,7 +2582,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QStandardItemModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2612,7 +2612,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::hasChildren(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2642,7 +2642,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QStandardItemModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2672,7 +2672,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QStandardItemModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2702,7 +2702,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2732,7 +2732,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2762,7 +2762,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QStandardItemModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2792,7 +2792,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QStandardItemModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2822,7 +2822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QStandardItemModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2852,7 +2852,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QStandardItemModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2882,7 +2882,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2912,7 +2912,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2942,7 +2942,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QStandardItemModel::parent(const QModelIndex& child0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2972,7 +2972,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3002,7 +3002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3032,7 +3032,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItemModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3051,7 +3051,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QStandardItemModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3081,7 +3081,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStandardItemModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3111,7 +3111,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3141,7 +3141,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3171,7 +3171,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3201,7 +3201,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QStandardItemModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3231,7 +3231,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItemModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3250,7 +3250,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStandardItemModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3280,7 +3280,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3310,7 +3310,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QStandardItemModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3340,7 +3340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QStandardItemModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3370,7 +3370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItemModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3767,7 +3767,7 @@ PythonQtShell_QStatusBar::~PythonQtShell_QStatusBar() { } void PythonQtShell_QStatusBar::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3786,7 +3786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3805,7 +3805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3824,7 +3824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3843,7 +3843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3862,7 +3862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3881,7 +3881,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStatusBar::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3911,7 +3911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3930,7 +3930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3949,7 +3949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3968,7 +3968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3987,7 +3987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4006,7 +4006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStatusBar::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4036,7 +4036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStatusBar::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4066,7 +4066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4085,7 +4085,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStatusBar::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4115,7 +4115,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4134,7 +4134,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStatusBar::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4164,7 +4164,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStatusBar::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4194,7 +4194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4213,7 +4213,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4232,7 +4232,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4251,7 +4251,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QStatusBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4281,7 +4281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4300,7 +4300,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4319,7 +4319,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4338,7 +4338,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStatusBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4368,7 +4368,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStatusBar::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4398,7 +4398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4417,7 +4417,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4436,7 +4436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4455,7 +4455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4474,7 +4474,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4493,7 +4493,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStatusBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4523,7 +4523,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QStatusBar::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4553,7 +4553,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4572,7 +4572,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QStatusBar::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4602,7 +4602,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4621,7 +4621,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QStatusBar::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4651,7 +4651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4670,7 +4670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStatusBar::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4700,7 +4700,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4719,7 +4719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4738,7 +4738,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4848,7 +4848,7 @@ PythonQtShell_QStringListModel::~PythonQtShell_QStringListModel() { } QModelIndex PythonQtShell_QStringListModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4878,7 +4878,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4908,7 +4908,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4938,7 +4938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStringListModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4957,7 +4957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStringListModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4976,7 +4976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QStringListModel::data(const QModelIndex& index0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5006,7 +5006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5036,7 +5036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5066,7 +5066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5096,7 +5096,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStringListModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5115,7 +5115,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QStringListModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5145,7 +5145,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QStringListModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5175,7 +5175,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QStringListModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5205,7 +5205,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5235,7 +5235,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5265,7 +5265,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QStringListModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5295,7 +5295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QStringListModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5325,7 +5325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QStringListModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5355,7 +5355,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QStringListModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5385,7 +5385,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5415,7 +5415,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5445,7 +5445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5475,7 +5475,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5505,7 +5505,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStringListModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5524,7 +5524,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QStringListModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5554,7 +5554,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStringListModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5584,7 +5584,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5614,7 +5614,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5644,7 +5644,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5674,7 +5674,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QStringListModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5704,7 +5704,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStringListModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5723,7 +5723,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStringListModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5753,7 +5753,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5783,7 +5783,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QStringListModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5813,7 +5813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QStringListModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5843,7 +5843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStringListModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5931,7 +5931,7 @@ PythonQtShell_QStyle::~PythonQtShell_QStyle() { } void PythonQtShell_QStyle::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5950,7 +5950,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5969,7 +5969,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::drawComplexControl(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QPainter* p2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5988,7 +5988,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::drawControl(QStyle::ControlElement element0, const QStyleOption* opt1, QPainter* p2, const QWidget* w3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6007,7 +6007,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::drawItemPixmap(QPainter* painter0, const QRect& rect1, int alignment2, const QPixmap& pixmap3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawItemPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6026,7 +6026,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::drawItemText(QPainter* painter0, const QRect& rect1, int flags2, const QPalette& pal3, bool enabled4, const QString& text5, QPalette::ColorRole textRole6) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawItemText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6045,7 +6045,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::drawPrimitive(QStyle::PrimitiveElement pe0, const QStyleOption* opt1, QPainter* p2, const QWidget* w3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPrimitive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6064,7 +6064,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStyle::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6094,7 +6094,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStyle::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6124,7 +6124,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPixmap PythonQtShell_QStyle::generatedIconPixmap(QIcon::Mode iconMode0, const QPixmap& pixmap1, const QStyleOption* opt2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("generatedIconPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6154,7 +6154,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyle::SubControl PythonQtShell_QStyle::hitTestComplexControl(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, const QPoint& pt2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitTestComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6184,7 +6184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QStyle::itemPixmapRect(const QRect& r0, int flags1, const QPixmap& pixmap2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemPixmapRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6214,7 +6214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QStyle::itemTextRect(const QFontMetrics& fm0, const QRect& r1, int flags2, bool enabled3, const QString& text4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemTextRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6244,7 +6244,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStyle::layoutSpacing(QSizePolicy::ControlType control10, QSizePolicy::ControlType control21, Qt::Orientation orientation2, const QStyleOption* option3, const QWidget* widget4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layoutSpacing"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6274,7 +6274,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStyle::pixelMetric(QStyle::PixelMetric metric0, const QStyleOption* option1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pixelMetric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6304,7 +6304,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::polish(QApplication* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6323,7 +6323,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::polish(QPalette& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6342,7 +6342,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::polish(QWidget* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6361,7 +6361,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStyle::sizeFromContents(QStyle::ContentsType ct0, const QStyleOption* opt1, const QSize& contentsSize2, const QWidget* w3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6391,7 +6391,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIcon PythonQtShell_QStyle::standardIcon(QStyle::StandardPixmap standardIcon0, const QStyleOption* option1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardIcon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6421,7 +6421,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPalette PythonQtShell_QStyle::standardPalette() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardPalette"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6451,7 +6451,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPixmap PythonQtShell_QStyle::standardPixmap(QStyle::StandardPixmap standardPixmap0, const QStyleOption* opt1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6481,7 +6481,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStyle::styleHint(QStyle::StyleHint stylehint0, const QStyleOption* opt1, const QWidget* widget2, QStyleHintReturn* returnData3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("styleHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6511,7 +6511,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QStyle::subControlRect(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QStyle::SubControl sc2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("subControlRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6541,7 +6541,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QStyle::subElementRect(QStyle::SubElement subElement0, const QStyleOption* option1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("subElementRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6571,7 +6571,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6590,7 +6590,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::unpolish(QApplication* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6609,7 +6609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::unpolish(QWidget* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp index b15509c18..14c91632e 100644 --- a/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp +++ b/generated_cpp_53/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp @@ -411,7 +411,7 @@ PythonQtShell_QStylePlugin::~PythonQtShell_QStylePlugin() { } void PythonQtShell_QStylePlugin::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -430,7 +430,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyle* PythonQtShell_QStylePlugin::create(const QString& key0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -460,7 +460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStylePlugin::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -479,7 +479,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStylePlugin::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -509,7 +509,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStylePlugin::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -539,7 +539,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStylePlugin::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -573,7 +573,7 @@ PythonQtShell_QStyledItemDelegate::~PythonQtShell_QStyledItemDelegate() { } void PythonQtShell_QStyledItemDelegate::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -592,7 +592,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QStyledItemDelegate::createEditor(QWidget* parent0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -622,7 +622,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyledItemDelegate::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -641,7 +641,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyledItemDelegate::destroyEditor(QWidget* editor0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("destroyEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -660,7 +660,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QStyledItemDelegate::displayText(const QVariant& value0, const QLocale& locale1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("displayText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -690,7 +690,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStyledItemDelegate::editorEvent(QEvent* event0, QAbstractItemModel* model1, const QStyleOptionViewItem& option2, const QModelIndex& index3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -720,7 +720,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStyledItemDelegate::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -750,7 +750,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStyledItemDelegate::eventFilter(QObject* object0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -780,7 +780,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStyledItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemView* view1, const QStyleOptionViewItem& option2, const QModelIndex& index3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -810,7 +810,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyledItemDelegate::initStyleOption(QStyleOptionViewItem* option0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -829,7 +829,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyledItemDelegate::paint(QPainter* painter0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -848,7 +848,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVector PythonQtShell_QStyledItemDelegate::paintingRoles() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintingRoles"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -878,7 +878,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyledItemDelegate::setEditorData(QWidget* editor0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -897,7 +897,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyledItemDelegate::setModelData(QWidget* editor0, QAbstractItemModel* model1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModelData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -916,7 +916,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStyledItemDelegate::sizeHint(const QStyleOptionViewItem& option0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -946,7 +946,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyledItemDelegate::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -965,7 +965,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyledItemDelegate::updateEditorGeometry(QWidget* editor0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1054,7 +1054,7 @@ PythonQtShell_QSurface::~PythonQtShell_QSurface() { } QSurfaceFormat PythonQtShell_QSurface::format() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1084,7 +1084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSurface::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1114,7 +1114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPlatformSurface* PythonQtShell_QSurface::surfaceHandle() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("surfaceHandle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1144,7 +1144,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSurface::SurfaceType PythonQtShell_QSurface::surfaceType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1430,7 +1430,7 @@ PythonQtShell_QSwipeGesture::~PythonQtShell_QSwipeGesture() { } void PythonQtShell_QSwipeGesture::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1449,7 +1449,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSwipeGesture::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1468,7 +1468,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSwipeGesture::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1498,7 +1498,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSwipeGesture::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1528,7 +1528,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSwipeGesture::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1577,7 +1577,7 @@ PythonQtShell_QSyntaxHighlighter::~PythonQtShell_QSyntaxHighlighter() { } void PythonQtShell_QSyntaxHighlighter::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1596,7 +1596,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSyntaxHighlighter::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1615,7 +1615,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSyntaxHighlighter::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1645,7 +1645,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSyntaxHighlighter::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1675,7 +1675,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSyntaxHighlighter::highlightBlock(const QString& text0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("highlightBlock"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1694,7 +1694,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSyntaxHighlighter::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1792,7 +1792,7 @@ PythonQtShell_QSystemTrayIcon::~PythonQtShell_QSystemTrayIcon() { } void PythonQtShell_QSystemTrayIcon::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1811,7 +1811,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSystemTrayIcon::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1830,7 +1830,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSystemTrayIcon::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1860,7 +1860,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSystemTrayIcon::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1890,7 +1890,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSystemTrayIcon::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1978,7 +1978,7 @@ PythonQtShell_QTabBar::~PythonQtShell_QTabBar() { } void PythonQtShell_QTabBar::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1997,7 +1997,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2016,7 +2016,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2035,7 +2035,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2054,7 +2054,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2073,7 +2073,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2092,7 +2092,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTabBar::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2122,7 +2122,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2141,7 +2141,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2160,7 +2160,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2179,7 +2179,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2198,7 +2198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2217,7 +2217,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabBar::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2247,7 +2247,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabBar::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2277,7 +2277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2296,7 +2296,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabBar::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2326,7 +2326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2345,7 +2345,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabBar::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2375,7 +2375,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTabBar::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2405,7 +2405,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2424,7 +2424,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2443,7 +2443,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2462,7 +2462,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTabBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2492,7 +2492,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2511,7 +2511,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2530,7 +2530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2549,7 +2549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTabBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2579,7 +2579,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QTabBar::minimumTabSizeHint(int index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumTabSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2609,7 +2609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2628,7 +2628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2647,7 +2647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2666,7 +2666,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2685,7 +2685,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2704,7 +2704,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2734,7 +2734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTabBar::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2764,7 +2764,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2783,7 +2783,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTabBar::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2813,7 +2813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2832,7 +2832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTabBar::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2862,7 +2862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2881,7 +2881,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::tabInserted(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2900,7 +2900,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::tabLayoutChange() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabLayoutChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2919,7 +2919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::tabRemoved(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2938,7 +2938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QTabBar::tabSizeHint(int index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2968,7 +2968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2987,7 +2987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3006,7 +3006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::wheelEvent(QWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3360,7 +3360,7 @@ PythonQtShell_QTabWidget::~PythonQtShell_QTabWidget() { } void PythonQtShell_QTabWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3379,7 +3379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3398,7 +3398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3417,7 +3417,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3436,7 +3436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3455,7 +3455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3474,7 +3474,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTabWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3504,7 +3504,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3523,7 +3523,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3542,7 +3542,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3561,7 +3561,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3580,7 +3580,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3599,7 +3599,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabWidget::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3629,7 +3629,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3659,7 +3659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3678,7 +3678,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3708,7 +3708,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3727,7 +3727,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3757,7 +3757,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTabWidget::heightForWidth(int width0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3787,7 +3787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3806,7 +3806,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3825,7 +3825,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3844,7 +3844,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTabWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3874,7 +3874,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3893,7 +3893,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3912,7 +3912,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3931,7 +3931,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTabWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3961,7 +3961,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3980,7 +3980,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3999,7 +3999,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4018,7 +4018,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4037,7 +4037,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4056,7 +4056,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4086,7 +4086,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTabWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4116,7 +4116,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4135,7 +4135,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTabWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4165,7 +4165,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4184,7 +4184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTabWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4214,7 +4214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4233,7 +4233,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::tabInserted(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4252,7 +4252,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::tabRemoved(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4271,7 +4271,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4290,7 +4290,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4309,7 +4309,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4608,7 +4608,7 @@ PythonQtShell_QTableView::~PythonQtShell_QTableView() { } void PythonQtShell_QTableView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4627,7 +4627,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4646,7 +4646,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4665,7 +4665,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4684,7 +4684,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4703,7 +4703,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4722,7 +4722,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4741,7 +4741,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4760,7 +4760,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4779,7 +4779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4798,7 +4798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4828,7 +4828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4847,7 +4847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4866,7 +4866,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::dragLeaveEvent(QDragLeaveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4885,7 +4885,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::dragMoveEvent(QDragMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4904,7 +4904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4923,7 +4923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4953,7 +4953,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4972,7 +4972,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4991,7 +4991,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableView::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5021,7 +5021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5051,7 +5051,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5070,7 +5070,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5100,7 +5100,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5119,7 +5119,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5149,7 +5149,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5179,7 +5179,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5198,7 +5198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableView::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5228,7 +5228,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5247,7 +5247,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5266,7 +5266,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QTableView::indexAt(const QPoint& p0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5296,7 +5296,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5315,7 +5315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5334,7 +5334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTableView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5364,7 +5364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableView::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5394,7 +5394,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5413,7 +5413,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5432,7 +5432,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5451,7 +5451,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5470,7 +5470,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5500,7 +5500,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5519,7 +5519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5538,7 +5538,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5557,7 +5557,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5576,7 +5576,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5595,7 +5595,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5625,7 +5625,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTableView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5655,7 +5655,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5674,7 +5674,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTableView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5704,7 +5704,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5723,7 +5723,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5742,7 +5742,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5761,7 +5761,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5780,7 +5780,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5799,7 +5799,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5818,7 +5818,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5837,7 +5837,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QTableView::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5867,7 +5867,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5886,7 +5886,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QTableView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5916,7 +5916,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::setModel(QAbstractItemModel* model0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5935,7 +5935,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5954,7 +5954,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5973,7 +5973,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5992,7 +5992,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6011,7 +6011,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTableView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6041,7 +6041,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6060,7 +6060,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableView::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6090,7 +6090,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableView::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6120,7 +6120,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6139,7 +6139,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6158,7 +6158,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6177,7 +6177,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6196,7 +6196,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6215,7 +6215,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6234,7 +6234,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableView::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6264,7 +6264,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6283,7 +6283,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6302,7 +6302,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QTableView::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6332,7 +6332,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableView::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6362,7 +6362,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QTableView::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6392,7 +6392,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QTableView::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6422,7 +6422,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QTableView::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6452,7 +6452,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp b/generated_cpp_53/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp index 364a44b16..ca5d580ae 100644 --- a/generated_cpp_53/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp +++ b/generated_cpp_53/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp @@ -52,7 +52,7 @@ PythonQtShell_QBitmap::~PythonQtShell_QBitmap() { } int PythonQtShell_QBitmap::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -82,7 +82,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QBitmap::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -112,7 +112,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QBitmap::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1408,7 +1408,7 @@ PythonQtShell_QImage::~PythonQtShell_QImage() { } int PythonQtShell_QImage::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1438,7 +1438,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QImage::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1457,7 +1457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QImage::metric(QPaintDevice::PaintDeviceMetric metric0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1487,7 +1487,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QImage::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1517,7 +1517,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QImage::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1547,7 +1547,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QImage::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2731,7 +2731,7 @@ PythonQtShell_QPixmap::~PythonQtShell_QPixmap() { } int PythonQtShell_QPixmap::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2761,7 +2761,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPixmap::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2780,7 +2780,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPixmap::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2810,7 +2810,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPixmap::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2840,7 +2840,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPixmap::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2870,7 +2870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPixmap::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp b/generated_cpp_53/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp index 4e1d48111..a8086023b 100644 --- a/generated_cpp_53/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp +++ b/generated_cpp_53/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp @@ -77,7 +77,7 @@ PythonQtShell_QAbstractVideoBuffer::~PythonQtShell_QAbstractVideoBuffer() { } QVariant PythonQtShell_QAbstractVideoBuffer::handle() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("handle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -107,7 +107,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } uchar* PythonQtShell_QAbstractVideoBuffer::map(QAbstractVideoBuffer::MapMode mode0, int* numBytes1, int* bytesPerLine2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("map"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -137,7 +137,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAbstractVideoBuffer::MapMode PythonQtShell_QAbstractVideoBuffer::mapMode() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -167,7 +167,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractVideoBuffer::release() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("release"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -186,7 +186,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractVideoBuffer::unmap() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -245,7 +245,7 @@ PythonQtShell_QAbstractVideoSurface::~PythonQtShell_QAbstractVideoSurface() { } void PythonQtShell_QAbstractVideoSurface::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -264,7 +264,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractVideoSurface::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -283,7 +283,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractVideoSurface::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -313,7 +313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractVideoSurface::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -343,7 +343,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractVideoSurface::isFormatSupported(const QVideoSurfaceFormat& format0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isFormatSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -373,7 +373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVideoSurfaceFormat PythonQtShell_QAbstractVideoSurface::nearestFormat(const QVideoSurfaceFormat& format0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nearestFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -403,7 +403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractVideoSurface::present(const QVideoFrame& frame0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("present"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -433,7 +433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractVideoSurface::start(const QVideoSurfaceFormat& format0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("start"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -463,7 +463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractVideoSurface::stop() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stop"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -482,7 +482,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QAbstractVideoSurface::supportedPixelFormats(QAbstractVideoBuffer::HandleType handleType0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedPixelFormats"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -512,7 +512,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractVideoSurface::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -676,7 +676,7 @@ PythonQtShell_QAudioDecoder::~PythonQtShell_QAudioDecoder() { } QMultimedia::AvailabilityStatus PythonQtShell_QAudioDecoder::availability() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -706,7 +706,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioDecoder::bind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -736,7 +736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioDecoder::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -755,7 +755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioDecoder::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -774,7 +774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioDecoder::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -804,7 +804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioDecoder::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -834,7 +834,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioDecoder::isAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -864,7 +864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaService* PythonQtShell_QAudioDecoder::service() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -894,7 +894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioDecoder::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -913,7 +913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioDecoder::unbind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1359,7 +1359,7 @@ PythonQtShell_QAudioInput::~PythonQtShell_QAudioInput() { } void PythonQtShell_QAudioInput::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1378,7 +1378,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioInput::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1397,7 +1397,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioInput::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1427,7 +1427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioInput::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1457,7 +1457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioInput::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1585,7 +1585,7 @@ PythonQtShell_QAudioOutput::~PythonQtShell_QAudioOutput() { } void PythonQtShell_QAudioOutput::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1604,7 +1604,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioOutput::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1623,7 +1623,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioOutput::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1653,7 +1653,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioOutput::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1683,7 +1683,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioOutput::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1821,7 +1821,7 @@ PythonQtShell_QAudioProbe::~PythonQtShell_QAudioProbe() { } void PythonQtShell_QAudioProbe::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1840,7 +1840,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioProbe::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1859,7 +1859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioProbe::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1889,7 +1889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioProbe::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1919,7 +1919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioProbe::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1963,7 +1963,7 @@ PythonQtShell_QAudioRecorder::~PythonQtShell_QAudioRecorder() { } void PythonQtShell_QAudioRecorder::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1982,7 +1982,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioRecorder::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2001,7 +2001,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioRecorder::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2031,7 +2031,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioRecorder::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2061,7 +2061,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaObject* PythonQtShell_QAudioRecorder::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2091,7 +2091,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioRecorder::setMediaObject(QMediaObject* object0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2121,7 +2121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioRecorder::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2170,7 +2170,7 @@ PythonQtShell_QCamera::~PythonQtShell_QCamera() { } QMultimedia::AvailabilityStatus PythonQtShell_QCamera::availability() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2200,7 +2200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCamera::bind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2230,7 +2230,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCamera::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2249,7 +2249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCamera::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2268,7 +2268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCamera::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2298,7 +2298,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCamera::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2328,7 +2328,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCamera::isAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2358,7 +2358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaService* PythonQtShell_QCamera::service() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2388,7 +2388,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCamera::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2407,7 +2407,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCamera::unbind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2771,7 +2771,7 @@ PythonQtShell_QCameraImageCapture::~PythonQtShell_QCameraImageCapture() { } void PythonQtShell_QCameraImageCapture::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2790,7 +2790,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraImageCapture::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2809,7 +2809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraImageCapture::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2839,7 +2839,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraImageCapture::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2869,7 +2869,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaObject* PythonQtShell_QCameraImageCapture::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2899,7 +2899,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraImageCapture::setMediaObject(QMediaObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2929,7 +2929,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraImageCapture::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3191,7 +3191,7 @@ PythonQtShell_QCameraViewfinder::~PythonQtShell_QCameraViewfinder() { } void PythonQtShell_QCameraViewfinder::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3210,7 +3210,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3229,7 +3229,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3248,7 +3248,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3267,7 +3267,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3286,7 +3286,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3305,7 +3305,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCameraViewfinder::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3335,7 +3335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3354,7 +3354,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3373,7 +3373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3392,7 +3392,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3411,7 +3411,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3430,7 +3430,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraViewfinder::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3460,7 +3460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraViewfinder::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3490,7 +3490,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3509,7 +3509,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraViewfinder::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3539,7 +3539,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3558,7 +3558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraViewfinder::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3588,7 +3588,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCameraViewfinder::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3618,7 +3618,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3637,7 +3637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3656,7 +3656,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3675,7 +3675,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QCameraViewfinder::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3705,7 +3705,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3724,7 +3724,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3743,7 +3743,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3762,7 +3762,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaObject* PythonQtShell_QCameraViewfinder::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3792,7 +3792,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCameraViewfinder::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3822,7 +3822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QCameraViewfinder::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3852,7 +3852,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3871,7 +3871,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3890,7 +3890,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3909,7 +3909,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3928,7 +3928,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::moveEvent(QMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3947,7 +3947,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraViewfinder::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3977,7 +3977,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QCameraViewfinder::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4007,7 +4007,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4026,7 +4026,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QCameraViewfinder::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4056,7 +4056,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4075,7 +4075,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraViewfinder::setMediaObject(QMediaObject* object0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4105,7 +4105,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QCameraViewfinder::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4135,7 +4135,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4154,7 +4154,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4173,7 +4173,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4192,7 +4192,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4231,7 +4231,7 @@ PythonQtShell_QGraphicsVideoItem::~PythonQtShell_QGraphicsVideoItem() { } void PythonQtShell_QGraphicsVideoItem::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4250,7 +4250,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsVideoItem::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4269,7 +4269,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsVideoItem::event(QEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4299,7 +4299,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsVideoItem::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4329,7 +4329,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaObject* PythonQtShell_QGraphicsVideoItem::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4359,7 +4359,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsVideoItem::setMediaObject(QMediaObject* object0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4389,7 +4389,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsVideoItem::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4568,7 +4568,7 @@ PythonQtShell_QMediaBindableInterface::~PythonQtShell_QMediaBindableInterface() } QMediaObject* PythonQtShell_QMediaBindableInterface::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4598,7 +4598,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaBindableInterface::setMediaObject(QMediaObject* object0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4723,7 +4723,7 @@ PythonQtShell_QMediaControl::~PythonQtShell_QMediaControl() { } void PythonQtShell_QMediaControl::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4742,7 +4742,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaControl::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4761,7 +4761,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaControl::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4791,7 +4791,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaControl::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4821,7 +4821,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaControl::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4850,7 +4850,7 @@ PythonQtShell_QMediaObject::~PythonQtShell_QMediaObject() { } QMultimedia::AvailabilityStatus PythonQtShell_QMediaObject::availability() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4880,7 +4880,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaObject::bind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4910,7 +4910,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaObject::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4929,7 +4929,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaObject::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4948,7 +4948,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaObject::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4978,7 +4978,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaObject::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5008,7 +5008,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaObject::isAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5038,7 +5038,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaService* PythonQtShell_QMediaObject::service() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5068,7 +5068,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaObject::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5087,7 +5087,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaObject::unbind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5176,7 +5176,7 @@ PythonQtShell_QMediaPlayer::~PythonQtShell_QMediaPlayer() { } QMultimedia::AvailabilityStatus PythonQtShell_QMediaPlayer::availability() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5206,7 +5206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaPlayer::bind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5236,7 +5236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaPlayer::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5255,7 +5255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaPlayer::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5274,7 +5274,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaPlayer::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5304,7 +5304,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaPlayer::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5334,7 +5334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaPlayer::isAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5364,7 +5364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaService* PythonQtShell_QMediaPlayer::service() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5394,7 +5394,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaPlayer::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5413,7 +5413,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaPlayer::unbind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5572,7 +5572,7 @@ PythonQtShell_QMediaPlaylist::~PythonQtShell_QMediaPlaylist() { } void PythonQtShell_QMediaPlaylist::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5591,7 +5591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaPlaylist::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5610,7 +5610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaPlaylist::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5640,7 +5640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaPlaylist::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5670,7 +5670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaObject* PythonQtShell_QMediaPlaylist::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5700,7 +5700,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaPlaylist::setMediaObject(QMediaObject* object0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5730,7 +5730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaPlaylist::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5889,7 +5889,7 @@ PythonQtShell_QMediaRecorder::~PythonQtShell_QMediaRecorder() { } void PythonQtShell_QMediaRecorder::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5908,7 +5908,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaRecorder::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5927,7 +5927,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaRecorder::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5957,7 +5957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaRecorder::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5987,7 +5987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaObject* PythonQtShell_QMediaRecorder::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6017,7 +6017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaRecorder::setMediaObject(QMediaObject* object0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6047,7 +6047,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaRecorder::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp b/generated_cpp_53/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp index 55c7c8920..b6a7dbefb 100644 --- a/generated_cpp_53/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp +++ b/generated_cpp_53/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp @@ -57,7 +57,7 @@ PythonQtShell_QMediaService::~PythonQtShell_QMediaService() { } void PythonQtShell_QMediaService::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -76,7 +76,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaService::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -95,7 +95,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaService::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -125,7 +125,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaService::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -155,7 +155,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaService::releaseControl(QMediaControl* control0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("releaseControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -174,7 +174,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaControl* PythonQtShell_QMediaService::requestControl(const char* name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("requestControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -204,7 +204,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaService::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -429,7 +429,7 @@ PythonQtShell_QRadioData::~PythonQtShell_QRadioData() { } void PythonQtShell_QRadioData::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -448,7 +448,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioData::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -467,7 +467,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioData::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -497,7 +497,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioData::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -527,7 +527,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaObject* PythonQtShell_QRadioData::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -557,7 +557,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioData::setMediaObject(QMediaObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -587,7 +587,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioData::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -671,7 +671,7 @@ PythonQtShell_QRadioTuner::~PythonQtShell_QRadioTuner() { } QMultimedia::AvailabilityStatus PythonQtShell_QRadioTuner::availability() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -701,7 +701,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioTuner::bind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -731,7 +731,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioTuner::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -750,7 +750,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioTuner::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -769,7 +769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioTuner::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -799,7 +799,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioTuner::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -829,7 +829,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioTuner::isAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -859,7 +859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaService* PythonQtShell_QRadioTuner::service() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -889,7 +889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioTuner::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -908,7 +908,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioTuner::unbind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1027,7 +1027,7 @@ PythonQtShell_QSoundEffect::~PythonQtShell_QSoundEffect() { } void PythonQtShell_QSoundEffect::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1046,7 +1046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSoundEffect::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1065,7 +1065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSoundEffect::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1095,7 +1095,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSoundEffect::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1125,7 +1125,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSoundEffect::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1518,7 +1518,7 @@ PythonQtShell_QVideoProbe::~PythonQtShell_QVideoProbe() { } void PythonQtShell_QVideoProbe::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1537,7 +1537,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoProbe::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1556,7 +1556,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVideoProbe::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1586,7 +1586,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVideoProbe::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1616,7 +1616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoProbe::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1811,7 +1811,7 @@ PythonQtShell_QVideoWidget::~PythonQtShell_QVideoWidget() { } void PythonQtShell_QVideoWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1830,7 +1830,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1849,7 +1849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1868,7 +1868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1887,7 +1887,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1906,7 +1906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1925,7 +1925,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QVideoWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1955,7 +1955,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1974,7 +1974,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1993,7 +1993,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2012,7 +2012,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2031,7 +2031,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2050,7 +2050,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVideoWidget::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2080,7 +2080,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVideoWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2110,7 +2110,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2129,7 +2129,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVideoWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2159,7 +2159,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2178,7 +2178,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVideoWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2208,7 +2208,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QVideoWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2238,7 +2238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2257,7 +2257,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2276,7 +2276,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2295,7 +2295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QVideoWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2325,7 +2325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2344,7 +2344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2363,7 +2363,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2382,7 +2382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaObject* PythonQtShell_QVideoWidget::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2412,7 +2412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QVideoWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2442,7 +2442,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QVideoWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2472,7 +2472,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2491,7 +2491,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2510,7 +2510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2529,7 +2529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2548,7 +2548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::moveEvent(QMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2567,7 +2567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVideoWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2597,7 +2597,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QVideoWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2627,7 +2627,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2646,7 +2646,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QVideoWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2676,7 +2676,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2695,7 +2695,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVideoWidget::setMediaObject(QMediaObject* object0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2725,7 +2725,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QVideoWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2755,7 +2755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2774,7 +2774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2793,7 +2793,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2812,7 +2812,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_network/com_trolltech_qt_network0.cpp b/generated_cpp_53/com_trolltech_qt_network/com_trolltech_qt_network0.cpp index 77eb6ebfa..5d3529ddc 100644 --- a/generated_cpp_53/com_trolltech_qt_network/com_trolltech_qt_network0.cpp +++ b/generated_cpp_53/com_trolltech_qt_network/com_trolltech_qt_network0.cpp @@ -46,7 +46,7 @@ PythonQtShell_QAbstractNetworkCache::~PythonQtShell_QAbstractNetworkCache() { } qint64 PythonQtShell_QAbstractNetworkCache::cacheSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("cacheSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -76,7 +76,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractNetworkCache::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -95,7 +95,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractNetworkCache::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -114,7 +114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractNetworkCache::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -133,7 +133,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIODevice* PythonQtShell_QAbstractNetworkCache::data(const QUrl& url0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -163,7 +163,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractNetworkCache::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -193,7 +193,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractNetworkCache::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -223,7 +223,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractNetworkCache::insert(QIODevice* device0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -242,7 +242,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QNetworkCacheMetaData PythonQtShell_QAbstractNetworkCache::metaData(const QUrl& url0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -272,7 +272,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIODevice* PythonQtShell_QAbstractNetworkCache::prepare(const QNetworkCacheMetaData& metaData0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("prepare"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -302,7 +302,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractNetworkCache::remove(const QUrl& url0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("remove"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -332,7 +332,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractNetworkCache::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -351,7 +351,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractNetworkCache::updateMetaData(const QNetworkCacheMetaData& metaData0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateMetaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -420,7 +420,7 @@ PythonQtShell_QAbstractSocket::~PythonQtShell_QAbstractSocket() { } bool PythonQtShell_QAbstractSocket::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -450,7 +450,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QAbstractSocket::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -480,7 +480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QAbstractSocket::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -510,7 +510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -540,7 +540,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -559,7 +559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -578,7 +578,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::connectToHost(const QHostAddress& address0, unsigned short port1, QIODevice::OpenMode mode2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -597,7 +597,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::connectToHost(const QString& hostName0, unsigned short port1, QIODevice::OpenMode mode2, QAbstractSocket::NetworkLayerProtocol protocol3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -616,7 +616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -635,7 +635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::disconnectFromHost() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("disconnectFromHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -654,7 +654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -684,7 +684,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -714,7 +714,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -744,7 +744,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -774,7 +774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QAbstractSocket::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -804,7 +804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QAbstractSocket::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -834,7 +834,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QAbstractSocket::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -864,7 +864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -894,7 +894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::resume() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -913,7 +913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::seek(qint64 pos0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -943,7 +943,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::setReadBufferSize(qint64 size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -962,7 +962,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::setSocketOption(QAbstractSocket::SocketOption option0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSocketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -981,7 +981,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QAbstractSocket::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1011,7 +1011,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractSocket::socketOption(QAbstractSocket::SocketOption option0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("socketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1041,7 +1041,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1060,7 +1060,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1090,7 +1090,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::waitForConnected(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1120,7 +1120,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::waitForDisconnected(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForDisconnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1150,7 +1150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1180,7 +1180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QAbstractSocket::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1727,7 +1727,7 @@ PythonQtShell_QHttpMultiPart::~PythonQtShell_QHttpMultiPart() { } void PythonQtShell_QHttpMultiPart::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1746,7 +1746,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHttpMultiPart::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1765,7 +1765,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHttpMultiPart::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1795,7 +1795,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHttpMultiPart::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1825,7 +1825,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHttpMultiPart::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1938,7 +1938,7 @@ PythonQtShell_QLocalServer::~PythonQtShell_QLocalServer() { } void PythonQtShell_QLocalServer::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1957,7 +1957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLocalServer::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1976,7 +1976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalServer::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2006,7 +2006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalServer::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2036,7 +2036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalServer::hasPendingConnections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasPendingConnections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2066,7 +2066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLocalServer::incomingConnection(quintptr socketDescriptor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("incomingConnection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2085,7 +2085,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLocalSocket* PythonQtShell_QLocalServer::nextPendingConnection() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextPendingConnection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2115,7 +2115,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLocalServer::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2224,7 +2224,7 @@ PythonQtShell_QLocalSocket::~PythonQtShell_QLocalSocket() { } bool PythonQtShell_QLocalSocket::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2254,7 +2254,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QLocalSocket::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2284,7 +2284,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QLocalSocket::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2314,7 +2314,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2344,7 +2344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLocalSocket::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2363,7 +2363,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLocalSocket::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2382,7 +2382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLocalSocket::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2401,7 +2401,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2431,7 +2431,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2461,7 +2461,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2491,7 +2491,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::open(QIODevice::OpenMode openMode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2521,7 +2521,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QLocalSocket::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2551,7 +2551,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QLocalSocket::readData(char* arg__1, qint64 arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2581,7 +2581,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QLocalSocket::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2611,7 +2611,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2641,7 +2641,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::seek(qint64 pos0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2671,7 +2671,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QLocalSocket::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2701,7 +2701,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLocalSocket::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2720,7 +2720,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2750,7 +2750,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2780,7 +2780,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QLocalSocket::writeData(const char* arg__1, qint64 arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2945,7 +2945,7 @@ PythonQtShell_QNetworkAccessManager::~PythonQtShell_QNetworkAccessManager() { } void PythonQtShell_QNetworkAccessManager::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2964,7 +2964,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QNetworkReply* PythonQtShell_QNetworkAccessManager::createRequest(QNetworkAccessManager::Operation op0, const QNetworkRequest& request1, QIODevice* outgoingData2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createRequest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2994,7 +2994,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkAccessManager::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3013,7 +3013,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkAccessManager::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3043,7 +3043,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkAccessManager::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3073,7 +3073,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkAccessManager::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3492,7 +3492,7 @@ PythonQtShell_QNetworkConfigurationManager::~PythonQtShell_QNetworkConfiguration } void PythonQtShell_QNetworkConfigurationManager::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3511,7 +3511,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkConfigurationManager::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3530,7 +3530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkConfigurationManager::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3560,7 +3560,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkConfigurationManager::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3590,7 +3590,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkConfigurationManager::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3771,7 +3771,7 @@ PythonQtShell_QNetworkCookieJar::~PythonQtShell_QNetworkCookieJar() { } void PythonQtShell_QNetworkCookieJar::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3790,7 +3790,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QNetworkCookieJar::cookiesForUrl(const QUrl& url0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("cookiesForUrl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3820,7 +3820,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkCookieJar::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3839,7 +3839,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkCookieJar::deleteCookie(const QNetworkCookie& cookie0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("deleteCookie"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3869,7 +3869,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkCookieJar::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3899,7 +3899,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkCookieJar::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3929,7 +3929,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkCookieJar::insertCookie(const QNetworkCookie& cookie0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertCookie"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3959,7 +3959,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkCookieJar::setCookiesFromUrl(const QList& cookieList0, const QUrl& url1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setCookiesFromUrl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3989,7 +3989,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkCookieJar::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4008,7 +4008,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkCookieJar::updateCookie(const QNetworkCookie& cookie0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCookie"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4038,7 +4038,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkCookieJar::validateCookie(const QNetworkCookie& cookie0, const QUrl& url1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validateCookie"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4118,7 +4118,7 @@ PythonQtShell_QNetworkDiskCache::~PythonQtShell_QNetworkDiskCache() { } qint64 PythonQtShell_QNetworkDiskCache::cacheSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("cacheSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4148,7 +4148,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkDiskCache::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4167,7 +4167,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkDiskCache::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4186,7 +4186,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkDiskCache::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4205,7 +4205,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIODevice* PythonQtShell_QNetworkDiskCache::data(const QUrl& url0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4235,7 +4235,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkDiskCache::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4265,7 +4265,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkDiskCache::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4295,7 +4295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QNetworkDiskCache::expire() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expire"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4325,7 +4325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkDiskCache::insert(QIODevice* device0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4344,7 +4344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QNetworkCacheMetaData PythonQtShell_QNetworkDiskCache::metaData(const QUrl& url0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4374,7 +4374,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIODevice* PythonQtShell_QNetworkDiskCache::prepare(const QNetworkCacheMetaData& metaData0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("prepare"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4404,7 +4404,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkDiskCache::remove(const QUrl& url0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("remove"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4434,7 +4434,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkDiskCache::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4453,7 +4453,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkDiskCache::updateMetaData(const QNetworkCacheMetaData& metaData0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateMetaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4775,7 +4775,7 @@ PythonQtShell_QNetworkProxyFactory::~PythonQtShell_QNetworkProxyFactory() { } QList PythonQtShell_QNetworkProxyFactory::queryProxy(const QNetworkProxyQuery& query0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("queryProxy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4959,7 +4959,7 @@ PythonQtShell_QNetworkReply::~PythonQtShell_QNetworkReply() { } void PythonQtShell_QNetworkReply::abort() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("abort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4978,7 +4978,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5008,7 +5008,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QNetworkReply::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5038,7 +5038,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QNetworkReply::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5068,7 +5068,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5098,7 +5098,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5117,7 +5117,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5136,7 +5136,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5155,7 +5155,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5185,7 +5185,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5215,7 +5215,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::ignoreSslErrors() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ignoreSslErrors"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5234,7 +5234,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::ignoreSslErrorsImplementation(const QList& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ignoreSslErrorsImplementation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5253,7 +5253,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5283,7 +5283,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5313,7 +5313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QNetworkReply::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5343,7 +5343,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QNetworkReply::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5373,7 +5373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QNetworkReply::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5403,7 +5403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5433,7 +5433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::seek(qint64 pos0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5463,7 +5463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::setReadBufferSize(qint64 size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5482,7 +5482,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::setSslConfigurationImplementation(const QSslConfiguration& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSslConfigurationImplementation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5501,7 +5501,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QNetworkReply::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5531,7 +5531,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::sslConfigurationImplementation(QSslConfiguration& arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sslConfigurationImplementation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5550,7 +5550,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5569,7 +5569,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5599,7 +5599,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5629,7 +5629,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QNetworkReply::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5919,7 +5919,7 @@ PythonQtShell_QNetworkSession::~PythonQtShell_QNetworkSession() { } void PythonQtShell_QNetworkSession::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5938,7 +5938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkSession::connectNotify(const QMetaMethod& signal0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("connectNotify"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5957,7 +5957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkSession::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5976,7 +5976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkSession::disconnectNotify(const QMetaMethod& signal0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("disconnectNotify"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5995,7 +5995,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkSession::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6025,7 +6025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkSession::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6055,7 +6055,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkSession::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_network/com_trolltech_qt_network1.cpp b/generated_cpp_53/com_trolltech_qt_network/com_trolltech_qt_network1.cpp index 4014d9cd3..5907ae9ff 100644 --- a/generated_cpp_53/com_trolltech_qt_network/com_trolltech_qt_network1.cpp +++ b/generated_cpp_53/com_trolltech_qt_network/com_trolltech_qt_network1.cpp @@ -121,7 +121,7 @@ PythonQtShell_QSslSocket::~PythonQtShell_QSslSocket() { } bool PythonQtShell_QSslSocket::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -151,7 +151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSslSocket::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -181,7 +181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSslSocket::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -211,7 +211,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -241,7 +241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -260,7 +260,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -279,7 +279,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::connectToHost(const QString& hostName0, unsigned short port1, QIODevice::OpenMode openMode2, QAbstractSocket::NetworkLayerProtocol protocol3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -298,7 +298,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -317,7 +317,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::disconnectFromHost() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("disconnectFromHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -336,7 +336,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -366,7 +366,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -396,7 +396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -426,7 +426,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -456,7 +456,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSslSocket::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -486,7 +486,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSslSocket::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -516,7 +516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSslSocket::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -546,7 +546,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -576,7 +576,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::resume() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -595,7 +595,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::seek(qint64 pos0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -625,7 +625,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::setReadBufferSize(qint64 size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -644,7 +644,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::setSocketOption(QAbstractSocket::SocketOption option0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSocketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -663,7 +663,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSslSocket::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -693,7 +693,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSslSocket::socketOption(QAbstractSocket::SocketOption option0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("socketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -723,7 +723,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -742,7 +742,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -772,7 +772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::waitForConnected(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -802,7 +802,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::waitForDisconnected(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForDisconnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -832,7 +832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -862,7 +862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSslSocket::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1248,7 +1248,7 @@ PythonQtShell_QTcpServer::~PythonQtShell_QTcpServer() { } void PythonQtShell_QTcpServer::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1267,7 +1267,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpServer::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1286,7 +1286,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpServer::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1316,7 +1316,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpServer::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1346,7 +1346,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpServer::hasPendingConnections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasPendingConnections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1376,7 +1376,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QTcpSocket* PythonQtShell_QTcpServer::nextPendingConnection() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextPendingConnection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1406,7 +1406,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpServer::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1520,7 +1520,7 @@ PythonQtShell_QTcpSocket::~PythonQtShell_QTcpSocket() { } bool PythonQtShell_QTcpSocket::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1550,7 +1550,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTcpSocket::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1580,7 +1580,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTcpSocket::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1610,7 +1610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1640,7 +1640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1659,7 +1659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1678,7 +1678,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::connectToHost(const QHostAddress& address0, unsigned short port1, QIODevice::OpenMode mode2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1697,7 +1697,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::connectToHost(const QString& hostName0, unsigned short port1, QIODevice::OpenMode mode2, QAbstractSocket::NetworkLayerProtocol protocol3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1716,7 +1716,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1735,7 +1735,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::disconnectFromHost() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("disconnectFromHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1754,7 +1754,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1784,7 +1784,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1814,7 +1814,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1844,7 +1844,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1874,7 +1874,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTcpSocket::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1904,7 +1904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTcpSocket::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1934,7 +1934,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTcpSocket::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1964,7 +1964,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1994,7 +1994,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::resume() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2013,7 +2013,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::seek(qint64 pos0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2043,7 +2043,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::setReadBufferSize(qint64 size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2062,7 +2062,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::setSocketOption(QAbstractSocket::SocketOption option0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSocketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2081,7 +2081,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTcpSocket::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2111,7 +2111,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTcpSocket::socketOption(QAbstractSocket::SocketOption option0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("socketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2141,7 +2141,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2160,7 +2160,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2190,7 +2190,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::waitForConnected(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2220,7 +2220,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::waitForDisconnected(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForDisconnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2250,7 +2250,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2280,7 +2280,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTcpSocket::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2320,7 +2320,7 @@ PythonQtShell_QUdpSocket::~PythonQtShell_QUdpSocket() { } bool PythonQtShell_QUdpSocket::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2350,7 +2350,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QUdpSocket::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2380,7 +2380,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QUdpSocket::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2410,7 +2410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2440,7 +2440,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2459,7 +2459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2478,7 +2478,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::connectToHost(const QHostAddress& address0, unsigned short port1, QIODevice::OpenMode mode2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2497,7 +2497,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::connectToHost(const QString& hostName0, unsigned short port1, QIODevice::OpenMode mode2, QAbstractSocket::NetworkLayerProtocol protocol3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2516,7 +2516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2535,7 +2535,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::disconnectFromHost() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("disconnectFromHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2554,7 +2554,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2584,7 +2584,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2614,7 +2614,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2644,7 +2644,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2674,7 +2674,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QUdpSocket::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2704,7 +2704,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QUdpSocket::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2734,7 +2734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QUdpSocket::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2764,7 +2764,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2794,7 +2794,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::resume() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2813,7 +2813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::seek(qint64 pos0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2843,7 +2843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::setReadBufferSize(qint64 size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2862,7 +2862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::setSocketOption(QAbstractSocket::SocketOption option0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSocketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2881,7 +2881,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QUdpSocket::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2911,7 +2911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QUdpSocket::socketOption(QAbstractSocket::SocketOption option0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("socketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2941,7 +2941,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2960,7 +2960,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2990,7 +2990,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::waitForConnected(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3020,7 +3020,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::waitForDisconnected(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForDisconnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3050,7 +3050,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3080,7 +3080,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QUdpSocket::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp b/generated_cpp_53/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp index a2809ea81..92192afaa 100644 --- a/generated_cpp_53/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp +++ b/generated_cpp_53/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp @@ -227,7 +227,7 @@ PythonQtShell_QGLContext::~PythonQtShell_QGLContext() { } bool PythonQtShell_QGLContext::chooseContext(const QGLContext* shareContext0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("chooseContext"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -257,7 +257,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLContext::create(const QGLContext* shareContext0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -287,7 +287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLContext::doneCurrent() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doneCurrent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -306,7 +306,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLContext::makeCurrent() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("makeCurrent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -325,7 +325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLContext::swapBuffers() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("swapBuffers"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -844,7 +844,7 @@ PythonQtShell_QGLFramebufferObject::~PythonQtShell_QGLFramebufferObject() { } int PythonQtShell_QGLFramebufferObject::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -874,7 +874,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLFramebufferObject::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -893,7 +893,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGLFramebufferObject::metric(QPaintDevice::PaintDeviceMetric metric0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -923,7 +923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QGLFramebufferObject::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -953,7 +953,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QGLFramebufferObject::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -983,7 +983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QGLFramebufferObject::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1713,7 +1713,7 @@ PythonQtShell_QGLPixelBuffer::~PythonQtShell_QGLPixelBuffer() { } int PythonQtShell_QGLPixelBuffer::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1743,7 +1743,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLPixelBuffer::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1762,7 +1762,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGLPixelBuffer::metric(QPaintDevice::PaintDeviceMetric metric0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1792,7 +1792,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QGLPixelBuffer::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1822,7 +1822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QGLPixelBuffer::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1852,7 +1852,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QGLPixelBuffer::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2006,7 +2006,7 @@ PythonQtShell_QGLShader::~PythonQtShell_QGLShader() { } void PythonQtShell_QGLShader::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2025,7 +2025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLShader::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2044,7 +2044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLShader::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2074,7 +2074,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLShader::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2104,7 +2104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLShader::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2187,7 +2187,7 @@ PythonQtShell_QGLShaderProgram::~PythonQtShell_QGLShaderProgram() { } void PythonQtShell_QGLShaderProgram::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2206,7 +2206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLShaderProgram::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2225,7 +2225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLShaderProgram::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2255,7 +2255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLShaderProgram::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2285,7 +2285,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLShaderProgram::link() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("link"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2315,7 +2315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLShaderProgram::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2888,7 +2888,7 @@ PythonQtShell_QGLWidget::~PythonQtShell_QGLWidget() { } void PythonQtShell_QGLWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2907,7 +2907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2926,7 +2926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2945,7 +2945,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2964,7 +2964,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2983,7 +2983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3002,7 +3002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGLWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3032,7 +3032,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3051,7 +3051,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3070,7 +3070,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3089,7 +3089,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3108,7 +3108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3127,7 +3127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLWidget::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3157,7 +3157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3187,7 +3187,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3206,7 +3206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3236,7 +3236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3255,7 +3255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::glDraw() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("glDraw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3274,7 +3274,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::glInit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("glInit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3293,7 +3293,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3323,7 +3323,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGLWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3353,7 +3353,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3372,7 +3372,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3391,7 +3391,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::initializeGL() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initializeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3410,7 +3410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::initializeOverlayGL() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initializeOverlayGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3429,7 +3429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3448,7 +3448,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGLWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3478,7 +3478,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3497,7 +3497,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3516,7 +3516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3535,7 +3535,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGLWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3565,7 +3565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QGLWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3595,7 +3595,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3614,7 +3614,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3633,7 +3633,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3652,7 +3652,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3671,7 +3671,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3690,7 +3690,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3720,7 +3720,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QGLWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3750,7 +3750,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3769,7 +3769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::paintGL() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3788,7 +3788,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::paintOverlayGL() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintOverlayGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3807,7 +3807,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QGLWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3837,7 +3837,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3856,7 +3856,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::resizeGL(int w0, int h1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3875,7 +3875,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::resizeOverlayGL(int w0, int h1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeOverlayGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3894,7 +3894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QGLWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3924,7 +3924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3943,7 +3943,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QGLWidget::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3973,7 +3973,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3992,7 +3992,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4011,7 +4011,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::updateGL() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4030,7 +4030,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::updateOverlayGL() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateOverlayGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4049,7 +4049,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp b/generated_cpp_53/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp index 1926555fb..20b1362d0 100644 --- a/generated_cpp_53/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp +++ b/generated_cpp_53/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp @@ -275,7 +275,7 @@ PythonQtShell_QSqlDriver::~PythonQtShell_QSqlDriver() { } bool PythonQtShell_QSqlDriver::beginTransaction() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("beginTransaction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -305,7 +305,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::cancelQuery() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("cancelQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -335,7 +335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlDriver::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -354,7 +354,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlDriver::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -373,7 +373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::commitTransaction() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitTransaction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -403,7 +403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSqlResult* PythonQtShell_QSqlDriver::createResult() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createResult"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -433,7 +433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlDriver::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -452,7 +452,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSqlDriver::escapeIdentifier(const QString& identifier0, QSqlDriver::IdentifierType type1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("escapeIdentifier"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -482,7 +482,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -512,7 +512,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -542,7 +542,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSqlDriver::formatValue(const QSqlField& field0, bool trimStrings1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("formatValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -572,7 +572,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlDriver::handle() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("handle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -602,7 +602,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::hasFeature(QSqlDriver::DriverFeature f0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -632,7 +632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::isIdentifierEscaped(const QString& identifier0, QSqlDriver::IdentifierType type1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIdentifierEscaped"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -662,7 +662,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::isOpen() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isOpen"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -692,7 +692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::open(const QString& db0, const QString& user1, const QString& password2, const QString& host3, int port4, const QString& connOpts5) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -722,7 +722,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSqlIndex PythonQtShell_QSqlDriver::primaryIndex(const QString& tableName0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("primaryIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -752,7 +752,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSqlRecord PythonQtShell_QSqlDriver::record(const QString& tableName0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("record"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -782,7 +782,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::rollbackTransaction() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rollbackTransaction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -812,7 +812,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlDriver::setLastError(const QSqlError& e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setLastError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -831,7 +831,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlDriver::setOpen(bool o0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setOpen"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -850,7 +850,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlDriver::setOpenError(bool e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setOpenError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -869,7 +869,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSqlDriver::sqlStatement(QSqlDriver::StatementType type0, const QString& tableName1, const QSqlRecord& rec2, bool preparedStatement3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sqlStatement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -899,7 +899,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSqlDriver::stripDelimiters(const QString& identifier0, QSqlDriver::IdentifierType type1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stripDelimiters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -929,7 +929,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::subscribeToNotification(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("subscribeToNotification"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -959,7 +959,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QSqlDriver::subscribedToNotifications() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("subscribedToNotifications"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -989,7 +989,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QSqlDriver::tables(QSql::TableType tableType0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tables"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1019,7 +1019,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlDriver::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1038,7 +1038,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::unsubscribeFromNotification(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unsubscribeFromNotification"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1218,7 +1218,7 @@ PythonQtShell_QSqlDriverCreatorBase::~PythonQtShell_QSqlDriverCreatorBase() { } QSqlDriver* PythonQtShell_QSqlDriverCreatorBase::createObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1769,7 +1769,7 @@ PythonQtShell_QSqlQueryModel::~PythonQtShell_QSqlQueryModel() { } QModelIndex PythonQtShell_QSqlQueryModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1799,7 +1799,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1829,7 +1829,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1859,7 +1859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlQueryModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1878,7 +1878,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlQueryModel::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1897,7 +1897,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSqlQueryModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1927,7 +1927,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlQueryModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1946,7 +1946,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlQueryModel::data(const QModelIndex& item0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1976,7 +1976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2006,7 +2006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2036,7 +2036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2066,7 +2066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlQueryModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2085,7 +2085,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QSqlQueryModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2115,7 +2115,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlQueryModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2145,7 +2145,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlQueryModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2175,7 +2175,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlQueryModel::indexInQuery(const QModelIndex& item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexInQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2205,7 +2205,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2235,7 +2235,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2265,7 +2265,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QSqlQueryModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2295,7 +2295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QSqlQueryModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2325,7 +2325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QSqlQueryModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2355,7 +2355,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QSqlQueryModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2385,7 +2385,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2415,7 +2415,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2445,7 +2445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlQueryModel::queryChange() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("queryChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2464,7 +2464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2494,7 +2494,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2524,7 +2524,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlQueryModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2543,7 +2543,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QSqlQueryModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2573,7 +2573,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSqlQueryModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2603,7 +2603,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2633,7 +2633,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2663,7 +2663,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2693,7 +2693,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlQueryModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2723,7 +2723,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlQueryModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2742,7 +2742,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSqlQueryModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2772,7 +2772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2802,7 +2802,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QSqlQueryModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2832,7 +2832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QSqlQueryModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2862,7 +2862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlQueryModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3223,7 +3223,7 @@ PythonQtShell_QSqlRelationalTableModel::~PythonQtShell_QSqlRelationalTableModel( } QModelIndex PythonQtShell_QSqlRelationalTableModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3253,7 +3253,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3283,7 +3283,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3313,7 +3313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3332,7 +3332,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3351,7 +3351,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSqlRelationalTableModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3381,7 +3381,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3400,7 +3400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlRelationalTableModel::data(const QModelIndex& item0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3430,7 +3430,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::deleteRowFromTable(int row0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("deleteRowFromTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3460,7 +3460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3490,7 +3490,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3520,7 +3520,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3550,7 +3550,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3569,7 +3569,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QSqlRelationalTableModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3599,7 +3599,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlRelationalTableModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3629,7 +3629,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlRelationalTableModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3659,7 +3659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlRelationalTableModel::indexInQuery(const QModelIndex& item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexInQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3689,7 +3689,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3719,7 +3719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::insertRowIntoTable(const QSqlRecord& values0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRowIntoTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3749,7 +3749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3779,7 +3779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QSqlRelationalTableModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3809,7 +3809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QSqlRelationalTableModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3839,7 +3839,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QSqlRelationalTableModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3869,7 +3869,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QSqlRelationalTableModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3899,7 +3899,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3929,7 +3929,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3959,7 +3959,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSqlRelationalTableModel::orderByClause() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("orderByClause"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3989,7 +3989,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::queryChange() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("queryChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4008,7 +4008,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSqlTableModel* PythonQtShell_QSqlRelationalTableModel::relationModel(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("relationModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4038,7 +4038,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4068,7 +4068,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4098,7 +4098,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4117,7 +4117,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::revertRow(int row0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revertRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4136,7 +4136,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QSqlRelationalTableModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4166,7 +4166,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSqlRelationalTableModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4196,7 +4196,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::select() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4226,7 +4226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::selectRow(int row0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4256,7 +4256,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSqlRelationalTableModel::selectStatement() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectStatement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4286,7 +4286,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::setData(const QModelIndex& item0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4316,7 +4316,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::setEditStrategy(QSqlTableModel::EditStrategy strategy0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setEditStrategy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4335,7 +4335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::setFilter(const QString& filter0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4354,7 +4354,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4384,7 +4384,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4414,7 +4414,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::setRelation(int column0, const QSqlRelation& relation1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRelation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4433,7 +4433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::setSort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4452,7 +4452,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::setTable(const QString& tableName0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4471,7 +4471,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlRelationalTableModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4501,7 +4501,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4520,7 +4520,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSqlRelationalTableModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4550,7 +4550,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4580,7 +4580,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QSqlRelationalTableModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4610,7 +4610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QSqlRelationalTableModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4640,7 +4640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4659,7 +4659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::updateRowInTable(int row0, const QSqlRecord& values1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateRowInTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4774,7 +4774,7 @@ PythonQtShell_QSqlResult::~PythonQtShell_QSqlResult() { } void PythonQtShell_QSqlResult::bindValue(const QString& placeholder0, const QVariant& val1, QSql::ParamType type2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bindValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4793,7 +4793,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::bindValue(int pos0, const QVariant& val1, QSql::ParamType type2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bindValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4812,7 +4812,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlResult::data(int i0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4842,7 +4842,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::detachFromResultSet() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("detachFromResultSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4861,7 +4861,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4891,7 +4891,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::execBatch(bool arrayBind0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("execBatch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4921,7 +4921,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::fetch(int i0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4951,7 +4951,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::fetchFirst() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchFirst"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4981,7 +4981,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::fetchLast() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchLast"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5011,7 +5011,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::fetchNext() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchNext"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5041,7 +5041,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::fetchPrevious() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchPrevious"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5071,7 +5071,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlResult::handle() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("handle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5101,7 +5101,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::isNull(int i0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isNull"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5131,7 +5131,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlResult::lastInsertId() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("lastInsertId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5161,7 +5161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::nextResult() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextResult"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5191,7 +5191,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSqlResult::numRowsAffected() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("numRowsAffected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5221,7 +5221,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::prepare(const QString& query0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("prepare"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5251,7 +5251,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSqlRecord PythonQtShell_QSqlResult::record() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("record"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5281,7 +5281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::reset(const QString& sqlquery0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5311,7 +5311,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::savePrepare(const QString& sqlquery0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("savePrepare"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5341,7 +5341,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::setActive(bool a0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setActive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5360,7 +5360,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::setAt(int at0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5379,7 +5379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::setForwardOnly(bool forward0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setForwardOnly"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5398,7 +5398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::setLastError(const QSqlError& e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setLastError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5417,7 +5417,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy policy0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setNumericalPrecisionPolicy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5436,7 +5436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::setQuery(const QString& query0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5455,7 +5455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::setSelect(bool s0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5474,7 +5474,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSqlResult::size() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5504,7 +5504,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::virtual_hook(int id0, void* data1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("virtual_hook"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5783,7 +5783,7 @@ PythonQtShell_QSqlTableModel::~PythonQtShell_QSqlTableModel() { } QModelIndex PythonQtShell_QSqlTableModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5813,7 +5813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5843,7 +5843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5873,7 +5873,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5892,7 +5892,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5911,7 +5911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSqlTableModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5941,7 +5941,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5960,7 +5960,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlTableModel::data(const QModelIndex& idx0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5990,7 +5990,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::deleteRowFromTable(int row0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("deleteRowFromTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6020,7 +6020,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6050,7 +6050,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6080,7 +6080,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6110,7 +6110,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6129,7 +6129,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QSqlTableModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6159,7 +6159,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlTableModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6189,7 +6189,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlTableModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6219,7 +6219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlTableModel::indexInQuery(const QModelIndex& item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexInQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6249,7 +6249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6279,7 +6279,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::insertRowIntoTable(const QSqlRecord& values0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRowIntoTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6309,7 +6309,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6339,7 +6339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QSqlTableModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6369,7 +6369,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QSqlTableModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6399,7 +6399,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QSqlTableModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6429,7 +6429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QSqlTableModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6459,7 +6459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6489,7 +6489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6519,7 +6519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSqlTableModel::orderByClause() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("orderByClause"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6549,7 +6549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::queryChange() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("queryChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6568,7 +6568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6598,7 +6598,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6628,7 +6628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6647,7 +6647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::revertRow(int row0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revertRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6666,7 +6666,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QSqlTableModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6696,7 +6696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSqlTableModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6726,7 +6726,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::select() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6756,7 +6756,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::selectRow(int row0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6786,7 +6786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSqlTableModel::selectStatement() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectStatement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6816,7 +6816,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6846,7 +6846,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::setEditStrategy(QSqlTableModel::EditStrategy strategy0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setEditStrategy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6865,7 +6865,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::setFilter(const QString& filter0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6884,7 +6884,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6914,7 +6914,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6944,7 +6944,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::setSort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6963,7 +6963,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::setTable(const QString& tableName0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6982,7 +6982,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlTableModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7012,7 +7012,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7031,7 +7031,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSqlTableModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7061,7 +7061,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7091,7 +7091,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QSqlTableModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7121,7 +7121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QSqlTableModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7151,7 +7151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7170,7 +7170,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::updateRowInTable(int row0, const QSqlRecord& values1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateRowInTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp b/generated_cpp_53/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp index 34bc75312..c1d75b588 100644 --- a/generated_cpp_53/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp +++ b/generated_cpp_53/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp @@ -55,7 +55,7 @@ PythonQtShell_QGraphicsSvgItem::~PythonQtShell_QGraphicsSvgItem() { } QRectF PythonQtShell_QGraphicsSvgItem::boundingRect() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -85,7 +85,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsSvgItem::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -104,7 +104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsSvgItem::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -123,7 +123,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsSvgItem::event(QEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -153,7 +153,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsSvgItem::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -183,7 +183,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsSvgItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -202,7 +202,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsSvgItem::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -221,7 +221,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsSvgItem::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -320,7 +320,7 @@ PythonQtShell_QSvgGenerator::~PythonQtShell_QSvgGenerator() { } int PythonQtShell_QSvgGenerator::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -350,7 +350,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgGenerator::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -369,7 +369,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSvgGenerator::metric(QPaintDevice::PaintDeviceMetric metric0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -399,7 +399,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QSvgGenerator::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -429,7 +429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QSvgGenerator::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -459,7 +459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QSvgGenerator::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -589,7 +589,7 @@ PythonQtShell_QSvgRenderer::~PythonQtShell_QSvgRenderer() { } void PythonQtShell_QSvgRenderer::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -608,7 +608,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgRenderer::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -627,7 +627,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSvgRenderer::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -657,7 +657,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSvgRenderer::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -687,7 +687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgRenderer::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -803,7 +803,7 @@ PythonQtShell_QSvgWidget::~PythonQtShell_QSvgWidget() { } void PythonQtShell_QSvgWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -822,7 +822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -841,7 +841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -860,7 +860,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -879,7 +879,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -898,7 +898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -917,7 +917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSvgWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -947,7 +947,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -966,7 +966,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -985,7 +985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1004,7 +1004,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1023,7 +1023,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1042,7 +1042,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSvgWidget::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1072,7 +1072,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSvgWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1102,7 +1102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1121,7 +1121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSvgWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1151,7 +1151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1170,7 +1170,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSvgWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1200,7 +1200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSvgWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1230,7 +1230,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1249,7 +1249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1268,7 +1268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1287,7 +1287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSvgWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1317,7 +1317,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1336,7 +1336,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1355,7 +1355,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1374,7 +1374,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSvgWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1404,7 +1404,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSvgWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1434,7 +1434,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1453,7 +1453,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1472,7 +1472,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1491,7 +1491,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1510,7 +1510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1529,7 +1529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSvgWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1559,7 +1559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QSvgWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1589,7 +1589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1608,7 +1608,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QSvgWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1638,7 +1638,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1657,7 +1657,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QSvgWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1687,7 +1687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1706,7 +1706,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1725,7 +1725,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1744,7 +1744,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp b/generated_cpp_53/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp index 47a75051f..dc615eb2a 100644 --- a/generated_cpp_53/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp +++ b/generated_cpp_53/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp @@ -23,7 +23,7 @@ PythonQtShell_QUiLoader::~PythonQtShell_QUiLoader() { } void PythonQtShell_QUiLoader::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -42,7 +42,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAction* PythonQtShell_QUiLoader::createAction(QObject* parent0, const QString& name1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -72,7 +72,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QActionGroup* PythonQtShell_QUiLoader::createActionGroup(QObject* parent0, const QString& name1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createActionGroup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -102,7 +102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QUiLoader::createLayout(const QString& className0, QObject* parent1, const QString& name2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -132,7 +132,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QUiLoader::createWidget(const QString& className0, QWidget* parent1, const QString& name2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -162,7 +162,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUiLoader::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -181,7 +181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUiLoader::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -211,7 +211,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUiLoader::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -241,7 +241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUiLoader::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp b/generated_cpp_53/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp index 5f357d612..da0c91ad0 100644 --- a/generated_cpp_53/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp +++ b/generated_cpp_53/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp @@ -68,7 +68,7 @@ PythonQtShell_QGraphicsWebView::~PythonQtShell_QGraphicsWebView() { } void PythonQtShell_QGraphicsWebView::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -87,7 +87,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -106,7 +106,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -125,7 +125,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::contextMenuEvent(QGraphicsSceneContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -144,7 +144,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -163,7 +163,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::dragEnterEvent(QGraphicsSceneDragDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -182,7 +182,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::dragLeaveEvent(QGraphicsSceneDragDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -201,7 +201,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::dragMoveEvent(QGraphicsSceneDragDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -220,7 +220,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::dropEvent(QGraphicsSceneDragDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -239,7 +239,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWebView::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -269,7 +269,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWebView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -299,7 +299,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -318,7 +318,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWebView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -348,7 +348,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -367,7 +367,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -386,7 +386,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::grabKeyboardEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("grabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -405,7 +405,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::grabMouseEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("grabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -424,7 +424,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -443,7 +443,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::hoverLeaveEvent(QGraphicsSceneHoverEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -462,7 +462,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::hoverMoveEvent(QGraphicsSceneHoverEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -481,7 +481,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::initStyleOption(QStyleOption* option0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -500,7 +500,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -519,7 +519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsWebView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -549,7 +549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsWebView::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -582,7 +582,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -601,7 +601,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -620,7 +620,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -639,7 +639,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::mouseMoveEvent(QGraphicsSceneMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -658,7 +658,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::mousePressEvent(QGraphicsSceneMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -677,7 +677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::mouseReleaseEvent(QGraphicsSceneMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -696,7 +696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::moveEvent(QGraphicsSceneMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -715,7 +715,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::paint(QPainter* arg__1, const QStyleOptionGraphicsItem* options1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -734,7 +734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::paintWindowFrame(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintWindowFrame"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -753,7 +753,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::polishEvent() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polishEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -772,7 +772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsWebView::propertyChange(const QString& propertyName0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("propertyChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -802,7 +802,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::resizeEvent(QGraphicsSceneResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -821,7 +821,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWebView::sceneEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -851,7 +851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::setGeometry(const QRectF& rect0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -870,7 +870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -889,7 +889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizeF PythonQtShell_QGraphicsWebView::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -919,7 +919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -938,7 +938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::ungrabKeyboardEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -957,7 +957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::ungrabMouseEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ungrabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -976,7 +976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::updateGeometry() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -995,7 +995,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::wheelEvent(QGraphicsSceneWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1014,7 +1014,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWebView::windowFrameEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("windowFrameEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1044,7 +1044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::WindowFrameSection PythonQtShell_QGraphicsWebView::windowFrameSectionAt(const QPointF& pos0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("windowFrameSectionAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2108,7 +2108,7 @@ PythonQtShell_QWebHistoryInterface::~PythonQtShell_QWebHistoryInterface() { } void PythonQtShell_QWebHistoryInterface::addHistoryEntry(const QString& url0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addHistoryEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2127,7 +2127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebHistoryInterface::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2146,7 +2146,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebHistoryInterface::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2165,7 +2165,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebHistoryInterface::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2195,7 +2195,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebHistoryInterface::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2225,7 +2225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebHistoryInterface::historyContains(const QString& url0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("historyContains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2255,7 +2255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebHistoryInterface::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2450,7 +2450,7 @@ PythonQtShell_QWebInspector::~PythonQtShell_QWebInspector() { } void PythonQtShell_QWebInspector::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2469,7 +2469,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2488,7 +2488,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2507,7 +2507,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2526,7 +2526,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2545,7 +2545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2564,7 +2564,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWebInspector::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2594,7 +2594,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2613,7 +2613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2632,7 +2632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2651,7 +2651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2670,7 +2670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2689,7 +2689,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebInspector::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2719,7 +2719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebInspector::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2749,7 +2749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2768,7 +2768,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebInspector::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2798,7 +2798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2817,7 +2817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebInspector::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2847,7 +2847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWebInspector::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2877,7 +2877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2896,7 +2896,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2915,7 +2915,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2934,7 +2934,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QWebInspector::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2964,7 +2964,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2983,7 +2983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3002,7 +3002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3021,7 +3021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWebInspector::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3051,7 +3051,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWebInspector::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3081,7 +3081,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3100,7 +3100,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3119,7 +3119,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3138,7 +3138,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3157,7 +3157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3176,7 +3176,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebInspector::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3206,7 +3206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QWebInspector::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3236,7 +3236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3255,7 +3255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QWebInspector::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3285,7 +3285,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3304,7 +3304,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QWebInspector::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3334,7 +3334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3353,7 +3353,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3372,7 +3372,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3391,7 +3391,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3460,7 +3460,7 @@ PythonQtShell_QWebPage::~PythonQtShell_QWebPage() { } bool PythonQtShell_QWebPage::acceptNavigationRequest(QWebFrame* frame0, const QNetworkRequest& request1, QWebPage::NavigationType type2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("acceptNavigationRequest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3490,7 +3490,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPage::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3509,7 +3509,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QWebPage::chooseFile(QWebFrame* originatingFrame0, const QString& oldFile1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("chooseFile"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3539,7 +3539,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QObject* PythonQtShell_QWebPage::createPlugin(const QString& classid0, const QUrl& url1, const QStringList& paramNames2, const QStringList& paramValues3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createPlugin"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3569,7 +3569,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWebPage* PythonQtShell_QWebPage::createWindow(QWebPage::WebWindowType type0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createWindow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3599,7 +3599,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPage::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3618,7 +3618,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPage::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3648,7 +3648,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPage::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3678,7 +3678,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPage::extension(QWebPage::Extension extension0, const QWebPage::ExtensionOption* option1, QWebPage::ExtensionReturn* output2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3708,7 +3708,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPage::javaScriptAlert(QWebFrame* originatingFrame0, const QString& msg1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("javaScriptAlert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3727,7 +3727,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPage::javaScriptConfirm(QWebFrame* originatingFrame0, const QString& msg1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("javaScriptConfirm"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3757,7 +3757,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPage::javaScriptConsoleMessage(const QString& message0, int lineNumber1, const QString& sourceID2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("javaScriptConsoleMessage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3776,7 +3776,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPage::javaScriptPrompt(QWebFrame* originatingFrame0, const QString& msg1, const QString& defaultValue2, QString* result3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("javaScriptPrompt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3806,7 +3806,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPage::shouldInterruptJavaScript() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("shouldInterruptJavaScript"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3836,7 +3836,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPage::supportsExtension(QWebPage::Extension extension0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3866,7 +3866,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPage::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3885,7 +3885,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPage::triggerAction(QWebPage::WebAction action0, bool checked1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("triggerAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3904,7 +3904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QWebPage::userAgentForUrl(const QUrl& url0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("userAgentForUrl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4289,7 +4289,7 @@ PythonQtShell_QWebPluginFactory::~PythonQtShell_QWebPluginFactory() { } void PythonQtShell_QWebPluginFactory::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4308,7 +4308,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QObject* PythonQtShell_QWebPluginFactory::create(const QString& mimeType0, const QUrl& arg__2, const QStringList& argumentNames2, const QStringList& argumentValues3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4338,7 +4338,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPluginFactory::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4357,7 +4357,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPluginFactory::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4387,7 +4387,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPluginFactory::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4417,7 +4417,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPluginFactory::extension(QWebPluginFactory::Extension extension0, const QWebPluginFactory::ExtensionOption* option1, QWebPluginFactory::ExtensionReturn* output2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4447,7 +4447,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QWebPluginFactory::plugins() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("plugins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4477,7 +4477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPluginFactory::refreshPlugins() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("refreshPlugins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4496,7 +4496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPluginFactory::supportsExtension(QWebPluginFactory::Extension extension0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4526,7 +4526,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPluginFactory::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4912,7 +4912,7 @@ PythonQtShell_QWebView::~PythonQtShell_QWebView() { } void PythonQtShell_QWebView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4931,7 +4931,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4950,7 +4950,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4969,7 +4969,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4988,7 +4988,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5007,7 +5007,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWebView* PythonQtShell_QWebView::createWindow(QWebPage::WebWindowType type0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createWindow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5037,7 +5037,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5056,7 +5056,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWebView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5086,7 +5086,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5105,7 +5105,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5124,7 +5124,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5143,7 +5143,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5162,7 +5162,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5181,7 +5181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebView::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5211,7 +5211,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5241,7 +5241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5260,7 +5260,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5290,7 +5290,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5309,7 +5309,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5339,7 +5339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWebView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5369,7 +5369,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5388,7 +5388,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5407,7 +5407,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5426,7 +5426,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QWebView::inputMethodQuery(Qt::InputMethodQuery property0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5456,7 +5456,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5475,7 +5475,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5494,7 +5494,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5513,7 +5513,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWebView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5543,7 +5543,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWebView::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5573,7 +5573,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5592,7 +5592,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5611,7 +5611,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5630,7 +5630,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5649,7 +5649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5668,7 +5668,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5698,7 +5698,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QWebView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5728,7 +5728,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5747,7 +5747,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QWebView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5777,7 +5777,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5796,7 +5796,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QWebView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5826,7 +5826,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5845,7 +5845,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5864,7 +5864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5883,7 +5883,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp b/generated_cpp_53/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp index 6150a88e7..35c6945c1 100644 --- a/generated_cpp_53/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp +++ b/generated_cpp_53/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp @@ -1154,7 +1154,7 @@ PythonQtShell_QXmlContentHandler::~PythonQtShell_QXmlContentHandler() { } bool PythonQtShell_QXmlContentHandler::characters(const QString& ch0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1184,7 +1184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::endDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1214,7 +1214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::endElement(const QString& namespaceURI0, const QString& localName1, const QString& qName2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1244,7 +1244,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::endPrefixMapping(const QString& prefix0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endPrefixMapping"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1274,7 +1274,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QXmlContentHandler::errorString() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1304,7 +1304,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::ignorableWhitespace(const QString& ch0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ignorableWhitespace"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1334,7 +1334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::processingInstruction(const QString& target0, const QString& data1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1364,7 +1364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlContentHandler::setDocumentLocator(QXmlLocator* locator0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setDocumentLocator"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1383,7 +1383,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::skippedEntity(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("skippedEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1413,7 +1413,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::startDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1443,7 +1443,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::startElement(const QString& namespaceURI0, const QString& localName1, const QString& qName2, const QXmlAttributes& atts3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1473,7 +1473,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::startPrefixMapping(const QString& prefix0, const QString& uri1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startPrefixMapping"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1573,7 +1573,7 @@ PythonQtShell_QXmlDTDHandler::~PythonQtShell_QXmlDTDHandler() { } QString PythonQtShell_QXmlDTDHandler::errorString() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1603,7 +1603,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDTDHandler::notationDecl(const QString& name0, const QString& publicId1, const QString& systemId2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("notationDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1633,7 +1633,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDTDHandler::unparsedEntityDecl(const QString& name0, const QString& publicId1, const QString& systemId2, const QString& notationName3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unparsedEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1688,7 +1688,7 @@ PythonQtShell_QXmlDeclHandler::~PythonQtShell_QXmlDeclHandler() { } bool PythonQtShell_QXmlDeclHandler::attributeDecl(const QString& eName0, const QString& aName1, const QString& type2, const QString& valueDefault3, const QString& value4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("attributeDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1718,7 +1718,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QXmlDeclHandler::errorString() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1748,7 +1748,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDeclHandler::externalEntityDecl(const QString& name0, const QString& publicId1, const QString& systemId2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("externalEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1778,7 +1778,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDeclHandler::internalEntityDecl(const QString& name0, const QString& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("internalEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1838,7 +1838,7 @@ PythonQtShell_QXmlDefaultHandler::~PythonQtShell_QXmlDefaultHandler() { } bool PythonQtShell_QXmlDefaultHandler::attributeDecl(const QString& eName0, const QString& aName1, const QString& type2, const QString& valueDefault3, const QString& value4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("attributeDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1868,7 +1868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::characters(const QString& ch0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1898,7 +1898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::comment(const QString& ch0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1928,7 +1928,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::endCDATA() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endCDATA"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1958,7 +1958,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::endDTD() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endDTD"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1988,7 +1988,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::endDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2018,7 +2018,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::endElement(const QString& namespaceURI0, const QString& localName1, const QString& qName2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2048,7 +2048,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::endEntity(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2078,7 +2078,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::endPrefixMapping(const QString& prefix0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endPrefixMapping"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2108,7 +2108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::error(const QXmlParseException& exception0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("error"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2138,7 +2138,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QXmlDefaultHandler::errorString() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2168,7 +2168,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::externalEntityDecl(const QString& name0, const QString& publicId1, const QString& systemId2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("externalEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2198,7 +2198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::fatalError(const QXmlParseException& exception0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fatalError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2228,7 +2228,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::ignorableWhitespace(const QString& ch0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ignorableWhitespace"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2258,7 +2258,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::internalEntityDecl(const QString& name0, const QString& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("internalEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2288,7 +2288,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::notationDecl(const QString& name0, const QString& publicId1, const QString& systemId2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("notationDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2318,7 +2318,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::processingInstruction(const QString& target0, const QString& data1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2348,7 +2348,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::resolveEntity(const QString& publicId0, const QString& systemId1, QXmlInputSource*& ret2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resolveEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2378,7 +2378,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlDefaultHandler::setDocumentLocator(QXmlLocator* locator0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setDocumentLocator"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2397,7 +2397,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::skippedEntity(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("skippedEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2427,7 +2427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::startCDATA() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startCDATA"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2457,7 +2457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::startDTD(const QString& name0, const QString& publicId1, const QString& systemId2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDTD"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2487,7 +2487,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::startDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2517,7 +2517,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::startElement(const QString& namespaceURI0, const QString& localName1, const QString& qName2, const QXmlAttributes& atts3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2547,7 +2547,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::startEntity(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2577,7 +2577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::startPrefixMapping(const QString& prefix0, const QString& uri1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startPrefixMapping"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2607,7 +2607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::unparsedEntityDecl(const QString& name0, const QString& publicId1, const QString& systemId2, const QString& notationName3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unparsedEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2637,7 +2637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::warning(const QXmlParseException& exception0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("warning"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2817,7 +2817,7 @@ PythonQtShell_QXmlEntityResolver::~PythonQtShell_QXmlEntityResolver() { } QString PythonQtShell_QXmlEntityResolver::errorString() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2847,7 +2847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlEntityResolver::resolveEntity(const QString& publicId0, const QString& systemId1, QXmlInputSource*& ret2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resolveEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2897,7 +2897,7 @@ PythonQtShell_QXmlErrorHandler::~PythonQtShell_QXmlErrorHandler() { } bool PythonQtShell_QXmlErrorHandler::error(const QXmlParseException& exception0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("error"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2927,7 +2927,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QXmlErrorHandler::errorString() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2957,7 +2957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlErrorHandler::fatalError(const QXmlParseException& exception0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fatalError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2987,7 +2987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlErrorHandler::warning(const QXmlParseException& exception0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("warning"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3047,7 +3047,7 @@ PythonQtShell_QXmlInputSource::~PythonQtShell_QXmlInputSource() { } QString PythonQtShell_QXmlInputSource::data() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3077,7 +3077,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlInputSource::fetchData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3096,7 +3096,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QXmlInputSource::fromRawData(const QByteArray& data0, bool beginning1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fromRawData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3126,7 +3126,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QChar PythonQtShell_QXmlInputSource::next() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("next"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3156,7 +3156,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlInputSource::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3175,7 +3175,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlInputSource::setData(const QByteArray& dat0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3194,7 +3194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlInputSource::setData(const QString& dat0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3262,7 +3262,7 @@ PythonQtShell_QXmlLexicalHandler::~PythonQtShell_QXmlLexicalHandler() { } bool PythonQtShell_QXmlLexicalHandler::comment(const QString& ch0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3292,7 +3292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlLexicalHandler::endCDATA() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endCDATA"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3322,7 +3322,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlLexicalHandler::endDTD() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endDTD"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3352,7 +3352,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlLexicalHandler::endEntity(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3382,7 +3382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QXmlLexicalHandler::errorString() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3412,7 +3412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlLexicalHandler::startCDATA() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startCDATA"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3442,7 +3442,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlLexicalHandler::startDTD(const QString& name0, const QString& publicId1, const QString& systemId2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDTD"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3472,7 +3472,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlLexicalHandler::startEntity(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3552,7 +3552,7 @@ PythonQtShell_QXmlLocator::~PythonQtShell_QXmlLocator() { } int PythonQtShell_QXmlLocator::columnNumber() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnNumber"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3582,7 +3582,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QXmlLocator::lineNumber() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("lineNumber"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3667,7 +3667,7 @@ PythonQtShell_QXmlReader::~PythonQtShell_QXmlReader() { } QXmlDTDHandler* PythonQtShell_QXmlReader::DTDHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("DTDHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3697,7 +3697,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlContentHandler* PythonQtShell_QXmlReader::contentHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contentHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3727,7 +3727,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlDeclHandler* PythonQtShell_QXmlReader::declHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("declHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3757,7 +3757,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlEntityResolver* PythonQtShell_QXmlReader::entityResolver() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("entityResolver"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3787,7 +3787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlErrorHandler* PythonQtShell_QXmlReader::errorHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3817,7 +3817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlReader::feature(const QString& name0, bool* ok1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("feature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3847,7 +3847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlReader::hasFeature(const QString& name0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3877,7 +3877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlReader::hasProperty(const QString& name0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3907,7 +3907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlLexicalHandler* PythonQtShell_QXmlReader::lexicalHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("lexicalHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3937,7 +3937,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlReader::parse(const QXmlInputSource& input0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3967,7 +3967,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlReader::parse(const QXmlInputSource* input0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3997,7 +3997,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void* PythonQtShell_QXmlReader::property(const QString& name0, bool* ok1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("property"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4027,7 +4027,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlReader::setContentHandler(QXmlContentHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setContentHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4046,7 +4046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlReader::setDTDHandler(QXmlDTDHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setDTDHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4065,7 +4065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlReader::setDeclHandler(QXmlDeclHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setDeclHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4084,7 +4084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlReader::setEntityResolver(QXmlEntityResolver* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setEntityResolver"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4103,7 +4103,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlReader::setErrorHandler(QXmlErrorHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setErrorHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4122,7 +4122,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlReader::setFeature(const QString& name0, bool value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4141,7 +4141,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlReader::setLexicalHandler(QXmlLexicalHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setLexicalHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4160,7 +4160,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlReader::setProperty(const QString& name0, void* value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4289,7 +4289,7 @@ PythonQtShell_QXmlSimpleReader::~PythonQtShell_QXmlSimpleReader() { } QXmlDTDHandler* PythonQtShell_QXmlSimpleReader::DTDHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("DTDHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4319,7 +4319,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlContentHandler* PythonQtShell_QXmlSimpleReader::contentHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contentHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4349,7 +4349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlDeclHandler* PythonQtShell_QXmlSimpleReader::declHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("declHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4379,7 +4379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlEntityResolver* PythonQtShell_QXmlSimpleReader::entityResolver() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("entityResolver"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4409,7 +4409,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlErrorHandler* PythonQtShell_QXmlSimpleReader::errorHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4439,7 +4439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlSimpleReader::feature(const QString& name0, bool* ok1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("feature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4469,7 +4469,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlSimpleReader::hasFeature(const QString& name0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4499,7 +4499,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlSimpleReader::hasProperty(const QString& name0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4529,7 +4529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlLexicalHandler* PythonQtShell_QXmlSimpleReader::lexicalHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("lexicalHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4559,7 +4559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource& input0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4589,7 +4589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource* input0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4619,7 +4619,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource* input0, bool incremental1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4649,7 +4649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlSimpleReader::parseContinue() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parseContinue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4679,7 +4679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void* PythonQtShell_QXmlSimpleReader::property(const QString& name0, bool* ok1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("property"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4709,7 +4709,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSimpleReader::setContentHandler(QXmlContentHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setContentHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4728,7 +4728,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSimpleReader::setDTDHandler(QXmlDTDHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setDTDHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4747,7 +4747,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSimpleReader::setDeclHandler(QXmlDeclHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setDeclHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4766,7 +4766,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSimpleReader::setEntityResolver(QXmlEntityResolver* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setEntityResolver"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4785,7 +4785,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSimpleReader::setErrorHandler(QXmlErrorHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setErrorHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4804,7 +4804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSimpleReader::setFeature(const QString& name0, bool value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4823,7 +4823,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSimpleReader::setLexicalHandler(QXmlLexicalHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setLexicalHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4842,7 +4842,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSimpleReader::setProperty(const QString& name0, void* value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_53/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp b/generated_cpp_53/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp index e080b0b85..213033aa9 100644 --- a/generated_cpp_53/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp +++ b/generated_cpp_53/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp @@ -31,7 +31,7 @@ PythonQtShell_QAbstractMessageHandler::~PythonQtShell_QAbstractMessageHandler() } void PythonQtShell_QAbstractMessageHandler::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -50,7 +50,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractMessageHandler::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -69,7 +69,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractMessageHandler::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -99,7 +99,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractMessageHandler::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -129,7 +129,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractMessageHandler::handleMessage(QtMsgType type0, const QString& description1, const QUrl& identifier2, const QSourceLocation& sourceLocation3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("handleMessage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -148,7 +148,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractMessageHandler::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -187,7 +187,7 @@ PythonQtShell_QAbstractUriResolver::~PythonQtShell_QAbstractUriResolver() { } void PythonQtShell_QAbstractUriResolver::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -206,7 +206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractUriResolver::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -225,7 +225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractUriResolver::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -255,7 +255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractUriResolver::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -285,7 +285,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QUrl PythonQtShell_QAbstractUriResolver::resolve(const QUrl& relative0, const QUrl& baseURI1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resolve"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -315,7 +315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractUriResolver::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -349,7 +349,7 @@ PythonQtShell_QAbstractXmlNodeModel::~PythonQtShell_QAbstractXmlNodeModel() { } QVector PythonQtShell_QAbstractXmlNodeModel::attributes(const QXmlNodeModelIndex& element0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("attributes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -379,7 +379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QUrl PythonQtShell_QAbstractXmlNodeModel::baseUri(const QXmlNodeModelIndex& ni0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("baseUri"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -409,7 +409,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex::DocumentOrder PythonQtShell_QAbstractXmlNodeModel::compareOrder(const QXmlNodeModelIndex& ni10, const QXmlNodeModelIndex& ni21) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("compareOrder"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -439,7 +439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QUrl PythonQtShell_QAbstractXmlNodeModel::documentUri(const QXmlNodeModelIndex& ni0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("documentUri"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -469,7 +469,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::elementById(const QXmlName& NCName0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("elementById"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -499,7 +499,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractXmlNodeModel::isDeepEqual(const QXmlNodeModelIndex& ni10, const QXmlNodeModelIndex& ni21) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isDeepEqual"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -529,7 +529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex::NodeKind PythonQtShell_QAbstractXmlNodeModel::kind(const QXmlNodeModelIndex& ni0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("kind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -559,7 +559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlName PythonQtShell_QAbstractXmlNodeModel::name(const QXmlNodeModelIndex& ni0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("name"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -589,7 +589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVector PythonQtShell_QAbstractXmlNodeModel::namespaceBindings(const QXmlNodeModelIndex& n0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("namespaceBindings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -619,7 +619,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } short PythonQtShell_QAbstractXmlNodeModel::namespaceForPrefix(const QXmlNodeModelIndex& ni0, const short prefix1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("namespaceForPrefix"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -649,7 +649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis0, const QXmlNodeModelIndex& origin1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextFromSimpleAxis"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -679,7 +679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVector PythonQtShell_QAbstractXmlNodeModel::nodesByIdref(const QXmlName& NCName0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nodesByIdref"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -709,7 +709,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::root(const QXmlNodeModelIndex& n0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("root"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -739,7 +739,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QAbstractXmlNodeModel::stringValue(const QXmlNodeModelIndex& n0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stringValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -769,7 +769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractXmlNodeModel::typedValue(const QXmlNodeModelIndex& n0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("typedValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -894,7 +894,7 @@ PythonQtShell_QAbstractXmlReceiver::~PythonQtShell_QAbstractXmlReceiver() { } void PythonQtShell_QAbstractXmlReceiver::atomicValue(const QVariant& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atomicValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -913,7 +913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::attribute(const QXmlName& name0, const QStringRef& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("attribute"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -932,7 +932,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::characters(const QStringRef& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -951,7 +951,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::comment(const QString& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -970,7 +970,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::endDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -989,7 +989,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::endElement() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1008,7 +1008,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::endOfSequence() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1027,7 +1027,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::namespaceBinding(const QXmlName& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("namespaceBinding"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1046,7 +1046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::processingInstruction(const QXmlName& target0, const QString& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1065,7 +1065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::startDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1084,7 +1084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::startElement(const QXmlName& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1103,7 +1103,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::startOfSequence() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1122,7 +1122,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::whitespaceOnly(const QStringRef& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("whitespaceOnly"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1220,7 +1220,7 @@ PythonQtShell_QSimpleXmlNodeModel::~PythonQtShell_QSimpleXmlNodeModel() { } QVector PythonQtShell_QSimpleXmlNodeModel::attributes(const QXmlNodeModelIndex& element0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("attributes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1250,7 +1250,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QUrl PythonQtShell_QSimpleXmlNodeModel::baseUri(const QXmlNodeModelIndex& node0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("baseUri"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1280,7 +1280,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex::DocumentOrder PythonQtShell_QSimpleXmlNodeModel::compareOrder(const QXmlNodeModelIndex& ni10, const QXmlNodeModelIndex& ni21) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("compareOrder"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1310,7 +1310,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QUrl PythonQtShell_QSimpleXmlNodeModel::documentUri(const QXmlNodeModelIndex& ni0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("documentUri"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1340,7 +1340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::elementById(const QXmlName& id0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("elementById"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1370,7 +1370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex::NodeKind PythonQtShell_QSimpleXmlNodeModel::kind(const QXmlNodeModelIndex& ni0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("kind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1400,7 +1400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlName PythonQtShell_QSimpleXmlNodeModel::name(const QXmlNodeModelIndex& ni0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("name"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1430,7 +1430,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVector PythonQtShell_QSimpleXmlNodeModel::namespaceBindings(const QXmlNodeModelIndex& arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("namespaceBindings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1460,7 +1460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis0, const QXmlNodeModelIndex& origin1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextFromSimpleAxis"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1490,7 +1490,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVector PythonQtShell_QSimpleXmlNodeModel::nodesByIdref(const QXmlName& idref0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nodesByIdref"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1520,7 +1520,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::root(const QXmlNodeModelIndex& n0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("root"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1550,7 +1550,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSimpleXmlNodeModel::stringValue(const QXmlNodeModelIndex& node0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stringValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1580,7 +1580,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSimpleXmlNodeModel::typedValue(const QXmlNodeModelIndex& n0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("typedValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1716,7 +1716,7 @@ PythonQtShell_QXmlFormatter::~PythonQtShell_QXmlFormatter() { } void PythonQtShell_QXmlFormatter::atomicValue(const QVariant& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atomicValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1735,7 +1735,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::attribute(const QXmlName& name0, const QStringRef& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("attribute"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1754,7 +1754,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::characters(const QStringRef& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1773,7 +1773,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::comment(const QString& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1792,7 +1792,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::endDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1811,7 +1811,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::endElement() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1830,7 +1830,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::endOfSequence() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1849,7 +1849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::namespaceBinding(const QXmlName& nb0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("namespaceBinding"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1868,7 +1868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::processingInstruction(const QXmlName& name0, const QString& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1887,7 +1887,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::startDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1906,7 +1906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::startElement(const QXmlName& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1925,7 +1925,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::startOfSequence() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1944,7 +1944,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::whitespaceOnly(const QStringRef& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("whitespaceOnly"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2509,7 +2509,7 @@ PythonQtShell_QXmlSerializer::~PythonQtShell_QXmlSerializer() { } void PythonQtShell_QXmlSerializer::atomicValue(const QVariant& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atomicValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2528,7 +2528,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::attribute(const QXmlName& name0, const QStringRef& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("attribute"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2547,7 +2547,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::characters(const QStringRef& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2566,7 +2566,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::comment(const QString& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2585,7 +2585,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::endDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2604,7 +2604,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::endElement() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2623,7 +2623,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::endOfSequence() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2642,7 +2642,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::namespaceBinding(const QXmlName& nb0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("namespaceBinding"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2661,7 +2661,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::processingInstruction(const QXmlName& name0, const QString& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2680,7 +2680,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::startDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2699,7 +2699,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::startElement(const QXmlName& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2718,7 +2718,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::startOfSequence() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2737,7 +2737,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::whitespaceOnly(const QStringRef& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("whitespaceOnly"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_core/com_trolltech_qt_core0.cpp b/generated_cpp_54/com_trolltech_qt_core/com_trolltech_qt_core0.cpp index 21faee785..437322749 100644 --- a/generated_cpp_54/com_trolltech_qt_core/com_trolltech_qt_core0.cpp +++ b/generated_cpp_54/com_trolltech_qt_core/com_trolltech_qt_core0.cpp @@ -51,7 +51,7 @@ PythonQtShell_QAbstractAnimation::~PythonQtShell_QAbstractAnimation() { } void PythonQtShell_QAbstractAnimation::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -70,7 +70,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractAnimation::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -89,7 +89,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractAnimation::duration() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -119,7 +119,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractAnimation::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -149,7 +149,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -179,7 +179,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractAnimation::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -198,7 +198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractAnimation::updateCurrentTime(int currentTime0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -217,7 +217,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractAnimation::updateDirection(QAbstractAnimation::Direction direction0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -236,7 +236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -340,7 +340,7 @@ PythonQtShell_QAbstractItemModel::~PythonQtShell_QAbstractItemModel() { } QModelIndex PythonQtShell_QAbstractItemModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -370,7 +370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -400,7 +400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -430,7 +430,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -449,7 +449,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -479,7 +479,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -498,7 +498,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractItemModel::data(const QModelIndex& index0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -528,7 +528,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -558,7 +558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -588,7 +588,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -618,7 +618,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -637,7 +637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QAbstractItemModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -667,7 +667,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::hasChildren(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -697,7 +697,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractItemModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -727,7 +727,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractItemModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -757,7 +757,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -787,7 +787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -817,7 +817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QAbstractItemModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -847,7 +847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QAbstractItemModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -877,7 +877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QAbstractItemModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -907,7 +907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QAbstractItemModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -937,7 +937,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -967,7 +967,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -997,7 +997,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractItemModel::parent(const QModelIndex& child0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1027,7 +1027,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1057,7 +1057,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1087,7 +1087,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1106,7 +1106,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QAbstractItemModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1136,7 +1136,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1166,7 +1166,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1196,7 +1196,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1226,7 +1226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1256,7 +1256,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractItemModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1286,7 +1286,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1305,7 +1305,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractItemModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1335,7 +1335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1365,7 +1365,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QAbstractItemModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1395,7 +1395,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QAbstractItemModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1425,7 +1425,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1769,7 +1769,7 @@ PythonQtShell_QAbstractListModel::~PythonQtShell_QAbstractListModel() { } QModelIndex PythonQtShell_QAbstractListModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1799,7 +1799,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1829,7 +1829,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1859,7 +1859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractListModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1878,7 +1878,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractListModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1897,7 +1897,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractListModel::data(const QModelIndex& index0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1927,7 +1927,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1957,7 +1957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1987,7 +1987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2017,7 +2017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractListModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2036,7 +2036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QAbstractListModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2066,7 +2066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractListModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2096,7 +2096,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractListModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2126,7 +2126,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2156,7 +2156,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2186,7 +2186,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QAbstractListModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2216,7 +2216,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QAbstractListModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2246,7 +2246,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QAbstractListModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2276,7 +2276,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QAbstractListModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2306,7 +2306,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2336,7 +2336,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2366,7 +2366,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2396,7 +2396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2426,7 +2426,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractListModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2445,7 +2445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QAbstractListModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2475,7 +2475,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractListModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2505,7 +2505,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2535,7 +2535,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2565,7 +2565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2595,7 +2595,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractListModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2625,7 +2625,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractListModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2644,7 +2644,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractListModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2674,7 +2674,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractListModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2704,7 +2704,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QAbstractListModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2734,7 +2734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QAbstractListModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2764,7 +2764,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractListModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2813,7 +2813,7 @@ PythonQtShell_QAbstractState::~PythonQtShell_QAbstractState() { } void PythonQtShell_QAbstractState::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2832,7 +2832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractState::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2851,7 +2851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractState::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2881,7 +2881,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractState::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2911,7 +2911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractState::onEntry(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2930,7 +2930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractState::onExit(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2949,7 +2949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractState::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3008,7 +3008,7 @@ PythonQtShell_QAbstractTransition::~PythonQtShell_QAbstractTransition() { } void PythonQtShell_QAbstractTransition::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3027,7 +3027,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTransition::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3046,7 +3046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTransition::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3076,7 +3076,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTransition::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3106,7 +3106,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTransition::eventTest(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3136,7 +3136,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTransition::onTransition(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3155,7 +3155,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTransition::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3244,7 +3244,7 @@ PythonQtShell_QAnimationGroup::~PythonQtShell_QAnimationGroup() { } void PythonQtShell_QAnimationGroup::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3263,7 +3263,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAnimationGroup::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3282,7 +3282,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAnimationGroup::duration() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3312,7 +3312,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAnimationGroup::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3342,7 +3342,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAnimationGroup::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3372,7 +3372,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAnimationGroup::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3391,7 +3391,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAnimationGroup::updateCurrentTime(int currentTime0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3410,7 +3410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3429,7 +3429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3564,7 +3564,7 @@ PythonQtShell_QBuffer::~PythonQtShell_QBuffer() { } bool PythonQtShell_QBuffer::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3594,7 +3594,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QBuffer::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3624,7 +3624,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QBuffer::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3654,7 +3654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3684,7 +3684,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBuffer::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3703,7 +3703,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBuffer::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3722,7 +3722,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBuffer::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3741,7 +3741,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3771,7 +3771,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3801,7 +3801,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3831,7 +3831,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::open(QIODevice::OpenMode openMode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3861,7 +3861,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QBuffer::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3891,7 +3891,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QBuffer::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3921,7 +3921,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QBuffer::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3951,7 +3951,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3981,7 +3981,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::seek(qint64 off0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4011,7 +4011,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QBuffer::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4041,7 +4041,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBuffer::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4060,7 +4060,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4090,7 +4090,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBuffer::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4120,7 +4120,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QBuffer::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5591,7 +5591,7 @@ PythonQtShell_QEventLoop::~PythonQtShell_QEventLoop() { } void PythonQtShell_QEventLoop::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5610,7 +5610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QEventLoop::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5629,7 +5629,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QEventLoop::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5659,7 +5659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QEventLoop::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5689,7 +5689,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QEventLoop::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5753,7 +5753,7 @@ PythonQtShell_QEventTransition::~PythonQtShell_QEventTransition() { } void PythonQtShell_QEventTransition::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5772,7 +5772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QEventTransition::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5791,7 +5791,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QEventTransition::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5821,7 +5821,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QEventTransition::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5851,7 +5851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QEventTransition::eventTest(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5881,7 +5881,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QEventTransition::onTransition(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5900,7 +5900,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QEventTransition::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5968,7 +5968,7 @@ PythonQtShell_QFactoryInterface::~PythonQtShell_QFactoryInterface() { } QStringList PythonQtShell_QFactoryInterface::keys() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keys"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6013,7 +6013,7 @@ PythonQtShell_QFile::~PythonQtShell_QFile() { } bool PythonQtShell_QFile::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6043,7 +6043,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFile::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6073,7 +6073,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFile::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6103,7 +6103,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6133,7 +6133,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFile::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6152,7 +6152,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFile::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6171,7 +6171,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFile::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6190,7 +6190,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6220,7 +6220,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6250,7 +6250,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QFile::fileName() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fileName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6280,7 +6280,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6310,7 +6310,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::open(QIODevice::OpenMode flags0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6340,7 +6340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QFileDevice::Permissions PythonQtShell_QFile::permissions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("permissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6370,7 +6370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFile::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6400,7 +6400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFile::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6430,7 +6430,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFile::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6460,7 +6460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6490,7 +6490,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::resize(qint64 sz0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6520,7 +6520,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::seek(qint64 offset0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6550,7 +6550,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::setPermissions(QFileDevice::Permissions permissionSpec0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6580,7 +6580,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFile::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6610,7 +6610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFile::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6629,7 +6629,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6659,7 +6659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFile::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6689,7 +6689,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFile::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6866,7 +6866,7 @@ PythonQtShell_QFileDevice::~PythonQtShell_QFileDevice() { } bool PythonQtShell_QFileDevice::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6896,7 +6896,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFileDevice::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6926,7 +6926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFileDevice::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6956,7 +6956,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6986,7 +6986,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDevice::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7005,7 +7005,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDevice::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7024,7 +7024,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDevice::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7043,7 +7043,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7073,7 +7073,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7103,7 +7103,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QFileDevice::fileName() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fileName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7133,7 +7133,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7163,7 +7163,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7193,7 +7193,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QFileDevice::Permissions PythonQtShell_QFileDevice::permissions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("permissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7223,7 +7223,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFileDevice::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7253,7 +7253,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFileDevice::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7283,7 +7283,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFileDevice::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7313,7 +7313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7343,7 +7343,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::resize(qint64 sz0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7373,7 +7373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::seek(qint64 offset0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7403,7 +7403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::setPermissions(QFileDevice::Permissions permissionSpec0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7433,7 +7433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFileDevice::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7463,7 +7463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDevice::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7482,7 +7482,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7512,7 +7512,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDevice::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7542,7 +7542,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QFileDevice::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_core/com_trolltech_qt_core1.cpp b/generated_cpp_54/com_trolltech_qt_core/com_trolltech_qt_core1.cpp index e3e97a6b0..63d6ddd16 100644 --- a/generated_cpp_54/com_trolltech_qt_core/com_trolltech_qt_core1.cpp +++ b/generated_cpp_54/com_trolltech_qt_core/com_trolltech_qt_core1.cpp @@ -52,7 +52,7 @@ PythonQtShell_QFileSelector::~PythonQtShell_QFileSelector() { } void PythonQtShell_QFileSelector::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -71,7 +71,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSelector::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -90,7 +90,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSelector::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -120,7 +120,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSelector::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -150,7 +150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSelector::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -204,7 +204,7 @@ PythonQtShell_QFileSystemWatcher::~PythonQtShell_QFileSystemWatcher() { } void PythonQtShell_QFileSystemWatcher::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -223,7 +223,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSystemWatcher::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -242,7 +242,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemWatcher::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -272,7 +272,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemWatcher::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -302,7 +302,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSystemWatcher::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -365,7 +365,7 @@ PythonQtShell_QFinalState::~PythonQtShell_QFinalState() { } void PythonQtShell_QFinalState::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -384,7 +384,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFinalState::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -403,7 +403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFinalState::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -433,7 +433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFinalState::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -463,7 +463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFinalState::onEntry(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -482,7 +482,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFinalState::onExit(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -501,7 +501,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFinalState::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -545,7 +545,7 @@ PythonQtShell_QHistoryState::~PythonQtShell_QHistoryState() { } void PythonQtShell_QHistoryState::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -564,7 +564,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHistoryState::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -583,7 +583,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHistoryState::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -613,7 +613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHistoryState::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -643,7 +643,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHistoryState::onEntry(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -662,7 +662,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHistoryState::onExit(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -681,7 +681,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHistoryState::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -749,7 +749,7 @@ PythonQtShell_QIODevice::~PythonQtShell_QIODevice() { } bool PythonQtShell_QIODevice::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -779,7 +779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QIODevice::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -809,7 +809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QIODevice::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -839,7 +839,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -869,7 +869,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIODevice::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -888,7 +888,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIODevice::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -907,7 +907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIODevice::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -926,7 +926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -956,7 +956,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -986,7 +986,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1016,7 +1016,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1046,7 +1046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QIODevice::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1076,7 +1076,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QIODevice::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1106,7 +1106,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QIODevice::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1136,7 +1136,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1166,7 +1166,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::seek(qint64 pos0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1196,7 +1196,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QIODevice::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1226,7 +1226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIODevice::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1245,7 +1245,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1275,7 +1275,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIODevice::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1305,7 +1305,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QIODevice::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1519,7 +1519,7 @@ PythonQtShell_QIdentityProxyModel::~PythonQtShell_QIdentityProxyModel() { } QModelIndex PythonQtShell_QIdentityProxyModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1549,7 +1549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1579,7 +1579,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1609,7 +1609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIdentityProxyModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1628,7 +1628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QIdentityProxyModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1658,7 +1658,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIdentityProxyModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1677,7 +1677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QIdentityProxyModel::data(const QModelIndex& proxyIndex0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1707,7 +1707,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1737,7 +1737,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1767,7 +1767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1797,7 +1797,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIdentityProxyModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1816,7 +1816,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QIdentityProxyModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1846,7 +1846,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::hasChildren(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1876,7 +1876,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QIdentityProxyModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1906,7 +1906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QIdentityProxyModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1936,7 +1936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1966,7 +1966,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1996,7 +1996,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QIdentityProxyModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2026,7 +2026,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QIdentityProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2056,7 +2056,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionFromSource(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapSelectionFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2086,7 +2086,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionToSource(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapSelectionToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2116,7 +2116,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QIdentityProxyModel::mapToSource(const QModelIndex& proxyIndex0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2146,7 +2146,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QIdentityProxyModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2176,7 +2176,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QIdentityProxyModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2206,7 +2206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QIdentityProxyModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2236,7 +2236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2266,7 +2266,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2296,7 +2296,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QIdentityProxyModel::parent(const QModelIndex& child0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2326,7 +2326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2356,7 +2356,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2386,7 +2386,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIdentityProxyModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2405,7 +2405,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QIdentityProxyModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2435,7 +2435,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QIdentityProxyModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2465,7 +2465,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2495,7 +2495,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2525,7 +2525,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2555,7 +2555,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIdentityProxyModel::setSourceModel(QAbstractItemModel* sourceModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSourceModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2574,7 +2574,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QIdentityProxyModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2604,7 +2604,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIdentityProxyModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2623,7 +2623,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QIdentityProxyModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2653,7 +2653,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIdentityProxyModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2683,7 +2683,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2713,7 +2713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2743,7 +2743,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIdentityProxyModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3417,7 +3417,7 @@ PythonQtShell_QLibrary::~PythonQtShell_QLibrary() { } void PythonQtShell_QLibrary::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3436,7 +3436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLibrary::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3455,7 +3455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLibrary::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3485,7 +3485,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLibrary::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3515,7 +3515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLibrary::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4419,7 +4419,7 @@ PythonQtShell_QMimeData::~PythonQtShell_QMimeData() { } void PythonQtShell_QMimeData::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4438,7 +4438,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMimeData::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4457,7 +4457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMimeData::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4487,7 +4487,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMimeData::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4517,7 +4517,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QMimeData::formats() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("formats"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4547,7 +4547,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMimeData::hasFormat(const QString& mimetype0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4577,7 +4577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QMimeData::retrieveData(const QString& mimetype0, QVariant::Type preferredType1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("retrieveData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4607,7 +4607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMimeData::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5018,7 +5018,7 @@ PythonQtShell_QObject::~PythonQtShell_QObject() { } void PythonQtShell_QObject::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5037,7 +5037,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QObject::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5056,7 +5056,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QObject::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5086,7 +5086,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QObject::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5116,7 +5116,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QObject::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5265,7 +5265,7 @@ PythonQtShell_QParallelAnimationGroup::~PythonQtShell_QParallelAnimationGroup() } void PythonQtShell_QParallelAnimationGroup::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5284,7 +5284,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QParallelAnimationGroup::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5303,7 +5303,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QParallelAnimationGroup::duration() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5333,7 +5333,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QParallelAnimationGroup::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5363,7 +5363,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QParallelAnimationGroup::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5393,7 +5393,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QParallelAnimationGroup::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5412,7 +5412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QParallelAnimationGroup::updateCurrentTime(int currentTime0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5431,7 +5431,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QParallelAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5450,7 +5450,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QParallelAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_core/com_trolltech_qt_core2.cpp b/generated_cpp_54/com_trolltech_qt_core/com_trolltech_qt_core2.cpp index 245c99153..d36761ec3 100644 --- a/generated_cpp_54/com_trolltech_qt_core/com_trolltech_qt_core2.cpp +++ b/generated_cpp_54/com_trolltech_qt_core/com_trolltech_qt_core2.cpp @@ -50,7 +50,7 @@ PythonQtShell_QPauseAnimation::~PythonQtShell_QPauseAnimation() { } void PythonQtShell_QPauseAnimation::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -69,7 +69,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPauseAnimation::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -88,7 +88,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPauseAnimation::duration() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -118,7 +118,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPauseAnimation::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -148,7 +148,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPauseAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -178,7 +178,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPauseAnimation::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -197,7 +197,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPauseAnimation::updateCurrentTime(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -216,7 +216,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPauseAnimation::updateDirection(QAbstractAnimation::Direction direction0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -235,7 +235,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPauseAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -394,7 +394,7 @@ PythonQtShell_QProcess::~PythonQtShell_QProcess() { } bool PythonQtShell_QProcess::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -424,7 +424,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QProcess::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -454,7 +454,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QProcess::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -484,7 +484,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -514,7 +514,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProcess::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -533,7 +533,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProcess::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -552,7 +552,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProcess::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -571,7 +571,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -601,7 +601,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -631,7 +631,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -661,7 +661,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -691,7 +691,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QProcess::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -721,7 +721,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QProcess::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -751,7 +751,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QProcess::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -781,7 +781,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -811,7 +811,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::seek(qint64 pos0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -841,7 +841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProcess::setupChildProcess() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupChildProcess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -860,7 +860,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QProcess::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -890,7 +890,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProcess::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -909,7 +909,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -939,7 +939,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProcess::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -969,7 +969,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QProcess::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1359,7 +1359,7 @@ PythonQtShell_QPropertyAnimation::~PythonQtShell_QPropertyAnimation() { } void PythonQtShell_QPropertyAnimation::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1378,7 +1378,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPropertyAnimation::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1397,7 +1397,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPropertyAnimation::duration() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1427,7 +1427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPropertyAnimation::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1457,7 +1457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPropertyAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1487,7 +1487,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QPropertyAnimation::interpolated(const QVariant& from0, const QVariant& to1, qreal progress2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("interpolated"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1517,7 +1517,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPropertyAnimation::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1536,7 +1536,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPropertyAnimation::updateCurrentTime(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1555,7 +1555,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPropertyAnimation::updateCurrentValue(const QVariant& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1574,7 +1574,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPropertyAnimation::updateDirection(QAbstractAnimation::Direction direction0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1593,7 +1593,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPropertyAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2090,7 +2090,7 @@ PythonQtShell_QRunnable::~PythonQtShell_QRunnable() { } void PythonQtShell_QRunnable::run() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("run"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2134,7 +2134,7 @@ PythonQtShell_QSaveFile::~PythonQtShell_QSaveFile() { } bool PythonQtShell_QSaveFile::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2164,7 +2164,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSaveFile::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2194,7 +2194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSaveFile::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2224,7 +2224,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSaveFile::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2254,7 +2254,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSaveFile::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2273,7 +2273,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSaveFile::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2292,7 +2292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSaveFile::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2322,7 +2322,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSaveFile::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2352,7 +2352,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSaveFile::fileName() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fileName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2382,7 +2382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSaveFile::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2412,7 +2412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSaveFile::open(QIODevice::OpenMode flags0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2442,7 +2442,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QFileDevice::Permissions PythonQtShell_QSaveFile::permissions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("permissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2472,7 +2472,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSaveFile::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2502,7 +2502,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSaveFile::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2532,7 +2532,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSaveFile::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2562,7 +2562,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSaveFile::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2592,7 +2592,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSaveFile::resize(qint64 sz0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2622,7 +2622,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSaveFile::seek(qint64 offset0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2652,7 +2652,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSaveFile::setPermissions(QFileDevice::Permissions permissionSpec0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2682,7 +2682,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSaveFile::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2712,7 +2712,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSaveFile::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2731,7 +2731,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSaveFile::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2761,7 +2761,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSaveFile::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2791,7 +2791,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSaveFile::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2910,7 +2910,7 @@ PythonQtShell_QSequentialAnimationGroup::~PythonQtShell_QSequentialAnimationGrou } void PythonQtShell_QSequentialAnimationGroup::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2929,7 +2929,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSequentialAnimationGroup::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2948,7 +2948,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSequentialAnimationGroup::duration() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2978,7 +2978,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSequentialAnimationGroup::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3008,7 +3008,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSequentialAnimationGroup::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3038,7 +3038,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSequentialAnimationGroup::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3057,7 +3057,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSequentialAnimationGroup::updateCurrentTime(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3076,7 +3076,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSequentialAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3095,7 +3095,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSequentialAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3164,7 +3164,7 @@ PythonQtShell_QSettings::~PythonQtShell_QSettings() { } void PythonQtShell_QSettings::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3183,7 +3183,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSettings::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3202,7 +3202,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSettings::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3232,7 +3232,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSettings::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3262,7 +3262,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSettings::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3467,7 +3467,7 @@ PythonQtShell_QSharedMemory::~PythonQtShell_QSharedMemory() { } void PythonQtShell_QSharedMemory::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3486,7 +3486,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSharedMemory::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3505,7 +3505,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSharedMemory::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3535,7 +3535,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSharedMemory::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3565,7 +3565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSharedMemory::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3673,7 +3673,7 @@ PythonQtShell_QSignalMapper::~PythonQtShell_QSignalMapper() { } void PythonQtShell_QSignalMapper::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3692,7 +3692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSignalMapper::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3711,7 +3711,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSignalMapper::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3741,7 +3741,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSignalMapper::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3771,7 +3771,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSignalMapper::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3845,7 +3845,7 @@ PythonQtShell_QSignalTransition::~PythonQtShell_QSignalTransition() { } void PythonQtShell_QSignalTransition::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3864,7 +3864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSignalTransition::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3883,7 +3883,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSignalTransition::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3913,7 +3913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSignalTransition::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3943,7 +3943,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSignalTransition::eventTest(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3973,7 +3973,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSignalTransition::onTransition(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3992,7 +3992,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSignalTransition::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4124,7 +4124,7 @@ PythonQtShell_QState::~PythonQtShell_QState() { } void PythonQtShell_QState::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4143,7 +4143,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QState::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4162,7 +4162,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QState::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4192,7 +4192,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QState::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4222,7 +4222,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QState::onEntry(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4241,7 +4241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QState::onExit(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4260,7 +4260,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QState::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4368,7 +4368,7 @@ PythonQtShell_QStateMachine::~PythonQtShell_QStateMachine() { } void PythonQtShell_QStateMachine::beginMicrostep(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("beginMicrostep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4387,7 +4387,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStateMachine::beginSelectTransitions(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("beginSelectTransitions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4406,7 +4406,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStateMachine::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4425,7 +4425,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStateMachine::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4444,7 +4444,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStateMachine::endMicrostep(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endMicrostep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4463,7 +4463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStateMachine::endSelectTransitions(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endSelectTransitions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4482,7 +4482,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStateMachine::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4512,7 +4512,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStateMachine::eventFilter(QObject* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4542,7 +4542,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStateMachine::onEntry(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4561,7 +4561,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStateMachine::onExit(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4580,7 +4580,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStateMachine::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4935,7 +4935,7 @@ PythonQtShell_QTemporaryFile::~PythonQtShell_QTemporaryFile() { } bool PythonQtShell_QTemporaryFile::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4965,7 +4965,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTemporaryFile::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4995,7 +4995,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTemporaryFile::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5025,7 +5025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5055,7 +5055,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTemporaryFile::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5074,7 +5074,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTemporaryFile::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5093,7 +5093,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTemporaryFile::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5112,7 +5112,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5142,7 +5142,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5172,7 +5172,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5202,7 +5202,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::open(QIODevice::OpenMode flags0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5232,7 +5232,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QFileDevice::Permissions PythonQtShell_QTemporaryFile::permissions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("permissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5262,7 +5262,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTemporaryFile::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5292,7 +5292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTemporaryFile::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5322,7 +5322,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTemporaryFile::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5352,7 +5352,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5382,7 +5382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::resize(qint64 sz0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5412,7 +5412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::seek(qint64 offset0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5442,7 +5442,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::setPermissions(QFileDevice::Permissions permissionSpec0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5472,7 +5472,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTemporaryFile::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5502,7 +5502,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTemporaryFile::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5521,7 +5521,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5551,7 +5551,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTemporaryFile::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5581,7 +5581,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTemporaryFile::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_core/com_trolltech_qt_core3.cpp b/generated_cpp_54/com_trolltech_qt_core/com_trolltech_qt_core3.cpp index 2b002e9f7..111c078d4 100644 --- a/generated_cpp_54/com_trolltech_qt_core/com_trolltech_qt_core3.cpp +++ b/generated_cpp_54/com_trolltech_qt_core/com_trolltech_qt_core3.cpp @@ -40,7 +40,7 @@ PythonQtShell_QTextCodec::~PythonQtShell_QTextCodec() { } QList PythonQtShell_QTextCodec::aliases() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("aliases"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -70,7 +70,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QByteArray PythonQtShell_QTextCodec::convertFromUnicode(const QChar* in0, int length1, QTextCodec::ConverterState* state2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("convertFromUnicode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -100,7 +100,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QTextCodec::convertToUnicode(const char* in0, int length1, QTextCodec::ConverterState* state2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("convertToUnicode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -130,7 +130,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTextCodec::mibEnum() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mibEnum"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -160,7 +160,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QByteArray PythonQtShell_QTextCodec::name() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("name"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -618,7 +618,7 @@ PythonQtShell_QThreadPool::~PythonQtShell_QThreadPool() { } void PythonQtShell_QThreadPool::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -637,7 +637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QThreadPool::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -656,7 +656,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QThreadPool::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -686,7 +686,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QThreadPool::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -716,7 +716,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QThreadPool::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -805,7 +805,7 @@ PythonQtShell_QTimeLine::~PythonQtShell_QTimeLine() { } void PythonQtShell_QTimeLine::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -824,7 +824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeLine::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -843,7 +843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimeLine::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -873,7 +873,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimeLine::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -903,7 +903,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeLine::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -922,7 +922,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qreal PythonQtShell_QTimeLine::valueForTime(int msec0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("valueForTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1256,7 +1256,7 @@ PythonQtShell_QTimer::~PythonQtShell_QTimer() { } void PythonQtShell_QTimer::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1275,7 +1275,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimer::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1294,7 +1294,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimer::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1324,7 +1324,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimer::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1354,7 +1354,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimer::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1458,7 +1458,7 @@ PythonQtShell_QTranslator::~PythonQtShell_QTranslator() { } void PythonQtShell_QTranslator::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1477,7 +1477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTranslator::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1496,7 +1496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTranslator::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1526,7 +1526,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTranslator::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1556,7 +1556,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTranslator::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1586,7 +1586,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTranslator::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1605,7 +1605,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QTranslator::translate(const char* context0, const char* sourceText1, const char* disambiguation2, int n3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("translate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1907,7 +1907,7 @@ PythonQtShell_QVariantAnimation::~PythonQtShell_QVariantAnimation() { } void PythonQtShell_QVariantAnimation::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1926,7 +1926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVariantAnimation::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1945,7 +1945,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QVariantAnimation::duration() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1975,7 +1975,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVariantAnimation::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2005,7 +2005,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVariantAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2035,7 +2035,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QVariantAnimation::interpolated(const QVariant& from0, const QVariant& to1, qreal progress2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("interpolated"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2065,7 +2065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVariantAnimation::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2084,7 +2084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVariantAnimation::updateCurrentTime(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2103,7 +2103,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVariantAnimation::updateCurrentValue(const QVariant& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCurrentValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2122,7 +2122,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVariantAnimation::updateDirection(QAbstractAnimation::Direction direction0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2141,7 +2141,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVariantAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2286,7 +2286,7 @@ PythonQtShell_QXmlStreamEntityResolver::~PythonQtShell_QXmlStreamEntityResolver( } QString PythonQtShell_QXmlStreamEntityResolver::resolveEntity(const QString& publicId0, const QString& systemId1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resolveEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2316,7 +2316,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QXmlStreamEntityResolver::resolveUndeclaredEntity(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resolveUndeclaredEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp index b698e1475..e37155cca 100644 --- a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp +++ b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp @@ -112,7 +112,7 @@ PythonQtShell_QAbstractButton::~PythonQtShell_QAbstractButton() { } void PythonQtShell_QAbstractButton::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -131,7 +131,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -150,7 +150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::checkStateSet() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -169,7 +169,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -188,7 +188,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -207,7 +207,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -226,7 +226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -245,7 +245,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractButton::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -275,7 +275,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -294,7 +294,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -313,7 +313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -332,7 +332,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -351,7 +351,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -370,7 +370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractButton::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -400,7 +400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractButton::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -430,7 +430,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -449,7 +449,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractButton::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -479,7 +479,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::focusOutEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -498,7 +498,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractButton::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -528,7 +528,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractButton::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -558,7 +558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -577,7 +577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractButton::hitButton(const QPoint& pos0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -607,7 +607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -626,7 +626,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -645,7 +645,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -675,7 +675,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::keyPressEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -694,7 +694,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -713,7 +713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -732,7 +732,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -762,7 +762,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractButton::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -792,7 +792,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -811,7 +811,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -830,7 +830,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -849,7 +849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -868,7 +868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -887,7 +887,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -917,7 +917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::nextCheckState() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -936,7 +936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QAbstractButton::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -966,7 +966,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -985,7 +985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QAbstractButton::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1015,7 +1015,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1034,7 +1034,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QAbstractButton::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1064,7 +1064,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1083,7 +1083,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractButton::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1113,7 +1113,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1132,7 +1132,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1151,7 +1151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractButton::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1355,7 +1355,7 @@ PythonQtShell_QAbstractGraphicsShapeItem::~PythonQtShell_QAbstractGraphicsShapeI } void PythonQtShell_QAbstractGraphicsShapeItem::advance(int phase0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1374,7 +1374,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRectF PythonQtShell_QAbstractGraphicsShapeItem::boundingRect() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1404,7 +1404,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractGraphicsShapeItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1434,7 +1434,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractGraphicsShapeItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1464,7 +1464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractGraphicsShapeItem::contains(const QPointF& point0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1494,7 +1494,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1513,7 +1513,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1532,7 +1532,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1551,7 +1551,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1570,7 +1570,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1589,7 +1589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractGraphicsShapeItem::extension(const QVariant& variant0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1619,7 +1619,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1638,7 +1638,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1657,7 +1657,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1676,7 +1676,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1695,7 +1695,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1714,7 +1714,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1733,7 +1733,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractGraphicsShapeItem::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1763,7 +1763,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractGraphicsShapeItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1793,7 +1793,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractGraphicsShapeItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1826,7 +1826,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1845,7 +1845,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1864,7 +1864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1883,7 +1883,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1902,7 +1902,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1921,7 +1921,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1940,7 +1940,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QAbstractGraphicsShapeItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1970,7 +1970,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1989,7 +1989,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractGraphicsShapeItem::sceneEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2019,7 +2019,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractGraphicsShapeItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2049,7 +2049,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2068,7 +2068,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QAbstractGraphicsShapeItem::shape() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2098,7 +2098,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractGraphicsShapeItem::supportsExtension(QGraphicsItem::Extension extension0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2128,7 +2128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractGraphicsShapeItem::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2158,7 +2158,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractGraphicsShapeItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2217,7 +2217,7 @@ PythonQtShell_QAbstractItemDelegate::~PythonQtShell_QAbstractItemDelegate() { } void PythonQtShell_QAbstractItemDelegate::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2236,7 +2236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QAbstractItemDelegate::createEditor(QWidget* parent0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2266,7 +2266,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemDelegate::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2285,7 +2285,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemDelegate::destroyEditor(QWidget* editor0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("destroyEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2304,7 +2304,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemDelegate::editorEvent(QEvent* event0, QAbstractItemModel* model1, const QStyleOptionViewItem& option2, const QModelIndex& index3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2334,7 +2334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemDelegate::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2364,7 +2364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemDelegate::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2394,7 +2394,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemView* view1, const QStyleOptionViewItem& option2, const QModelIndex& index3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2424,7 +2424,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemDelegate::paint(QPainter* painter0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2443,7 +2443,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVector PythonQtShell_QAbstractItemDelegate::paintingRoles() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintingRoles"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2473,7 +2473,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemDelegate::setEditorData(QWidget* editor0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2492,7 +2492,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemDelegate::setModelData(QWidget* editor0, QAbstractItemModel* model1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModelData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2511,7 +2511,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractItemDelegate::sizeHint(const QStyleOptionViewItem& option0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2541,7 +2541,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemDelegate::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2560,7 +2560,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemDelegate::updateEditorGeometry(QWidget* editor0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2639,7 +2639,7 @@ PythonQtShell_QAbstractItemView::~PythonQtShell_QAbstractItemView() { } void PythonQtShell_QAbstractItemView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2658,7 +2658,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2677,7 +2677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2696,7 +2696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2715,7 +2715,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2734,7 +2734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2753,7 +2753,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2772,7 +2772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2791,7 +2791,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2810,7 +2810,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2829,7 +2829,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2859,7 +2859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2878,7 +2878,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2897,7 +2897,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::dragLeaveEvent(QDragLeaveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2916,7 +2916,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::dragMoveEvent(QDragMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2935,7 +2935,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2954,7 +2954,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2984,7 +2984,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3003,7 +3003,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3022,7 +3022,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemView::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3052,7 +3052,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3082,7 +3082,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3101,7 +3101,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3131,7 +3131,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3150,7 +3150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3180,7 +3180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3210,7 +3210,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3229,7 +3229,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemView::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3259,7 +3259,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3278,7 +3278,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3297,7 +3297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractItemView::indexAt(const QPoint& point0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3327,7 +3327,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3346,7 +3346,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3365,7 +3365,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractItemView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3395,7 +3395,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemView::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3425,7 +3425,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3444,7 +3444,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3463,7 +3463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3482,7 +3482,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3501,7 +3501,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3531,7 +3531,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3550,7 +3550,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3569,7 +3569,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3588,7 +3588,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3607,7 +3607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractItemView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3637,7 +3637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3656,7 +3656,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3686,7 +3686,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QAbstractItemView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3716,7 +3716,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3735,7 +3735,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QAbstractItemView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3765,7 +3765,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3784,7 +3784,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3803,7 +3803,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3822,7 +3822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3841,7 +3841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3860,7 +3860,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3879,7 +3879,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3898,7 +3898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QAbstractItemView::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3928,7 +3928,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3947,7 +3947,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QAbstractItemView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3977,7 +3977,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::setModel(QAbstractItemModel* model0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3996,7 +3996,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4015,7 +4015,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4034,7 +4034,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4053,7 +4053,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4072,7 +4072,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QAbstractItemView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4102,7 +4102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4121,7 +4121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemView::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4151,7 +4151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemView::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4181,7 +4181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4200,7 +4200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4219,7 +4219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4238,7 +4238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4257,7 +4257,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4276,7 +4276,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4295,7 +4295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractItemView::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4325,7 +4325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4344,7 +4344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4363,7 +4363,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QAbstractItemView::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4393,7 +4393,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractItemView::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4423,7 +4423,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractItemView::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4453,7 +4453,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QAbstractItemView::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4483,7 +4483,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QAbstractItemView::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4513,7 +4513,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractItemView::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5117,7 +5117,7 @@ PythonQtShell_QAbstractProxyModel::~PythonQtShell_QAbstractProxyModel() { } QModelIndex PythonQtShell_QAbstractProxyModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5147,7 +5147,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5177,7 +5177,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5207,7 +5207,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractProxyModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5226,7 +5226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractProxyModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5256,7 +5256,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractProxyModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5275,7 +5275,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractProxyModel::data(const QModelIndex& proxyIndex0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5305,7 +5305,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5335,7 +5335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5365,7 +5365,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5395,7 +5395,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractProxyModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5414,7 +5414,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QAbstractProxyModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5444,7 +5444,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::hasChildren(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5474,7 +5474,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractProxyModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5504,7 +5504,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractProxyModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5534,7 +5534,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5564,7 +5564,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5594,7 +5594,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QAbstractProxyModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5624,7 +5624,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5654,7 +5654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelection PythonQtShell_QAbstractProxyModel::mapSelectionFromSource(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapSelectionFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5684,7 +5684,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelection PythonQtShell_QAbstractProxyModel::mapSelectionToSource(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapSelectionToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5714,7 +5714,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractProxyModel::mapToSource(const QModelIndex& proxyIndex0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5744,7 +5744,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QAbstractProxyModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5774,7 +5774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QAbstractProxyModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5804,7 +5804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QAbstractProxyModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5834,7 +5834,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5864,7 +5864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5894,7 +5894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractProxyModel::parent(const QModelIndex& child0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5924,7 +5924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5954,7 +5954,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5984,7 +5984,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractProxyModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6003,7 +6003,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QAbstractProxyModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6033,7 +6033,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractProxyModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6063,7 +6063,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6093,7 +6093,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6123,7 +6123,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6153,7 +6153,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractProxyModel::setSourceModel(QAbstractItemModel* sourceModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSourceModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6172,7 +6172,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractProxyModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6202,7 +6202,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractProxyModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6221,7 +6221,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractProxyModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6251,7 +6251,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractProxyModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6281,7 +6281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QAbstractProxyModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6311,7 +6311,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QAbstractProxyModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6341,7 +6341,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractProxyModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6510,7 +6510,7 @@ PythonQtShell_QAbstractScrollArea::~PythonQtShell_QAbstractScrollArea() { } void PythonQtShell_QAbstractScrollArea::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6529,7 +6529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6548,7 +6548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6567,7 +6567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6586,7 +6586,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6605,7 +6605,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6624,7 +6624,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractScrollArea::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6654,7 +6654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6673,7 +6673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6692,7 +6692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6711,7 +6711,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6730,7 +6730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6749,7 +6749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractScrollArea::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6779,7 +6779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractScrollArea::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6809,7 +6809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6828,7 +6828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractScrollArea::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6858,7 +6858,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6877,7 +6877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractScrollArea::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6907,7 +6907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractScrollArea::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6937,7 +6937,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6956,7 +6956,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6975,7 +6975,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6994,7 +6994,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractScrollArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7024,7 +7024,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7043,7 +7043,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7062,7 +7062,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7081,7 +7081,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractScrollArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7111,7 +7111,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7130,7 +7130,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7149,7 +7149,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7168,7 +7168,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7187,7 +7187,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7206,7 +7206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractScrollArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7236,7 +7236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QAbstractScrollArea::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7266,7 +7266,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7285,7 +7285,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QAbstractScrollArea::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7315,7 +7315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7334,7 +7334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7353,7 +7353,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7372,7 +7372,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QAbstractScrollArea::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7402,7 +7402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7421,7 +7421,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7440,7 +7440,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7459,7 +7459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractScrollArea::viewportEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7489,7 +7489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractScrollArea::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7519,7 +7519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractScrollArea::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7748,7 +7748,7 @@ PythonQtShell_QAbstractSlider::~PythonQtShell_QAbstractSlider() { } void PythonQtShell_QAbstractSlider::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7767,7 +7767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7786,7 +7786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7805,7 +7805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7824,7 +7824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7843,7 +7843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7862,7 +7862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractSlider::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7892,7 +7892,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7911,7 +7911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7930,7 +7930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7949,7 +7949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7968,7 +7968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7987,7 +7987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSlider::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8017,7 +8017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSlider::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8047,7 +8047,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8066,7 +8066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSlider::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8096,7 +8096,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8115,7 +8115,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSlider::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8145,7 +8145,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractSlider::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8175,7 +8175,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8194,7 +8194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8213,7 +8213,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8232,7 +8232,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractSlider::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8262,7 +8262,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::keyPressEvent(QKeyEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8281,7 +8281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8300,7 +8300,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8319,7 +8319,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractSlider::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8349,7 +8349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractSlider::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8379,7 +8379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8398,7 +8398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8417,7 +8417,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8436,7 +8436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8455,7 +8455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8474,7 +8474,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSlider::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8504,7 +8504,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QAbstractSlider::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8534,7 +8534,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8553,7 +8553,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QAbstractSlider::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8583,7 +8583,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8602,7 +8602,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QAbstractSlider::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8632,7 +8632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8651,7 +8651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractSlider::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8681,7 +8681,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::sliderChange(QAbstractSlider::SliderChange change0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sliderChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8700,7 +8700,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8719,7 +8719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8738,7 +8738,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSlider::wheelEvent(QWheelEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8907,7 +8907,7 @@ PythonQtShell_QAbstractSpinBox::~PythonQtShell_QAbstractSpinBox() { } void PythonQtShell_QAbstractSpinBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8926,7 +8926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8945,7 +8945,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8964,7 +8964,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8983,7 +8983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9002,7 +9002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::contextMenuEvent(QContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9021,7 +9021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9040,7 +9040,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractSpinBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9070,7 +9070,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9089,7 +9089,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9108,7 +9108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9127,7 +9127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9146,7 +9146,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9165,7 +9165,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSpinBox::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9195,7 +9195,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSpinBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9225,7 +9225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::fixup(QString& input0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9244,7 +9244,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9263,7 +9263,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSpinBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9293,7 +9293,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9312,7 +9312,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSpinBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9342,7 +9342,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractSpinBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9372,7 +9372,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9391,7 +9391,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9410,7 +9410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9429,7 +9429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9459,7 +9459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9478,7 +9478,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9497,7 +9497,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9516,7 +9516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9546,7 +9546,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9565,7 +9565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9584,7 +9584,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9603,7 +9603,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9622,7 +9622,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9641,7 +9641,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSpinBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9671,7 +9671,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QAbstractSpinBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9701,7 +9701,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9720,7 +9720,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QAbstractSpinBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9750,7 +9750,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9769,7 +9769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QAbstractSpinBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9799,7 +9799,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9818,7 +9818,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::stepBy(int steps0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9837,7 +9837,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAbstractSpinBox::StepEnabled PythonQtShell_QAbstractSpinBox::stepEnabled() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9867,7 +9867,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9886,7 +9886,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9905,7 +9905,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QAbstractSpinBox::validate(QString& input0, int& pos1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9935,7 +9935,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSpinBox::wheelEvent(QWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10219,7 +10219,7 @@ PythonQtShell_QAbstractTableModel::~PythonQtShell_QAbstractTableModel() { } QModelIndex PythonQtShell_QAbstractTableModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10249,7 +10249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10279,7 +10279,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10309,7 +10309,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTableModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10328,7 +10328,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractTableModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10358,7 +10358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTableModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10377,7 +10377,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractTableModel::data(const QModelIndex& index0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10407,7 +10407,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10437,7 +10437,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10467,7 +10467,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10497,7 +10497,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTableModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10516,7 +10516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QAbstractTableModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10546,7 +10546,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractTableModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10576,7 +10576,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractTableModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10606,7 +10606,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10636,7 +10636,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10666,7 +10666,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QAbstractTableModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10696,7 +10696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QAbstractTableModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10726,7 +10726,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QAbstractTableModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10756,7 +10756,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QAbstractTableModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10786,7 +10786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10816,7 +10816,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10846,7 +10846,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10876,7 +10876,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10906,7 +10906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTableModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10925,7 +10925,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QAbstractTableModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10955,7 +10955,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractTableModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10985,7 +10985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11015,7 +11015,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11045,7 +11045,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11075,7 +11075,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QAbstractTableModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11105,7 +11105,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTableModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11124,7 +11124,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QAbstractTableModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11154,7 +11154,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTableModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11184,7 +11184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QAbstractTableModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11214,7 +11214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QAbstractTableModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11244,7 +11244,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTableModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11293,7 +11293,7 @@ PythonQtShell_QAbstractTextDocumentLayout::~PythonQtShell_QAbstractTextDocumentL } QRectF PythonQtShell_QAbstractTextDocumentLayout::blockBoundingRect(const QTextBlock& block0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("blockBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11323,7 +11323,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTextDocumentLayout::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11342,7 +11342,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTextDocumentLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11361,7 +11361,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTextDocumentLayout::documentChanged(int from0, int charsRemoved1, int charsAdded2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("documentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11380,7 +11380,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizeF PythonQtShell_QAbstractTextDocumentLayout::documentSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("documentSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11410,7 +11410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTextDocumentLayout::draw(QPainter* painter0, const QAbstractTextDocumentLayout::PaintContext& context1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11429,7 +11429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTextDocumentLayout::drawInlineObject(QPainter* painter0, const QRectF& rect1, QTextInlineObject object2, int posInDocument3, const QTextFormat& format4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11448,7 +11448,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTextDocumentLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11478,7 +11478,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractTextDocumentLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11508,7 +11508,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRectF PythonQtShell_QAbstractTextDocumentLayout::frameBoundingRect(QTextFrame* frame0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("frameBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11538,7 +11538,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractTextDocumentLayout::hitTest(const QPointF& point0, Qt::HitTestAccuracy accuracy1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11568,7 +11568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QAbstractTextDocumentLayout::pageCount() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pageCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11598,7 +11598,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTextDocumentLayout::positionInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("positionInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11617,7 +11617,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTextDocumentLayout::resizeInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11636,7 +11636,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractTextDocumentLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11812,7 +11812,7 @@ PythonQtShell_QAction::~PythonQtShell_QAction() { } void PythonQtShell_QAction::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11831,7 +11831,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAction::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11850,7 +11850,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAction::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11880,7 +11880,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAction::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11910,7 +11910,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAction::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12203,7 +12203,7 @@ PythonQtShell_QActionGroup::~PythonQtShell_QActionGroup() { } void PythonQtShell_QActionGroup::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12222,7 +12222,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QActionGroup::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12241,7 +12241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QActionGroup::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12271,7 +12271,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QActionGroup::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12301,7 +12301,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QActionGroup::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12673,7 +12673,7 @@ PythonQtShell_QBoxLayout::~PythonQtShell_QBoxLayout() { } void PythonQtShell_QBoxLayout::addItem(QLayoutItem* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12692,7 +12692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBoxLayout::childEvent(QChildEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12711,7 +12711,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizePolicy::ControlTypes PythonQtShell_QBoxLayout::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12741,7 +12741,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QBoxLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12771,7 +12771,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBoxLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12790,7 +12790,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBoxLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12820,7 +12820,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBoxLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12850,7 +12850,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QBoxLayout::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12880,7 +12880,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QBoxLayout::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12910,7 +12910,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QBoxLayout::indexOf(QWidget* arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12940,7 +12940,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBoxLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12959,7 +12959,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QBoxLayout::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12989,7 +12989,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QBoxLayout::itemAt(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13019,7 +13019,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QBoxLayout::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13049,7 +13049,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QBoxLayout::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13079,7 +13079,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QBoxLayout::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13109,7 +13109,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBoxLayout::setGeometry(const QRect& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13128,7 +13128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QBoxLayout::takeAt(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13158,7 +13158,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QBoxLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13352,7 +13352,7 @@ PythonQtShell_QButtonGroup::~PythonQtShell_QButtonGroup() { } void PythonQtShell_QButtonGroup::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13371,7 +13371,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QButtonGroup::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13390,7 +13390,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QButtonGroup::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13420,7 +13420,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QButtonGroup::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13450,7 +13450,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QButtonGroup::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13529,7 +13529,7 @@ PythonQtShell_QCalendarWidget::~PythonQtShell_QCalendarWidget() { } void PythonQtShell_QCalendarWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13548,7 +13548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13567,7 +13567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13586,7 +13586,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13605,7 +13605,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13624,7 +13624,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13643,7 +13643,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCalendarWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13673,7 +13673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13692,7 +13692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13711,7 +13711,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13730,7 +13730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13749,7 +13749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13768,7 +13768,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCalendarWidget::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13798,7 +13798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCalendarWidget::eventFilter(QObject* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13828,7 +13828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13847,7 +13847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCalendarWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13877,7 +13877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13896,7 +13896,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCalendarWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13926,7 +13926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCalendarWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13956,7 +13956,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13975,7 +13975,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13994,7 +13994,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14013,7 +14013,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QCalendarWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14043,7 +14043,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14062,7 +14062,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14081,7 +14081,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14100,7 +14100,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCalendarWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14130,7 +14130,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QCalendarWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14160,7 +14160,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14179,7 +14179,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14198,7 +14198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14217,7 +14217,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14236,7 +14236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14255,7 +14255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCalendarWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14285,7 +14285,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::paintCell(QPainter* painter0, const QRect& rect1, const QDate& date2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintCell"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14304,7 +14304,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QCalendarWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14334,7 +14334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14353,7 +14353,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QCalendarWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14383,7 +14383,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14402,7 +14402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QCalendarWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14432,7 +14432,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14451,7 +14451,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QCalendarWidget::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14481,7 +14481,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14500,7 +14500,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14519,7 +14519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCalendarWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14738,7 +14738,7 @@ PythonQtShell_QCheckBox::~PythonQtShell_QCheckBox() { } void PythonQtShell_QCheckBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14757,7 +14757,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14776,7 +14776,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::checkStateSet() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14795,7 +14795,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14814,7 +14814,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14833,7 +14833,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14852,7 +14852,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14871,7 +14871,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCheckBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14901,7 +14901,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14920,7 +14920,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14939,7 +14939,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14958,7 +14958,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14977,7 +14977,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14996,7 +14996,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCheckBox::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15026,7 +15026,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCheckBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15056,7 +15056,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15075,7 +15075,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCheckBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15105,7 +15105,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::focusOutEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15124,7 +15124,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCheckBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15154,7 +15154,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCheckBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15184,7 +15184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15203,7 +15203,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCheckBox::hitButton(const QPoint& pos0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15233,7 +15233,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15252,7 +15252,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15271,7 +15271,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QCheckBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15301,7 +15301,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::keyPressEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15320,7 +15320,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15339,7 +15339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15358,7 +15358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCheckBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15388,7 +15388,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15407,7 +15407,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15426,7 +15426,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15445,7 +15445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15464,7 +15464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15483,7 +15483,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCheckBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15513,7 +15513,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::nextCheckState() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15532,7 +15532,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QCheckBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15562,7 +15562,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15581,7 +15581,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QCheckBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15611,7 +15611,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15630,7 +15630,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QCheckBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15660,7 +15660,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15679,7 +15679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15698,7 +15698,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15717,7 +15717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCheckBox::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15898,7 +15898,7 @@ PythonQtShell_QColorDialog::~PythonQtShell_QColorDialog() { } void PythonQtShell_QColorDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15917,7 +15917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15936,7 +15936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15955,7 +15955,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15974,7 +15974,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15993,7 +15993,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16012,7 +16012,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16031,7 +16031,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColorDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16061,7 +16061,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::done(int result0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16080,7 +16080,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16099,7 +16099,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16118,7 +16118,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16137,7 +16137,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16156,7 +16156,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16175,7 +16175,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColorDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16205,7 +16205,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColorDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16235,7 +16235,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColorDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16265,7 +16265,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16284,7 +16284,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColorDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16314,7 +16314,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16333,7 +16333,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColorDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16363,7 +16363,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColorDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16393,7 +16393,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16412,7 +16412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16431,7 +16431,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16450,7 +16450,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QColorDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16480,7 +16480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16499,7 +16499,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16518,7 +16518,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16537,7 +16537,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColorDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16567,7 +16567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16586,7 +16586,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16605,7 +16605,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16624,7 +16624,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16643,7 +16643,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16662,7 +16662,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColorDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16692,7 +16692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16711,7 +16711,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QColorDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16741,7 +16741,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16760,7 +16760,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QColorDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16790,7 +16790,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16809,7 +16809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16828,7 +16828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QColorDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16858,7 +16858,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16877,7 +16877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16896,7 +16896,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16915,7 +16915,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColorDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17043,7 +17043,7 @@ PythonQtShell_QColumnView::~PythonQtShell_QColumnView() { } void PythonQtShell_QColumnView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17062,7 +17062,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17081,7 +17081,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17100,7 +17100,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17119,7 +17119,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17138,7 +17138,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17157,7 +17157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17176,7 +17176,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAbstractItemView* PythonQtShell_QColumnView::createColumn(const QModelIndex& rootIndex0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17206,7 +17206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17225,7 +17225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17244,7 +17244,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17263,7 +17263,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColumnView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17293,7 +17293,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17312,7 +17312,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17331,7 +17331,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::dragLeaveEvent(QDragLeaveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17350,7 +17350,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::dragMoveEvent(QDragMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17369,7 +17369,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17388,7 +17388,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColumnView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17418,7 +17418,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17437,7 +17437,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17456,7 +17456,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColumnView::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17486,7 +17486,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColumnView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17516,7 +17516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17535,7 +17535,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColumnView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17565,7 +17565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17584,7 +17584,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColumnView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17614,7 +17614,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColumnView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17644,7 +17644,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17663,7 +17663,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColumnView::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17693,7 +17693,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17712,7 +17712,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17731,7 +17731,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QColumnView::indexAt(const QPoint& point0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17761,7 +17761,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17780,7 +17780,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17799,7 +17799,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QColumnView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17829,7 +17829,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColumnView::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17859,7 +17859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17878,7 +17878,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17897,7 +17897,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17916,7 +17916,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17935,7 +17935,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColumnView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17965,7 +17965,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17984,7 +17984,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18003,7 +18003,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18022,7 +18022,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18041,7 +18041,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18060,7 +18060,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColumnView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18090,7 +18090,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QColumnView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18120,7 +18120,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18139,7 +18139,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QColumnView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18169,7 +18169,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18188,7 +18188,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18207,7 +18207,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18226,7 +18226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18245,7 +18245,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18264,7 +18264,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18283,7 +18283,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18302,7 +18302,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QColumnView::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18332,7 +18332,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18351,7 +18351,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QColumnView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18381,7 +18381,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::setModel(QAbstractItemModel* model0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18400,7 +18400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18419,7 +18419,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18438,7 +18438,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18457,7 +18457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18476,7 +18476,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QColumnView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18506,7 +18506,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18525,7 +18525,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColumnView::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18555,7 +18555,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColumnView::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18585,7 +18585,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18604,7 +18604,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18623,7 +18623,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18642,7 +18642,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18661,7 +18661,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18680,7 +18680,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18699,7 +18699,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QColumnView::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18729,7 +18729,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18748,7 +18748,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18767,7 +18767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QColumnView::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18797,7 +18797,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QColumnView::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18827,7 +18827,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QColumnView::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18857,7 +18857,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QColumnView::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18887,7 +18887,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QColumnView::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18917,7 +18917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QColumnView::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19076,7 +19076,7 @@ PythonQtShell_QComboBox::~PythonQtShell_QComboBox() { } void PythonQtShell_QComboBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19095,7 +19095,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19114,7 +19114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19133,7 +19133,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19152,7 +19152,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::contextMenuEvent(QContextMenuEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19171,7 +19171,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19190,7 +19190,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QComboBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19220,7 +19220,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19239,7 +19239,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19258,7 +19258,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19277,7 +19277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19296,7 +19296,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19315,7 +19315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QComboBox::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19345,7 +19345,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QComboBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19375,7 +19375,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19394,7 +19394,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QComboBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19424,7 +19424,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::focusOutEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19443,7 +19443,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QComboBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19473,7 +19473,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QComboBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19503,7 +19503,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::hideEvent(QHideEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19522,7 +19522,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::hidePopup() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hidePopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19541,7 +19541,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19560,7 +19560,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19579,7 +19579,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QComboBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19609,7 +19609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::keyPressEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19628,7 +19628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19647,7 +19647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19666,7 +19666,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QComboBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19696,7 +19696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19715,7 +19715,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19734,7 +19734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19753,7 +19753,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19772,7 +19772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19791,7 +19791,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QComboBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19821,7 +19821,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QComboBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19851,7 +19851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19870,7 +19870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QComboBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19900,7 +19900,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19919,7 +19919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QComboBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19949,7 +19949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::showEvent(QShowEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19968,7 +19968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::showPopup() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showPopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19987,7 +19987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20006,7 +20006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20025,7 +20025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QComboBox::wheelEvent(QWheelEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20429,7 +20429,7 @@ PythonQtShell_QCommandLinkButton::~PythonQtShell_QCommandLinkButton() { } void PythonQtShell_QCommandLinkButton::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20448,7 +20448,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20467,7 +20467,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::checkStateSet() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20486,7 +20486,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20505,7 +20505,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20524,7 +20524,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20543,7 +20543,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20562,7 +20562,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCommandLinkButton::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20592,7 +20592,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20611,7 +20611,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20630,7 +20630,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20649,7 +20649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20668,7 +20668,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20687,7 +20687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCommandLinkButton::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20717,7 +20717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCommandLinkButton::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20747,7 +20747,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20766,7 +20766,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCommandLinkButton::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20796,7 +20796,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20815,7 +20815,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCommandLinkButton::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20845,7 +20845,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCommandLinkButton::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20875,7 +20875,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20894,7 +20894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCommandLinkButton::hitButton(const QPoint& pos0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20924,7 +20924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20943,7 +20943,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20962,7 +20962,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QCommandLinkButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20992,7 +20992,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21011,7 +21011,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21030,7 +21030,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21049,7 +21049,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCommandLinkButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21079,7 +21079,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21098,7 +21098,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21117,7 +21117,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21136,7 +21136,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21155,7 +21155,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21174,7 +21174,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCommandLinkButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21204,7 +21204,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::nextCheckState() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21223,7 +21223,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QCommandLinkButton::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21253,7 +21253,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21272,7 +21272,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QCommandLinkButton::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21302,7 +21302,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21321,7 +21321,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QCommandLinkButton::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21351,7 +21351,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21370,7 +21370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21389,7 +21389,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21408,7 +21408,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommandLinkButton::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21480,7 +21480,7 @@ PythonQtShell_QCommonStyle::~PythonQtShell_QCommonStyle() { } void PythonQtShell_QCommonStyle::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21499,7 +21499,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21518,7 +21518,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::drawComplexControl(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QPainter* p2, const QWidget* w3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21537,7 +21537,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::drawControl(QStyle::ControlElement element0, const QStyleOption* opt1, QPainter* p2, const QWidget* w3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21556,7 +21556,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::drawItemPixmap(QPainter* painter0, const QRect& rect1, int alignment2, const QPixmap& pixmap3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawItemPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21575,7 +21575,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::drawItemText(QPainter* painter0, const QRect& rect1, int flags2, const QPalette& pal3, bool enabled4, const QString& text5, QPalette::ColorRole textRole6) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawItemText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21594,7 +21594,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::drawPrimitive(QStyle::PrimitiveElement pe0, const QStyleOption* opt1, QPainter* p2, const QWidget* w3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPrimitive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21613,7 +21613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCommonStyle::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21643,7 +21643,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCommonStyle::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21673,7 +21673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPixmap PythonQtShell_QCommonStyle::generatedIconPixmap(QIcon::Mode iconMode0, const QPixmap& pixmap1, const QStyleOption* opt2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("generatedIconPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21703,7 +21703,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyle::SubControl PythonQtShell_QCommonStyle::hitTestComplexControl(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, const QPoint& pt2, const QWidget* w3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitTestComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21733,7 +21733,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QCommonStyle::itemPixmapRect(const QRect& r0, int flags1, const QPixmap& pixmap2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemPixmapRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21763,7 +21763,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCommonStyle::layoutSpacing(QSizePolicy::ControlType control10, QSizePolicy::ControlType control21, Qt::Orientation orientation2, const QStyleOption* option3, const QWidget* widget4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layoutSpacing"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21793,7 +21793,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCommonStyle::pixelMetric(QStyle::PixelMetric m0, const QStyleOption* opt1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pixelMetric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21823,7 +21823,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::polish(QApplication* app0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21842,7 +21842,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::polish(QPalette& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21861,7 +21861,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::polish(QWidget* widget0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21880,7 +21880,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QCommonStyle::sizeFromContents(QStyle::ContentsType ct0, const QStyleOption* opt1, const QSize& contentsSize2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21910,7 +21910,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIcon PythonQtShell_QCommonStyle::standardIcon(QStyle::StandardPixmap standardIcon0, const QStyleOption* opt1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardIcon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21940,7 +21940,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPalette PythonQtShell_QCommonStyle::standardPalette() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardPalette"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21970,7 +21970,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPixmap PythonQtShell_QCommonStyle::standardPixmap(QStyle::StandardPixmap standardPixmap0, const QStyleOption* opt1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22000,7 +22000,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCommonStyle::styleHint(QStyle::StyleHint sh0, const QStyleOption* opt1, const QWidget* w2, QStyleHintReturn* shret3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("styleHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22030,7 +22030,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QCommonStyle::subControlRect(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QStyle::SubControl sc2, const QWidget* w3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("subControlRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22060,7 +22060,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QCommonStyle::subElementRect(QStyle::SubElement r0, const QStyleOption* opt1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("subElementRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22090,7 +22090,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22109,7 +22109,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::unpolish(QApplication* application0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22128,7 +22128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCommonStyle::unpolish(QWidget* widget0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22242,7 +22242,7 @@ PythonQtShell_QCompleter::~PythonQtShell_QCompleter() { } void PythonQtShell_QCompleter::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22261,7 +22261,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCompleter::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22280,7 +22280,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCompleter::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22310,7 +22310,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCompleter::eventFilter(QObject* o0, QEvent* e1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22340,7 +22340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QCompleter::pathFromIndex(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pathFromIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22370,7 +22370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QCompleter::splitPath(const QString& path0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("splitPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22400,7 +22400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCompleter::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp index 27a19da1a..f232585a4 100644 --- a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp +++ b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp @@ -177,7 +177,7 @@ PythonQtShell_QDataWidgetMapper::~PythonQtShell_QDataWidgetMapper() { } void PythonQtShell_QDataWidgetMapper::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -196,7 +196,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDataWidgetMapper::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -215,7 +215,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDataWidgetMapper::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -245,7 +245,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDataWidgetMapper::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -275,7 +275,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDataWidgetMapper::setCurrentIndex(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setCurrentIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -294,7 +294,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDataWidgetMapper::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -418,7 +418,7 @@ PythonQtShell_QDateEdit::~PythonQtShell_QDateEdit() { } void PythonQtShell_QDateEdit::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -437,7 +437,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -456,7 +456,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -475,7 +475,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -494,7 +494,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -513,7 +513,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::contextMenuEvent(QContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -532,7 +532,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -551,7 +551,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QDateTime PythonQtShell_QDateEdit::dateTimeFromText(const QString& text0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dateTimeFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -581,7 +581,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDateEdit::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -611,7 +611,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -630,7 +630,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -649,7 +649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -668,7 +668,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -687,7 +687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -706,7 +706,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateEdit::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -736,7 +736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -766,7 +766,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::fixup(QString& input0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -785,7 +785,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -804,7 +804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateEdit::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -834,7 +834,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -853,7 +853,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateEdit::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -883,7 +883,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDateEdit::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -913,7 +913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -932,7 +932,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -951,7 +951,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -970,7 +970,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDateEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1000,7 +1000,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1019,7 +1019,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1038,7 +1038,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1057,7 +1057,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDateEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1087,7 +1087,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1106,7 +1106,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1125,7 +1125,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1144,7 +1144,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1163,7 +1163,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1182,7 +1182,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1212,7 +1212,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QDateEdit::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1242,7 +1242,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1261,7 +1261,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QDateEdit::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1291,7 +1291,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1310,7 +1310,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QDateEdit::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1340,7 +1340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1359,7 +1359,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::stepBy(int steps0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1378,7 +1378,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAbstractSpinBox::StepEnabled PythonQtShell_QDateEdit::stepEnabled() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1408,7 +1408,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1427,7 +1427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QDateEdit::textFromDateTime(const QDateTime& dt0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("textFromDateTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1457,7 +1457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1476,7 +1476,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QDateEdit::validate(QString& input0, int& pos1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1506,7 +1506,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateEdit::wheelEvent(QWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1539,7 +1539,7 @@ PythonQtShell_QDateTimeEdit::~PythonQtShell_QDateTimeEdit() { } void PythonQtShell_QDateTimeEdit::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1558,7 +1558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1577,7 +1577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1596,7 +1596,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1615,7 +1615,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1634,7 +1634,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::contextMenuEvent(QContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1653,7 +1653,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1672,7 +1672,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QDateTime PythonQtShell_QDateTimeEdit::dateTimeFromText(const QString& text0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dateTimeFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1702,7 +1702,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDateTimeEdit::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1732,7 +1732,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1751,7 +1751,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1770,7 +1770,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1789,7 +1789,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1808,7 +1808,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1827,7 +1827,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateTimeEdit::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1857,7 +1857,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateTimeEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1887,7 +1887,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::fixup(QString& input0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1906,7 +1906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1925,7 +1925,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateTimeEdit::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1955,7 +1955,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1974,7 +1974,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateTimeEdit::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2004,7 +2004,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDateTimeEdit::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2034,7 +2034,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2053,7 +2053,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2072,7 +2072,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2091,7 +2091,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDateTimeEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2121,7 +2121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2140,7 +2140,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2159,7 +2159,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2178,7 +2178,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDateTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2208,7 +2208,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2227,7 +2227,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2246,7 +2246,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2265,7 +2265,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2284,7 +2284,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2303,7 +2303,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDateTimeEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2333,7 +2333,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QDateTimeEdit::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2363,7 +2363,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2382,7 +2382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QDateTimeEdit::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2412,7 +2412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2431,7 +2431,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QDateTimeEdit::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2461,7 +2461,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2480,7 +2480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::stepBy(int steps0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2499,7 +2499,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAbstractSpinBox::StepEnabled PythonQtShell_QDateTimeEdit::stepEnabled() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2529,7 +2529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2548,7 +2548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QDateTimeEdit::textFromDateTime(const QDateTime& dt0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("textFromDateTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2578,7 +2578,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2597,7 +2597,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QDateTimeEdit::validate(QString& input0, int& pos1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2627,7 +2627,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDateTimeEdit::wheelEvent(QWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2982,7 +2982,7 @@ PythonQtShell_QDesktopWidget::~PythonQtShell_QDesktopWidget() { } void PythonQtShell_QDesktopWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3001,7 +3001,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3020,7 +3020,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3039,7 +3039,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3058,7 +3058,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3077,7 +3077,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3096,7 +3096,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDesktopWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3126,7 +3126,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3145,7 +3145,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3164,7 +3164,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3183,7 +3183,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3202,7 +3202,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3221,7 +3221,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDesktopWidget::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3251,7 +3251,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDesktopWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3281,7 +3281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3300,7 +3300,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDesktopWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3330,7 +3330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3349,7 +3349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDesktopWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3379,7 +3379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDesktopWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3409,7 +3409,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3428,7 +3428,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3447,7 +3447,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3466,7 +3466,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDesktopWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3496,7 +3496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3515,7 +3515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3534,7 +3534,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3553,7 +3553,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDesktopWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3583,7 +3583,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QDesktopWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3613,7 +3613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3632,7 +3632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3651,7 +3651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3670,7 +3670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3689,7 +3689,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3708,7 +3708,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDesktopWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3738,7 +3738,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QDesktopWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3768,7 +3768,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3787,7 +3787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QDesktopWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3817,7 +3817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3836,7 +3836,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QDesktopWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3866,7 +3866,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3885,7 +3885,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QDesktopWidget::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3915,7 +3915,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3934,7 +3934,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3953,7 +3953,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDesktopWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4052,7 +4052,7 @@ PythonQtShell_QDial::~PythonQtShell_QDial() { } void PythonQtShell_QDial::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4071,7 +4071,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4090,7 +4090,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4109,7 +4109,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4128,7 +4128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4147,7 +4147,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4166,7 +4166,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDial::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4196,7 +4196,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4215,7 +4215,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4234,7 +4234,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4253,7 +4253,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4272,7 +4272,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4291,7 +4291,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDial::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4321,7 +4321,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDial::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4351,7 +4351,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4370,7 +4370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDial::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4400,7 +4400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4419,7 +4419,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDial::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4449,7 +4449,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDial::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4479,7 +4479,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4498,7 +4498,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4517,7 +4517,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4536,7 +4536,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDial::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4566,7 +4566,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::keyPressEvent(QKeyEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4585,7 +4585,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4604,7 +4604,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4623,7 +4623,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDial::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4653,7 +4653,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4672,7 +4672,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::mouseMoveEvent(QMouseEvent* me0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4691,7 +4691,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::mousePressEvent(QMouseEvent* me0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4710,7 +4710,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::mouseReleaseEvent(QMouseEvent* me0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4729,7 +4729,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4748,7 +4748,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDial::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4778,7 +4778,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QDial::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4808,7 +4808,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::paintEvent(QPaintEvent* pe0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4827,7 +4827,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QDial::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4857,7 +4857,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::resizeEvent(QResizeEvent* re0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4876,7 +4876,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QDial::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4906,7 +4906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4925,7 +4925,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4944,7 +4944,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4963,7 +4963,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDial::wheelEvent(QWheelEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5067,7 +5067,7 @@ PythonQtShell_QDialog::~PythonQtShell_QDialog() { } void PythonQtShell_QDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5086,7 +5086,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5105,7 +5105,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5124,7 +5124,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5143,7 +5143,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5162,7 +5162,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5181,7 +5181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5200,7 +5200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5230,7 +5230,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::done(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5249,7 +5249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5268,7 +5268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5287,7 +5287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5306,7 +5306,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5325,7 +5325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5344,7 +5344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5374,7 +5374,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5404,7 +5404,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5434,7 +5434,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5453,7 +5453,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5483,7 +5483,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5502,7 +5502,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5532,7 +5532,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5562,7 +5562,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5581,7 +5581,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5600,7 +5600,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5619,7 +5619,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5649,7 +5649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5668,7 +5668,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5687,7 +5687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5706,7 +5706,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5736,7 +5736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5755,7 +5755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5774,7 +5774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5793,7 +5793,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5812,7 +5812,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5831,7 +5831,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5861,7 +5861,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5880,7 +5880,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5910,7 +5910,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5929,7 +5929,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5959,7 +5959,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5978,7 +5978,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5997,7 +5997,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6027,7 +6027,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6046,7 +6046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6065,7 +6065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6084,7 +6084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6213,7 +6213,7 @@ PythonQtShell_QDialogButtonBox::~PythonQtShell_QDialogButtonBox() { } void PythonQtShell_QDialogButtonBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6232,7 +6232,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6251,7 +6251,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6270,7 +6270,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6289,7 +6289,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6308,7 +6308,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6327,7 +6327,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDialogButtonBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6357,7 +6357,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6376,7 +6376,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6395,7 +6395,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6414,7 +6414,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6433,7 +6433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6452,7 +6452,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialogButtonBox::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6482,7 +6482,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialogButtonBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6512,7 +6512,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6531,7 +6531,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialogButtonBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6561,7 +6561,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6580,7 +6580,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialogButtonBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6610,7 +6610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDialogButtonBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6640,7 +6640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6659,7 +6659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6678,7 +6678,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6697,7 +6697,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDialogButtonBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6727,7 +6727,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6746,7 +6746,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6765,7 +6765,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6784,7 +6784,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDialogButtonBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6814,7 +6814,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QDialogButtonBox::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6844,7 +6844,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6863,7 +6863,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6882,7 +6882,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6901,7 +6901,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6920,7 +6920,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6939,7 +6939,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDialogButtonBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6969,7 +6969,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QDialogButtonBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6999,7 +6999,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7018,7 +7018,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QDialogButtonBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7048,7 +7048,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7067,7 +7067,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QDialogButtonBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7097,7 +7097,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7116,7 +7116,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QDialogButtonBox::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7146,7 +7146,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7165,7 +7165,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7184,7 +7184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDialogButtonBox::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7310,7 +7310,7 @@ PythonQtShell_QDirModel::~PythonQtShell_QDirModel() { } QModelIndex PythonQtShell_QDirModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7340,7 +7340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7370,7 +7370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7400,7 +7400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDirModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7419,7 +7419,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDirModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7449,7 +7449,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDirModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7468,7 +7468,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDirModel::data(const QModelIndex& index0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7498,7 +7498,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7528,7 +7528,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7558,7 +7558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7588,7 +7588,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDirModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7607,7 +7607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QDirModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7637,7 +7637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::hasChildren(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7667,7 +7667,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDirModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7697,7 +7697,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QDirModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7727,7 +7727,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7757,7 +7757,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7787,7 +7787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QDirModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7817,7 +7817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QDirModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7847,7 +7847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QDirModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7877,7 +7877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QDirModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7907,7 +7907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7937,7 +7937,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7967,7 +7967,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QDirModel::parent(const QModelIndex& child0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7997,7 +7997,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8027,7 +8027,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8057,7 +8057,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDirModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8076,7 +8076,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QDirModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8106,7 +8106,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDirModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8136,7 +8136,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8166,7 +8166,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8196,7 +8196,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8226,7 +8226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QDirModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8256,7 +8256,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDirModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8275,7 +8275,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QDirModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8305,7 +8305,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDirModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8335,7 +8335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QDirModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8365,7 +8365,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QDirModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8395,7 +8395,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDirModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8613,7 +8613,7 @@ PythonQtShell_QDockWidget::~PythonQtShell_QDockWidget() { } void PythonQtShell_QDockWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8632,7 +8632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8651,7 +8651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8670,7 +8670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8689,7 +8689,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8708,7 +8708,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8727,7 +8727,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDockWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8757,7 +8757,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8776,7 +8776,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8795,7 +8795,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8814,7 +8814,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8833,7 +8833,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8852,7 +8852,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDockWidget::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8882,7 +8882,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDockWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8912,7 +8912,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8931,7 +8931,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDockWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8961,7 +8961,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8980,7 +8980,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDockWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9010,7 +9010,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDockWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9040,7 +9040,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9059,7 +9059,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9078,7 +9078,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9097,7 +9097,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDockWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9127,7 +9127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9146,7 +9146,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9165,7 +9165,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9184,7 +9184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDockWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9214,7 +9214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QDockWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9244,7 +9244,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9263,7 +9263,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9282,7 +9282,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9301,7 +9301,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9320,7 +9320,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9339,7 +9339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDockWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9369,7 +9369,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QDockWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9399,7 +9399,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9418,7 +9418,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QDockWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9448,7 +9448,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9467,7 +9467,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QDockWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9497,7 +9497,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9516,7 +9516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QDockWidget::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9546,7 +9546,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9565,7 +9565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9584,7 +9584,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDockWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9702,7 +9702,7 @@ PythonQtShell_QDoubleSpinBox::~PythonQtShell_QDoubleSpinBox() { } void PythonQtShell_QDoubleSpinBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9721,7 +9721,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9740,7 +9740,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9759,7 +9759,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9778,7 +9778,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9797,7 +9797,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::contextMenuEvent(QContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9816,7 +9816,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9835,7 +9835,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDoubleSpinBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9865,7 +9865,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9884,7 +9884,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9903,7 +9903,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9922,7 +9922,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9941,7 +9941,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9960,7 +9960,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDoubleSpinBox::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9990,7 +9990,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDoubleSpinBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10020,7 +10020,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::fixup(QString& str0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10039,7 +10039,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10058,7 +10058,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDoubleSpinBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10088,7 +10088,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10107,7 +10107,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDoubleSpinBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10137,7 +10137,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDoubleSpinBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10167,7 +10167,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10186,7 +10186,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10205,7 +10205,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10224,7 +10224,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QDoubleSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10254,7 +10254,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10273,7 +10273,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10292,7 +10292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10311,7 +10311,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QDoubleSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10341,7 +10341,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10360,7 +10360,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10379,7 +10379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10398,7 +10398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10417,7 +10417,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10436,7 +10436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDoubleSpinBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10466,7 +10466,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QDoubleSpinBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10496,7 +10496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10515,7 +10515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QDoubleSpinBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10545,7 +10545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10564,7 +10564,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QDoubleSpinBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10594,7 +10594,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10613,7 +10613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::stepBy(int steps0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10632,7 +10632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAbstractSpinBox::StepEnabled PythonQtShell_QDoubleSpinBox::stepEnabled() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10662,7 +10662,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10681,7 +10681,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QDoubleSpinBox::textFromValue(double val0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("textFromValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10711,7 +10711,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10730,7 +10730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QDoubleSpinBox::validate(QString& input0, int& pos1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10760,7 +10760,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } double PythonQtShell_QDoubleSpinBox::valueFromText(const QString& text0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("valueFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10790,7 +10790,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleSpinBox::wheelEvent(QWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10914,7 +10914,7 @@ PythonQtShell_QDoubleValidator::~PythonQtShell_QDoubleValidator() { } void PythonQtShell_QDoubleValidator::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10933,7 +10933,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleValidator::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10952,7 +10952,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDoubleValidator::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10982,7 +10982,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDoubleValidator::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11012,7 +11012,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleValidator::fixup(QString& arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11031,7 +11031,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleValidator::setRange(double bottom0, double top1, int decimals2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11050,7 +11050,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDoubleValidator::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11069,7 +11069,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QDoubleValidator::validate(QString& arg__1, int& arg__2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11163,7 +11163,7 @@ PythonQtShell_QDrag::~PythonQtShell_QDrag() { } void PythonQtShell_QDrag::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11182,7 +11182,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDrag::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11201,7 +11201,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDrag::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11231,7 +11231,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QDrag::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11261,7 +11261,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QDrag::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11517,7 +11517,7 @@ PythonQtShell_QErrorMessage::~PythonQtShell_QErrorMessage() { } void PythonQtShell_QErrorMessage::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11536,7 +11536,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11555,7 +11555,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11574,7 +11574,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11593,7 +11593,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11612,7 +11612,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11631,7 +11631,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11650,7 +11650,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QErrorMessage::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11680,7 +11680,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::done(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11699,7 +11699,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11718,7 +11718,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11737,7 +11737,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11756,7 +11756,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11775,7 +11775,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11794,7 +11794,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QErrorMessage::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11824,7 +11824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QErrorMessage::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11854,7 +11854,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QErrorMessage::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11884,7 +11884,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11903,7 +11903,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QErrorMessage::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11933,7 +11933,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11952,7 +11952,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QErrorMessage::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11982,7 +11982,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QErrorMessage::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12012,7 +12012,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12031,7 +12031,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12050,7 +12050,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12069,7 +12069,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QErrorMessage::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12099,7 +12099,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12118,7 +12118,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12137,7 +12137,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12156,7 +12156,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QErrorMessage::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12186,7 +12186,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12205,7 +12205,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12224,7 +12224,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12243,7 +12243,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12262,7 +12262,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12281,7 +12281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QErrorMessage::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12311,7 +12311,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12330,7 +12330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QErrorMessage::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12360,7 +12360,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12379,7 +12379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QErrorMessage::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12409,7 +12409,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12428,7 +12428,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12447,7 +12447,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QErrorMessage::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12477,7 +12477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12496,7 +12496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12515,7 +12515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12534,7 +12534,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QErrorMessage::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12593,7 +12593,7 @@ PythonQtShell_QFileDialog::~PythonQtShell_QFileDialog() { } void PythonQtShell_QFileDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12612,7 +12612,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12631,7 +12631,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12650,7 +12650,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12669,7 +12669,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12688,7 +12688,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12707,7 +12707,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12726,7 +12726,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFileDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12756,7 +12756,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::done(int result0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12775,7 +12775,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12794,7 +12794,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12813,7 +12813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12832,7 +12832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12851,7 +12851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12870,7 +12870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12900,7 +12900,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12930,7 +12930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFileDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12960,7 +12960,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12979,7 +12979,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13009,7 +13009,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13028,7 +13028,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13058,7 +13058,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFileDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13088,7 +13088,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13107,7 +13107,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13126,7 +13126,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13145,7 +13145,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QFileDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13175,7 +13175,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13194,7 +13194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13213,7 +13213,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13232,7 +13232,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFileDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13262,7 +13262,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13281,7 +13281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13300,7 +13300,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13319,7 +13319,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13338,7 +13338,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13357,7 +13357,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13387,7 +13387,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13406,7 +13406,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QFileDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13436,7 +13436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13455,7 +13455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QFileDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13485,7 +13485,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13504,7 +13504,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13523,7 +13523,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QFileDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13553,7 +13553,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13572,7 +13572,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13591,7 +13591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13610,7 +13610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13978,7 +13978,7 @@ PythonQtShell_QFileIconProvider::~PythonQtShell_QFileIconProvider() { } QIcon PythonQtShell_QFileIconProvider::icon(QFileIconProvider::IconType type0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("icon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14008,7 +14008,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIcon PythonQtShell_QFileIconProvider::icon(const QFileInfo& info0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("icon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14038,7 +14038,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QFileIconProvider::type(const QFileInfo& info0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14128,7 +14128,7 @@ PythonQtShell_QFileSystemModel::~PythonQtShell_QFileSystemModel() { } QModelIndex PythonQtShell_QFileSystemModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14158,7 +14158,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14188,7 +14188,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14218,7 +14218,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSystemModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14237,7 +14237,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFileSystemModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14267,7 +14267,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSystemModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14286,7 +14286,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QFileSystemModel::data(const QModelIndex& index0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14316,7 +14316,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14346,7 +14346,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14376,7 +14376,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14406,7 +14406,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSystemModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14425,7 +14425,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QFileSystemModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14455,7 +14455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::hasChildren(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14485,7 +14485,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QFileSystemModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14515,7 +14515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QFileSystemModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14545,7 +14545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14575,7 +14575,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14605,7 +14605,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QFileSystemModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14635,7 +14635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QFileSystemModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14665,7 +14665,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QFileSystemModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14695,7 +14695,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QFileSystemModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14725,7 +14725,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14755,7 +14755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14785,7 +14785,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QFileSystemModel::parent(const QModelIndex& child0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14815,7 +14815,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14845,7 +14845,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14875,7 +14875,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSystemModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14894,7 +14894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QFileSystemModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14924,7 +14924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFileSystemModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14954,7 +14954,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14984,7 +14984,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15014,7 +15014,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15044,7 +15044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QFileSystemModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15074,7 +15074,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSystemModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15093,7 +15093,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QFileSystemModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15123,7 +15123,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFileSystemModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15153,7 +15153,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QFileSystemModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15183,7 +15183,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QFileSystemModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15213,7 +15213,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFileSystemModel::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15493,7 +15493,7 @@ PythonQtShell_QFocusFrame::~PythonQtShell_QFocusFrame() { } void PythonQtShell_QFocusFrame::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15512,7 +15512,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15531,7 +15531,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15550,7 +15550,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15569,7 +15569,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15588,7 +15588,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15607,7 +15607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFocusFrame::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15637,7 +15637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15656,7 +15656,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15675,7 +15675,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15694,7 +15694,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15713,7 +15713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15732,7 +15732,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFocusFrame::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15762,7 +15762,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFocusFrame::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15792,7 +15792,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15811,7 +15811,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFocusFrame::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15841,7 +15841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15860,7 +15860,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFocusFrame::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15890,7 +15890,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFocusFrame::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15920,7 +15920,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15939,7 +15939,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15958,7 +15958,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15977,7 +15977,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QFocusFrame::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16007,7 +16007,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16026,7 +16026,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16045,7 +16045,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16064,7 +16064,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFocusFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16094,7 +16094,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QFocusFrame::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16124,7 +16124,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16143,7 +16143,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16162,7 +16162,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16181,7 +16181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16200,7 +16200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16219,7 +16219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFocusFrame::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16249,7 +16249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QFocusFrame::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16279,7 +16279,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16298,7 +16298,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QFocusFrame::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16328,7 +16328,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16347,7 +16347,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QFocusFrame::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16377,7 +16377,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16396,7 +16396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QFocusFrame::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16426,7 +16426,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16445,7 +16445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16464,7 +16464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFocusFrame::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16523,7 +16523,7 @@ PythonQtShell_QFontComboBox::~PythonQtShell_QFontComboBox() { } void PythonQtShell_QFontComboBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16542,7 +16542,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16561,7 +16561,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16580,7 +16580,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16599,7 +16599,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::contextMenuEvent(QContextMenuEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16618,7 +16618,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16637,7 +16637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFontComboBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16667,7 +16667,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16686,7 +16686,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16705,7 +16705,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16724,7 +16724,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16743,7 +16743,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16762,7 +16762,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontComboBox::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16792,7 +16792,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontComboBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16822,7 +16822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16841,7 +16841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontComboBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16871,7 +16871,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::focusOutEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16890,7 +16890,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontComboBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16920,7 +16920,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFontComboBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16950,7 +16950,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::hideEvent(QHideEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16969,7 +16969,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::hidePopup() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hidePopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16988,7 +16988,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17007,7 +17007,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17026,7 +17026,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QFontComboBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17056,7 +17056,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::keyPressEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17075,7 +17075,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17094,7 +17094,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17113,7 +17113,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFontComboBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17143,7 +17143,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17162,7 +17162,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17181,7 +17181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17200,7 +17200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17219,7 +17219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17238,7 +17238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontComboBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17268,7 +17268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QFontComboBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17298,7 +17298,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17317,7 +17317,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QFontComboBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17347,7 +17347,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17366,7 +17366,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QFontComboBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17396,7 +17396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::showEvent(QShowEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17415,7 +17415,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::showPopup() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showPopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17434,7 +17434,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17453,7 +17453,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17472,7 +17472,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontComboBox::wheelEvent(QWheelEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp index 4ec9f1461..f85186cbf 100644 --- a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp +++ b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp @@ -83,7 +83,7 @@ PythonQtShell_QTextBlockGroup::~PythonQtShell_QTextBlockGroup() { } void PythonQtShell_QTextBlockGroup::blockFormatChanged(const QTextBlock& block0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("blockFormatChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -102,7 +102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBlockGroup::blockInserted(const QTextBlock& block0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("blockInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -121,7 +121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBlockGroup::blockRemoved(const QTextBlock& block0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("blockRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -140,7 +140,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBlockGroup::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -159,7 +159,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBlockGroup::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -178,7 +178,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBlockGroup::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -208,7 +208,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBlockGroup::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -238,7 +238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBlockGroup::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -297,7 +297,7 @@ PythonQtShell_QTextBrowser::~PythonQtShell_QTextBrowser() { } void PythonQtShell_QTextBrowser::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -316,7 +316,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::backward() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("backward"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -335,7 +335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBrowser::canInsertFromMimeData(const QMimeData* source0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canInsertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -365,7 +365,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -384,7 +384,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -403,7 +403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -422,7 +422,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::contextMenuEvent(QContextMenuEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -441,7 +441,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QTextBrowser::createMimeDataFromSelection() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createMimeDataFromSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -471,7 +471,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -490,7 +490,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTextBrowser::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -520,7 +520,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::doSetTextCursor(const QTextCursor& cursor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doSetTextCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -539,7 +539,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::dragEnterEvent(QDragEnterEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -558,7 +558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::dragLeaveEvent(QDragLeaveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -577,7 +577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::dragMoveEvent(QDragMoveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -596,7 +596,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::dropEvent(QDropEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -615,7 +615,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -634,7 +634,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBrowser::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -664,7 +664,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBrowser::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -694,7 +694,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -713,7 +713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBrowser::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -743,7 +743,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::focusOutEvent(QFocusEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -762,7 +762,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::forward() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("forward"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -781,7 +781,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBrowser::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -811,7 +811,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTextBrowser::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -841,7 +841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -860,7 +860,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::home() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("home"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -879,7 +879,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -898,7 +898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -917,7 +917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTextBrowser::inputMethodQuery(Qt::InputMethodQuery property0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -947,7 +947,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::insertFromMimeData(const QMimeData* source0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -966,7 +966,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::keyPressEvent(QKeyEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -985,7 +985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1004,7 +1004,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1023,7 +1023,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTextBrowser::loadResource(int type0, const QUrl& name1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1053,7 +1053,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTextBrowser::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1083,7 +1083,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::mouseDoubleClickEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1102,7 +1102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::mouseMoveEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1121,7 +1121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::mousePressEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1140,7 +1140,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::mouseReleaseEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1159,7 +1159,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1178,7 +1178,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBrowser::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1208,7 +1208,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTextBrowser::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1238,7 +1238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1257,7 +1257,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTextBrowser::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1287,7 +1287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::reload() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reload"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1306,7 +1306,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1325,7 +1325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1344,7 +1344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::setSource(const QUrl& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1363,7 +1363,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1382,7 +1382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTextBrowser::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1412,7 +1412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1431,7 +1431,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1450,7 +1450,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1469,7 +1469,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextBrowser::viewportEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1499,7 +1499,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QTextBrowser::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1529,7 +1529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextBrowser::wheelEvent(QWheelEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2384,7 +2384,7 @@ PythonQtShell_QTextDocument::~PythonQtShell_QTextDocument() { } void PythonQtShell_QTextDocument::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2403,7 +2403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextDocument::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2422,7 +2422,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QTextObject* PythonQtShell_QTextDocument::createObject(const QTextFormat& f0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2452,7 +2452,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextDocument::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2471,7 +2471,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextDocument::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2501,7 +2501,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextDocument::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2531,7 +2531,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTextDocument::loadResource(int type0, const QUrl& name1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2561,7 +2561,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextDocument::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3086,7 +3086,7 @@ PythonQtShell_QTextEdit::~PythonQtShell_QTextEdit() { } void PythonQtShell_QTextEdit::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3105,7 +3105,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextEdit::canInsertFromMimeData(const QMimeData* source0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canInsertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3135,7 +3135,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3154,7 +3154,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3173,7 +3173,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3192,7 +3192,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::contextMenuEvent(QContextMenuEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3211,7 +3211,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QTextEdit::createMimeDataFromSelection() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createMimeDataFromSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3241,7 +3241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3260,7 +3260,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTextEdit::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3290,7 +3290,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::doSetTextCursor(const QTextCursor& cursor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doSetTextCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3309,7 +3309,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::dragEnterEvent(QDragEnterEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3328,7 +3328,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3347,7 +3347,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::dragMoveEvent(QDragMoveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3366,7 +3366,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::dropEvent(QDropEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3385,7 +3385,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3404,7 +3404,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextEdit::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3434,7 +3434,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3464,7 +3464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3483,7 +3483,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextEdit::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3513,7 +3513,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::focusOutEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3532,7 +3532,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextEdit::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3562,7 +3562,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTextEdit::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3592,7 +3592,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3611,7 +3611,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3630,7 +3630,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3649,7 +3649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTextEdit::inputMethodQuery(Qt::InputMethodQuery property0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3679,7 +3679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::insertFromMimeData(const QMimeData* source0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3698,7 +3698,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::keyPressEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3717,7 +3717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3736,7 +3736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3755,7 +3755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTextEdit::loadResource(int type0, const QUrl& name1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3785,7 +3785,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3815,7 +3815,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3834,7 +3834,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3853,7 +3853,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3872,7 +3872,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3891,7 +3891,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3910,7 +3910,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3940,7 +3940,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTextEdit::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3970,7 +3970,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3989,7 +3989,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTextEdit::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4019,7 +4019,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4038,7 +4038,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4057,7 +4057,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4076,7 +4076,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTextEdit::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4106,7 +4106,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4125,7 +4125,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4144,7 +4144,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4163,7 +4163,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextEdit::viewportEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4193,7 +4193,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QTextEdit::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4223,7 +4223,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextEdit::wheelEvent(QWheelEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4786,7 +4786,7 @@ PythonQtShell_QTextFrame::~PythonQtShell_QTextFrame() { } void PythonQtShell_QTextFrame::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4805,7 +4805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextFrame::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4824,7 +4824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextFrame::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4854,7 +4854,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextFrame::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4884,7 +4884,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextFrame::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5641,7 +5641,7 @@ PythonQtShell_QTextList::~PythonQtShell_QTextList() { } void PythonQtShell_QTextList::blockFormatChanged(const QTextBlock& block0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("blockFormatChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5660,7 +5660,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextList::blockInserted(const QTextBlock& block0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("blockInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5679,7 +5679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextList::blockRemoved(const QTextBlock& block0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("blockRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5698,7 +5698,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextList::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5717,7 +5717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextList::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5736,7 +5736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextList::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5766,7 +5766,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextList::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5796,7 +5796,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextList::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5929,7 +5929,7 @@ PythonQtShell_QTextObject::~PythonQtShell_QTextObject() { } void PythonQtShell_QTextObject::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5948,7 +5948,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextObject::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5967,7 +5967,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextObject::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5997,7 +5997,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextObject::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6027,7 +6027,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextObject::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6199,7 +6199,7 @@ PythonQtShell_QTextTable::~PythonQtShell_QTextTable() { } void PythonQtShell_QTextTable::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6218,7 +6218,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextTable::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6237,7 +6237,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextTable::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6267,7 +6267,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTextTable::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6297,7 +6297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTextTable::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6673,7 +6673,7 @@ PythonQtShell_QTimeEdit::~PythonQtShell_QTimeEdit() { } void PythonQtShell_QTimeEdit::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6692,7 +6692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6711,7 +6711,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6730,7 +6730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6749,7 +6749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6768,7 +6768,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::contextMenuEvent(QContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6787,7 +6787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6806,7 +6806,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QDateTime PythonQtShell_QTimeEdit::dateTimeFromText(const QString& text0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dateTimeFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6836,7 +6836,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTimeEdit::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6866,7 +6866,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6885,7 +6885,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6904,7 +6904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6923,7 +6923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6942,7 +6942,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6961,7 +6961,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimeEdit::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6991,7 +6991,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimeEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7021,7 +7021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::fixup(QString& input0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7040,7 +7040,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7059,7 +7059,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimeEdit::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7089,7 +7089,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7108,7 +7108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimeEdit::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7138,7 +7138,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTimeEdit::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7168,7 +7168,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7187,7 +7187,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7206,7 +7206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7225,7 +7225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTimeEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7255,7 +7255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7274,7 +7274,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7293,7 +7293,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7312,7 +7312,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7342,7 +7342,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7361,7 +7361,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7380,7 +7380,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7399,7 +7399,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7418,7 +7418,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7437,7 +7437,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTimeEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7467,7 +7467,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTimeEdit::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7497,7 +7497,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7516,7 +7516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTimeEdit::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7546,7 +7546,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7565,7 +7565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTimeEdit::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7595,7 +7595,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7614,7 +7614,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::stepBy(int steps0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7633,7 +7633,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAbstractSpinBox::StepEnabled PythonQtShell_QTimeEdit::stepEnabled() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7663,7 +7663,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7682,7 +7682,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QTimeEdit::textFromDateTime(const QDateTime& dt0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("textFromDateTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7712,7 +7712,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7731,7 +7731,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QTimeEdit::validate(QString& input0, int& pos1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7761,7 +7761,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTimeEdit::wheelEvent(QWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp index 1e099de5a..9a8388d4a 100644 --- a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp +++ b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp @@ -84,7 +84,7 @@ PythonQtShell_QToolBar::~PythonQtShell_QToolBar() { } void PythonQtShell_QToolBar::actionEvent(QActionEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -103,7 +103,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -122,7 +122,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -141,7 +141,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -160,7 +160,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -179,7 +179,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -198,7 +198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolBar::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -228,7 +228,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -247,7 +247,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -266,7 +266,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -285,7 +285,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -304,7 +304,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -323,7 +323,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBar::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -353,7 +353,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBar::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -383,7 +383,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -402,7 +402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBar::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -432,7 +432,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -451,7 +451,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBar::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -481,7 +481,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolBar::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -511,7 +511,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -530,7 +530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -549,7 +549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -568,7 +568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QToolBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -598,7 +598,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -617,7 +617,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -636,7 +636,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -655,7 +655,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -685,7 +685,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QToolBar::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -715,7 +715,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -734,7 +734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -753,7 +753,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -772,7 +772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -791,7 +791,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -810,7 +810,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -840,7 +840,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QToolBar::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -870,7 +870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -889,7 +889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QToolBar::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -919,7 +919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -938,7 +938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QToolBar::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -968,7 +968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -987,7 +987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QToolBar::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1017,7 +1017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1036,7 +1036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1055,7 +1055,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBar::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1259,7 +1259,7 @@ PythonQtShell_QToolBox::~PythonQtShell_QToolBox() { } void PythonQtShell_QToolBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1278,7 +1278,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1297,7 +1297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1316,7 +1316,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1335,7 +1335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1354,7 +1354,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1373,7 +1373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1403,7 +1403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1422,7 +1422,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1441,7 +1441,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1460,7 +1460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1479,7 +1479,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1498,7 +1498,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBox::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1528,7 +1528,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1558,7 +1558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1577,7 +1577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1607,7 +1607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1626,7 +1626,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1656,7 +1656,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1686,7 +1686,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1705,7 +1705,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1724,7 +1724,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1743,7 +1743,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QToolBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1773,7 +1773,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::itemInserted(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1792,7 +1792,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::itemRemoved(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1811,7 +1811,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1830,7 +1830,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1849,7 +1849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1868,7 +1868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1898,7 +1898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QToolBox::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1928,7 +1928,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1947,7 +1947,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1966,7 +1966,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1985,7 +1985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2004,7 +2004,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2023,7 +2023,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2053,7 +2053,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QToolBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2083,7 +2083,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2102,7 +2102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QToolBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2132,7 +2132,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2151,7 +2151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QToolBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2181,7 +2181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::showEvent(QShowEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2200,7 +2200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2219,7 +2219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2238,7 +2238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolBox::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2382,7 +2382,7 @@ PythonQtShell_QToolButton::~PythonQtShell_QToolButton() { } void PythonQtShell_QToolButton::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2401,7 +2401,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2420,7 +2420,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::checkStateSet() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2439,7 +2439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2458,7 +2458,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2477,7 +2477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2496,7 +2496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2515,7 +2515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolButton::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2545,7 +2545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2564,7 +2564,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2583,7 +2583,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2602,7 +2602,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2621,7 +2621,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2640,7 +2640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolButton::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2670,7 +2670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolButton::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2700,7 +2700,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2719,7 +2719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolButton::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2749,7 +2749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::focusOutEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2768,7 +2768,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolButton::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2798,7 +2798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolButton::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2828,7 +2828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2847,7 +2847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolButton::hitButton(const QPoint& pos0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2877,7 +2877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2896,7 +2896,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2915,7 +2915,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QToolButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2945,7 +2945,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::keyPressEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2964,7 +2964,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2983,7 +2983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3002,7 +3002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QToolButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3032,7 +3032,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3051,7 +3051,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3070,7 +3070,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3089,7 +3089,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3108,7 +3108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3127,7 +3127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QToolButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3157,7 +3157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::nextCheckState() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3176,7 +3176,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QToolButton::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3206,7 +3206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3225,7 +3225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QToolButton::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3255,7 +3255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3274,7 +3274,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QToolButton::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3304,7 +3304,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3323,7 +3323,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3342,7 +3342,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3361,7 +3361,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QToolButton::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4240,7 +4240,7 @@ PythonQtShell_QTreeView::~PythonQtShell_QTreeView() { } void PythonQtShell_QTreeView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4259,7 +4259,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4278,7 +4278,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4297,7 +4297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4316,7 +4316,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4335,7 +4335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4354,7 +4354,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4373,7 +4373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4392,7 +4392,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4411,7 +4411,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4430,7 +4430,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4460,7 +4460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4479,7 +4479,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4498,7 +4498,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::dragLeaveEvent(QDragLeaveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4517,7 +4517,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::dragMoveEvent(QDragMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4536,7 +4536,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::drawBranches(QPainter* painter0, const QRect& rect1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawBranches"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4555,7 +4555,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::drawRow(QPainter* painter0, const QStyleOptionViewItem& options1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4574,7 +4574,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4593,7 +4593,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4623,7 +4623,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4642,7 +4642,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4661,7 +4661,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeView::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4691,7 +4691,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4721,7 +4721,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4740,7 +4740,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4770,7 +4770,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4789,7 +4789,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4819,7 +4819,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4849,7 +4849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4868,7 +4868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeView::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4898,7 +4898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4917,7 +4917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4936,7 +4936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QTreeView::indexAt(const QPoint& p0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4966,7 +4966,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4985,7 +4985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5004,7 +5004,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTreeView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5034,7 +5034,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeView::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5064,7 +5064,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5083,7 +5083,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5102,7 +5102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5121,7 +5121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5140,7 +5140,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5170,7 +5170,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5189,7 +5189,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5208,7 +5208,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5227,7 +5227,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5246,7 +5246,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5265,7 +5265,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5295,7 +5295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTreeView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5325,7 +5325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5344,7 +5344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTreeView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5374,7 +5374,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5393,7 +5393,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5412,7 +5412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5431,7 +5431,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5450,7 +5450,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5469,7 +5469,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5488,7 +5488,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5507,7 +5507,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QTreeView::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5537,7 +5537,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5556,7 +5556,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QTreeView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5586,7 +5586,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::setModel(QAbstractItemModel* model0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5605,7 +5605,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5624,7 +5624,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5643,7 +5643,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5662,7 +5662,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5681,7 +5681,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTreeView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5711,7 +5711,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5730,7 +5730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeView::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5760,7 +5760,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeView::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5790,7 +5790,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5809,7 +5809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5828,7 +5828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5847,7 +5847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5866,7 +5866,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5885,7 +5885,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5904,7 +5904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeView::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5934,7 +5934,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5953,7 +5953,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5972,7 +5972,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QTreeView::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6002,7 +6002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeView::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6032,7 +6032,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QTreeView::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6062,7 +6062,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QTreeView::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6092,7 +6092,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QTreeView::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6122,7 +6122,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeView::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6566,7 +6566,7 @@ PythonQtShell_QTreeWidget::~PythonQtShell_QTreeWidget() { } void PythonQtShell_QTreeWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6585,7 +6585,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6604,7 +6604,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6623,7 +6623,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6642,7 +6642,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6661,7 +6661,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6680,7 +6680,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6699,7 +6699,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6718,7 +6718,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6737,7 +6737,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6756,7 +6756,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6786,7 +6786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6805,7 +6805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6824,7 +6824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::dragLeaveEvent(QDragLeaveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6843,7 +6843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::dragMoveEvent(QDragMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6862,7 +6862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::drawBranches(QPainter* painter0, const QRect& rect1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawBranches"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6881,7 +6881,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::drawRow(QPainter* painter0, const QStyleOptionViewItem& options1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6900,7 +6900,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6919,7 +6919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::dropMimeData(QTreeWidgetItem* parent0, int index1, const QMimeData* data2, Qt::DropAction action3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6949,7 +6949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6979,7 +6979,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6998,7 +6998,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7017,7 +7017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7047,7 +7047,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7077,7 +7077,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7096,7 +7096,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7126,7 +7126,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7145,7 +7145,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7175,7 +7175,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7205,7 +7205,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7224,7 +7224,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeWidget::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7254,7 +7254,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7273,7 +7273,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7292,7 +7292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QTreeWidget::indexAt(const QPoint& p0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7322,7 +7322,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7341,7 +7341,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7360,7 +7360,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTreeWidget::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7390,7 +7390,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7420,7 +7420,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7439,7 +7439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7458,7 +7458,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7477,7 +7477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7496,7 +7496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7526,7 +7526,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QTreeWidget::mimeData(const QList items0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7556,7 +7556,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QTreeWidget::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7586,7 +7586,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7605,7 +7605,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7624,7 +7624,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7643,7 +7643,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7662,7 +7662,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7681,7 +7681,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7711,7 +7711,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTreeWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7741,7 +7741,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7760,7 +7760,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTreeWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7790,7 +7790,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7809,7 +7809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7828,7 +7828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7847,7 +7847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7866,7 +7866,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7885,7 +7885,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7904,7 +7904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7923,7 +7923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QTreeWidget::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7953,7 +7953,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7972,7 +7972,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QTreeWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8002,7 +8002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8021,7 +8021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8040,7 +8040,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8059,7 +8059,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8078,7 +8078,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTreeWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8108,7 +8108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8127,7 +8127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeWidget::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8157,7 +8157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeWidget::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8187,7 +8187,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8206,7 +8206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QTreeWidget::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8236,7 +8236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8255,7 +8255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8274,7 +8274,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8293,7 +8293,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8312,7 +8312,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8331,7 +8331,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTreeWidget::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8361,7 +8361,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8380,7 +8380,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8399,7 +8399,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QTreeWidget::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8429,7 +8429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidget::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8459,7 +8459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QTreeWidget::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8489,7 +8489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QTreeWidget::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8519,7 +8519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QTreeWidget::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8549,7 +8549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8803,7 +8803,7 @@ PythonQtShell_QTreeWidgetItem::~PythonQtShell_QTreeWidgetItem() { } QTreeWidgetItem* PythonQtShell_QTreeWidgetItem::clone() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8833,7 +8833,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTreeWidgetItem::data(int column0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8863,7 +8863,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTreeWidgetItem::__lt__(const QTreeWidgetItem& other0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("__lt__"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8893,7 +8893,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidgetItem::read(QDataStream& in0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8912,7 +8912,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidgetItem::setData(int column0, int role1, const QVariant& value2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8931,7 +8931,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTreeWidgetItem::write(QDataStream& out0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9273,7 +9273,7 @@ PythonQtShell_QUndoCommand::~PythonQtShell_QUndoCommand() { } int PythonQtShell_QUndoCommand::id() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("id"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9303,7 +9303,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoCommand::mergeWith(const QUndoCommand* other0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mergeWith"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9333,7 +9333,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoCommand::redo() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9352,7 +9352,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoCommand::undo() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("undo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9430,7 +9430,7 @@ PythonQtShell_QUndoGroup::~PythonQtShell_QUndoGroup() { } void PythonQtShell_QUndoGroup::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9449,7 +9449,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoGroup::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9468,7 +9468,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoGroup::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9498,7 +9498,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoGroup::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9528,7 +9528,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoGroup::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9612,7 +9612,7 @@ PythonQtShell_QUndoStack::~PythonQtShell_QUndoStack() { } void PythonQtShell_QUndoStack::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9631,7 +9631,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoStack::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9650,7 +9650,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoStack::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9680,7 +9680,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoStack::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9710,7 +9710,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoStack::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9834,7 +9834,7 @@ PythonQtShell_QUndoView::~PythonQtShell_QUndoView() { } void PythonQtShell_QUndoView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9853,7 +9853,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9872,7 +9872,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9891,7 +9891,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9910,7 +9910,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9929,7 +9929,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9948,7 +9948,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9967,7 +9967,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9986,7 +9986,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10005,7 +10005,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10024,7 +10024,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QUndoView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10054,7 +10054,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10073,7 +10073,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10092,7 +10092,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::dragLeaveEvent(QDragLeaveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10111,7 +10111,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::dragMoveEvent(QDragMoveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10130,7 +10130,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::dropEvent(QDropEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10149,7 +10149,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10179,7 +10179,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10198,7 +10198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10217,7 +10217,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoView::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10247,7 +10247,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10277,7 +10277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10296,7 +10296,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10326,7 +10326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10345,7 +10345,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10375,7 +10375,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QUndoView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10405,7 +10405,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10424,7 +10424,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QUndoView::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10454,7 +10454,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10473,7 +10473,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10492,7 +10492,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QUndoView::indexAt(const QPoint& p0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10522,7 +10522,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10541,7 +10541,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10560,7 +10560,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QUndoView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10590,7 +10590,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoView::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10620,7 +10620,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10639,7 +10639,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10658,7 +10658,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10677,7 +10677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10696,7 +10696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QUndoView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10726,7 +10726,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10745,7 +10745,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10764,7 +10764,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10783,7 +10783,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10802,7 +10802,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10821,7 +10821,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10851,7 +10851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QUndoView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10881,7 +10881,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10900,7 +10900,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QUndoView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10930,7 +10930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10949,7 +10949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10968,7 +10968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10987,7 +10987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11006,7 +11006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11025,7 +11025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11044,7 +11044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11063,7 +11063,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QUndoView::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11093,7 +11093,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11112,7 +11112,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QUndoView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11142,7 +11142,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::setModel(QAbstractItemModel* model0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11161,7 +11161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11180,7 +11180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11199,7 +11199,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11218,7 +11218,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11237,7 +11237,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QUndoView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11267,7 +11267,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11286,7 +11286,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QUndoView::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11316,7 +11316,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QUndoView::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11346,7 +11346,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11365,7 +11365,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11384,7 +11384,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11403,7 +11403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11422,7 +11422,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11441,7 +11441,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11460,7 +11460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QUndoView::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11490,7 +11490,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11509,7 +11509,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11528,7 +11528,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QUndoView::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11558,7 +11558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUndoView::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11588,7 +11588,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QUndoView::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11618,7 +11618,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QUndoView::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11648,7 +11648,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QUndoView::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11678,7 +11678,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUndoView::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11745,7 +11745,7 @@ PythonQtShell_QVBoxLayout::~PythonQtShell_QVBoxLayout() { } void PythonQtShell_QVBoxLayout::addItem(QLayoutItem* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11764,7 +11764,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVBoxLayout::childEvent(QChildEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11783,7 +11783,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizePolicy::ControlTypes PythonQtShell_QVBoxLayout::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11813,7 +11813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QVBoxLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11843,7 +11843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVBoxLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11862,7 +11862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVBoxLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11892,7 +11892,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVBoxLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11922,7 +11922,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QVBoxLayout::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11952,7 +11952,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QVBoxLayout::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11982,7 +11982,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QVBoxLayout::indexOf(QWidget* arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12012,7 +12012,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVBoxLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12031,7 +12031,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVBoxLayout::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12061,7 +12061,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QVBoxLayout::itemAt(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12091,7 +12091,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QVBoxLayout::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12121,7 +12121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QVBoxLayout::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12151,7 +12151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QVBoxLayout::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12181,7 +12181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVBoxLayout::setGeometry(const QRect& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12200,7 +12200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QVBoxLayout::takeAt(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12230,7 +12230,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVBoxLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12263,7 +12263,7 @@ PythonQtShell_QValidator::~PythonQtShell_QValidator() { } void PythonQtShell_QValidator::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12282,7 +12282,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QValidator::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12301,7 +12301,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QValidator::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12331,7 +12331,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QValidator::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12361,7 +12361,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QValidator::fixup(QString& arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12380,7 +12380,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QValidator::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12399,7 +12399,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QValidator::validate(QString& arg__1, int& arg__2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13220,7 +13220,7 @@ PythonQtShell_QWidget::~PythonQtShell_QWidget() { } void PythonQtShell_QWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13239,7 +13239,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13258,7 +13258,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13277,7 +13277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13296,7 +13296,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13315,7 +13315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13334,7 +13334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13364,7 +13364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13383,7 +13383,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13402,7 +13402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13421,7 +13421,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13440,7 +13440,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13459,7 +13459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidget::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13489,7 +13489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13519,7 +13519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13538,7 +13538,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13568,7 +13568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13587,7 +13587,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13617,7 +13617,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13647,7 +13647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13666,7 +13666,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13685,7 +13685,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13704,7 +13704,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13734,7 +13734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13753,7 +13753,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13772,7 +13772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13791,7 +13791,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13821,7 +13821,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13851,7 +13851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13870,7 +13870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13889,7 +13889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13908,7 +13908,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13927,7 +13927,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13946,7 +13946,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13976,7 +13976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14006,7 +14006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14025,7 +14025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14055,7 +14055,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14074,7 +14074,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::setVisible(bool visible0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14093,7 +14093,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14123,7 +14123,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14142,7 +14142,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWidget::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14172,7 +14172,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14191,7 +14191,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14210,7 +14210,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15499,7 +15499,7 @@ PythonQtShell_QWidgetAction::~PythonQtShell_QWidgetAction() { } void PythonQtShell_QWidgetAction::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15518,7 +15518,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QWidgetAction::createWidget(QWidget* parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15548,7 +15548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidgetAction::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15567,7 +15567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidgetAction::deleteWidget(QWidget* widget0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("deleteWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15586,7 +15586,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidgetAction::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15616,7 +15616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidgetAction::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15646,7 +15646,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidgetAction::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15720,7 +15720,7 @@ PythonQtShell_QWidgetItem::~PythonQtShell_QWidgetItem() { } QSizePolicy::ControlTypes PythonQtShell_QWidgetItem::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15750,7 +15750,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QWidgetItem::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15780,7 +15780,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QWidgetItem::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15810,7 +15810,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidgetItem::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15840,7 +15840,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWidgetItem::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15870,7 +15870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidgetItem::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15889,7 +15889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWidgetItem::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15919,7 +15919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QWidgetItem::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15949,7 +15949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWidgetItem::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15979,7 +15979,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWidgetItem::minimumHeightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16009,7 +16009,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWidgetItem::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16039,7 +16039,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWidgetItem::setGeometry(const QRect& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16058,7 +16058,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWidgetItem::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16088,7 +16088,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSpacerItem* PythonQtShell_QWidgetItem::spacerItem() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16118,7 +16118,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QWidgetItem::widget() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16213,7 +16213,7 @@ PythonQtShell_QWindow::~PythonQtShell_QWindow() { } void PythonQtShell_QWindow::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16232,7 +16232,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16251,7 +16251,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWindow::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16281,7 +16281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWindow::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16311,7 +16311,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::exposeEvent(QExposeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exposeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16330,7 +16330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16349,7 +16349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QObject* PythonQtShell_QWindow::focusObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16379,7 +16379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16398,7 +16398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSurfaceFormat PythonQtShell_QWindow::format() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16428,7 +16428,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16447,7 +16447,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16466,7 +16466,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16485,7 +16485,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16504,7 +16504,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16523,7 +16523,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16542,7 +16542,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16561,7 +16561,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16580,7 +16580,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16610,7 +16610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16629,7 +16629,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16648,7 +16648,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWindow::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16678,7 +16678,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSurface::SurfaceType PythonQtShell_QWindow::surfaceType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16708,7 +16708,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16727,7 +16727,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16746,7 +16746,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::touchEvent(QTouchEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16765,7 +16765,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWindow::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17299,7 +17299,7 @@ PythonQtShell_QWizard::~PythonQtShell_QWizard() { } void PythonQtShell_QWizard::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17318,7 +17318,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17337,7 +17337,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17356,7 +17356,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17375,7 +17375,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::cleanupPage(int id0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("cleanupPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17394,7 +17394,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17413,7 +17413,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17432,7 +17432,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17451,7 +17451,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizard::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17481,7 +17481,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::done(int result0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17500,7 +17500,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17519,7 +17519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17538,7 +17538,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17557,7 +17557,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17576,7 +17576,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17595,7 +17595,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizard::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17625,7 +17625,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizard::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17655,7 +17655,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizard::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17685,7 +17685,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17704,7 +17704,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizard::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17734,7 +17734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17753,7 +17753,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizard::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17783,7 +17783,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizard::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17813,7 +17813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17832,7 +17832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17851,7 +17851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::initializePage(int id0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initializePage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17870,7 +17870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17889,7 +17889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QWizard::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17919,7 +17919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17938,7 +17938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17957,7 +17957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17976,7 +17976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizard::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18006,7 +18006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18025,7 +18025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18044,7 +18044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18063,7 +18063,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18082,7 +18082,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18101,7 +18101,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizard::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18131,7 +18131,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizard::nextId() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18161,7 +18161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18180,7 +18180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QWizard::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18210,7 +18210,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18229,7 +18229,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QWizard::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18259,7 +18259,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18278,7 +18278,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18297,7 +18297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QWizard::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18327,7 +18327,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18346,7 +18346,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18365,7 +18365,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18384,7 +18384,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizard::validateCurrentPage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validateCurrentPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18414,7 +18414,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizard::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp index e2e9847a1..d01a68479 100644 --- a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp +++ b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp @@ -42,7 +42,7 @@ PythonQtShell_QWizardPage::~PythonQtShell_QWizardPage() { } void PythonQtShell_QWizardPage::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -61,7 +61,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -80,7 +80,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -99,7 +99,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::cleanupPage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("cleanupPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -118,7 +118,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -137,7 +137,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -156,7 +156,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -175,7 +175,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizardPage::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -205,7 +205,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -224,7 +224,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -243,7 +243,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -262,7 +262,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -281,7 +281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -300,7 +300,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizardPage::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -330,7 +330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizardPage::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -360,7 +360,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -379,7 +379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizardPage::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -409,7 +409,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -428,7 +428,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizardPage::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -458,7 +458,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizardPage::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -488,7 +488,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -507,7 +507,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -526,7 +526,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::initializePage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initializePage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -545,7 +545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -564,7 +564,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QWizardPage::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -594,7 +594,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizardPage::isComplete() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isComplete"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -624,7 +624,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -643,7 +643,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -662,7 +662,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -681,7 +681,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizardPage::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -711,7 +711,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWizardPage::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -741,7 +741,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -760,7 +760,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -779,7 +779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -798,7 +798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -817,7 +817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -836,7 +836,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizardPage::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -866,7 +866,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWizardPage::nextId() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -896,7 +896,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QWizardPage::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -926,7 +926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -945,7 +945,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QWizardPage::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -975,7 +975,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -994,7 +994,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QWizardPage::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1024,7 +1024,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1043,7 +1043,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWizardPage::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1073,7 +1073,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1092,7 +1092,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1111,7 +1111,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWizardPage::validatePage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validatePage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1141,7 +1141,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWizardPage::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp index 057a2a80e..1837b8e93 100644 --- a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp +++ b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp @@ -74,7 +74,7 @@ PythonQtShell_QFontDialog::~PythonQtShell_QFontDialog() { } void PythonQtShell_QFontDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -93,7 +93,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -112,7 +112,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -131,7 +131,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -150,7 +150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -169,7 +169,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -188,7 +188,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -207,7 +207,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFontDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -237,7 +237,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::done(int result0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -256,7 +256,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -275,7 +275,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -294,7 +294,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -313,7 +313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -332,7 +332,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -351,7 +351,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -381,7 +381,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontDialog::eventFilter(QObject* object0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -411,7 +411,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFontDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -441,7 +441,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -460,7 +460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -490,7 +490,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -509,7 +509,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -539,7 +539,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFontDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -569,7 +569,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -588,7 +588,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -607,7 +607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -626,7 +626,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QFontDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -656,7 +656,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -675,7 +675,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -694,7 +694,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -713,7 +713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFontDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -743,7 +743,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -762,7 +762,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -781,7 +781,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -800,7 +800,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -819,7 +819,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -838,7 +838,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFontDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -868,7 +868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -887,7 +887,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QFontDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -917,7 +917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -936,7 +936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QFontDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -966,7 +966,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -985,7 +985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1004,7 +1004,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QFontDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1034,7 +1034,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1053,7 +1053,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1072,7 +1072,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1091,7 +1091,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFontDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1599,7 +1599,7 @@ PythonQtShell_QFormLayout::~PythonQtShell_QFormLayout() { } void PythonQtShell_QFormLayout::addItem(QLayoutItem* item0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1618,7 +1618,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFormLayout::childEvent(QChildEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1637,7 +1637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizePolicy::ControlTypes PythonQtShell_QFormLayout::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1667,7 +1667,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFormLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1697,7 +1697,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFormLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1716,7 +1716,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFormLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1746,7 +1746,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFormLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1776,7 +1776,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QFormLayout::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1806,7 +1806,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QFormLayout::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1836,7 +1836,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFormLayout::indexOf(QWidget* arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1866,7 +1866,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFormLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1885,7 +1885,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFormLayout::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1915,7 +1915,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QFormLayout::itemAt(int index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1945,7 +1945,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QFormLayout::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1975,7 +1975,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QFormLayout::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2005,7 +2005,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QFormLayout::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2035,7 +2035,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFormLayout::setGeometry(const QRect& rect0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2054,7 +2054,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QFormLayout::takeAt(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2084,7 +2084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFormLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2348,7 +2348,7 @@ PythonQtShell_QFrame::~PythonQtShell_QFrame() { } void PythonQtShell_QFrame::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2367,7 +2367,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2386,7 +2386,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2405,7 +2405,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2424,7 +2424,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2443,7 +2443,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2462,7 +2462,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFrame::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2492,7 +2492,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2511,7 +2511,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2530,7 +2530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2549,7 +2549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2568,7 +2568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2587,7 +2587,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFrame::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2617,7 +2617,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFrame::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2647,7 +2647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2666,7 +2666,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFrame::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2696,7 +2696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2715,7 +2715,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFrame::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2745,7 +2745,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFrame::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2775,7 +2775,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2794,7 +2794,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2813,7 +2813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2832,7 +2832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QFrame::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2862,7 +2862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2881,7 +2881,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2900,7 +2900,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2919,7 +2919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2949,7 +2949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QFrame::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2979,7 +2979,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2998,7 +2998,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3017,7 +3017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3036,7 +3036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3055,7 +3055,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3074,7 +3074,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QFrame::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3104,7 +3104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QFrame::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3134,7 +3134,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3153,7 +3153,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QFrame::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3183,7 +3183,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3202,7 +3202,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QFrame::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3232,7 +3232,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3251,7 +3251,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3270,7 +3270,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3289,7 +3289,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QFrame::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3408,7 +3408,7 @@ PythonQtShell_QGesture::~PythonQtShell_QGesture() { } void PythonQtShell_QGesture::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3427,7 +3427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGesture::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3446,7 +3446,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGesture::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3476,7 +3476,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGesture::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3506,7 +3506,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGesture::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3676,7 +3676,7 @@ PythonQtShell_QGestureRecognizer::~PythonQtShell_QGestureRecognizer() { } QGesture* PythonQtShell_QGestureRecognizer::create(QObject* target0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3706,7 +3706,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QGestureRecognizer::Result PythonQtShell_QGestureRecognizer::recognize(QGesture* state0, QObject* watched1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("recognize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3736,7 +3736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGestureRecognizer::reset(QGesture* state0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4013,7 +4013,7 @@ PythonQtShell_QGraphicsAnchorLayout::~PythonQtShell_QGraphicsAnchorLayout() { } int PythonQtShell_QGraphicsAnchorLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4043,7 +4043,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsAnchorLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4062,7 +4062,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsAnchorLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4081,7 +4081,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QGraphicsLayoutItem* PythonQtShell_QGraphicsAnchorLayout::itemAt(int index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4111,7 +4111,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsAnchorLayout::removeAt(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4130,7 +4130,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsAnchorLayout::updateGeometry() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4149,7 +4149,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsAnchorLayout::widgetEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4253,7 +4253,7 @@ PythonQtShell_QGraphicsBlurEffect::~PythonQtShell_QGraphicsBlurEffect() { } QRectF PythonQtShell_QGraphicsBlurEffect::boundingRectFor(const QRectF& rect0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4283,7 +4283,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsBlurEffect::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4302,7 +4302,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsBlurEffect::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4321,7 +4321,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsBlurEffect::draw(QPainter* painter0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4340,7 +4340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsBlurEffect::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4370,7 +4370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsBlurEffect::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4400,7 +4400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsBlurEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4419,7 +4419,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsBlurEffect::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4468,7 +4468,7 @@ PythonQtShell_QGraphicsColorizeEffect::~PythonQtShell_QGraphicsColorizeEffect() } QRectF PythonQtShell_QGraphicsColorizeEffect::boundingRectFor(const QRectF& sourceRect0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4498,7 +4498,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsColorizeEffect::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4517,7 +4517,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsColorizeEffect::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4536,7 +4536,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsColorizeEffect::draw(QPainter* painter0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4555,7 +4555,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsColorizeEffect::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4585,7 +4585,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsColorizeEffect::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4615,7 +4615,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsColorizeEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4634,7 +4634,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsColorizeEffect::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4678,7 +4678,7 @@ PythonQtShell_QGraphicsDropShadowEffect::~PythonQtShell_QGraphicsDropShadowEffec } QRectF PythonQtShell_QGraphicsDropShadowEffect::boundingRectFor(const QRectF& rect0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4708,7 +4708,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsDropShadowEffect::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4727,7 +4727,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsDropShadowEffect::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4746,7 +4746,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsDropShadowEffect::draw(QPainter* painter0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4765,7 +4765,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsDropShadowEffect::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4795,7 +4795,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsDropShadowEffect::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4825,7 +4825,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsDropShadowEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4844,7 +4844,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsDropShadowEffect::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4908,7 +4908,7 @@ PythonQtShell_QGraphicsEffect::~PythonQtShell_QGraphicsEffect() { } QRectF PythonQtShell_QGraphicsEffect::boundingRectFor(const QRectF& sourceRect0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4938,7 +4938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsEffect::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4957,7 +4957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsEffect::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4976,7 +4976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsEffect::draw(QPainter* painter0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4995,7 +4995,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsEffect::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5025,7 +5025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsEffect::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5055,7 +5055,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5074,7 +5074,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsEffect::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5153,7 +5153,7 @@ PythonQtShell_QGraphicsEllipseItem::~PythonQtShell_QGraphicsEllipseItem() { } bool PythonQtShell_QGraphicsEllipseItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5183,7 +5183,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsEllipseItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5316,7 +5316,7 @@ PythonQtShell_QGraphicsGridLayout::~PythonQtShell_QGraphicsGridLayout() { } int PythonQtShell_QGraphicsGridLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5346,7 +5346,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsGridLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5365,7 +5365,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsGridLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5384,7 +5384,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QGraphicsLayoutItem* PythonQtShell_QGraphicsGridLayout::itemAt(int index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5414,7 +5414,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsGridLayout::removeAt(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5433,7 +5433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsGridLayout::updateGeometry() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5452,7 +5452,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsGridLayout::widgetEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5706,7 +5706,7 @@ PythonQtShell_QGraphicsItem::~PythonQtShell_QGraphicsItem() { } void PythonQtShell_QGraphicsItem::advance(int phase0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5725,7 +5725,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRectF PythonQtShell_QGraphicsItem::boundingRect() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5755,7 +5755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5785,7 +5785,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5815,7 +5815,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItem::contains(const QPointF& point0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5845,7 +5845,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5864,7 +5864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5883,7 +5883,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5902,7 +5902,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5921,7 +5921,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5940,7 +5940,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsItem::extension(const QVariant& variant0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5970,7 +5970,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5989,7 +5989,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6008,7 +6008,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6027,7 +6027,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6046,7 +6046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6065,7 +6065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6084,7 +6084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsItem::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6114,7 +6114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6144,7 +6144,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6177,7 +6177,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6196,7 +6196,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6215,7 +6215,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6234,7 +6234,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6253,7 +6253,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6272,7 +6272,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6291,7 +6291,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6321,7 +6321,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6340,7 +6340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItem::sceneEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6370,7 +6370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6400,7 +6400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6419,7 +6419,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsItem::shape() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6449,7 +6449,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItem::supportsExtension(QGraphicsItem::Extension extension0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6479,7 +6479,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsItem::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6509,7 +6509,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7580,7 +7580,7 @@ PythonQtShell_QGraphicsItemAnimation::~PythonQtShell_QGraphicsItemAnimation() { } void PythonQtShell_QGraphicsItemAnimation::afterAnimationStep(qreal step0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("afterAnimationStep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7599,7 +7599,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemAnimation::beforeAnimationStep(qreal step0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("beforeAnimationStep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7618,7 +7618,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemAnimation::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7637,7 +7637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemAnimation::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7656,7 +7656,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemAnimation::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7686,7 +7686,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7716,7 +7716,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemAnimation::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7875,7 +7875,7 @@ PythonQtShell_QGraphicsItemGroup::~PythonQtShell_QGraphicsItemGroup() { } void PythonQtShell_QGraphicsItemGroup::advance(int phase0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7894,7 +7894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRectF PythonQtShell_QGraphicsItemGroup::boundingRect() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7924,7 +7924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemGroup::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7954,7 +7954,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemGroup::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7984,7 +7984,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemGroup::contains(const QPointF& point0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8014,7 +8014,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8033,7 +8033,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8052,7 +8052,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8071,7 +8071,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8090,7 +8090,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::dropEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8109,7 +8109,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsItemGroup::extension(const QVariant& variant0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8139,7 +8139,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8158,7 +8158,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8177,7 +8177,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8196,7 +8196,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8215,7 +8215,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8234,7 +8234,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8253,7 +8253,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsItemGroup::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8283,7 +8283,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemGroup::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8313,7 +8313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsItemGroup::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8346,7 +8346,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8365,7 +8365,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8384,7 +8384,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8403,7 +8403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8422,7 +8422,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::mousePressEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8441,7 +8441,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8460,7 +8460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsItemGroup::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8490,7 +8490,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8509,7 +8509,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemGroup::sceneEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8539,7 +8539,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemGroup::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8569,7 +8569,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8588,7 +8588,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsItemGroup::shape() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8618,7 +8618,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsItemGroup::supportsExtension(QGraphicsItem::Extension extension0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8648,7 +8648,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsItemGroup::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8678,7 +8678,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsItemGroup::wheelEvent(QGraphicsSceneWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8742,7 +8742,7 @@ PythonQtShell_QGraphicsLayout::~PythonQtShell_QGraphicsLayout() { } int PythonQtShell_QGraphicsLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8772,7 +8772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8791,7 +8791,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8810,7 +8810,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QGraphicsLayoutItem* PythonQtShell_QGraphicsLayout::itemAt(int i0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8840,7 +8840,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLayout::removeAt(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8859,7 +8859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLayout::setGeometry(const QRectF& rect0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8878,7 +8878,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizeF PythonQtShell_QGraphicsLayout::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8908,7 +8908,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLayout::updateGeometry() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8927,7 +8927,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLayout::widgetEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9021,7 +9021,7 @@ PythonQtShell_QGraphicsLayoutItem::~PythonQtShell_QGraphicsLayoutItem() { } void PythonQtShell_QGraphicsLayoutItem::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9040,7 +9040,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLayoutItem::setGeometry(const QRectF& rect0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9059,7 +9059,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizeF PythonQtShell_QGraphicsLayoutItem::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9089,7 +9089,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLayoutItem::updateGeometry() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9308,7 +9308,7 @@ PythonQtShell_QGraphicsLineItem::~PythonQtShell_QGraphicsLineItem() { } void PythonQtShell_QGraphicsLineItem::advance(int phase0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9327,7 +9327,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRectF PythonQtShell_QGraphicsLineItem::boundingRect() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9357,7 +9357,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsLineItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9387,7 +9387,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsLineItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9417,7 +9417,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsLineItem::contains(const QPointF& point0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9447,7 +9447,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9466,7 +9466,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9485,7 +9485,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9504,7 +9504,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9523,7 +9523,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9542,7 +9542,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsLineItem::extension(const QVariant& variant0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9572,7 +9572,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9591,7 +9591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9610,7 +9610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9629,7 +9629,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9648,7 +9648,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9667,7 +9667,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9686,7 +9686,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsLineItem::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9716,7 +9716,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsLineItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9746,7 +9746,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsLineItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9779,7 +9779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9798,7 +9798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9817,7 +9817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9836,7 +9836,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9855,7 +9855,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9874,7 +9874,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9893,7 +9893,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsLineItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9923,7 +9923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9942,7 +9942,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsLineItem::sceneEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9972,7 +9972,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsLineItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10002,7 +10002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10021,7 +10021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsLineItem::shape() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10051,7 +10051,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsLineItem::supportsExtension(QGraphicsItem::Extension extension0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10081,7 +10081,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsLineItem::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10111,7 +10111,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLineItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10223,7 +10223,7 @@ PythonQtShell_QGraphicsLinearLayout::~PythonQtShell_QGraphicsLinearLayout() { } int PythonQtShell_QGraphicsLinearLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10253,7 +10253,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLinearLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10272,7 +10272,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLinearLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10291,7 +10291,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QGraphicsLayoutItem* PythonQtShell_QGraphicsLinearLayout::itemAt(int index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10321,7 +10321,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLinearLayout::removeAt(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10340,7 +10340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLinearLayout::updateGeometry() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10359,7 +10359,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsLinearLayout::widgetEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10502,7 +10502,7 @@ PythonQtShell_QGraphicsObject::~PythonQtShell_QGraphicsObject() { } void PythonQtShell_QGraphicsObject::advance(int phase0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10521,7 +10521,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRectF PythonQtShell_QGraphicsObject::boundingRect() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10551,7 +10551,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10570,7 +10570,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10600,7 +10600,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10630,7 +10630,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::contains(const QPointF& point0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10660,7 +10660,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10679,7 +10679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10698,7 +10698,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10717,7 +10717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10736,7 +10736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10755,7 +10755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::dropEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10774,7 +10774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::event(QEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10804,7 +10804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10834,7 +10834,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsObject::extension(const QVariant& variant0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10864,7 +10864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10883,7 +10883,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10902,7 +10902,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10921,7 +10921,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10940,7 +10940,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10959,7 +10959,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10978,7 +10978,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsObject::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11008,7 +11008,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11038,7 +11038,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsObject::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11071,7 +11071,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11090,7 +11090,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11109,7 +11109,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11128,7 +11128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11147,7 +11147,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::mousePressEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11166,7 +11166,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11185,7 +11185,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsObject::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11215,7 +11215,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11234,7 +11234,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::sceneEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11264,7 +11264,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11294,7 +11294,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11313,7 +11313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsObject::shape() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11343,7 +11343,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsObject::supportsExtension(QGraphicsItem::Extension extension0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11373,7 +11373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11392,7 +11392,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsObject::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11422,7 +11422,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsObject::wheelEvent(QGraphicsSceneWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11473,7 +11473,7 @@ PythonQtShell_QGraphicsOpacityEffect::~PythonQtShell_QGraphicsOpacityEffect() { } QRectF PythonQtShell_QGraphicsOpacityEffect::boundingRectFor(const QRectF& sourceRect0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11503,7 +11503,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsOpacityEffect::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11522,7 +11522,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsOpacityEffect::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11541,7 +11541,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsOpacityEffect::draw(QPainter* painter0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11560,7 +11560,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsOpacityEffect::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11590,7 +11590,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsOpacityEffect::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11620,7 +11620,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsOpacityEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11639,7 +11639,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsOpacityEffect::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11683,7 +11683,7 @@ PythonQtShell_QGraphicsPathItem::~PythonQtShell_QGraphicsPathItem() { } bool PythonQtShell_QGraphicsPathItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11713,7 +11713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsPathItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11817,7 +11817,7 @@ PythonQtShell_QGraphicsPixmapItem::~PythonQtShell_QGraphicsPixmapItem() { } void PythonQtShell_QGraphicsPixmapItem::advance(int phase0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11836,7 +11836,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRectF PythonQtShell_QGraphicsPixmapItem::boundingRect() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11866,7 +11866,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsPixmapItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11896,7 +11896,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsPixmapItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11926,7 +11926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsPixmapItem::contains(const QPointF& point0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11956,7 +11956,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11975,7 +11975,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11994,7 +11994,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12013,7 +12013,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12032,7 +12032,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12051,7 +12051,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsPixmapItem::extension(const QVariant& variant0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12081,7 +12081,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12100,7 +12100,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12119,7 +12119,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12138,7 +12138,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12157,7 +12157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12176,7 +12176,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12195,7 +12195,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsPixmapItem::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12225,7 +12225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsPixmapItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12255,7 +12255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsPixmapItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12288,7 +12288,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12307,7 +12307,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12326,7 +12326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12345,7 +12345,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12364,7 +12364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12383,7 +12383,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12402,7 +12402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsPixmapItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12432,7 +12432,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12451,7 +12451,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsPixmapItem::sceneEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12481,7 +12481,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsPixmapItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12511,7 +12511,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12530,7 +12530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsPixmapItem::shape() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12560,7 +12560,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsPixmapItem::supportsExtension(QGraphicsItem::Extension extension0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12590,7 +12590,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsPixmapItem::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12620,7 +12620,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsPixmapItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp index 3348c229f..f9cfdde40 100644 --- a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp +++ b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp @@ -86,7 +86,7 @@ PythonQtShell_QGraphicsPolygonItem::~PythonQtShell_QGraphicsPolygonItem() { } bool PythonQtShell_QGraphicsPolygonItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -116,7 +116,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsPolygonItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -230,7 +230,7 @@ PythonQtShell_QGraphicsProxyWidget::~PythonQtShell_QGraphicsProxyWidget() { } void PythonQtShell_QGraphicsProxyWidget::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -249,7 +249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -268,7 +268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -287,7 +287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -306,7 +306,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsProxyWidget::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -336,7 +336,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsProxyWidget::eventFilter(QObject* object0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -366,7 +366,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsProxyWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -396,7 +396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -415,7 +415,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::grabKeyboardEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("grabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -434,7 +434,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::grabMouseEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("grabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -453,7 +453,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -472,7 +472,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -491,7 +491,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -510,7 +510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::initStyleOption(QStyleOption* option0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -529,7 +529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::moveEvent(QGraphicsSceneMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -548,7 +548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::paintWindowFrame(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintWindowFrame"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -567,7 +567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::polishEvent() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polishEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -586,7 +586,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsProxyWidget::propertyChange(const QString& propertyName0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("propertyChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -616,7 +616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::resizeEvent(QGraphicsSceneResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -635,7 +635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::setGeometry(const QRectF& rect0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -654,7 +654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -673,7 +673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizeF PythonQtShell_QGraphicsProxyWidget::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -703,7 +703,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -722,7 +722,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::ungrabKeyboardEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -741,7 +741,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::ungrabMouseEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ungrabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -760,7 +760,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsProxyWidget::updateGeometry() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -779,7 +779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsProxyWidget::windowFrameEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("windowFrameEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -809,7 +809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::WindowFrameSection PythonQtShell_QGraphicsProxyWidget::windowFrameSectionAt(const QPointF& pos0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("windowFrameSectionAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1029,7 +1029,7 @@ PythonQtShell_QGraphicsRectItem::~PythonQtShell_QGraphicsRectItem() { } bool PythonQtShell_QGraphicsRectItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1059,7 +1059,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsRectItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1172,7 +1172,7 @@ PythonQtShell_QGraphicsRotation::~PythonQtShell_QGraphicsRotation() { } void PythonQtShell_QGraphicsRotation::applyTo(QMatrix4x4* matrix0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1191,7 +1191,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsRotation::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1210,7 +1210,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsRotation::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1229,7 +1229,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsRotation::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1259,7 +1259,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsRotation::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1289,7 +1289,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsRotation::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1358,7 +1358,7 @@ PythonQtShell_QGraphicsScale::~PythonQtShell_QGraphicsScale() { } void PythonQtShell_QGraphicsScale::applyTo(QMatrix4x4* matrix0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1377,7 +1377,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScale::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1396,7 +1396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScale::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1415,7 +1415,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsScale::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1445,7 +1445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsScale::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1475,7 +1475,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScale::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1549,7 +1549,7 @@ PythonQtShell_QGraphicsScene::~PythonQtShell_QGraphicsScene() { } void PythonQtShell_QGraphicsScene::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1568,7 +1568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1587,7 +1587,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1606,7 +1606,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1625,7 +1625,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1644,7 +1644,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1663,7 +1663,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::drawBackground(QPainter* painter0, const QRectF& rect1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawBackground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1682,7 +1682,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::drawForeground(QPainter* painter0, const QRectF& rect1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawForeground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1701,7 +1701,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::drawItems(QPainter* painter0, int numItems1, QGraphicsItem** items2, const QStyleOptionGraphicsItem* options3, QWidget* widget4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawItems"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1720,7 +1720,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::dropEvent(QGraphicsSceneDragDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1739,7 +1739,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsScene::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1769,7 +1769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsScene::eventFilter(QObject* watched0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1799,7 +1799,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1818,7 +1818,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1837,7 +1837,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::helpEvent(QGraphicsSceneHelpEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1856,7 +1856,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1875,7 +1875,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsScene::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1905,7 +1905,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1924,7 +1924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1943,7 +1943,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1962,7 +1962,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1981,7 +1981,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2000,7 +2000,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2019,7 +2019,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2038,7 +2038,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsScene::wheelEvent(QGraphicsSceneWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3084,7 +3084,7 @@ PythonQtShell_QGraphicsSimpleTextItem::~PythonQtShell_QGraphicsSimpleTextItem() } bool PythonQtShell_QGraphicsSimpleTextItem::isObscuredBy(const QGraphicsItem* item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3114,7 +3114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainterPath PythonQtShell_QGraphicsSimpleTextItem::opaqueArea() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3228,7 +3228,7 @@ PythonQtShell_QGraphicsTextItem::~PythonQtShell_QGraphicsTextItem() { } void PythonQtShell_QGraphicsTextItem::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3247,7 +3247,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsTextItem::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3266,7 +3266,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsTextItem::event(QEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3296,7 +3296,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsTextItem::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3326,7 +3326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsTextItem::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3609,7 +3609,7 @@ PythonQtShell_QGraphicsTransform::~PythonQtShell_QGraphicsTransform() { } void PythonQtShell_QGraphicsTransform::applyTo(QMatrix4x4* matrix0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3628,7 +3628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsTransform::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3647,7 +3647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsTransform::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3666,7 +3666,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsTransform::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3696,7 +3696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsTransform::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3726,7 +3726,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsTransform::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3760,7 +3760,7 @@ PythonQtShell_QGraphicsView::~PythonQtShell_QGraphicsView() { } void PythonQtShell_QGraphicsView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3779,7 +3779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3798,7 +3798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3817,7 +3817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3836,7 +3836,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::contextMenuEvent(QContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3855,7 +3855,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3874,7 +3874,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3904,7 +3904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3923,7 +3923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::dragLeaveEvent(QDragLeaveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3942,7 +3942,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::dragMoveEvent(QDragMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3961,7 +3961,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::drawBackground(QPainter* painter0, const QRectF& rect1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawBackground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3980,7 +3980,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::drawForeground(QPainter* painter0, const QRectF& rect1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawForeground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3999,7 +3999,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::drawItems(QPainter* painter0, int numItems1, QGraphicsItem** items2, const QStyleOptionGraphicsItem* options3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawItems"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4018,7 +4018,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4037,7 +4037,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4056,7 +4056,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsView::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4086,7 +4086,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4116,7 +4116,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4135,7 +4135,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4165,7 +4165,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4184,7 +4184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4214,7 +4214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4244,7 +4244,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4263,7 +4263,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4282,7 +4282,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4301,7 +4301,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4331,7 +4331,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4350,7 +4350,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4369,7 +4369,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4388,7 +4388,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4418,7 +4418,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4437,7 +4437,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4456,7 +4456,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4475,7 +4475,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4494,7 +4494,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4513,7 +4513,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4543,7 +4543,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QGraphicsView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4573,7 +4573,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4592,7 +4592,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QGraphicsView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4622,7 +4622,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4641,7 +4641,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4660,7 +4660,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::setupViewport(QWidget* widget0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4679,7 +4679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QGraphicsView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4709,7 +4709,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4728,7 +4728,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4747,7 +4747,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4766,7 +4766,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsView::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4796,7 +4796,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QGraphicsView::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4826,7 +4826,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsView::wheelEvent(QWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5379,7 +5379,7 @@ PythonQtShell_QGraphicsWidget::~PythonQtShell_QGraphicsWidget() { } void PythonQtShell_QGraphicsWidget::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5398,7 +5398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5417,7 +5417,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5436,7 +5436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5455,7 +5455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWidget::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5485,7 +5485,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5515,7 +5515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5545,7 +5545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5564,7 +5564,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::grabKeyboardEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("grabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5583,7 +5583,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::grabMouseEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("grabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5602,7 +5602,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5621,7 +5621,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5640,7 +5640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5659,7 +5659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::initStyleOption(QStyleOption* option0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5678,7 +5678,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::moveEvent(QGraphicsSceneMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5697,7 +5697,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::paintWindowFrame(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintWindowFrame"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5716,7 +5716,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::polishEvent() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polishEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5735,7 +5735,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsWidget::propertyChange(const QString& propertyName0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("propertyChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5765,7 +5765,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::resizeEvent(QGraphicsSceneResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5784,7 +5784,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::setGeometry(const QRectF& rect0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5803,7 +5803,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5822,7 +5822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizeF PythonQtShell_QGraphicsWidget::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5852,7 +5852,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5871,7 +5871,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::ungrabKeyboardEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5890,7 +5890,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::ungrabMouseEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ungrabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5909,7 +5909,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWidget::updateGeometry() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5928,7 +5928,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWidget::windowFrameEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("windowFrameEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5958,7 +5958,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::WindowFrameSection PythonQtShell_QGraphicsWidget::windowFrameSectionAt(const QPointF& pos0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("windowFrameSectionAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6393,7 +6393,7 @@ PythonQtShell_QGridLayout::~PythonQtShell_QGridLayout() { } void PythonQtShell_QGridLayout::addItem(QLayoutItem* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6412,7 +6412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGridLayout::childEvent(QChildEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6431,7 +6431,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizePolicy::ControlTypes PythonQtShell_QGridLayout::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6461,7 +6461,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGridLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6491,7 +6491,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGridLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6510,7 +6510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGridLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6540,7 +6540,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGridLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6570,7 +6570,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QGridLayout::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6600,7 +6600,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QGridLayout::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6630,7 +6630,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGridLayout::indexOf(QWidget* arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6660,7 +6660,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGridLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6679,7 +6679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGridLayout::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6709,7 +6709,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QGridLayout::itemAt(int index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6739,7 +6739,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QGridLayout::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6769,7 +6769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QGridLayout::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6799,7 +6799,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QGridLayout::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6829,7 +6829,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGridLayout::setGeometry(const QRect& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6848,7 +6848,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QGridLayout::takeAt(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6878,7 +6878,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGridLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7111,7 +7111,7 @@ PythonQtShell_QGroupBox::~PythonQtShell_QGroupBox() { } void PythonQtShell_QGroupBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7130,7 +7130,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7149,7 +7149,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::childEvent(QChildEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7168,7 +7168,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7187,7 +7187,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7206,7 +7206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7225,7 +7225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGroupBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7255,7 +7255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7274,7 +7274,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7293,7 +7293,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7312,7 +7312,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7331,7 +7331,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7350,7 +7350,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGroupBox::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7380,7 +7380,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGroupBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7410,7 +7410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7429,7 +7429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGroupBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7459,7 +7459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7478,7 +7478,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGroupBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7508,7 +7508,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGroupBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7538,7 +7538,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7557,7 +7557,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7576,7 +7576,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7595,7 +7595,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGroupBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7625,7 +7625,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7644,7 +7644,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7663,7 +7663,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7682,7 +7682,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGroupBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7712,7 +7712,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7731,7 +7731,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7750,7 +7750,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7769,7 +7769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7788,7 +7788,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7807,7 +7807,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGroupBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7837,7 +7837,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QGroupBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7867,7 +7867,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7886,7 +7886,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QGroupBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7916,7 +7916,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7935,7 +7935,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QGroupBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7965,7 +7965,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7984,7 +7984,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QGroupBox::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8014,7 +8014,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8033,7 +8033,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8052,7 +8052,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGroupBox::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8412,7 +8412,7 @@ PythonQtShell_QHBoxLayout::~PythonQtShell_QHBoxLayout() { } void PythonQtShell_QHBoxLayout::addItem(QLayoutItem* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8431,7 +8431,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHBoxLayout::childEvent(QChildEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8450,7 +8450,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizePolicy::ControlTypes PythonQtShell_QHBoxLayout::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8480,7 +8480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHBoxLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8510,7 +8510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHBoxLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8529,7 +8529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHBoxLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8559,7 +8559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHBoxLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8589,7 +8589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QHBoxLayout::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8619,7 +8619,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QHBoxLayout::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8649,7 +8649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHBoxLayout::indexOf(QWidget* arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8679,7 +8679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHBoxLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8698,7 +8698,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHBoxLayout::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8728,7 +8728,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QHBoxLayout::itemAt(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8758,7 +8758,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QHBoxLayout::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8788,7 +8788,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QHBoxLayout::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8818,7 +8818,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QHBoxLayout::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8848,7 +8848,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHBoxLayout::setGeometry(const QRect& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8867,7 +8867,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QHBoxLayout::takeAt(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8897,7 +8897,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHBoxLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8930,7 +8930,7 @@ PythonQtShell_QHeaderView::~PythonQtShell_QHeaderView() { } void PythonQtShell_QHeaderView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8949,7 +8949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8968,7 +8968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8987,7 +8987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9006,7 +9006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9025,7 +9025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9044,7 +9044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9063,7 +9063,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::currentChanged(const QModelIndex& current0, const QModelIndex& old1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9082,7 +9082,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9101,7 +9101,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9120,7 +9120,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHeaderView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9150,7 +9150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9169,7 +9169,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9188,7 +9188,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::dragLeaveEvent(QDragLeaveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9207,7 +9207,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::dragMoveEvent(QDragMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9226,7 +9226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9245,7 +9245,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHeaderView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9275,7 +9275,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9294,7 +9294,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9313,7 +9313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHeaderView::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9343,7 +9343,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHeaderView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9373,7 +9373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9392,7 +9392,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHeaderView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9422,7 +9422,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9441,7 +9441,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHeaderView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9471,7 +9471,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHeaderView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9501,7 +9501,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9520,7 +9520,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHeaderView::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9550,7 +9550,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9569,7 +9569,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9588,7 +9588,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QHeaderView::indexAt(const QPoint& p0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9618,7 +9618,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9637,7 +9637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9656,7 +9656,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QHeaderView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9686,7 +9686,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHeaderView::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9716,7 +9716,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9735,7 +9735,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9754,7 +9754,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9773,7 +9773,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9792,7 +9792,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHeaderView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9822,7 +9822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::mouseDoubleClickEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9841,7 +9841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9860,7 +9860,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9879,7 +9879,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9898,7 +9898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9917,7 +9917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHeaderView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9947,7 +9947,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QHeaderView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9977,7 +9977,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9996,7 +9996,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::paintSection(QPainter* painter0, const QRect& rect1, int logicalIndex2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintSection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10015,7 +10015,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QHeaderView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10045,7 +10045,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10064,7 +10064,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10083,7 +10083,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10102,7 +10102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10121,7 +10121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10140,7 +10140,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10159,7 +10159,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QHeaderView::sectionSizeFromContents(int logicalIndex0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sectionSizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10189,7 +10189,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10208,7 +10208,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QHeaderView::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10238,7 +10238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10257,7 +10257,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QHeaderView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10287,7 +10287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::setModel(QAbstractItemModel* model0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10306,7 +10306,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10325,7 +10325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags flags1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10344,7 +10344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10363,7 +10363,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10382,7 +10382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QHeaderView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10412,7 +10412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10431,7 +10431,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHeaderView::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10461,7 +10461,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHeaderView::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10491,7 +10491,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10510,7 +10510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10529,7 +10529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10548,7 +10548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10567,7 +10567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10586,7 +10586,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10605,7 +10605,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QHeaderView::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10635,7 +10635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10654,7 +10654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10673,7 +10673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QHeaderView::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10703,7 +10703,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHeaderView::viewportEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10733,7 +10733,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QHeaderView::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10763,7 +10763,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QHeaderView::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10793,7 +10793,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QHeaderView::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10823,7 +10823,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHeaderView::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11370,7 +11370,7 @@ PythonQtShell_QIconEngine::~PythonQtShell_QIconEngine() { } QSize PythonQtShell_QIconEngine::actualSize(const QSize& size0, QIcon::Mode mode1, QIcon::State state2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actualSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11400,7 +11400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIconEngine::addFile(const QString& fileName0, const QSize& size1, QIcon::Mode mode2, QIcon::State state3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addFile"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11419,7 +11419,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIconEngine::addPixmap(const QPixmap& pixmap0, QIcon::Mode mode1, QIcon::State state2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11438,7 +11438,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QIconEngine::availableSizes(QIcon::Mode mode0, QIcon::State state1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("availableSizes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11468,7 +11468,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIconEngine* PythonQtShell_QIconEngine::clone() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11498,7 +11498,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QIconEngine::iconName() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("iconName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11528,7 +11528,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QIconEngine::key() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("key"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11558,7 +11558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIconEngine::paint(QPainter* painter0, const QRect& rect1, QIcon::Mode mode2, QIcon::State state3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11577,7 +11577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPixmap PythonQtShell_QIconEngine::pixmap(const QSize& size0, QIcon::Mode mode1, QIcon::State state2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11607,7 +11607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIconEngine::read(QDataStream& in0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11637,7 +11637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIconEngine::virtual_hook(int id0, void* data1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("virtual_hook"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11656,7 +11656,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIconEngine::write(QDataStream& out0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp index c0b479de9..3a7bec989 100644 --- a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp +++ b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp @@ -90,7 +90,7 @@ PythonQtShell_QImageIOHandler::~PythonQtShell_QImageIOHandler() { } bool PythonQtShell_QImageIOHandler::canRead() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -120,7 +120,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QImageIOHandler::currentImageNumber() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentImageNumber"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -150,7 +150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QImageIOHandler::currentImageRect() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentImageRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -180,7 +180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QImageIOHandler::imageCount() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("imageCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -210,7 +210,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QImageIOHandler::jumpToImage(int imageNumber0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("jumpToImage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -240,7 +240,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QImageIOHandler::jumpToNextImage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("jumpToNextImage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -270,7 +270,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QImageIOHandler::loopCount() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("loopCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -300,7 +300,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QByteArray PythonQtShell_QImageIOHandler::name() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("name"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -330,7 +330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QImageIOHandler::nextImageDelay() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextImageDelay"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -360,7 +360,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QImageIOHandler::option(QImageIOHandler::ImageOption option0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("option"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -390,7 +390,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QImageIOHandler::read(QImage* image0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -420,7 +420,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QImageIOHandler::setOption(QImageIOHandler::ImageOption option0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -439,7 +439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QImageIOHandler::supportsOption(QImageIOHandler::ImageOption option0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -469,7 +469,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QImageIOHandler::write(const QImage& image0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -594,7 +594,7 @@ PythonQtShell_QImageIOPlugin::~PythonQtShell_QImageIOPlugin() { } QImageIOPlugin::Capabilities PythonQtShell_QImageIOPlugin::capabilities(QIODevice* device0, const QByteArray& format1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("capabilities"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -624,7 +624,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QImageIOPlugin::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -643,7 +643,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QImageIOHandler* PythonQtShell_QImageIOPlugin::create(QIODevice* device0, const QByteArray& format1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -673,7 +673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QImageIOPlugin::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -692,7 +692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QImageIOPlugin::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -722,7 +722,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QImageIOPlugin::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -752,7 +752,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QImageIOPlugin::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1169,7 +1169,7 @@ PythonQtShell_QInputDialog::~PythonQtShell_QInputDialog() { } void PythonQtShell_QInputDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1188,7 +1188,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1207,7 +1207,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1226,7 +1226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1245,7 +1245,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1264,7 +1264,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1283,7 +1283,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1302,7 +1302,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QInputDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1332,7 +1332,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::done(int result0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1351,7 +1351,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1370,7 +1370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1389,7 +1389,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1408,7 +1408,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1427,7 +1427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1446,7 +1446,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QInputDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1476,7 +1476,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QInputDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1506,7 +1506,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QInputDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1536,7 +1536,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1555,7 +1555,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QInputDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1585,7 +1585,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1604,7 +1604,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QInputDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1634,7 +1634,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QInputDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1664,7 +1664,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1683,7 +1683,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1702,7 +1702,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1721,7 +1721,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QInputDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1751,7 +1751,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1770,7 +1770,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1789,7 +1789,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1808,7 +1808,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QInputDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1838,7 +1838,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1857,7 +1857,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1876,7 +1876,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1895,7 +1895,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1914,7 +1914,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1933,7 +1933,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QInputDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1963,7 +1963,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1982,7 +1982,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QInputDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2012,7 +2012,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2031,7 +2031,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QInputDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2061,7 +2061,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2080,7 +2080,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2099,7 +2099,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QInputDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2129,7 +2129,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2148,7 +2148,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2167,7 +2167,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2186,7 +2186,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QInputDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2627,7 +2627,7 @@ PythonQtShell_QIntValidator::~PythonQtShell_QIntValidator() { } void PythonQtShell_QIntValidator::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2646,7 +2646,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIntValidator::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2665,7 +2665,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIntValidator::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2695,7 +2695,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QIntValidator::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2725,7 +2725,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIntValidator::fixup(QString& input0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2744,7 +2744,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIntValidator::setRange(int bottom0, int top1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2763,7 +2763,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QIntValidator::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2782,7 +2782,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QIntValidator::validate(QString& arg__1, int& arg__2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2861,7 +2861,7 @@ PythonQtShell_QItemDelegate::~PythonQtShell_QItemDelegate() { } void PythonQtShell_QItemDelegate::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2880,7 +2880,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QItemDelegate::createEditor(QWidget* parent0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2910,7 +2910,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2929,7 +2929,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::destroyEditor(QWidget* editor0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("destroyEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2948,7 +2948,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::drawCheck(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, Qt::CheckState state3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawCheck"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2967,7 +2967,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::drawDecoration(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, const QPixmap& pixmap3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawDecoration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2986,7 +2986,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::drawDisplay(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, const QString& text3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawDisplay"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3005,7 +3005,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::drawFocus(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawFocus"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3024,7 +3024,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QItemDelegate::editorEvent(QEvent* event0, QAbstractItemModel* model1, const QStyleOptionViewItem& option2, const QModelIndex& index3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3054,7 +3054,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QItemDelegate::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3084,7 +3084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QItemDelegate::eventFilter(QObject* object0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3114,7 +3114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemView* view1, const QStyleOptionViewItem& option2, const QModelIndex& index3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3144,7 +3144,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::paint(QPainter* painter0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3163,7 +3163,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVector PythonQtShell_QItemDelegate::paintingRoles() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintingRoles"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3193,7 +3193,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::setEditorData(QWidget* editor0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3212,7 +3212,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::setModelData(QWidget* editor0, QAbstractItemModel* model1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModelData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3231,7 +3231,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QItemDelegate::sizeHint(const QStyleOptionViewItem& option0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3261,7 +3261,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3280,7 +3280,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemDelegate::updateEditorGeometry(QWidget* editor0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3419,7 +3419,7 @@ PythonQtShell_QItemEditorCreatorBase::~PythonQtShell_QItemEditorCreatorBase() { } QWidget* PythonQtShell_QItemEditorCreatorBase::createWidget(QWidget* parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3449,7 +3449,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QByteArray PythonQtShell_QItemEditorCreatorBase::valuePropertyName() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("valuePropertyName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3499,7 +3499,7 @@ PythonQtShell_QItemEditorFactory::~PythonQtShell_QItemEditorFactory() { } QWidget* PythonQtShell_QItemEditorFactory::createEditor(int userType0, QWidget* parent1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3529,7 +3529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QByteArray PythonQtShell_QItemEditorFactory::valuePropertyName(int userType0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("valuePropertyName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3859,7 +3859,7 @@ PythonQtShell_QItemSelectionModel::~PythonQtShell_QItemSelectionModel() { } void PythonQtShell_QItemSelectionModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3878,7 +3878,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemSelectionModel::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3897,7 +3897,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemSelectionModel::clearCurrentIndex() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clearCurrentIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3916,7 +3916,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemSelectionModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3935,7 +3935,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QItemSelectionModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3965,7 +3965,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QItemSelectionModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3995,7 +3995,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemSelectionModel::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4014,7 +4014,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemSelectionModel::select(const QItemSelection& selection0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4033,7 +4033,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemSelectionModel::select(const QModelIndex& index0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4052,7 +4052,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemSelectionModel::setCurrentIndex(const QModelIndex& index0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setCurrentIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4071,7 +4071,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QItemSelectionModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4383,7 +4383,7 @@ PythonQtShell_QKeyEventTransition::~PythonQtShell_QKeyEventTransition() { } void PythonQtShell_QKeyEventTransition::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4402,7 +4402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QKeyEventTransition::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4421,7 +4421,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QKeyEventTransition::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4451,7 +4451,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QKeyEventTransition::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4481,7 +4481,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QKeyEventTransition::eventTest(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4511,7 +4511,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QKeyEventTransition::onTransition(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4530,7 +4530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QKeyEventTransition::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4593,7 +4593,7 @@ PythonQtShell_QLCDNumber::~PythonQtShell_QLCDNumber() { } void PythonQtShell_QLCDNumber::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4612,7 +4612,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4631,7 +4631,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4650,7 +4650,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4669,7 +4669,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4688,7 +4688,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4707,7 +4707,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLCDNumber::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4737,7 +4737,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4756,7 +4756,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4775,7 +4775,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4794,7 +4794,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4813,7 +4813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4832,7 +4832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLCDNumber::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4862,7 +4862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLCDNumber::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4892,7 +4892,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4911,7 +4911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLCDNumber::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4941,7 +4941,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4960,7 +4960,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLCDNumber::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4990,7 +4990,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLCDNumber::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5020,7 +5020,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5039,7 +5039,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5058,7 +5058,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5077,7 +5077,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QLCDNumber::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5107,7 +5107,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5126,7 +5126,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5145,7 +5145,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5164,7 +5164,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLCDNumber::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5194,7 +5194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QLCDNumber::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5224,7 +5224,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5243,7 +5243,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5262,7 +5262,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5281,7 +5281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5300,7 +5300,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5319,7 +5319,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLCDNumber::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5349,7 +5349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QLCDNumber::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5379,7 +5379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5398,7 +5398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QLCDNumber::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5428,7 +5428,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5447,7 +5447,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QLCDNumber::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5477,7 +5477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5496,7 +5496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5515,7 +5515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5534,7 +5534,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLCDNumber::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5637,7 +5637,7 @@ PythonQtShell_QLabel::~PythonQtShell_QLabel() { } void PythonQtShell_QLabel::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5656,7 +5656,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5675,7 +5675,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5694,7 +5694,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5713,7 +5713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::contextMenuEvent(QContextMenuEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5732,7 +5732,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5751,7 +5751,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLabel::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5781,7 +5781,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5800,7 +5800,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5819,7 +5819,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5838,7 +5838,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5857,7 +5857,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5876,7 +5876,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLabel::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5906,7 +5906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLabel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5936,7 +5936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::focusInEvent(QFocusEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5955,7 +5955,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLabel::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5985,7 +5985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::focusOutEvent(QFocusEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6004,7 +6004,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLabel::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6034,7 +6034,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLabel::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6064,7 +6064,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6083,7 +6083,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6102,7 +6102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6121,7 +6121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QLabel::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6151,7 +6151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::keyPressEvent(QKeyEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6170,7 +6170,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6189,7 +6189,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6208,7 +6208,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLabel::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6238,7 +6238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6257,7 +6257,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::mouseMoveEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6276,7 +6276,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::mousePressEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6295,7 +6295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::mouseReleaseEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6314,7 +6314,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6333,7 +6333,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLabel::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6363,7 +6363,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QLabel::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6393,7 +6393,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6412,7 +6412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QLabel::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6442,7 +6442,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6461,7 +6461,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QLabel::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6491,7 +6491,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6510,7 +6510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6529,7 +6529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6548,7 +6548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLabel::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6781,7 +6781,7 @@ PythonQtShell_QLayout::~PythonQtShell_QLayout() { } void PythonQtShell_QLayout::addItem(QLayoutItem* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6800,7 +6800,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLayout::childEvent(QChildEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6819,7 +6819,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizePolicy::ControlTypes PythonQtShell_QLayout::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6849,7 +6849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6879,7 +6879,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6898,7 +6898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6928,7 +6928,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6958,7 +6958,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QLayout::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6988,7 +6988,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QLayout::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7018,7 +7018,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLayout::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7048,7 +7048,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLayout::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7078,7 +7078,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLayout::indexOf(QWidget* arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7108,7 +7108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7127,7 +7127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLayout::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7157,7 +7157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QLayout::itemAt(int index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7187,7 +7187,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QLayout::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7217,7 +7217,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QLayout::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7247,7 +7247,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLayout::minimumHeightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7277,7 +7277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QLayout::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7307,7 +7307,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLayout::setGeometry(const QRect& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7326,7 +7326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QLayout::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7356,7 +7356,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSpacerItem* PythonQtShell_QLayout::spacerItem() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7386,7 +7386,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QLayout::takeAt(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7416,7 +7416,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7435,7 +7435,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QLayout::widget() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7719,7 +7719,7 @@ PythonQtShell_QLayoutItem::~PythonQtShell_QLayoutItem() { } QSizePolicy::ControlTypes PythonQtShell_QLayoutItem::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7749,7 +7749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QLayoutItem::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7779,7 +7779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QLayoutItem::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7809,7 +7809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLayoutItem::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7839,7 +7839,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLayoutItem::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7869,7 +7869,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLayoutItem::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7888,7 +7888,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLayoutItem::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7918,7 +7918,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QLayoutItem::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7948,7 +7948,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QLayoutItem::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7978,7 +7978,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLayoutItem::minimumHeightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8008,7 +8008,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QLayoutItem::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8038,7 +8038,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLayoutItem::setGeometry(const QRect& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8057,7 +8057,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QLayoutItem::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8087,7 +8087,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSpacerItem* PythonQtShell_QLayoutItem::spacerItem() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8117,7 +8117,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QLayoutItem::widget() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8242,7 +8242,7 @@ PythonQtShell_QLineEdit::~PythonQtShell_QLineEdit() { } void PythonQtShell_QLineEdit::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8261,7 +8261,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8280,7 +8280,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8299,7 +8299,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8318,7 +8318,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8337,7 +8337,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8356,7 +8356,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLineEdit::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8386,7 +8386,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8405,7 +8405,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::dragLeaveEvent(QDragLeaveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8424,7 +8424,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::dragMoveEvent(QDragMoveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8443,7 +8443,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8462,7 +8462,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8481,7 +8481,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLineEdit::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8511,7 +8511,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLineEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8541,7 +8541,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8560,7 +8560,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLineEdit::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8590,7 +8590,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8609,7 +8609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLineEdit::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8639,7 +8639,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLineEdit::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8669,7 +8669,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8688,7 +8688,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8707,7 +8707,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8726,7 +8726,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QLineEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8756,7 +8756,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8775,7 +8775,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8794,7 +8794,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8813,7 +8813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QLineEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8843,7 +8843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8862,7 +8862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8881,7 +8881,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8900,7 +8900,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8919,7 +8919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8938,7 +8938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLineEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8968,7 +8968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QLineEdit::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8998,7 +8998,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9017,7 +9017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QLineEdit::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9047,7 +9047,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9066,7 +9066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QLineEdit::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9096,7 +9096,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9115,7 +9115,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9134,7 +9134,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9153,7 +9153,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLineEdit::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9615,7 +9615,7 @@ PythonQtShell_QListView::~PythonQtShell_QListView() { } void PythonQtShell_QListView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9634,7 +9634,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9653,7 +9653,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9672,7 +9672,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9691,7 +9691,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9710,7 +9710,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9729,7 +9729,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9748,7 +9748,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9767,7 +9767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9786,7 +9786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9805,7 +9805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9835,7 +9835,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9854,7 +9854,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9873,7 +9873,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::dragLeaveEvent(QDragLeaveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9892,7 +9892,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::dragMoveEvent(QDragMoveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9911,7 +9911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::dropEvent(QDropEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9930,7 +9930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9960,7 +9960,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9979,7 +9979,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9998,7 +9998,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListView::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10028,7 +10028,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10058,7 +10058,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10077,7 +10077,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10107,7 +10107,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10126,7 +10126,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10156,7 +10156,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10186,7 +10186,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10205,7 +10205,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListView::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10235,7 +10235,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10254,7 +10254,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10273,7 +10273,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QListView::indexAt(const QPoint& p0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10303,7 +10303,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10322,7 +10322,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10341,7 +10341,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QListView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10371,7 +10371,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListView::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10401,7 +10401,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10420,7 +10420,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10439,7 +10439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10458,7 +10458,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10477,7 +10477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10507,7 +10507,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10526,7 +10526,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10545,7 +10545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10564,7 +10564,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10583,7 +10583,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10602,7 +10602,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10632,7 +10632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QListView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10662,7 +10662,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10681,7 +10681,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QListView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10711,7 +10711,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10730,7 +10730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10749,7 +10749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10768,7 +10768,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10787,7 +10787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10806,7 +10806,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10825,7 +10825,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10844,7 +10844,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QListView::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10874,7 +10874,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10893,7 +10893,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QListView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10923,7 +10923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::setModel(QAbstractItemModel* model0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10942,7 +10942,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10961,7 +10961,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10980,7 +10980,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10999,7 +10999,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11018,7 +11018,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QListView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11048,7 +11048,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11067,7 +11067,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListView::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11097,7 +11097,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListView::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11127,7 +11127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11146,7 +11146,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11165,7 +11165,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11184,7 +11184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11203,7 +11203,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11222,7 +11222,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11241,7 +11241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListView::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11271,7 +11271,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11290,7 +11290,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11309,7 +11309,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QListView::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11339,7 +11339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListView::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11369,7 +11369,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QListView::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11399,7 +11399,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QListView::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11429,7 +11429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QListView::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11459,7 +11459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListView::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11813,7 +11813,7 @@ PythonQtShell_QListWidget::~PythonQtShell_QListWidget() { } void PythonQtShell_QListWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11832,7 +11832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11851,7 +11851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11870,7 +11870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11889,7 +11889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11908,7 +11908,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11927,7 +11927,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11946,7 +11946,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11965,7 +11965,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11984,7 +11984,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12003,7 +12003,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12033,7 +12033,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12052,7 +12052,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12071,7 +12071,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::dragLeaveEvent(QDragLeaveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12090,7 +12090,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::dragMoveEvent(QDragMoveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12109,7 +12109,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12128,7 +12128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::dropMimeData(int index0, const QMimeData* data1, Qt::DropAction action2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12158,7 +12158,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12188,7 +12188,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12207,7 +12207,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12226,7 +12226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12256,7 +12256,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12286,7 +12286,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12305,7 +12305,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12335,7 +12335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12354,7 +12354,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12384,7 +12384,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12414,7 +12414,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12433,7 +12433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListWidget::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12463,7 +12463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12482,7 +12482,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12501,7 +12501,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QListWidget::indexAt(const QPoint& p0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12531,7 +12531,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12550,7 +12550,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12569,7 +12569,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QListWidget::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12599,7 +12599,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12629,7 +12629,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12648,7 +12648,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12667,7 +12667,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12686,7 +12686,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12705,7 +12705,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12735,7 +12735,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QListWidget::mimeData(const QList items0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12765,7 +12765,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QListWidget::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12795,7 +12795,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12814,7 +12814,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12833,7 +12833,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12852,7 +12852,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12871,7 +12871,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12890,7 +12890,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12920,7 +12920,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QListWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12950,7 +12950,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12969,7 +12969,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QListWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12999,7 +12999,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13018,7 +13018,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13037,7 +13037,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13056,7 +13056,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13075,7 +13075,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13094,7 +13094,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13113,7 +13113,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13132,7 +13132,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QListWidget::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13162,7 +13162,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13181,7 +13181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QListWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13211,7 +13211,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13230,7 +13230,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13249,7 +13249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13268,7 +13268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13287,7 +13287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QListWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13317,7 +13317,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13336,7 +13336,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListWidget::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13366,7 +13366,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListWidget::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13396,7 +13396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13415,7 +13415,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QListWidget::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13445,7 +13445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13464,7 +13464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13483,7 +13483,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13502,7 +13502,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13521,7 +13521,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13540,7 +13540,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QListWidget::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13570,7 +13570,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13589,7 +13589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13608,7 +13608,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QListWidget::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13638,7 +13638,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidget::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13668,7 +13668,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QListWidget::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13698,7 +13698,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QListWidget::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13728,7 +13728,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QListWidget::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13758,7 +13758,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13977,7 +13977,7 @@ PythonQtShell_QListWidgetItem::~PythonQtShell_QListWidgetItem() { } QListWidgetItem* PythonQtShell_QListWidgetItem::clone() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14007,7 +14007,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QListWidgetItem::data(int role0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14037,7 +14037,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QListWidgetItem::__lt__(const QListWidgetItem& other0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("__lt__"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14067,7 +14067,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidgetItem::read(QDataStream& in0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14086,7 +14086,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidgetItem::setBackgroundColor(const QColor& color0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setBackgroundColor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14105,7 +14105,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidgetItem::setData(int role0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14124,7 +14124,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QListWidgetItem::write(QDataStream& out0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14336,7 +14336,7 @@ PythonQtShell_QMainWindow::~PythonQtShell_QMainWindow() { } void PythonQtShell_QMainWindow::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14355,7 +14355,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14374,7 +14374,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14393,7 +14393,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14412,7 +14412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::contextMenuEvent(QContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14431,7 +14431,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMenu* PythonQtShell_QMainWindow::createPopupMenu() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createPopupMenu"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14461,7 +14461,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14480,7 +14480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMainWindow::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14510,7 +14510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14529,7 +14529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14548,7 +14548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14567,7 +14567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14586,7 +14586,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14605,7 +14605,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMainWindow::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14635,7 +14635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMainWindow::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14665,7 +14665,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14684,7 +14684,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMainWindow::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14714,7 +14714,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14733,7 +14733,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMainWindow::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14763,7 +14763,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMainWindow::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14793,7 +14793,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14812,7 +14812,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14831,7 +14831,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14850,7 +14850,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QMainWindow::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14880,7 +14880,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14899,7 +14899,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14918,7 +14918,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14937,7 +14937,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMainWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14967,7 +14967,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QMainWindow::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14997,7 +14997,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15016,7 +15016,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15035,7 +15035,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15054,7 +15054,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15073,7 +15073,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15092,7 +15092,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMainWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15122,7 +15122,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QMainWindow::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15152,7 +15152,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15171,7 +15171,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QMainWindow::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15201,7 +15201,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15220,7 +15220,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QMainWindow::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15250,7 +15250,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15269,7 +15269,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QMainWindow::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15299,7 +15299,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15318,7 +15318,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15337,7 +15337,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMainWindow::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp index 3b547e337..ff76210dc 100644 --- a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp +++ b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp @@ -435,7 +435,7 @@ PythonQtShell_QMdiArea::~PythonQtShell_QMdiArea() { } void PythonQtShell_QMdiArea::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -454,7 +454,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -473,7 +473,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::childEvent(QChildEvent* childEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -492,7 +492,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -511,7 +511,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -530,7 +530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -549,7 +549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMdiArea::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -579,7 +579,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -598,7 +598,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -617,7 +617,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -636,7 +636,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -655,7 +655,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -674,7 +674,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiArea::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -704,7 +704,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiArea::eventFilter(QObject* object0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -734,7 +734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -753,7 +753,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiArea::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -783,7 +783,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -802,7 +802,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiArea::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -832,7 +832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMdiArea::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -862,7 +862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -881,7 +881,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -900,7 +900,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -919,7 +919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QMdiArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -949,7 +949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -968,7 +968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -987,7 +987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1006,7 +1006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMdiArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1036,7 +1036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1055,7 +1055,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1074,7 +1074,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1093,7 +1093,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1112,7 +1112,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1131,7 +1131,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1161,7 +1161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QMdiArea::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1191,7 +1191,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::paintEvent(QPaintEvent* paintEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1210,7 +1210,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QMdiArea::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1240,7 +1240,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::resizeEvent(QResizeEvent* resizeEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1259,7 +1259,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1278,7 +1278,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1297,7 +1297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QMdiArea::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1327,7 +1327,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::showEvent(QShowEvent* showEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1346,7 +1346,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1365,7 +1365,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::timerEvent(QTimerEvent* timerEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1384,7 +1384,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiArea::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1414,7 +1414,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QMdiArea::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1444,7 +1444,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiArea::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1648,7 +1648,7 @@ PythonQtShell_QMdiSubWindow::~PythonQtShell_QMdiSubWindow() { } void PythonQtShell_QMdiSubWindow::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1667,7 +1667,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::changeEvent(QEvent* changeEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1686,7 +1686,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::childEvent(QChildEvent* childEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1705,7 +1705,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::closeEvent(QCloseEvent* closeEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1724,7 +1724,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::contextMenuEvent(QContextMenuEvent* contextMenuEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1743,7 +1743,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1762,7 +1762,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMdiSubWindow::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1792,7 +1792,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1811,7 +1811,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1830,7 +1830,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1849,7 +1849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1868,7 +1868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1887,7 +1887,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiSubWindow::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1917,7 +1917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiSubWindow::eventFilter(QObject* object0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1947,7 +1947,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::focusInEvent(QFocusEvent* focusInEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1966,7 +1966,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiSubWindow::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1996,7 +1996,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::focusOutEvent(QFocusEvent* focusOutEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2015,7 +2015,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiSubWindow::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2045,7 +2045,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMdiSubWindow::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2075,7 +2075,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::hideEvent(QHideEvent* hideEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2094,7 +2094,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2113,7 +2113,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2132,7 +2132,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QMdiSubWindow::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2162,7 +2162,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::keyPressEvent(QKeyEvent* keyEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2181,7 +2181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2200,7 +2200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::leaveEvent(QEvent* leaveEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2219,7 +2219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMdiSubWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2249,7 +2249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::mouseDoubleClickEvent(QMouseEvent* mouseEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2268,7 +2268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::mouseMoveEvent(QMouseEvent* mouseEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2287,7 +2287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::mousePressEvent(QMouseEvent* mouseEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2306,7 +2306,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::mouseReleaseEvent(QMouseEvent* mouseEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2325,7 +2325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::moveEvent(QMoveEvent* moveEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2344,7 +2344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMdiSubWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2374,7 +2374,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QMdiSubWindow::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2404,7 +2404,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::paintEvent(QPaintEvent* paintEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2423,7 +2423,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QMdiSubWindow::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2453,7 +2453,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::resizeEvent(QResizeEvent* resizeEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2472,7 +2472,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QMdiSubWindow::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2502,7 +2502,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::showEvent(QShowEvent* showEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2521,7 +2521,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2540,7 +2540,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::timerEvent(QTimerEvent* timerEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2559,7 +2559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMdiSubWindow::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2768,7 +2768,7 @@ PythonQtShell_QMenu::~PythonQtShell_QMenu() { } void PythonQtShell_QMenu::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2787,7 +2787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2806,7 +2806,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2825,7 +2825,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2844,7 +2844,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2863,7 +2863,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2882,7 +2882,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMenu::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2912,7 +2912,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2931,7 +2931,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2950,7 +2950,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2969,7 +2969,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2988,7 +2988,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3007,7 +3007,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenu::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3037,7 +3037,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenu::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3067,7 +3067,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3086,7 +3086,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenu::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3116,7 +3116,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3135,7 +3135,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenu::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3165,7 +3165,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMenu::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3195,7 +3195,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3214,7 +3214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3233,7 +3233,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3252,7 +3252,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QMenu::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3282,7 +3282,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3301,7 +3301,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3320,7 +3320,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3339,7 +3339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMenu::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3369,7 +3369,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QMenu::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3399,7 +3399,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3418,7 +3418,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3437,7 +3437,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3456,7 +3456,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3475,7 +3475,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3494,7 +3494,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenu::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3524,7 +3524,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QMenu::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3554,7 +3554,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3573,7 +3573,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QMenu::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3603,7 +3603,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3622,7 +3622,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QMenu::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3652,7 +3652,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3671,7 +3671,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3690,7 +3690,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3709,7 +3709,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenu::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4027,7 +4027,7 @@ PythonQtShell_QMenuBar::~PythonQtShell_QMenuBar() { } void PythonQtShell_QMenuBar::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4046,7 +4046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4065,7 +4065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4084,7 +4084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4103,7 +4103,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4122,7 +4122,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4141,7 +4141,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMenuBar::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4171,7 +4171,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4190,7 +4190,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4209,7 +4209,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4228,7 +4228,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4247,7 +4247,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4266,7 +4266,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenuBar::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4296,7 +4296,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenuBar::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4326,7 +4326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4345,7 +4345,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenuBar::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4375,7 +4375,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4394,7 +4394,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenuBar::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4424,7 +4424,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMenuBar::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4454,7 +4454,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4473,7 +4473,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4492,7 +4492,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4511,7 +4511,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QMenuBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4541,7 +4541,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4560,7 +4560,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4579,7 +4579,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4598,7 +4598,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMenuBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4628,7 +4628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4647,7 +4647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4666,7 +4666,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4685,7 +4685,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4704,7 +4704,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4723,7 +4723,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMenuBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4753,7 +4753,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QMenuBar::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4783,7 +4783,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4802,7 +4802,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QMenuBar::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4832,7 +4832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4851,7 +4851,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::setVisible(bool visible0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4870,7 +4870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QMenuBar::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4900,7 +4900,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4919,7 +4919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4938,7 +4938,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4957,7 +4957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMenuBar::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5181,7 +5181,7 @@ PythonQtShell_QMessageBox::~PythonQtShell_QMessageBox() { } void PythonQtShell_QMessageBox::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5200,7 +5200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5219,7 +5219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5238,7 +5238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5257,7 +5257,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5276,7 +5276,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5295,7 +5295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5314,7 +5314,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMessageBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5344,7 +5344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::done(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5363,7 +5363,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5382,7 +5382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5401,7 +5401,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5420,7 +5420,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5439,7 +5439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5458,7 +5458,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMessageBox::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5488,7 +5488,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMessageBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5518,7 +5518,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMessageBox::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5548,7 +5548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5567,7 +5567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMessageBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5597,7 +5597,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5616,7 +5616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMessageBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5646,7 +5646,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMessageBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5676,7 +5676,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5695,7 +5695,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5714,7 +5714,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5733,7 +5733,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QMessageBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5763,7 +5763,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5782,7 +5782,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5801,7 +5801,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5820,7 +5820,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QMessageBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5850,7 +5850,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5869,7 +5869,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5888,7 +5888,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5907,7 +5907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5926,7 +5926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5945,7 +5945,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMessageBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5975,7 +5975,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5994,7 +5994,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QMessageBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6024,7 +6024,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6043,7 +6043,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QMessageBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6073,7 +6073,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6092,7 +6092,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6111,7 +6111,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QMessageBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6141,7 +6141,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6160,7 +6160,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6179,7 +6179,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6198,7 +6198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMessageBox::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6569,7 +6569,7 @@ PythonQtShell_QMouseEventTransition::~PythonQtShell_QMouseEventTransition() { } void PythonQtShell_QMouseEventTransition::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6588,7 +6588,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMouseEventTransition::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6607,7 +6607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMouseEventTransition::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6637,7 +6637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMouseEventTransition::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6667,7 +6667,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMouseEventTransition::eventTest(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6697,7 +6697,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMouseEventTransition::onTransition(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6716,7 +6716,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMouseEventTransition::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6809,7 +6809,7 @@ PythonQtShell_QMovie::~PythonQtShell_QMovie() { } void PythonQtShell_QMovie::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6828,7 +6828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMovie::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6847,7 +6847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMovie::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6877,7 +6877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMovie::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6907,7 +6907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMovie::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7109,7 +7109,7 @@ PythonQtShell_QOffscreenSurface::~PythonQtShell_QOffscreenSurface() { } void PythonQtShell_QOffscreenSurface::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7128,7 +7128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOffscreenSurface::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7147,7 +7147,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOffscreenSurface::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7177,7 +7177,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOffscreenSurface::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7207,7 +7207,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSurfaceFormat PythonQtShell_QOffscreenSurface::format() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7237,7 +7237,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QOffscreenSurface::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7267,7 +7267,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSurface::SurfaceType PythonQtShell_QOffscreenSurface::surfaceType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7297,7 +7297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOffscreenSurface::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7480,7 +7480,7 @@ PythonQtShell_QOpenGLContext::~PythonQtShell_QOpenGLContext() { } void PythonQtShell_QOpenGLContext::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7499,7 +7499,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLContext::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7518,7 +7518,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLContext::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7548,7 +7548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLContext::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7578,7 +7578,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLContext::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8679,7 +8679,7 @@ PythonQtShell_QOpenGLPaintDevice::~PythonQtShell_QOpenGLPaintDevice() { } int PythonQtShell_QOpenGLPaintDevice::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8709,7 +8709,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLPaintDevice::ensureActiveTarget() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ensureActiveTarget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8728,7 +8728,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLPaintDevice::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8747,7 +8747,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QOpenGLPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8777,7 +8777,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QOpenGLPaintDevice::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8807,7 +8807,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QOpenGLPaintDevice::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8837,7 +8837,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QOpenGLPaintDevice::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8955,7 +8955,7 @@ PythonQtShell_QOpenGLShader::~PythonQtShell_QOpenGLShader() { } void PythonQtShell_QOpenGLShader::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8974,7 +8974,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLShader::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8993,7 +8993,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLShader::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9023,7 +9023,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLShader::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9053,7 +9053,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLShader::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9132,7 +9132,7 @@ PythonQtShell_QOpenGLShaderProgram::~PythonQtShell_QOpenGLShaderProgram() { } void PythonQtShell_QOpenGLShaderProgram::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9151,7 +9151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLShaderProgram::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9170,7 +9170,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLShaderProgram::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9200,7 +9200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLShaderProgram::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9230,7 +9230,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLShaderProgram::link() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("link"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9260,7 +9260,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLShaderProgram::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10244,7 +10244,7 @@ PythonQtShell_QOpenGLTimeMonitor::~PythonQtShell_QOpenGLTimeMonitor() { } void PythonQtShell_QOpenGLTimeMonitor::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10263,7 +10263,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLTimeMonitor::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10282,7 +10282,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLTimeMonitor::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10312,7 +10312,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLTimeMonitor::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10342,7 +10342,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLTimeMonitor::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10426,7 +10426,7 @@ PythonQtShell_QOpenGLTimerQuery::~PythonQtShell_QOpenGLTimerQuery() { } void PythonQtShell_QOpenGLTimerQuery::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10445,7 +10445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLTimerQuery::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10464,7 +10464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLTimerQuery::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10494,7 +10494,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLTimerQuery::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10524,7 +10524,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLTimerQuery::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10662,7 +10662,7 @@ PythonQtShell_QOpenGLVertexArrayObject::~PythonQtShell_QOpenGLVertexArrayObject( } void PythonQtShell_QOpenGLVertexArrayObject::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10681,7 +10681,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLVertexArrayObject::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10700,7 +10700,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLVertexArrayObject::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10730,7 +10730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QOpenGLVertexArrayObject::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10760,7 +10760,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QOpenGLVertexArrayObject::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11174,7 +11174,7 @@ PythonQtShell_QPagedPaintDevice::~PythonQtShell_QPagedPaintDevice() { } int PythonQtShell_QPagedPaintDevice::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11204,7 +11204,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPagedPaintDevice::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11223,7 +11223,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPagedPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11253,7 +11253,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPagedPaintDevice::newPage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11283,7 +11283,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPagedPaintDevice::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11313,7 +11313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPagedPaintDevice::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11343,7 +11343,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPagedPaintDevice::setMargins(const QPagedPaintDevice::Margins& margins0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11362,7 +11362,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPagedPaintDevice::setPageSize(QPagedPaintDevice::PageSize size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPageSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11381,7 +11381,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPagedPaintDevice::setPageSizeMM(const QSizeF& size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPageSizeMM"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11400,7 +11400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPagedPaintDevice::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp index 9109939da..dd97a0d05 100644 --- a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp +++ b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp @@ -97,7 +97,7 @@ PythonQtShell_QPaintDevice::~PythonQtShell_QPaintDevice() { } int PythonQtShell_QPaintDevice::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -127,7 +127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintDevice::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -146,7 +146,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -176,7 +176,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPaintDevice::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -206,7 +206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPaintDevice::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -236,7 +236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPaintDevice::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -366,7 +366,7 @@ PythonQtShell_QPaintEngine::~PythonQtShell_QPaintEngine() { } bool PythonQtShell_QPaintEngine::begin(QPaintDevice* pdev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("begin"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -396,7 +396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPoint PythonQtShell_QPaintEngine::coordinateOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("coordinateOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -426,7 +426,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawEllipse(const QRect& r0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawEllipse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -445,7 +445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawEllipse(const QRectF& r0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawEllipse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -464,7 +464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawImage(const QRectF& r0, const QImage& pm1, const QRectF& sr2, Qt::ImageConversionFlags flags3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawImage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -483,7 +483,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawLines(const QLine* lines0, int lineCount1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawLines"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -502,7 +502,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawLines(const QLineF* lines0, int lineCount1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawLines"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -521,7 +521,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawPath(const QPainterPath& path0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -540,7 +540,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawPixmap(const QRectF& r0, const QPixmap& pm1, const QRectF& sr2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -559,7 +559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawPoints(const QPoint* points0, int pointCount1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPoints"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -578,7 +578,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawPoints(const QPointF* points0, int pointCount1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPoints"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -597,7 +597,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawPolygon(const QPoint* points0, int pointCount1, QPaintEngine::PolygonDrawMode mode2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPolygon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -616,7 +616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawPolygon(const QPointF* points0, int pointCount1, QPaintEngine::PolygonDrawMode mode2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPolygon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -635,7 +635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawRects(const QRect* rects0, int rectCount1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawRects"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -654,7 +654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawRects(const QRectF* rects0, int rectCount1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawRects"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -673,7 +673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawTextItem(const QPointF& p0, const QTextItem& textItem1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawTextItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -692,7 +692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::drawTiledPixmap(const QRectF& r0, const QPixmap& pixmap1, const QPointF& s2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawTiledPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -711,7 +711,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPaintEngine::end() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("end"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -741,7 +741,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine::Type PythonQtShell_QPaintEngine::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -771,7 +771,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPaintEngine::updateState(const QPaintEngineState& state0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2610,7 +2610,7 @@ PythonQtShell_QPanGesture::~PythonQtShell_QPanGesture() { } void PythonQtShell_QPanGesture::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2629,7 +2629,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPanGesture::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2648,7 +2648,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPanGesture::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2678,7 +2678,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPanGesture::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2708,7 +2708,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPanGesture::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2772,7 +2772,7 @@ PythonQtShell_QPdfWriter::~PythonQtShell_QPdfWriter() { } void PythonQtShell_QPdfWriter::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2791,7 +2791,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPdfWriter::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2810,7 +2810,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPdfWriter::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2840,7 +2840,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPdfWriter::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2870,7 +2870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPdfWriter::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2900,7 +2900,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPdfWriter::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2919,7 +2919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPdfWriter::metric(QPaintDevice::PaintDeviceMetric id0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2949,7 +2949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPdfWriter::newPage() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2979,7 +2979,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPdfWriter::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3009,7 +3009,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPdfWriter::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3039,7 +3039,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPdfWriter::setMargins(const QPagedPaintDevice::Margins& m0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3058,7 +3058,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPdfWriter::setPageSize(QPagedPaintDevice::PageSize size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPageSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3077,7 +3077,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPdfWriter::setPageSizeMM(const QSizeF& size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setPageSizeMM"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3096,7 +3096,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPdfWriter::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3126,7 +3126,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPdfWriter::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3219,7 +3219,7 @@ PythonQtShell_QPicture::~PythonQtShell_QPicture() { } int PythonQtShell_QPicture::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3249,7 +3249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPicture::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3268,7 +3268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPicture::metric(QPaintDevice::PaintDeviceMetric m0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3298,7 +3298,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPicture::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3328,7 +3328,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPicture::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3358,7 +3358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPicture::setData(const char* data0, uint size1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3377,7 +3377,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPicture::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3501,7 +3501,7 @@ PythonQtShell_QPictureFormatPlugin::~PythonQtShell_QPictureFormatPlugin() { } void PythonQtShell_QPictureFormatPlugin::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3520,7 +3520,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPictureFormatPlugin::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3539,7 +3539,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPictureFormatPlugin::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3569,7 +3569,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPictureFormatPlugin::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3599,7 +3599,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPictureFormatPlugin::installIOHandler(const QString& format0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("installIOHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3629,7 +3629,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPictureFormatPlugin::loadPicture(const QString& format0, const QString& filename1, QPicture* pic2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("loadPicture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3659,7 +3659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPictureFormatPlugin::savePicture(const QString& format0, const QString& filename1, const QPicture& pic2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("savePicture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3689,7 +3689,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPictureFormatPlugin::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3867,7 +3867,7 @@ PythonQtShell_QPinchGesture::~PythonQtShell_QPinchGesture() { } void PythonQtShell_QPinchGesture::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3886,7 +3886,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPinchGesture::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3905,7 +3905,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPinchGesture::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3935,7 +3935,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPinchGesture::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3965,7 +3965,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPinchGesture::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4189,7 +4189,7 @@ PythonQtShell_QPlainTextDocumentLayout::~PythonQtShell_QPlainTextDocumentLayout( } QRectF PythonQtShell_QPlainTextDocumentLayout::blockBoundingRect(const QTextBlock& block0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("blockBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4219,7 +4219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextDocumentLayout::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4238,7 +4238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextDocumentLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4257,7 +4257,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextDocumentLayout::documentChanged(int from0, int arg__2, int charsAdded2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("documentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4276,7 +4276,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizeF PythonQtShell_QPlainTextDocumentLayout::documentSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("documentSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4306,7 +4306,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextDocumentLayout::draw(QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4325,7 +4325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextDocumentLayout::drawInlineObject(QPainter* painter0, const QRectF& rect1, QTextInlineObject object2, int posInDocument3, const QTextFormat& format4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4344,7 +4344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextDocumentLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4374,7 +4374,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextDocumentLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4404,7 +4404,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRectF PythonQtShell_QPlainTextDocumentLayout::frameBoundingRect(QTextFrame* arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("frameBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4434,7 +4434,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPlainTextDocumentLayout::hitTest(const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4464,7 +4464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPlainTextDocumentLayout::pageCount() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pageCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4494,7 +4494,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextDocumentLayout::positionInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("positionInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4513,7 +4513,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextDocumentLayout::resizeInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4532,7 +4532,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextDocumentLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4616,7 +4616,7 @@ PythonQtShell_QPlainTextEdit::~PythonQtShell_QPlainTextEdit() { } void PythonQtShell_QPlainTextEdit::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4635,7 +4635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextEdit::canInsertFromMimeData(const QMimeData* source0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canInsertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4665,7 +4665,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4684,7 +4684,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4703,7 +4703,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4722,7 +4722,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::contextMenuEvent(QContextMenuEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4741,7 +4741,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QPlainTextEdit::createMimeDataFromSelection() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createMimeDataFromSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4771,7 +4771,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4790,7 +4790,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPlainTextEdit::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4820,7 +4820,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::doSetTextCursor(const QTextCursor& cursor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doSetTextCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4839,7 +4839,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::dragEnterEvent(QDragEnterEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4858,7 +4858,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4877,7 +4877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::dragMoveEvent(QDragMoveEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4896,7 +4896,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::dropEvent(QDropEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4915,7 +4915,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4934,7 +4934,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextEdit::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4964,7 +4964,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4994,7 +4994,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5013,7 +5013,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextEdit::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5043,7 +5043,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::focusOutEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5062,7 +5062,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextEdit::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5092,7 +5092,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPlainTextEdit::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5122,7 +5122,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5141,7 +5141,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5160,7 +5160,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5179,7 +5179,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QPlainTextEdit::inputMethodQuery(Qt::InputMethodQuery property0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5209,7 +5209,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::insertFromMimeData(const QMimeData* source0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5228,7 +5228,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::keyPressEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5247,7 +5247,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5266,7 +5266,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5285,7 +5285,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QPlainTextEdit::loadResource(int type0, const QUrl& name1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5315,7 +5315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPlainTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5345,7 +5345,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5364,7 +5364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5383,7 +5383,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5402,7 +5402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5421,7 +5421,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5440,7 +5440,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5470,7 +5470,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPlainTextEdit::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5500,7 +5500,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5519,7 +5519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPlainTextEdit::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5549,7 +5549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::resizeEvent(QResizeEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5568,7 +5568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5587,7 +5587,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5606,7 +5606,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPlainTextEdit::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5636,7 +5636,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5655,7 +5655,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5674,7 +5674,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5693,7 +5693,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPlainTextEdit::viewportEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5723,7 +5723,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QPlainTextEdit::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5753,7 +5753,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPlainTextEdit::wheelEvent(QWheelEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6559,7 +6559,7 @@ PythonQtShell_QProgressBar::~PythonQtShell_QProgressBar() { } void PythonQtShell_QProgressBar::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6578,7 +6578,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6597,7 +6597,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6616,7 +6616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6635,7 +6635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6654,7 +6654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6673,7 +6673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProgressBar::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6703,7 +6703,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6722,7 +6722,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6741,7 +6741,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6760,7 +6760,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6779,7 +6779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6798,7 +6798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressBar::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6828,7 +6828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressBar::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6858,7 +6858,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6877,7 +6877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressBar::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6907,7 +6907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6926,7 +6926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressBar::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6956,7 +6956,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProgressBar::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6986,7 +6986,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7005,7 +7005,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7024,7 +7024,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7043,7 +7043,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QProgressBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7073,7 +7073,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7092,7 +7092,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7111,7 +7111,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7130,7 +7130,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProgressBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7160,7 +7160,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7179,7 +7179,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7198,7 +7198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7217,7 +7217,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7236,7 +7236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7255,7 +7255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7285,7 +7285,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QProgressBar::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7315,7 +7315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7334,7 +7334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QProgressBar::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7364,7 +7364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7383,7 +7383,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QProgressBar::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7413,7 +7413,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7432,7 +7432,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7451,7 +7451,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QProgressBar::text() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("text"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7481,7 +7481,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7500,7 +7500,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressBar::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7634,7 +7634,7 @@ PythonQtShell_QProgressDialog::~PythonQtShell_QProgressDialog() { } void PythonQtShell_QProgressDialog::accept() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7653,7 +7653,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7672,7 +7672,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7691,7 +7691,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7710,7 +7710,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7729,7 +7729,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7748,7 +7748,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7767,7 +7767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProgressDialog::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7797,7 +7797,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::done(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7816,7 +7816,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7835,7 +7835,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7854,7 +7854,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7873,7 +7873,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7892,7 +7892,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7911,7 +7911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressDialog::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7941,7 +7941,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7971,7 +7971,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProgressDialog::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8001,7 +8001,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8020,7 +8020,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressDialog::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8050,7 +8050,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8069,7 +8069,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressDialog::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8099,7 +8099,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProgressDialog::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8129,7 +8129,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8148,7 +8148,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8167,7 +8167,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8186,7 +8186,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QProgressDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8216,7 +8216,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8235,7 +8235,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8254,7 +8254,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8273,7 +8273,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProgressDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8303,7 +8303,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8322,7 +8322,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8341,7 +8341,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8360,7 +8360,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8379,7 +8379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8398,7 +8398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProgressDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8428,7 +8428,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::open() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8447,7 +8447,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QProgressDialog::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8477,7 +8477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8496,7 +8496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QProgressDialog::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8526,7 +8526,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::reject() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8545,7 +8545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8564,7 +8564,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QProgressDialog::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8594,7 +8594,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8613,7 +8613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8632,7 +8632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8651,7 +8651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProgressDialog::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8784,7 +8784,7 @@ PythonQtShell_QProxyStyle::~PythonQtShell_QProxyStyle() { } void PythonQtShell_QProxyStyle::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8803,7 +8803,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8822,7 +8822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::drawComplexControl(QStyle::ComplexControl control0, const QStyleOptionComplex* option1, QPainter* painter2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8841,7 +8841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::drawControl(QStyle::ControlElement element0, const QStyleOption* option1, QPainter* painter2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8860,7 +8860,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::drawItemPixmap(QPainter* painter0, const QRect& rect1, int alignment2, const QPixmap& pixmap3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawItemPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8879,7 +8879,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::drawItemText(QPainter* painter0, const QRect& rect1, int flags2, const QPalette& pal3, bool enabled4, const QString& text5, QPalette::ColorRole textRole6) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawItemText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8898,7 +8898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::drawPrimitive(QStyle::PrimitiveElement element0, const QStyleOption* option1, QPainter* painter2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPrimitive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8917,7 +8917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProxyStyle::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8947,7 +8947,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QProxyStyle::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8977,7 +8977,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPixmap PythonQtShell_QProxyStyle::generatedIconPixmap(QIcon::Mode iconMode0, const QPixmap& pixmap1, const QStyleOption* opt2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("generatedIconPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9007,7 +9007,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyle::SubControl PythonQtShell_QProxyStyle::hitTestComplexControl(QStyle::ComplexControl control0, const QStyleOptionComplex* option1, const QPoint& pos2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitTestComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9037,7 +9037,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QProxyStyle::itemPixmapRect(const QRect& r0, int flags1, const QPixmap& pixmap2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemPixmapRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9067,7 +9067,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProxyStyle::layoutSpacing(QSizePolicy::ControlType control10, QSizePolicy::ControlType control21, Qt::Orientation orientation2, const QStyleOption* option3, const QWidget* widget4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layoutSpacing"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9097,7 +9097,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProxyStyle::pixelMetric(QStyle::PixelMetric metric0, const QStyleOption* option1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pixelMetric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9127,7 +9127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::polish(QApplication* app0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9146,7 +9146,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::polish(QPalette& pal0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9165,7 +9165,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::polish(QWidget* widget0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9184,7 +9184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QProxyStyle::sizeFromContents(QStyle::ContentsType type0, const QStyleOption* option1, const QSize& size2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9214,7 +9214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIcon PythonQtShell_QProxyStyle::standardIcon(QStyle::StandardPixmap standardIcon0, const QStyleOption* option1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardIcon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9244,7 +9244,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPalette PythonQtShell_QProxyStyle::standardPalette() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardPalette"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9274,7 +9274,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPixmap PythonQtShell_QProxyStyle::standardPixmap(QStyle::StandardPixmap standardPixmap0, const QStyleOption* opt1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9304,7 +9304,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QProxyStyle::styleHint(QStyle::StyleHint hint0, const QStyleOption* option1, const QWidget* widget2, QStyleHintReturn* returnData3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("styleHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9334,7 +9334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QProxyStyle::subControlRect(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QStyle::SubControl sc2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("subControlRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9364,7 +9364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QProxyStyle::subElementRect(QStyle::SubElement element0, const QStyleOption* option1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("subElementRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9394,7 +9394,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9413,7 +9413,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::unpolish(QApplication* app0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9432,7 +9432,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QProxyStyle::unpolish(QWidget* widget0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9595,7 +9595,7 @@ PythonQtShell_QPushButton::~PythonQtShell_QPushButton() { } void PythonQtShell_QPushButton::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9614,7 +9614,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9633,7 +9633,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::checkStateSet() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9652,7 +9652,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9671,7 +9671,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9690,7 +9690,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9709,7 +9709,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9728,7 +9728,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPushButton::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9758,7 +9758,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9777,7 +9777,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9796,7 +9796,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9815,7 +9815,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9834,7 +9834,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9853,7 +9853,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPushButton::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9883,7 +9883,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPushButton::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9913,7 +9913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9932,7 +9932,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPushButton::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9962,7 +9962,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9981,7 +9981,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPushButton::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10011,7 +10011,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPushButton::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10041,7 +10041,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10060,7 +10060,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPushButton::hitButton(const QPoint& pos0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10090,7 +10090,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10109,7 +10109,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10128,7 +10128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QPushButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10158,7 +10158,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10177,7 +10177,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10196,7 +10196,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10215,7 +10215,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPushButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10245,7 +10245,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10264,7 +10264,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::mouseMoveEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10283,7 +10283,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10302,7 +10302,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10321,7 +10321,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10340,7 +10340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QPushButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10370,7 +10370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::nextCheckState() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10389,7 +10389,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPushButton::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10419,7 +10419,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10438,7 +10438,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPushButton::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10468,7 +10468,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10487,7 +10487,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPushButton::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10517,7 +10517,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10536,7 +10536,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10555,7 +10555,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10574,7 +10574,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPushButton::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10991,7 +10991,7 @@ PythonQtShell_QRadioButton::~PythonQtShell_QRadioButton() { } void PythonQtShell_QRadioButton::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11010,7 +11010,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11029,7 +11029,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::checkStateSet() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11048,7 +11048,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11067,7 +11067,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11086,7 +11086,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11105,7 +11105,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11124,7 +11124,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QRadioButton::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11154,7 +11154,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11173,7 +11173,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11192,7 +11192,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11211,7 +11211,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11230,7 +11230,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11249,7 +11249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioButton::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11279,7 +11279,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioButton::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11309,7 +11309,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::focusInEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11328,7 +11328,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioButton::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11358,7 +11358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::focusOutEvent(QFocusEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11377,7 +11377,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioButton::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11407,7 +11407,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QRadioButton::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11437,7 +11437,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11456,7 +11456,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioButton::hitButton(const QPoint& arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11486,7 +11486,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11505,7 +11505,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11524,7 +11524,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QRadioButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11554,7 +11554,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::keyPressEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11573,7 +11573,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::keyReleaseEvent(QKeyEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11592,7 +11592,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11611,7 +11611,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QRadioButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11641,7 +11641,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11660,7 +11660,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11679,7 +11679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::mousePressEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11698,7 +11698,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::mouseReleaseEvent(QMouseEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11717,7 +11717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11736,7 +11736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11766,7 +11766,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::nextCheckState() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11785,7 +11785,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QRadioButton::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11815,7 +11815,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11834,7 +11834,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QRadioButton::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11864,7 +11864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11883,7 +11883,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QRadioButton::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11913,7 +11913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11932,7 +11932,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11951,7 +11951,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::timerEvent(QTimerEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11970,7 +11970,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioButton::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12241,7 +12241,7 @@ PythonQtShell_QRegExpValidator::~PythonQtShell_QRegExpValidator() { } void PythonQtShell_QRegExpValidator::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12260,7 +12260,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRegExpValidator::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12279,7 +12279,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRegExpValidator::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12309,7 +12309,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRegExpValidator::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12339,7 +12339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRegExpValidator::fixup(QString& arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12358,7 +12358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRegExpValidator::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12377,7 +12377,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QRegExpValidator::validate(QString& input0, int& pos1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12436,7 +12436,7 @@ PythonQtShell_QRegularExpressionValidator::~PythonQtShell_QRegularExpressionVali } void PythonQtShell_QRegularExpressionValidator::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12455,7 +12455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRegularExpressionValidator::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12474,7 +12474,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRegularExpressionValidator::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12504,7 +12504,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRegularExpressionValidator::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12534,7 +12534,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRegularExpressionValidator::fixup(QString& arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12553,7 +12553,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRegularExpressionValidator::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12572,7 +12572,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QRegularExpressionValidator::validate(QString& input0, int& pos1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp index 973f108c3..49e2bf885 100644 --- a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp +++ b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp @@ -96,7 +96,7 @@ PythonQtShell_QRubberBand::~PythonQtShell_QRubberBand() { } void PythonQtShell_QRubberBand::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -115,7 +115,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -134,7 +134,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -153,7 +153,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -172,7 +172,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -191,7 +191,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -210,7 +210,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QRubberBand::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -240,7 +240,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -259,7 +259,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -278,7 +278,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -297,7 +297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -316,7 +316,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -335,7 +335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRubberBand::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -365,7 +365,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRubberBand::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -395,7 +395,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -414,7 +414,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRubberBand::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -444,7 +444,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -463,7 +463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRubberBand::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -493,7 +493,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QRubberBand::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -523,7 +523,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -542,7 +542,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -561,7 +561,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -580,7 +580,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QRubberBand::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -610,7 +610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -629,7 +629,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -648,7 +648,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -667,7 +667,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QRubberBand::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -697,7 +697,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QRubberBand::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -727,7 +727,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -746,7 +746,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -765,7 +765,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -784,7 +784,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -803,7 +803,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -822,7 +822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRubberBand::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -852,7 +852,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QRubberBand::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -882,7 +882,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -901,7 +901,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QRubberBand::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -931,7 +931,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -950,7 +950,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QRubberBand::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -980,7 +980,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -999,7 +999,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QRubberBand::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1029,7 +1029,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1048,7 +1048,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1067,7 +1067,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRubberBand::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1323,7 +1323,7 @@ PythonQtShell_QScrollArea::~PythonQtShell_QScrollArea() { } void PythonQtShell_QScrollArea::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1342,7 +1342,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1361,7 +1361,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1380,7 +1380,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1399,7 +1399,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1418,7 +1418,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1437,7 +1437,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QScrollArea::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1467,7 +1467,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1486,7 +1486,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1505,7 +1505,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1524,7 +1524,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1543,7 +1543,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1562,7 +1562,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollArea::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1592,7 +1592,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollArea::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1622,7 +1622,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1641,7 +1641,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollArea::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1671,7 +1671,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1690,7 +1690,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollArea::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1720,7 +1720,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QScrollArea::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1750,7 +1750,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1769,7 +1769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1788,7 +1788,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1807,7 +1807,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QScrollArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1837,7 +1837,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1856,7 +1856,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1875,7 +1875,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1894,7 +1894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QScrollArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1924,7 +1924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1943,7 +1943,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1962,7 +1962,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1981,7 +1981,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2000,7 +2000,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2019,7 +2019,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2049,7 +2049,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QScrollArea::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2079,7 +2079,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2098,7 +2098,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QScrollArea::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2128,7 +2128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2147,7 +2147,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2166,7 +2166,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2185,7 +2185,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QScrollArea::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2215,7 +2215,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2234,7 +2234,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2253,7 +2253,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2272,7 +2272,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollArea::viewportEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2302,7 +2302,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QScrollArea::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2332,7 +2332,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollArea::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2441,7 +2441,7 @@ PythonQtShell_QScrollBar::~PythonQtShell_QScrollBar() { } void PythonQtShell_QScrollBar::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2460,7 +2460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2479,7 +2479,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2498,7 +2498,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2517,7 +2517,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2536,7 +2536,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2555,7 +2555,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QScrollBar::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2585,7 +2585,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2604,7 +2604,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2623,7 +2623,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2642,7 +2642,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2661,7 +2661,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2680,7 +2680,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollBar::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2710,7 +2710,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollBar::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2740,7 +2740,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2759,7 +2759,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollBar::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2789,7 +2789,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2808,7 +2808,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollBar::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2838,7 +2838,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QScrollBar::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2868,7 +2868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2887,7 +2887,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2906,7 +2906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2925,7 +2925,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QScrollBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2955,7 +2955,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::keyPressEvent(QKeyEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2974,7 +2974,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2993,7 +2993,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3012,7 +3012,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QScrollBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3042,7 +3042,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QScrollBar::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3072,7 +3072,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3091,7 +3091,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3110,7 +3110,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3129,7 +3129,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3148,7 +3148,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3167,7 +3167,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QScrollBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3197,7 +3197,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QScrollBar::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3227,7 +3227,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3246,7 +3246,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QScrollBar::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3276,7 +3276,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3295,7 +3295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QScrollBar::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3325,7 +3325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3344,7 +3344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3363,7 +3363,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3382,7 +3382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QScrollBar::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3760,7 +3760,7 @@ PythonQtShell_QShortcut::~PythonQtShell_QShortcut() { } void PythonQtShell_QShortcut::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3779,7 +3779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QShortcut::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3798,7 +3798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QShortcut::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3828,7 +3828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QShortcut::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3858,7 +3858,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QShortcut::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3987,7 +3987,7 @@ PythonQtShell_QSizeGrip::~PythonQtShell_QSizeGrip() { } void PythonQtShell_QSizeGrip::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4006,7 +4006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4025,7 +4025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4044,7 +4044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4063,7 +4063,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4082,7 +4082,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4101,7 +4101,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSizeGrip::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4131,7 +4131,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4150,7 +4150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4169,7 +4169,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4188,7 +4188,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4207,7 +4207,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4226,7 +4226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSizeGrip::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4256,7 +4256,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSizeGrip::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4286,7 +4286,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4305,7 +4305,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSizeGrip::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4335,7 +4335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4354,7 +4354,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSizeGrip::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4384,7 +4384,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSizeGrip::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4414,7 +4414,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::hideEvent(QHideEvent* hideEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4433,7 +4433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4452,7 +4452,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4471,7 +4471,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSizeGrip::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4501,7 +4501,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4520,7 +4520,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4539,7 +4539,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4558,7 +4558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSizeGrip::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4588,7 +4588,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSizeGrip::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4618,7 +4618,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4637,7 +4637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4656,7 +4656,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4675,7 +4675,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::mouseReleaseEvent(QMouseEvent* mouseEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4694,7 +4694,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::moveEvent(QMoveEvent* moveEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4713,7 +4713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSizeGrip::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4743,7 +4743,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QSizeGrip::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4773,7 +4773,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4792,7 +4792,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QSizeGrip::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4822,7 +4822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4841,7 +4841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QSizeGrip::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4871,7 +4871,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::showEvent(QShowEvent* showEvent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4890,7 +4890,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4909,7 +4909,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4928,7 +4928,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSizeGrip::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5012,7 +5012,7 @@ PythonQtShell_QSlider::~PythonQtShell_QSlider() { } void PythonQtShell_QSlider::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5031,7 +5031,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::changeEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5050,7 +5050,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5069,7 +5069,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5088,7 +5088,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5107,7 +5107,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5126,7 +5126,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSlider::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5156,7 +5156,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5175,7 +5175,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5194,7 +5194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5213,7 +5213,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5232,7 +5232,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5251,7 +5251,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSlider::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5281,7 +5281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSlider::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5311,7 +5311,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5330,7 +5330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSlider::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5360,7 +5360,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5379,7 +5379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSlider::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5409,7 +5409,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSlider::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5439,7 +5439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5458,7 +5458,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5477,7 +5477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5496,7 +5496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSlider::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5526,7 +5526,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::keyPressEvent(QKeyEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5545,7 +5545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5564,7 +5564,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5583,7 +5583,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSlider::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5613,7 +5613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5632,7 +5632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::mouseMoveEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5651,7 +5651,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::mousePressEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5670,7 +5670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::mouseReleaseEvent(QMouseEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5689,7 +5689,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5708,7 +5708,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSlider::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5738,7 +5738,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QSlider::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5768,7 +5768,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::paintEvent(QPaintEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5787,7 +5787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QSlider::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5817,7 +5817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5836,7 +5836,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QSlider::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5866,7 +5866,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5885,7 +5885,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5904,7 +5904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5923,7 +5923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSlider::wheelEvent(QWheelEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6016,7 +6016,7 @@ PythonQtShell_QSortFilterProxyModel::~PythonQtShell_QSortFilterProxyModel() { } QModelIndex PythonQtShell_QSortFilterProxyModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6046,7 +6046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6076,7 +6076,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6106,7 +6106,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSortFilterProxyModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6125,7 +6125,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSortFilterProxyModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6155,7 +6155,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSortFilterProxyModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6174,7 +6174,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSortFilterProxyModel::data(const QModelIndex& index0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6204,7 +6204,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6234,7 +6234,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6264,7 +6264,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6294,7 +6294,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSortFilterProxyModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6313,7 +6313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::filterAcceptsColumn(int source_column0, const QModelIndex& source_parent1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("filterAcceptsColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6343,7 +6343,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::filterAcceptsRow(int source_row0, const QModelIndex& source_parent1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("filterAcceptsRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6373,7 +6373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QSortFilterProxyModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6403,7 +6403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::hasChildren(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6433,7 +6433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSortFilterProxyModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6463,7 +6463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSortFilterProxyModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6493,7 +6493,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6523,7 +6523,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6553,7 +6553,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QSortFilterProxyModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6583,7 +6583,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::lessThan(const QModelIndex& left0, const QModelIndex& right1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("lessThan"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6613,7 +6613,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSortFilterProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6643,7 +6643,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelection PythonQtShell_QSortFilterProxyModel::mapSelectionFromSource(const QItemSelection& sourceSelection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapSelectionFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6673,7 +6673,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelection PythonQtShell_QSortFilterProxyModel::mapSelectionToSource(const QItemSelection& proxySelection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapSelectionToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6703,7 +6703,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSortFilterProxyModel::mapToSource(const QModelIndex& proxyIndex0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6733,7 +6733,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QSortFilterProxyModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6763,7 +6763,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QSortFilterProxyModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6793,7 +6793,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QSortFilterProxyModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6823,7 +6823,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6853,7 +6853,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6883,7 +6883,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSortFilterProxyModel::parent(const QModelIndex& child0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6913,7 +6913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6943,7 +6943,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6973,7 +6973,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSortFilterProxyModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6992,7 +6992,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QSortFilterProxyModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7022,7 +7022,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSortFilterProxyModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7052,7 +7052,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7082,7 +7082,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7112,7 +7112,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7142,7 +7142,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSortFilterProxyModel::setSourceModel(QAbstractItemModel* sourceModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSourceModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7161,7 +7161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSortFilterProxyModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7191,7 +7191,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSortFilterProxyModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7210,7 +7210,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSortFilterProxyModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7240,7 +7240,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSortFilterProxyModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7270,7 +7270,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QSortFilterProxyModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7300,7 +7300,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QSortFilterProxyModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7330,7 +7330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSortFilterProxyModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7619,7 +7619,7 @@ PythonQtShell_QSound::~PythonQtShell_QSound() { } void PythonQtShell_QSound::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7638,7 +7638,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSound::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7657,7 +7657,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSound::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7687,7 +7687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSound::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7717,7 +7717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSound::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7776,7 +7776,7 @@ PythonQtShell_QSpacerItem::~PythonQtShell_QSpacerItem() { } QSizePolicy::ControlTypes PythonQtShell_QSpacerItem::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7806,7 +7806,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QSpacerItem::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7836,7 +7836,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QSpacerItem::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7866,7 +7866,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSpacerItem::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7896,7 +7896,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSpacerItem::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7926,7 +7926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpacerItem::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7945,7 +7945,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSpacerItem::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7975,7 +7975,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QSpacerItem::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8005,7 +8005,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSpacerItem::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8035,7 +8035,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSpacerItem::minimumHeightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8065,7 +8065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSpacerItem::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8095,7 +8095,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpacerItem::setGeometry(const QRect& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8114,7 +8114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSpacerItem::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8144,7 +8144,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSpacerItem* PythonQtShell_QSpacerItem::spacerItem() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8174,7 +8174,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QSpacerItem::widget() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8259,7 +8259,7 @@ PythonQtShell_QSpinBox::~PythonQtShell_QSpinBox() { } void PythonQtShell_QSpinBox::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8278,7 +8278,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8297,7 +8297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8316,7 +8316,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8335,7 +8335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8354,7 +8354,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::contextMenuEvent(QContextMenuEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8373,7 +8373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8392,7 +8392,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSpinBox::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8422,7 +8422,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8441,7 +8441,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8460,7 +8460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8479,7 +8479,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8498,7 +8498,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8517,7 +8517,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSpinBox::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8547,7 +8547,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSpinBox::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8577,7 +8577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::fixup(QString& str0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8596,7 +8596,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8615,7 +8615,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSpinBox::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8645,7 +8645,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8664,7 +8664,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSpinBox::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8694,7 +8694,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSpinBox::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8724,7 +8724,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8743,7 +8743,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8762,7 +8762,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8781,7 +8781,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8811,7 +8811,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8830,7 +8830,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::keyReleaseEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8849,7 +8849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8868,7 +8868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8898,7 +8898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8917,7 +8917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8936,7 +8936,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8955,7 +8955,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8974,7 +8974,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8993,7 +8993,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSpinBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9023,7 +9023,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QSpinBox::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9053,7 +9053,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9072,7 +9072,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QSpinBox::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9102,7 +9102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9121,7 +9121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QSpinBox::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9151,7 +9151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9170,7 +9170,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::stepBy(int steps0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9189,7 +9189,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAbstractSpinBox::StepEnabled PythonQtShell_QSpinBox::stepEnabled() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9219,7 +9219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9238,7 +9238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSpinBox::textFromValue(int val0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("textFromValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9268,7 +9268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9287,7 +9287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QValidator::State PythonQtShell_QSpinBox::validate(QString& input0, int& pos1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9317,7 +9317,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSpinBox::valueFromText(const QString& text0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("valueFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9347,7 +9347,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSpinBox::wheelEvent(QWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9476,7 +9476,7 @@ PythonQtShell_QSplashScreen::~PythonQtShell_QSplashScreen() { } void PythonQtShell_QSplashScreen::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9495,7 +9495,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9514,7 +9514,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9533,7 +9533,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9552,7 +9552,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9571,7 +9571,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9590,7 +9590,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplashScreen::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9620,7 +9620,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9639,7 +9639,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9658,7 +9658,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9677,7 +9677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::drawContents(QPainter* painter0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9696,7 +9696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9715,7 +9715,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9734,7 +9734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplashScreen::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9764,7 +9764,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplashScreen::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9794,7 +9794,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9813,7 +9813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplashScreen::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9843,7 +9843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9862,7 +9862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplashScreen::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9892,7 +9892,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplashScreen::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9922,7 +9922,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9941,7 +9941,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9960,7 +9960,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9979,7 +9979,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSplashScreen::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10009,7 +10009,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10028,7 +10028,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10047,7 +10047,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10066,7 +10066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplashScreen::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10096,7 +10096,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSplashScreen::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10126,7 +10126,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10145,7 +10145,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10164,7 +10164,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10183,7 +10183,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10202,7 +10202,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10221,7 +10221,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplashScreen::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10251,7 +10251,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QSplashScreen::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10281,7 +10281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10300,7 +10300,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QSplashScreen::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10330,7 +10330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10349,7 +10349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QSplashScreen::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10379,7 +10379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10398,7 +10398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSplashScreen::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10428,7 +10428,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10447,7 +10447,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10466,7 +10466,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplashScreen::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10534,7 +10534,7 @@ PythonQtShell_QSplitter::~PythonQtShell_QSplitter() { } void PythonQtShell_QSplitter::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10553,7 +10553,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10572,7 +10572,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10591,7 +10591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10610,7 +10610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10629,7 +10629,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSplitterHandle* PythonQtShell_QSplitter::createHandle() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createHandle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10659,7 +10659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10678,7 +10678,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplitter::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10708,7 +10708,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10727,7 +10727,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10746,7 +10746,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10765,7 +10765,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10784,7 +10784,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10803,7 +10803,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitter::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10833,7 +10833,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitter::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10863,7 +10863,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10882,7 +10882,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitter::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10912,7 +10912,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10931,7 +10931,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitter::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10961,7 +10961,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplitter::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10991,7 +10991,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11010,7 +11010,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11029,7 +11029,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11048,7 +11048,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSplitter::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11078,7 +11078,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11097,7 +11097,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11116,7 +11116,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11135,7 +11135,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplitter::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11165,7 +11165,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11184,7 +11184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11203,7 +11203,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11222,7 +11222,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11241,7 +11241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11260,7 +11260,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitter::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11290,7 +11290,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QSplitter::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11320,7 +11320,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11339,7 +11339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QSplitter::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11369,7 +11369,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11388,7 +11388,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QSplitter::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11418,7 +11418,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11437,7 +11437,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11456,7 +11456,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11475,7 +11475,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitter::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11678,7 +11678,7 @@ PythonQtShell_QSplitterHandle::~PythonQtShell_QSplitterHandle() { } void PythonQtShell_QSplitterHandle::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11697,7 +11697,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11716,7 +11716,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11735,7 +11735,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11754,7 +11754,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11773,7 +11773,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11792,7 +11792,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplitterHandle::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11822,7 +11822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11841,7 +11841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11860,7 +11860,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11879,7 +11879,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11898,7 +11898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11917,7 +11917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitterHandle::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11947,7 +11947,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitterHandle::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11977,7 +11977,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11996,7 +11996,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitterHandle::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12026,7 +12026,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12045,7 +12045,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitterHandle::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12075,7 +12075,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplitterHandle::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12105,7 +12105,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12124,7 +12124,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12143,7 +12143,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12162,7 +12162,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSplitterHandle::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12192,7 +12192,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12211,7 +12211,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12230,7 +12230,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12249,7 +12249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSplitterHandle::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12279,7 +12279,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSplitterHandle::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12309,7 +12309,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12328,7 +12328,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12347,7 +12347,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12366,7 +12366,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12385,7 +12385,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12404,7 +12404,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSplitterHandle::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12434,7 +12434,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QSplitterHandle::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12464,7 +12464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12483,7 +12483,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QSplitterHandle::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12513,7 +12513,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12532,7 +12532,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QSplitterHandle::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12562,7 +12562,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12581,7 +12581,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12600,7 +12600,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12619,7 +12619,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSplitterHandle::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12713,7 +12713,7 @@ PythonQtShell_QStackedLayout::~PythonQtShell_QStackedLayout() { } void PythonQtShell_QStackedLayout::addItem(QLayoutItem* item0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12732,7 +12732,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedLayout::childEvent(QChildEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12751,7 +12751,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizePolicy::ControlTypes PythonQtShell_QStackedLayout::controlTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12781,7 +12781,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStackedLayout::count() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12811,7 +12811,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedLayout::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12830,7 +12830,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStackedLayout::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12860,7 +12860,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStackedLayout::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12890,7 +12890,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::Orientations PythonQtShell_QStackedLayout::expandingDirections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12920,7 +12920,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QStackedLayout::geometry() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12950,7 +12950,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStackedLayout::indexOf(QWidget* arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12980,7 +12980,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedLayout::invalidate() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12999,7 +12999,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStackedLayout::isEmpty() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13029,7 +13029,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QStackedLayout::itemAt(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13059,7 +13059,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QStackedLayout::layout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13089,7 +13089,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStackedLayout::maximumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13119,7 +13119,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStackedLayout::minimumSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13149,7 +13149,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedLayout::setGeometry(const QRect& rect0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13168,7 +13168,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayoutItem* PythonQtShell_QStackedLayout::takeAt(int arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13198,7 +13198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedLayout::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13320,7 +13320,7 @@ PythonQtShell_QStackedWidget::~PythonQtShell_QStackedWidget() { } void PythonQtShell_QStackedWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13339,7 +13339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13358,7 +13358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13377,7 +13377,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13396,7 +13396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13415,7 +13415,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13434,7 +13434,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStackedWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13464,7 +13464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13483,7 +13483,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13502,7 +13502,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13521,7 +13521,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13540,7 +13540,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13559,7 +13559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStackedWidget::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13589,7 +13589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStackedWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13619,7 +13619,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13638,7 +13638,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStackedWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13668,7 +13668,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13687,7 +13687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStackedWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13717,7 +13717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStackedWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13747,7 +13747,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13766,7 +13766,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13785,7 +13785,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13804,7 +13804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QStackedWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13834,7 +13834,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13853,7 +13853,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13872,7 +13872,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13891,7 +13891,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStackedWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13921,7 +13921,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStackedWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13951,7 +13951,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13970,7 +13970,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13989,7 +13989,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14008,7 +14008,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14027,7 +14027,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14046,7 +14046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStackedWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14076,7 +14076,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QStackedWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14106,7 +14106,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14125,7 +14125,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QStackedWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14155,7 +14155,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14174,7 +14174,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QStackedWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14204,7 +14204,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14223,7 +14223,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14242,7 +14242,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14261,7 +14261,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStackedWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14335,7 +14335,7 @@ PythonQtShell_QStandardItem::~PythonQtShell_QStandardItem() { } QStandardItem* PythonQtShell_QStandardItem::clone() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14365,7 +14365,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QStandardItem::data(int role0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14395,7 +14395,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItem::__lt__(const QStandardItem& other0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("__lt__"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14425,7 +14425,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItem::read(QDataStream& in0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14444,7 +14444,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItem::setData(const QVariant& value0, int role1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14463,7 +14463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStandardItem::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14493,7 +14493,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItem::write(QDataStream& out0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14938,7 +14938,7 @@ PythonQtShell_QStandardItemModel::~PythonQtShell_QStandardItemModel() { } QModelIndex PythonQtShell_QStandardItemModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14968,7 +14968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14998,7 +14998,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15028,7 +15028,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItemModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15047,7 +15047,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStandardItemModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15077,7 +15077,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItemModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15096,7 +15096,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QStandardItemModel::data(const QModelIndex& index0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15126,7 +15126,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15156,7 +15156,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15186,7 +15186,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15216,7 +15216,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItemModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15235,7 +15235,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QStandardItemModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15265,7 +15265,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::hasChildren(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15295,7 +15295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QStandardItemModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15325,7 +15325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QStandardItemModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15355,7 +15355,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15385,7 +15385,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15415,7 +15415,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QStandardItemModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15445,7 +15445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QStandardItemModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15475,7 +15475,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QStandardItemModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15505,7 +15505,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QStandardItemModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15535,7 +15535,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15565,7 +15565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15595,7 +15595,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QStandardItemModel::parent(const QModelIndex& child0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15625,7 +15625,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15655,7 +15655,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15685,7 +15685,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItemModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15704,7 +15704,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QStandardItemModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15734,7 +15734,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStandardItemModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15764,7 +15764,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15794,7 +15794,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15824,7 +15824,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15854,7 +15854,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QStandardItemModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15884,7 +15884,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItemModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15903,7 +15903,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStandardItemModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15933,7 +15933,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStandardItemModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15963,7 +15963,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QStandardItemModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15993,7 +15993,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QStandardItemModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16023,7 +16023,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStandardItemModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16420,7 +16420,7 @@ PythonQtShell_QStatusBar::~PythonQtShell_QStatusBar() { } void PythonQtShell_QStatusBar::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16439,7 +16439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16458,7 +16458,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16477,7 +16477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16496,7 +16496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16515,7 +16515,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16534,7 +16534,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStatusBar::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16564,7 +16564,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16583,7 +16583,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16602,7 +16602,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16621,7 +16621,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16640,7 +16640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16659,7 +16659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStatusBar::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16689,7 +16689,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStatusBar::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16719,7 +16719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16738,7 +16738,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStatusBar::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16768,7 +16768,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16787,7 +16787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStatusBar::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16817,7 +16817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStatusBar::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16847,7 +16847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16866,7 +16866,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16885,7 +16885,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16904,7 +16904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QStatusBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16934,7 +16934,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16953,7 +16953,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16972,7 +16972,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16991,7 +16991,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStatusBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17021,7 +17021,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStatusBar::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17051,7 +17051,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17070,7 +17070,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17089,7 +17089,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17108,7 +17108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17127,7 +17127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17146,7 +17146,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStatusBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17176,7 +17176,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QStatusBar::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17206,7 +17206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17225,7 +17225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QStatusBar::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17255,7 +17255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17274,7 +17274,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QStatusBar::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17304,7 +17304,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17323,7 +17323,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStatusBar::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17353,7 +17353,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17372,7 +17372,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17391,7 +17391,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStatusBar::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17501,7 +17501,7 @@ PythonQtShell_QStringListModel::~PythonQtShell_QStringListModel() { } QModelIndex PythonQtShell_QStringListModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17531,7 +17531,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17561,7 +17561,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17591,7 +17591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStringListModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17610,7 +17610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStringListModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17629,7 +17629,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QStringListModel::data(const QModelIndex& index0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17659,7 +17659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17689,7 +17689,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17719,7 +17719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17749,7 +17749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStringListModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17768,7 +17768,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QStringListModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17798,7 +17798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QStringListModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17828,7 +17828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QStringListModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17858,7 +17858,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17888,7 +17888,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17918,7 +17918,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QStringListModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17948,7 +17948,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QStringListModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17978,7 +17978,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QStringListModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18008,7 +18008,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QStringListModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18038,7 +18038,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18068,7 +18068,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18098,7 +18098,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18128,7 +18128,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18158,7 +18158,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStringListModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18177,7 +18177,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QStringListModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18207,7 +18207,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStringListModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18237,7 +18237,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18267,7 +18267,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18297,7 +18297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18327,7 +18327,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QStringListModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18357,7 +18357,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStringListModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18376,7 +18376,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStringListModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18406,7 +18406,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStringListModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18436,7 +18436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QStringListModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18466,7 +18466,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QStringListModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18496,7 +18496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStringListModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp index 57b8ecf02..a5ea4b92b 100644 --- a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp +++ b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp @@ -28,7 +28,7 @@ PythonQtShell_QStyle::~PythonQtShell_QStyle() { } void PythonQtShell_QStyle::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -47,7 +47,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -66,7 +66,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::drawComplexControl(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QPainter* p2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -85,7 +85,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::drawControl(QStyle::ControlElement element0, const QStyleOption* opt1, QPainter* p2, const QWidget* w3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -104,7 +104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::drawItemPixmap(QPainter* painter0, const QRect& rect1, int alignment2, const QPixmap& pixmap3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawItemPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -123,7 +123,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::drawItemText(QPainter* painter0, const QRect& rect1, int flags2, const QPalette& pal3, bool enabled4, const QString& text5, QPalette::ColorRole textRole6) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawItemText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -142,7 +142,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::drawPrimitive(QStyle::PrimitiveElement pe0, const QStyleOption* opt1, QPainter* p2, const QWidget* w3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("drawPrimitive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -161,7 +161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStyle::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -191,7 +191,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStyle::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -221,7 +221,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPixmap PythonQtShell_QStyle::generatedIconPixmap(QIcon::Mode iconMode0, const QPixmap& pixmap1, const QStyleOption* opt2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("generatedIconPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -251,7 +251,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyle::SubControl PythonQtShell_QStyle::hitTestComplexControl(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, const QPoint& pt2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hitTestComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -281,7 +281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QStyle::itemPixmapRect(const QRect& r0, int flags1, const QPixmap& pixmap2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemPixmapRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -311,7 +311,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QStyle::itemTextRect(const QFontMetrics& fm0, const QRect& r1, int flags2, bool enabled3, const QString& text4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemTextRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -341,7 +341,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStyle::layoutSpacing(QSizePolicy::ControlType control10, QSizePolicy::ControlType control21, Qt::Orientation orientation2, const QStyleOption* option3, const QWidget* widget4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("layoutSpacing"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -371,7 +371,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStyle::pixelMetric(QStyle::PixelMetric metric0, const QStyleOption* option1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pixelMetric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -401,7 +401,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::polish(QApplication* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -420,7 +420,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::polish(QPalette& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -439,7 +439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::polish(QWidget* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -458,7 +458,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStyle::sizeFromContents(QStyle::ContentsType ct0, const QStyleOption* opt1, const QSize& contentsSize2, const QWidget* w3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -488,7 +488,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIcon PythonQtShell_QStyle::standardIcon(QStyle::StandardPixmap standardIcon0, const QStyleOption* option1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardIcon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -518,7 +518,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPalette PythonQtShell_QStyle::standardPalette() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardPalette"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -548,7 +548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPixmap PythonQtShell_QStyle::standardPixmap(QStyle::StandardPixmap standardPixmap0, const QStyleOption* opt1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("standardPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -578,7 +578,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QStyle::styleHint(QStyle::StyleHint stylehint0, const QStyleOption* opt1, const QWidget* widget2, QStyleHintReturn* returnData3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("styleHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -608,7 +608,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QStyle::subControlRect(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QStyle::SubControl sc2, const QWidget* widget3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("subControlRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -638,7 +638,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QStyle::subElementRect(QStyle::SubElement subElement0, const QStyleOption* option1, const QWidget* widget2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("subElementRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -668,7 +668,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -687,7 +687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::unpolish(QApplication* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -706,7 +706,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyle::unpolish(QWidget* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp index 1602e5bc6..823b1ce52 100644 --- a/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp +++ b/generated_cpp_54/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp @@ -299,7 +299,7 @@ PythonQtShell_QStylePlugin::~PythonQtShell_QStylePlugin() { } void PythonQtShell_QStylePlugin::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -318,7 +318,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyle* PythonQtShell_QStylePlugin::create(const QString& key0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -348,7 +348,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStylePlugin::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -367,7 +367,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStylePlugin::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -397,7 +397,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStylePlugin::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -427,7 +427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStylePlugin::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -461,7 +461,7 @@ PythonQtShell_QStyledItemDelegate::~PythonQtShell_QStyledItemDelegate() { } void PythonQtShell_QStyledItemDelegate::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -480,7 +480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QStyledItemDelegate::createEditor(QWidget* parent0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -510,7 +510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyledItemDelegate::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -529,7 +529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyledItemDelegate::destroyEditor(QWidget* editor0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("destroyEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -548,7 +548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QStyledItemDelegate::displayText(const QVariant& value0, const QLocale& locale1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("displayText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -578,7 +578,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStyledItemDelegate::editorEvent(QEvent* event0, QAbstractItemModel* model1, const QStyleOptionViewItem& option2, const QModelIndex& index3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -608,7 +608,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStyledItemDelegate::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -638,7 +638,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStyledItemDelegate::eventFilter(QObject* object0, QEvent* event1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -668,7 +668,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QStyledItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemView* view1, const QStyleOptionViewItem& option2, const QModelIndex& index3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -698,7 +698,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyledItemDelegate::initStyleOption(QStyleOptionViewItem* option0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -717,7 +717,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyledItemDelegate::paint(QPainter* painter0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -736,7 +736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVector PythonQtShell_QStyledItemDelegate::paintingRoles() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintingRoles"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -766,7 +766,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyledItemDelegate::setEditorData(QWidget* editor0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -785,7 +785,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyledItemDelegate::setModelData(QWidget* editor0, QAbstractItemModel* model1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModelData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -804,7 +804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QStyledItemDelegate::sizeHint(const QStyleOptionViewItem& option0, const QModelIndex& index1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -834,7 +834,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyledItemDelegate::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -853,7 +853,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QStyledItemDelegate::updateEditorGeometry(QWidget* editor0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -942,7 +942,7 @@ PythonQtShell_QSurface::~PythonQtShell_QSurface() { } QSurfaceFormat PythonQtShell_QSurface::format() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -972,7 +972,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSurface::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1002,7 +1002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPlatformSurface* PythonQtShell_QSurface::surfaceHandle() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("surfaceHandle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1032,7 +1032,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSurface::SurfaceType PythonQtShell_QSurface::surfaceType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1328,7 +1328,7 @@ PythonQtShell_QSwipeGesture::~PythonQtShell_QSwipeGesture() { } void PythonQtShell_QSwipeGesture::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1347,7 +1347,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSwipeGesture::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1366,7 +1366,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSwipeGesture::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1396,7 +1396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSwipeGesture::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1426,7 +1426,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSwipeGesture::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1475,7 +1475,7 @@ PythonQtShell_QSyntaxHighlighter::~PythonQtShell_QSyntaxHighlighter() { } void PythonQtShell_QSyntaxHighlighter::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1494,7 +1494,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSyntaxHighlighter::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1513,7 +1513,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSyntaxHighlighter::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1543,7 +1543,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSyntaxHighlighter::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1573,7 +1573,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSyntaxHighlighter::highlightBlock(const QString& text0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("highlightBlock"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1592,7 +1592,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSyntaxHighlighter::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1690,7 +1690,7 @@ PythonQtShell_QSystemTrayIcon::~PythonQtShell_QSystemTrayIcon() { } void PythonQtShell_QSystemTrayIcon::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1709,7 +1709,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSystemTrayIcon::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1728,7 +1728,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSystemTrayIcon::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1758,7 +1758,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSystemTrayIcon::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1788,7 +1788,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSystemTrayIcon::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1876,7 +1876,7 @@ PythonQtShell_QTabBar::~PythonQtShell_QTabBar() { } void PythonQtShell_QTabBar::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1895,7 +1895,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1914,7 +1914,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1933,7 +1933,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1952,7 +1952,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1971,7 +1971,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1990,7 +1990,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTabBar::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2020,7 +2020,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2039,7 +2039,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2058,7 +2058,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2077,7 +2077,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2096,7 +2096,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2115,7 +2115,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabBar::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2145,7 +2145,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabBar::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2175,7 +2175,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2194,7 +2194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabBar::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2224,7 +2224,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2243,7 +2243,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabBar::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2273,7 +2273,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTabBar::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2303,7 +2303,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2322,7 +2322,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2341,7 +2341,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2360,7 +2360,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTabBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2390,7 +2390,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2409,7 +2409,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2428,7 +2428,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2447,7 +2447,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTabBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2477,7 +2477,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QTabBar::minimumTabSizeHint(int index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("minimumTabSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2507,7 +2507,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2526,7 +2526,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2545,7 +2545,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2564,7 +2564,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2583,7 +2583,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2602,7 +2602,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2632,7 +2632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTabBar::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2662,7 +2662,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2681,7 +2681,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTabBar::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2711,7 +2711,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2730,7 +2730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTabBar::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2760,7 +2760,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2779,7 +2779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::tabInserted(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2798,7 +2798,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::tabLayoutChange() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabLayoutChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2817,7 +2817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::tabRemoved(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2836,7 +2836,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QTabBar::tabSizeHint(int index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2866,7 +2866,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2885,7 +2885,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2904,7 +2904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabBar::wheelEvent(QWheelEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3283,7 +3283,7 @@ PythonQtShell_QTabWidget::~PythonQtShell_QTabWidget() { } void PythonQtShell_QTabWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3302,7 +3302,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3321,7 +3321,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3340,7 +3340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3359,7 +3359,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3378,7 +3378,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3397,7 +3397,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTabWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3427,7 +3427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3446,7 +3446,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3465,7 +3465,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3484,7 +3484,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3503,7 +3503,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3522,7 +3522,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabWidget::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3552,7 +3552,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3582,7 +3582,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3601,7 +3601,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3631,7 +3631,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3650,7 +3650,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3680,7 +3680,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTabWidget::heightForWidth(int width0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3710,7 +3710,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3729,7 +3729,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3748,7 +3748,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3767,7 +3767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTabWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3797,7 +3797,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3816,7 +3816,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3835,7 +3835,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3854,7 +3854,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTabWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3884,7 +3884,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3903,7 +3903,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3922,7 +3922,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3941,7 +3941,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3960,7 +3960,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3979,7 +3979,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTabWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4009,7 +4009,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTabWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4039,7 +4039,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4058,7 +4058,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTabWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4088,7 +4088,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4107,7 +4107,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTabWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4137,7 +4137,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4156,7 +4156,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::tabInserted(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4175,7 +4175,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::tabRemoved(int index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4194,7 +4194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4213,7 +4213,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4232,7 +4232,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTabWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4541,7 +4541,7 @@ PythonQtShell_QTableView::~PythonQtShell_QTableView() { } void PythonQtShell_QTableView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4560,7 +4560,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4579,7 +4579,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4598,7 +4598,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4617,7 +4617,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4636,7 +4636,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4655,7 +4655,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4674,7 +4674,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4693,7 +4693,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4712,7 +4712,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4731,7 +4731,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4761,7 +4761,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4780,7 +4780,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4799,7 +4799,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::dragLeaveEvent(QDragLeaveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4818,7 +4818,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::dragMoveEvent(QDragMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4837,7 +4837,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4856,7 +4856,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4886,7 +4886,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4905,7 +4905,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4924,7 +4924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableView::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4954,7 +4954,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4984,7 +4984,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5003,7 +5003,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5033,7 +5033,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5052,7 +5052,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5082,7 +5082,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5112,7 +5112,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5131,7 +5131,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableView::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5161,7 +5161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5180,7 +5180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5199,7 +5199,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QTableView::indexAt(const QPoint& p0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5229,7 +5229,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5248,7 +5248,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5267,7 +5267,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTableView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5297,7 +5297,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableView::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5327,7 +5327,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5346,7 +5346,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5365,7 +5365,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5384,7 +5384,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5403,7 +5403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5433,7 +5433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5452,7 +5452,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5471,7 +5471,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5490,7 +5490,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5509,7 +5509,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5528,7 +5528,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5558,7 +5558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTableView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5588,7 +5588,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5607,7 +5607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTableView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5637,7 +5637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5656,7 +5656,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5675,7 +5675,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5694,7 +5694,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5713,7 +5713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5732,7 +5732,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5751,7 +5751,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5770,7 +5770,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QTableView::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5800,7 +5800,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5819,7 +5819,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QTableView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5849,7 +5849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::setModel(QAbstractItemModel* model0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5868,7 +5868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5887,7 +5887,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5906,7 +5906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5925,7 +5925,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5944,7 +5944,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTableView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5974,7 +5974,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5993,7 +5993,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableView::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6023,7 +6023,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableView::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6053,7 +6053,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6072,7 +6072,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6091,7 +6091,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6110,7 +6110,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6129,7 +6129,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6148,7 +6148,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6167,7 +6167,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableView::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6197,7 +6197,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6216,7 +6216,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6235,7 +6235,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QTableView::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6265,7 +6265,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableView::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6295,7 +6295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QTableView::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6325,7 +6325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QTableView::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6355,7 +6355,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QTableView::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6385,7 +6385,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableView::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6694,7 +6694,7 @@ PythonQtShell_QTableWidget::~PythonQtShell_QTableWidget() { } void PythonQtShell_QTableWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6713,7 +6713,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6732,7 +6732,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6751,7 +6751,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6770,7 +6770,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6789,7 +6789,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::commitData(QWidget* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6808,7 +6808,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6827,7 +6827,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6846,7 +6846,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6865,7 +6865,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6884,7 +6884,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6914,7 +6914,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::doItemsLayout() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6933,7 +6933,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::dragEnterEvent(QDragEnterEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6952,7 +6952,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::dragLeaveEvent(QDragLeaveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6971,7 +6971,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::dragMoveEvent(QDragMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6990,7 +6990,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::dropEvent(QDropEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7009,7 +7009,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::dropMimeData(int row0, int column1, const QMimeData* data2, Qt::DropAction action3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7039,7 +7039,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7069,7 +7069,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::editorDestroyed(QObject* editor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7088,7 +7088,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7107,7 +7107,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::event(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7137,7 +7137,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7167,7 +7167,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::focusInEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7186,7 +7186,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7216,7 +7216,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::focusOutEvent(QFocusEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7235,7 +7235,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7265,7 +7265,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7295,7 +7295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7314,7 +7314,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableWidget::horizontalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7344,7 +7344,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::horizontalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7363,7 +7363,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::horizontalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7382,7 +7382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QTableWidget::indexAt(const QPoint& p0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7412,7 +7412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7431,7 +7431,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::inputMethodEvent(QInputMethodEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7450,7 +7450,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTableWidget::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7480,7 +7480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::isIndexHidden(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7510,7 +7510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::keyPressEvent(QKeyEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7529,7 +7529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7548,7 +7548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::keyboardSearch(const QString& search0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7567,7 +7567,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7586,7 +7586,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7616,7 +7616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QTableWidget::mimeData(const QList items0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7646,7 +7646,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QTableWidget::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7676,7 +7676,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::mouseDoubleClickEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7695,7 +7695,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::mouseMoveEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7714,7 +7714,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::mousePressEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7733,7 +7733,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::mouseReleaseEvent(QMouseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7752,7 +7752,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7771,7 +7771,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7801,7 +7801,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QTableWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7831,7 +7831,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::paintEvent(QPaintEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7850,7 +7850,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QTableWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7880,7 +7880,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7899,7 +7899,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7918,7 +7918,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7937,7 +7937,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7956,7 +7956,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::scrollContentsBy(int dx0, int dy1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7975,7 +7975,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7994,7 +7994,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::selectAll() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8013,7 +8013,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QTableWidget::selectedIndexes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8043,7 +8043,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8062,7 +8062,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QItemSelectionModel::SelectionFlags PythonQtShell_QTableWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8092,7 +8092,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::setRootIndex(const QModelIndex& index0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8111,7 +8111,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8130,7 +8130,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::setSelectionModel(QItemSelectionModel* selectionModel0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8149,7 +8149,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::setupViewport(QWidget* viewport0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8168,7 +8168,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QTableWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8198,7 +8198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8217,7 +8217,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableWidget::sizeHintForColumn(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8247,7 +8247,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableWidget::sizeHintForRow(int row0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8277,7 +8277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::startDrag(Qt::DropActions supportedActions0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8296,7 +8296,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QTableWidget::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8326,7 +8326,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8345,7 +8345,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8364,7 +8364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::updateEditorData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8383,7 +8383,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::updateEditorGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8402,7 +8402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::updateGeometries() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8421,7 +8421,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QTableWidget::verticalOffset() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8451,7 +8451,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::verticalScrollbarAction(int action0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8470,7 +8470,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::verticalScrollbarValueChanged(int value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8489,7 +8489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStyleOptionViewItem PythonQtShell_QTableWidget::viewOptions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8519,7 +8519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidget::viewportEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8549,7 +8549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QTableWidget::viewportSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8579,7 +8579,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRect PythonQtShell_QTableWidget::visualRect(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8609,7 +8609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QRegion PythonQtShell_QTableWidget::visualRegionForSelection(const QItemSelection& selection0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8639,7 +8639,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8922,7 +8922,7 @@ PythonQtShell_QTableWidgetItem::~PythonQtShell_QTableWidgetItem() { } QTableWidgetItem* PythonQtShell_QTableWidgetItem::clone() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8952,7 +8952,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTableWidgetItem::data(int role0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8982,7 +8982,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTableWidgetItem::__lt__(const QTableWidgetItem& other0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("__lt__"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9012,7 +9012,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidgetItem::read(QDataStream& in0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9031,7 +9031,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidgetItem::setData(int role0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9050,7 +9050,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTableWidgetItem::write(QDataStream& out0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9425,7 +9425,7 @@ PythonQtShell_QTapAndHoldGesture::~PythonQtShell_QTapAndHoldGesture() { } void PythonQtShell_QTapAndHoldGesture::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9444,7 +9444,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTapAndHoldGesture::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9463,7 +9463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTapAndHoldGesture::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9493,7 +9493,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTapAndHoldGesture::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9523,7 +9523,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTapAndHoldGesture::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9572,7 +9572,7 @@ PythonQtShell_QTapGesture::~PythonQtShell_QTapGesture() { } void PythonQtShell_QTapGesture::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9591,7 +9591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTapGesture::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9610,7 +9610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTapGesture::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9640,7 +9640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTapGesture::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9670,7 +9670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTapGesture::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp b/generated_cpp_54/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp index ee6acaabb..ce93a0ffc 100644 --- a/generated_cpp_54/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp +++ b/generated_cpp_54/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp @@ -52,7 +52,7 @@ PythonQtShell_QBitmap::~PythonQtShell_QBitmap() { } int PythonQtShell_QBitmap::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -82,7 +82,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QBitmap::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -112,7 +112,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QBitmap::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1408,7 +1408,7 @@ PythonQtShell_QImage::~PythonQtShell_QImage() { } int PythonQtShell_QImage::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1438,7 +1438,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QImage::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1457,7 +1457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QImage::metric(QPaintDevice::PaintDeviceMetric metric0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1487,7 +1487,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QImage::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1517,7 +1517,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QImage::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1547,7 +1547,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QImage::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2731,7 +2731,7 @@ PythonQtShell_QPixmap::~PythonQtShell_QPixmap() { } int PythonQtShell_QPixmap::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2761,7 +2761,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QPixmap::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2780,7 +2780,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QPixmap::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2810,7 +2810,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QPixmap::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2840,7 +2840,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QPixmap::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2870,7 +2870,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QPixmap::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp b/generated_cpp_54/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp index 4e1d48111..a8086023b 100644 --- a/generated_cpp_54/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp +++ b/generated_cpp_54/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp @@ -77,7 +77,7 @@ PythonQtShell_QAbstractVideoBuffer::~PythonQtShell_QAbstractVideoBuffer() { } QVariant PythonQtShell_QAbstractVideoBuffer::handle() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("handle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -107,7 +107,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } uchar* PythonQtShell_QAbstractVideoBuffer::map(QAbstractVideoBuffer::MapMode mode0, int* numBytes1, int* bytesPerLine2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("map"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -137,7 +137,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAbstractVideoBuffer::MapMode PythonQtShell_QAbstractVideoBuffer::mapMode() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mapMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -167,7 +167,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractVideoBuffer::release() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("release"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -186,7 +186,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractVideoBuffer::unmap() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -245,7 +245,7 @@ PythonQtShell_QAbstractVideoSurface::~PythonQtShell_QAbstractVideoSurface() { } void PythonQtShell_QAbstractVideoSurface::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -264,7 +264,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractVideoSurface::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -283,7 +283,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractVideoSurface::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -313,7 +313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractVideoSurface::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -343,7 +343,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractVideoSurface::isFormatSupported(const QVideoSurfaceFormat& format0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isFormatSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -373,7 +373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVideoSurfaceFormat PythonQtShell_QAbstractVideoSurface::nearestFormat(const QVideoSurfaceFormat& format0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nearestFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -403,7 +403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractVideoSurface::present(const QVideoFrame& frame0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("present"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -433,7 +433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractVideoSurface::start(const QVideoSurfaceFormat& format0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("start"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -463,7 +463,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractVideoSurface::stop() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stop"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -482,7 +482,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QAbstractVideoSurface::supportedPixelFormats(QAbstractVideoBuffer::HandleType handleType0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedPixelFormats"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -512,7 +512,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractVideoSurface::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -676,7 +676,7 @@ PythonQtShell_QAudioDecoder::~PythonQtShell_QAudioDecoder() { } QMultimedia::AvailabilityStatus PythonQtShell_QAudioDecoder::availability() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -706,7 +706,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioDecoder::bind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -736,7 +736,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioDecoder::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -755,7 +755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioDecoder::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -774,7 +774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioDecoder::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -804,7 +804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioDecoder::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -834,7 +834,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioDecoder::isAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -864,7 +864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaService* PythonQtShell_QAudioDecoder::service() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -894,7 +894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioDecoder::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -913,7 +913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioDecoder::unbind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1359,7 +1359,7 @@ PythonQtShell_QAudioInput::~PythonQtShell_QAudioInput() { } void PythonQtShell_QAudioInput::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1378,7 +1378,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioInput::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1397,7 +1397,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioInput::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1427,7 +1427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioInput::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1457,7 +1457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioInput::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1585,7 +1585,7 @@ PythonQtShell_QAudioOutput::~PythonQtShell_QAudioOutput() { } void PythonQtShell_QAudioOutput::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1604,7 +1604,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioOutput::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1623,7 +1623,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioOutput::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1653,7 +1653,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioOutput::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1683,7 +1683,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioOutput::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1821,7 +1821,7 @@ PythonQtShell_QAudioProbe::~PythonQtShell_QAudioProbe() { } void PythonQtShell_QAudioProbe::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1840,7 +1840,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioProbe::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1859,7 +1859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioProbe::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1889,7 +1889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioProbe::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1919,7 +1919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioProbe::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1963,7 +1963,7 @@ PythonQtShell_QAudioRecorder::~PythonQtShell_QAudioRecorder() { } void PythonQtShell_QAudioRecorder::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1982,7 +1982,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioRecorder::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2001,7 +2001,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioRecorder::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2031,7 +2031,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioRecorder::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2061,7 +2061,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaObject* PythonQtShell_QAudioRecorder::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2091,7 +2091,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAudioRecorder::setMediaObject(QMediaObject* object0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2121,7 +2121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAudioRecorder::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2170,7 +2170,7 @@ PythonQtShell_QCamera::~PythonQtShell_QCamera() { } QMultimedia::AvailabilityStatus PythonQtShell_QCamera::availability() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2200,7 +2200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCamera::bind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2230,7 +2230,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCamera::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2249,7 +2249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCamera::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2268,7 +2268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCamera::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2298,7 +2298,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCamera::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2328,7 +2328,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCamera::isAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2358,7 +2358,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaService* PythonQtShell_QCamera::service() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2388,7 +2388,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCamera::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2407,7 +2407,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCamera::unbind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2771,7 +2771,7 @@ PythonQtShell_QCameraImageCapture::~PythonQtShell_QCameraImageCapture() { } void PythonQtShell_QCameraImageCapture::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2790,7 +2790,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraImageCapture::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2809,7 +2809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraImageCapture::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2839,7 +2839,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraImageCapture::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2869,7 +2869,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaObject* PythonQtShell_QCameraImageCapture::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2899,7 +2899,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraImageCapture::setMediaObject(QMediaObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2929,7 +2929,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraImageCapture::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3191,7 +3191,7 @@ PythonQtShell_QCameraViewfinder::~PythonQtShell_QCameraViewfinder() { } void PythonQtShell_QCameraViewfinder::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3210,7 +3210,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3229,7 +3229,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3248,7 +3248,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3267,7 +3267,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3286,7 +3286,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3305,7 +3305,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCameraViewfinder::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3335,7 +3335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3354,7 +3354,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3373,7 +3373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3392,7 +3392,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3411,7 +3411,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3430,7 +3430,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraViewfinder::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3460,7 +3460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraViewfinder::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3490,7 +3490,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3509,7 +3509,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraViewfinder::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3539,7 +3539,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3558,7 +3558,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraViewfinder::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3588,7 +3588,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCameraViewfinder::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3618,7 +3618,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3637,7 +3637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3656,7 +3656,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3675,7 +3675,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QCameraViewfinder::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3705,7 +3705,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3724,7 +3724,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3743,7 +3743,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3762,7 +3762,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaObject* PythonQtShell_QCameraViewfinder::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3792,7 +3792,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QCameraViewfinder::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3822,7 +3822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QCameraViewfinder::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3852,7 +3852,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3871,7 +3871,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3890,7 +3890,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3909,7 +3909,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3928,7 +3928,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::moveEvent(QMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3947,7 +3947,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraViewfinder::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3977,7 +3977,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QCameraViewfinder::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4007,7 +4007,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4026,7 +4026,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QCameraViewfinder::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4056,7 +4056,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4075,7 +4075,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QCameraViewfinder::setMediaObject(QMediaObject* object0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4105,7 +4105,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QCameraViewfinder::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4135,7 +4135,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4154,7 +4154,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4173,7 +4173,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4192,7 +4192,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QCameraViewfinder::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4231,7 +4231,7 @@ PythonQtShell_QGraphicsVideoItem::~PythonQtShell_QGraphicsVideoItem() { } void PythonQtShell_QGraphicsVideoItem::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4250,7 +4250,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsVideoItem::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4269,7 +4269,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsVideoItem::event(QEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4299,7 +4299,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsVideoItem::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4329,7 +4329,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaObject* PythonQtShell_QGraphicsVideoItem::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4359,7 +4359,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsVideoItem::setMediaObject(QMediaObject* object0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4389,7 +4389,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsVideoItem::timerEvent(QTimerEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4568,7 +4568,7 @@ PythonQtShell_QMediaBindableInterface::~PythonQtShell_QMediaBindableInterface() } QMediaObject* PythonQtShell_QMediaBindableInterface::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4598,7 +4598,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaBindableInterface::setMediaObject(QMediaObject* object0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4723,7 +4723,7 @@ PythonQtShell_QMediaControl::~PythonQtShell_QMediaControl() { } void PythonQtShell_QMediaControl::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4742,7 +4742,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaControl::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4761,7 +4761,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaControl::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4791,7 +4791,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaControl::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4821,7 +4821,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaControl::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4850,7 +4850,7 @@ PythonQtShell_QMediaObject::~PythonQtShell_QMediaObject() { } QMultimedia::AvailabilityStatus PythonQtShell_QMediaObject::availability() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4880,7 +4880,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaObject::bind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4910,7 +4910,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaObject::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4929,7 +4929,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaObject::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4948,7 +4948,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaObject::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4978,7 +4978,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaObject::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5008,7 +5008,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaObject::isAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5038,7 +5038,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaService* PythonQtShell_QMediaObject::service() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5068,7 +5068,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaObject::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5087,7 +5087,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaObject::unbind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5176,7 +5176,7 @@ PythonQtShell_QMediaPlayer::~PythonQtShell_QMediaPlayer() { } QMultimedia::AvailabilityStatus PythonQtShell_QMediaPlayer::availability() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5206,7 +5206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaPlayer::bind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5236,7 +5236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaPlayer::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5255,7 +5255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaPlayer::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5274,7 +5274,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaPlayer::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5304,7 +5304,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaPlayer::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5334,7 +5334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaPlayer::isAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5364,7 +5364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaService* PythonQtShell_QMediaPlayer::service() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5394,7 +5394,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaPlayer::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5413,7 +5413,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaPlayer::unbind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5572,7 +5572,7 @@ PythonQtShell_QMediaPlaylist::~PythonQtShell_QMediaPlaylist() { } void PythonQtShell_QMediaPlaylist::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5591,7 +5591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaPlaylist::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5610,7 +5610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaPlaylist::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5640,7 +5640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaPlaylist::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5670,7 +5670,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaObject* PythonQtShell_QMediaPlaylist::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5700,7 +5700,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaPlaylist::setMediaObject(QMediaObject* object0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5730,7 +5730,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaPlaylist::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5889,7 +5889,7 @@ PythonQtShell_QMediaRecorder::~PythonQtShell_QMediaRecorder() { } void PythonQtShell_QMediaRecorder::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5908,7 +5908,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaRecorder::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5927,7 +5927,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaRecorder::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5957,7 +5957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaRecorder::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5987,7 +5987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaObject* PythonQtShell_QMediaRecorder::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6017,7 +6017,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaRecorder::setMediaObject(QMediaObject* object0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6047,7 +6047,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaRecorder::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp b/generated_cpp_54/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp index 591ebbc2f..7c3968c74 100644 --- a/generated_cpp_54/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp +++ b/generated_cpp_54/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp @@ -57,7 +57,7 @@ PythonQtShell_QMediaService::~PythonQtShell_QMediaService() { } void PythonQtShell_QMediaService::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -76,7 +76,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaService::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -95,7 +95,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaService::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -125,7 +125,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QMediaService::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -155,7 +155,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaService::releaseControl(QMediaControl* control0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("releaseControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -174,7 +174,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaControl* PythonQtShell_QMediaService::requestControl(const char* name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("requestControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -204,7 +204,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QMediaService::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -429,7 +429,7 @@ PythonQtShell_QRadioData::~PythonQtShell_QRadioData() { } void PythonQtShell_QRadioData::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -448,7 +448,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioData::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -467,7 +467,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioData::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -497,7 +497,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioData::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -527,7 +527,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaObject* PythonQtShell_QRadioData::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -557,7 +557,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioData::setMediaObject(QMediaObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -587,7 +587,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioData::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -671,7 +671,7 @@ PythonQtShell_QRadioTuner::~PythonQtShell_QRadioTuner() { } QMultimedia::AvailabilityStatus PythonQtShell_QRadioTuner::availability() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -701,7 +701,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioTuner::bind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -731,7 +731,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioTuner::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -750,7 +750,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioTuner::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -769,7 +769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioTuner::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -799,7 +799,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioTuner::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -829,7 +829,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QRadioTuner::isAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -859,7 +859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaService* PythonQtShell_QRadioTuner::service() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -889,7 +889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioTuner::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -908,7 +908,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QRadioTuner::unbind(QObject* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1027,7 +1027,7 @@ PythonQtShell_QSoundEffect::~PythonQtShell_QSoundEffect() { } void PythonQtShell_QSoundEffect::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1046,7 +1046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSoundEffect::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1065,7 +1065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSoundEffect::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1095,7 +1095,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSoundEffect::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1125,7 +1125,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSoundEffect::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1538,7 +1538,7 @@ PythonQtShell_QVideoProbe::~PythonQtShell_QVideoProbe() { } void PythonQtShell_QVideoProbe::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1557,7 +1557,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoProbe::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1576,7 +1576,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVideoProbe::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1606,7 +1606,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVideoProbe::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1636,7 +1636,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoProbe::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1831,7 +1831,7 @@ PythonQtShell_QVideoWidget::~PythonQtShell_QVideoWidget() { } void PythonQtShell_QVideoWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1850,7 +1850,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1869,7 +1869,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1888,7 +1888,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1907,7 +1907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1926,7 +1926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1945,7 +1945,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QVideoWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1975,7 +1975,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1994,7 +1994,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2013,7 +2013,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2032,7 +2032,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2051,7 +2051,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2070,7 +2070,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVideoWidget::event(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2100,7 +2100,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVideoWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2130,7 +2130,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2149,7 +2149,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVideoWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2179,7 +2179,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2198,7 +2198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVideoWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2228,7 +2228,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QVideoWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2258,7 +2258,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2277,7 +2277,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2296,7 +2296,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2315,7 +2315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QVideoWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2345,7 +2345,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2364,7 +2364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2383,7 +2383,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2402,7 +2402,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMediaObject* PythonQtShell_QVideoWidget::mediaObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2432,7 +2432,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QVideoWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2462,7 +2462,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QVideoWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2492,7 +2492,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2511,7 +2511,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2530,7 +2530,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2549,7 +2549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2568,7 +2568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::moveEvent(QMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2587,7 +2587,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVideoWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2617,7 +2617,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QVideoWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2647,7 +2647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2666,7 +2666,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QVideoWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2696,7 +2696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2715,7 +2715,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QVideoWidget::setMediaObject(QMediaObject* object0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2745,7 +2745,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QVideoWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2775,7 +2775,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2794,7 +2794,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2813,7 +2813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2832,7 +2832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QVideoWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_network/com_trolltech_qt_network0.cpp b/generated_cpp_54/com_trolltech_qt_network/com_trolltech_qt_network0.cpp index e00a3121c..14fca0e08 100644 --- a/generated_cpp_54/com_trolltech_qt_network/com_trolltech_qt_network0.cpp +++ b/generated_cpp_54/com_trolltech_qt_network/com_trolltech_qt_network0.cpp @@ -46,7 +46,7 @@ PythonQtShell_QAbstractNetworkCache::~PythonQtShell_QAbstractNetworkCache() { } qint64 PythonQtShell_QAbstractNetworkCache::cacheSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("cacheSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -76,7 +76,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractNetworkCache::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -95,7 +95,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractNetworkCache::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -114,7 +114,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractNetworkCache::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -133,7 +133,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIODevice* PythonQtShell_QAbstractNetworkCache::data(const QUrl& url0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -163,7 +163,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractNetworkCache::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -193,7 +193,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractNetworkCache::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -223,7 +223,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractNetworkCache::insert(QIODevice* device0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -242,7 +242,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QNetworkCacheMetaData PythonQtShell_QAbstractNetworkCache::metaData(const QUrl& url0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -272,7 +272,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIODevice* PythonQtShell_QAbstractNetworkCache::prepare(const QNetworkCacheMetaData& metaData0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("prepare"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -302,7 +302,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractNetworkCache::remove(const QUrl& url0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("remove"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -332,7 +332,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractNetworkCache::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -351,7 +351,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractNetworkCache::updateMetaData(const QNetworkCacheMetaData& metaData0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateMetaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -420,7 +420,7 @@ PythonQtShell_QAbstractSocket::~PythonQtShell_QAbstractSocket() { } bool PythonQtShell_QAbstractSocket::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -450,7 +450,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QAbstractSocket::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -480,7 +480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QAbstractSocket::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -510,7 +510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -540,7 +540,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -559,7 +559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -578,7 +578,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::connectToHost(const QHostAddress& address0, unsigned short port1, QIODevice::OpenMode mode2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -597,7 +597,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::connectToHost(const QString& hostName0, unsigned short port1, QIODevice::OpenMode mode2, QAbstractSocket::NetworkLayerProtocol protocol3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -616,7 +616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -635,7 +635,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::disconnectFromHost() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("disconnectFromHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -654,7 +654,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -684,7 +684,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -714,7 +714,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -744,7 +744,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -774,7 +774,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QAbstractSocket::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -804,7 +804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QAbstractSocket::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -834,7 +834,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QAbstractSocket::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -864,7 +864,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -894,7 +894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::resume() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -913,7 +913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::seek(qint64 pos0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -943,7 +943,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::setReadBufferSize(qint64 size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -962,7 +962,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::setSocketOption(QAbstractSocket::SocketOption option0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSocketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -981,7 +981,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QAbstractSocket::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1011,7 +1011,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractSocket::socketOption(QAbstractSocket::SocketOption option0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("socketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1041,7 +1041,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractSocket::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1060,7 +1060,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1090,7 +1090,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::waitForConnected(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1120,7 +1120,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::waitForDisconnected(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForDisconnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1150,7 +1150,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractSocket::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1180,7 +1180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QAbstractSocket::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1732,7 +1732,7 @@ PythonQtShell_QHttpMultiPart::~PythonQtShell_QHttpMultiPart() { } void PythonQtShell_QHttpMultiPart::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1751,7 +1751,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHttpMultiPart::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1770,7 +1770,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHttpMultiPart::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1800,7 +1800,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QHttpMultiPart::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1830,7 +1830,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QHttpMultiPart::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1943,7 +1943,7 @@ PythonQtShell_QLocalServer::~PythonQtShell_QLocalServer() { } void PythonQtShell_QLocalServer::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1962,7 +1962,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLocalServer::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1981,7 +1981,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalServer::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2011,7 +2011,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalServer::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2041,7 +2041,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalServer::hasPendingConnections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasPendingConnections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2071,7 +2071,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLocalServer::incomingConnection(quintptr socketDescriptor0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("incomingConnection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2090,7 +2090,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLocalSocket* PythonQtShell_QLocalServer::nextPendingConnection() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextPendingConnection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2120,7 +2120,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLocalServer::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2229,7 +2229,7 @@ PythonQtShell_QLocalSocket::~PythonQtShell_QLocalSocket() { } bool PythonQtShell_QLocalSocket::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2259,7 +2259,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QLocalSocket::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2289,7 +2289,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QLocalSocket::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2319,7 +2319,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2349,7 +2349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLocalSocket::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2368,7 +2368,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLocalSocket::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2387,7 +2387,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLocalSocket::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2406,7 +2406,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2436,7 +2436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2466,7 +2466,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2496,7 +2496,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::open(QIODevice::OpenMode openMode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2526,7 +2526,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QLocalSocket::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2556,7 +2556,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QLocalSocket::readData(char* arg__1, qint64 arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2586,7 +2586,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QLocalSocket::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2616,7 +2616,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2646,7 +2646,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::seek(qint64 pos0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2676,7 +2676,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QLocalSocket::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2706,7 +2706,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QLocalSocket::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2725,7 +2725,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2755,7 +2755,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QLocalSocket::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2785,7 +2785,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QLocalSocket::writeData(const char* arg__1, qint64 arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2950,7 +2950,7 @@ PythonQtShell_QNetworkAccessManager::~PythonQtShell_QNetworkAccessManager() { } void PythonQtShell_QNetworkAccessManager::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2969,7 +2969,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QNetworkReply* PythonQtShell_QNetworkAccessManager::createRequest(QNetworkAccessManager::Operation op0, const QNetworkRequest& request1, QIODevice* outgoingData2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createRequest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2999,7 +2999,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkAccessManager::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3018,7 +3018,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkAccessManager::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3048,7 +3048,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkAccessManager::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3078,7 +3078,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkAccessManager::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3497,7 +3497,7 @@ PythonQtShell_QNetworkConfigurationManager::~PythonQtShell_QNetworkConfiguration } void PythonQtShell_QNetworkConfigurationManager::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3516,7 +3516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkConfigurationManager::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3535,7 +3535,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkConfigurationManager::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3565,7 +3565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkConfigurationManager::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3595,7 +3595,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkConfigurationManager::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3776,7 +3776,7 @@ PythonQtShell_QNetworkCookieJar::~PythonQtShell_QNetworkCookieJar() { } void PythonQtShell_QNetworkCookieJar::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3795,7 +3795,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QNetworkCookieJar::cookiesForUrl(const QUrl& url0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("cookiesForUrl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3825,7 +3825,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkCookieJar::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3844,7 +3844,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkCookieJar::deleteCookie(const QNetworkCookie& cookie0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("deleteCookie"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3874,7 +3874,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkCookieJar::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3904,7 +3904,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkCookieJar::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3934,7 +3934,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkCookieJar::insertCookie(const QNetworkCookie& cookie0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertCookie"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3964,7 +3964,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkCookieJar::setCookiesFromUrl(const QList& cookieList0, const QUrl& url1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setCookiesFromUrl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3994,7 +3994,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkCookieJar::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4013,7 +4013,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkCookieJar::updateCookie(const QNetworkCookie& cookie0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateCookie"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4043,7 +4043,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkCookieJar::validateCookie(const QNetworkCookie& cookie0, const QUrl& url1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("validateCookie"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4123,7 +4123,7 @@ PythonQtShell_QNetworkDiskCache::~PythonQtShell_QNetworkDiskCache() { } qint64 PythonQtShell_QNetworkDiskCache::cacheSize() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("cacheSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4153,7 +4153,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkDiskCache::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4172,7 +4172,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkDiskCache::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4191,7 +4191,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkDiskCache::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4210,7 +4210,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIODevice* PythonQtShell_QNetworkDiskCache::data(const QUrl& url0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4240,7 +4240,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkDiskCache::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4270,7 +4270,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkDiskCache::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4300,7 +4300,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QNetworkDiskCache::expire() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("expire"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4330,7 +4330,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkDiskCache::insert(QIODevice* device0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4349,7 +4349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QNetworkCacheMetaData PythonQtShell_QNetworkDiskCache::metaData(const QUrl& url0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4379,7 +4379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QIODevice* PythonQtShell_QNetworkDiskCache::prepare(const QNetworkCacheMetaData& metaData0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("prepare"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4409,7 +4409,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkDiskCache::remove(const QUrl& url0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("remove"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4439,7 +4439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkDiskCache::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4458,7 +4458,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkDiskCache::updateMetaData(const QNetworkCacheMetaData& metaData0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateMetaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4780,7 +4780,7 @@ PythonQtShell_QNetworkProxyFactory::~PythonQtShell_QNetworkProxyFactory() { } QList PythonQtShell_QNetworkProxyFactory::queryProxy(const QNetworkProxyQuery& query0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("queryProxy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4964,7 +4964,7 @@ PythonQtShell_QNetworkReply::~PythonQtShell_QNetworkReply() { } void PythonQtShell_QNetworkReply::abort() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("abort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4983,7 +4983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5013,7 +5013,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QNetworkReply::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5043,7 +5043,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QNetworkReply::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5073,7 +5073,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5103,7 +5103,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5122,7 +5122,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5141,7 +5141,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5160,7 +5160,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5190,7 +5190,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5220,7 +5220,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::ignoreSslErrors() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ignoreSslErrors"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5239,7 +5239,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::ignoreSslErrorsImplementation(const QList& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ignoreSslErrorsImplementation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5258,7 +5258,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5288,7 +5288,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5318,7 +5318,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QNetworkReply::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5348,7 +5348,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QNetworkReply::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5378,7 +5378,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QNetworkReply::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5408,7 +5408,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5438,7 +5438,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::seek(qint64 pos0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5468,7 +5468,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::setReadBufferSize(qint64 size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5487,7 +5487,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::setSslConfigurationImplementation(const QSslConfiguration& arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSslConfigurationImplementation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5506,7 +5506,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QNetworkReply::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5536,7 +5536,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::sslConfigurationImplementation(QSslConfiguration& arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sslConfigurationImplementation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5555,7 +5555,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkReply::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5574,7 +5574,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5604,7 +5604,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkReply::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5634,7 +5634,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QNetworkReply::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5924,7 +5924,7 @@ PythonQtShell_QNetworkSession::~PythonQtShell_QNetworkSession() { } void PythonQtShell_QNetworkSession::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5943,7 +5943,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkSession::connectNotify(const QMetaMethod& signal0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("connectNotify"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5962,7 +5962,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkSession::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5981,7 +5981,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkSession::disconnectNotify(const QMetaMethod& signal0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("disconnectNotify"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6000,7 +6000,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkSession::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6030,7 +6030,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QNetworkSession::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6060,7 +6060,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QNetworkSession::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_network/com_trolltech_qt_network1.cpp b/generated_cpp_54/com_trolltech_qt_network/com_trolltech_qt_network1.cpp index f9ff97129..831d5b4a1 100644 --- a/generated_cpp_54/com_trolltech_qt_network/com_trolltech_qt_network1.cpp +++ b/generated_cpp_54/com_trolltech_qt_network/com_trolltech_qt_network1.cpp @@ -121,7 +121,7 @@ PythonQtShell_QSslSocket::~PythonQtShell_QSslSocket() { } bool PythonQtShell_QSslSocket::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -151,7 +151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSslSocket::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -181,7 +181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSslSocket::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -211,7 +211,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -241,7 +241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -260,7 +260,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -279,7 +279,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::connectToHost(const QString& hostName0, unsigned short port1, QIODevice::OpenMode openMode2, QAbstractSocket::NetworkLayerProtocol protocol3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -298,7 +298,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -317,7 +317,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::disconnectFromHost() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("disconnectFromHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -336,7 +336,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -366,7 +366,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -396,7 +396,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -426,7 +426,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -456,7 +456,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSslSocket::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -486,7 +486,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSslSocket::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -516,7 +516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSslSocket::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -546,7 +546,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -576,7 +576,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::resume() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -595,7 +595,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::seek(qint64 pos0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -625,7 +625,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::setReadBufferSize(qint64 size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -644,7 +644,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::setSocketOption(QAbstractSocket::SocketOption option0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSocketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -663,7 +663,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSslSocket::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -693,7 +693,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSslSocket::socketOption(QAbstractSocket::SocketOption option0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("socketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -723,7 +723,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSslSocket::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -742,7 +742,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -772,7 +772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::waitForConnected(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -802,7 +802,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::waitForDisconnected(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForDisconnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -832,7 +832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSslSocket::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -862,7 +862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QSslSocket::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1263,7 +1263,7 @@ PythonQtShell_QTcpServer::~PythonQtShell_QTcpServer() { } void PythonQtShell_QTcpServer::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1282,7 +1282,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpServer::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1301,7 +1301,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpServer::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1331,7 +1331,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpServer::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1361,7 +1361,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpServer::hasPendingConnections() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasPendingConnections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1391,7 +1391,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QTcpSocket* PythonQtShell_QTcpServer::nextPendingConnection() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextPendingConnection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1421,7 +1421,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpServer::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1535,7 +1535,7 @@ PythonQtShell_QTcpSocket::~PythonQtShell_QTcpSocket() { } bool PythonQtShell_QTcpSocket::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1565,7 +1565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTcpSocket::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1595,7 +1595,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTcpSocket::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1625,7 +1625,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1655,7 +1655,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1674,7 +1674,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1693,7 +1693,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::connectToHost(const QHostAddress& address0, unsigned short port1, QIODevice::OpenMode mode2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1712,7 +1712,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::connectToHost(const QString& hostName0, unsigned short port1, QIODevice::OpenMode mode2, QAbstractSocket::NetworkLayerProtocol protocol3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1731,7 +1731,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1750,7 +1750,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::disconnectFromHost() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("disconnectFromHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1769,7 +1769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1799,7 +1799,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1829,7 +1829,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1859,7 +1859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1889,7 +1889,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTcpSocket::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1919,7 +1919,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTcpSocket::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1949,7 +1949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTcpSocket::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1979,7 +1979,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2009,7 +2009,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::resume() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2028,7 +2028,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::seek(qint64 pos0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2058,7 +2058,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::setReadBufferSize(qint64 size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2077,7 +2077,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::setSocketOption(QAbstractSocket::SocketOption option0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSocketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2096,7 +2096,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTcpSocket::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2126,7 +2126,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QTcpSocket::socketOption(QAbstractSocket::SocketOption option0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("socketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2156,7 +2156,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QTcpSocket::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2175,7 +2175,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2205,7 +2205,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::waitForConnected(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2235,7 +2235,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::waitForDisconnected(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForDisconnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2265,7 +2265,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QTcpSocket::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2295,7 +2295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QTcpSocket::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2335,7 +2335,7 @@ PythonQtShell_QUdpSocket::~PythonQtShell_QUdpSocket() { } bool PythonQtShell_QUdpSocket::atEnd() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2365,7 +2365,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QUdpSocket::bytesAvailable() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2395,7 +2395,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QUdpSocket::bytesToWrite() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2425,7 +2425,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::canReadLine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2455,7 +2455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2474,7 +2474,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2493,7 +2493,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::connectToHost(const QHostAddress& address0, unsigned short port1, QIODevice::OpenMode mode2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2512,7 +2512,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::connectToHost(const QString& hostName0, unsigned short port1, QIODevice::OpenMode mode2, QAbstractSocket::NetworkLayerProtocol protocol3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2531,7 +2531,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2550,7 +2550,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::disconnectFromHost() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("disconnectFromHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2569,7 +2569,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2599,7 +2599,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2629,7 +2629,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::isSequential() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2659,7 +2659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::open(QIODevice::OpenMode mode0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2689,7 +2689,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QUdpSocket::pos() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2719,7 +2719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QUdpSocket::readData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2749,7 +2749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QUdpSocket::readLineData(char* data0, qint64 maxlen1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2779,7 +2779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2809,7 +2809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::resume() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2828,7 +2828,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::seek(qint64 pos0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2858,7 +2858,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::setReadBufferSize(qint64 size0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2877,7 +2877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::setSocketOption(QAbstractSocket::SocketOption option0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSocketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2896,7 +2896,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QUdpSocket::size() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2926,7 +2926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QUdpSocket::socketOption(QAbstractSocket::SocketOption option0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("socketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2956,7 +2956,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUdpSocket::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2975,7 +2975,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::waitForBytesWritten(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3005,7 +3005,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::waitForConnected(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3035,7 +3035,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::waitForDisconnected(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForDisconnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3065,7 +3065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUdpSocket::waitForReadyRead(int msecs0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3095,7 +3095,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } qint64 PythonQtShell_QUdpSocket::writeData(const char* data0, qint64 len1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp b/generated_cpp_54/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp index a2809ea81..92192afaa 100644 --- a/generated_cpp_54/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp +++ b/generated_cpp_54/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp @@ -227,7 +227,7 @@ PythonQtShell_QGLContext::~PythonQtShell_QGLContext() { } bool PythonQtShell_QGLContext::chooseContext(const QGLContext* shareContext0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("chooseContext"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -257,7 +257,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLContext::create(const QGLContext* shareContext0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -287,7 +287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLContext::doneCurrent() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("doneCurrent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -306,7 +306,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLContext::makeCurrent() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("makeCurrent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -325,7 +325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLContext::swapBuffers() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("swapBuffers"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -844,7 +844,7 @@ PythonQtShell_QGLFramebufferObject::~PythonQtShell_QGLFramebufferObject() { } int PythonQtShell_QGLFramebufferObject::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -874,7 +874,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLFramebufferObject::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -893,7 +893,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGLFramebufferObject::metric(QPaintDevice::PaintDeviceMetric metric0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -923,7 +923,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QGLFramebufferObject::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -953,7 +953,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QGLFramebufferObject::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -983,7 +983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QGLFramebufferObject::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1713,7 +1713,7 @@ PythonQtShell_QGLPixelBuffer::~PythonQtShell_QGLPixelBuffer() { } int PythonQtShell_QGLPixelBuffer::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1743,7 +1743,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLPixelBuffer::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1762,7 +1762,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGLPixelBuffer::metric(QPaintDevice::PaintDeviceMetric metric0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1792,7 +1792,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QGLPixelBuffer::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1822,7 +1822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QGLPixelBuffer::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1852,7 +1852,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QGLPixelBuffer::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2006,7 +2006,7 @@ PythonQtShell_QGLShader::~PythonQtShell_QGLShader() { } void PythonQtShell_QGLShader::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2025,7 +2025,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLShader::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2044,7 +2044,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLShader::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2074,7 +2074,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLShader::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2104,7 +2104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLShader::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2187,7 +2187,7 @@ PythonQtShell_QGLShaderProgram::~PythonQtShell_QGLShaderProgram() { } void PythonQtShell_QGLShaderProgram::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2206,7 +2206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLShaderProgram::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2225,7 +2225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLShaderProgram::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2255,7 +2255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLShaderProgram::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2285,7 +2285,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLShaderProgram::link() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("link"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2315,7 +2315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLShaderProgram::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2888,7 +2888,7 @@ PythonQtShell_QGLWidget::~PythonQtShell_QGLWidget() { } void PythonQtShell_QGLWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2907,7 +2907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2926,7 +2926,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2945,7 +2945,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2964,7 +2964,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2983,7 +2983,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3002,7 +3002,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGLWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3032,7 +3032,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3051,7 +3051,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3070,7 +3070,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3089,7 +3089,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3108,7 +3108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3127,7 +3127,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLWidget::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3157,7 +3157,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3187,7 +3187,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3206,7 +3206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3236,7 +3236,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3255,7 +3255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::glDraw() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("glDraw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3274,7 +3274,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::glInit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("glInit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3293,7 +3293,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3323,7 +3323,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGLWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3353,7 +3353,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3372,7 +3372,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3391,7 +3391,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::initializeGL() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initializeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3410,7 +3410,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::initializeOverlayGL() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initializeOverlayGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3429,7 +3429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3448,7 +3448,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGLWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3478,7 +3478,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3497,7 +3497,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3516,7 +3516,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3535,7 +3535,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGLWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3565,7 +3565,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QGLWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3595,7 +3595,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3614,7 +3614,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3633,7 +3633,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3652,7 +3652,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3671,7 +3671,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3690,7 +3690,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGLWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3720,7 +3720,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QGLWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3750,7 +3750,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3769,7 +3769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::paintGL() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3788,7 +3788,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::paintOverlayGL() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintOverlayGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3807,7 +3807,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QGLWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3837,7 +3837,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3856,7 +3856,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::resizeGL(int w0, int h1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3875,7 +3875,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::resizeOverlayGL(int w0, int h1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeOverlayGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3894,7 +3894,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QGLWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3924,7 +3924,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3943,7 +3943,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QGLWidget::sizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3973,7 +3973,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3992,7 +3992,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4011,7 +4011,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::updateGL() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4030,7 +4030,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::updateOverlayGL() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateOverlayGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4049,7 +4049,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGLWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp b/generated_cpp_54/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp index 1926555fb..20b1362d0 100644 --- a/generated_cpp_54/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp +++ b/generated_cpp_54/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp @@ -275,7 +275,7 @@ PythonQtShell_QSqlDriver::~PythonQtShell_QSqlDriver() { } bool PythonQtShell_QSqlDriver::beginTransaction() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("beginTransaction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -305,7 +305,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::cancelQuery() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("cancelQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -335,7 +335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlDriver::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -354,7 +354,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlDriver::close() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -373,7 +373,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::commitTransaction() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("commitTransaction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -403,7 +403,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSqlResult* PythonQtShell_QSqlDriver::createResult() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createResult"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -433,7 +433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlDriver::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -452,7 +452,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSqlDriver::escapeIdentifier(const QString& identifier0, QSqlDriver::IdentifierType type1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("escapeIdentifier"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -482,7 +482,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -512,7 +512,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -542,7 +542,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSqlDriver::formatValue(const QSqlField& field0, bool trimStrings1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("formatValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -572,7 +572,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlDriver::handle() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("handle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -602,7 +602,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::hasFeature(QSqlDriver::DriverFeature f0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -632,7 +632,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::isIdentifierEscaped(const QString& identifier0, QSqlDriver::IdentifierType type1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isIdentifierEscaped"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -662,7 +662,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::isOpen() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isOpen"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -692,7 +692,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::open(const QString& db0, const QString& user1, const QString& password2, const QString& host3, int port4, const QString& connOpts5) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -722,7 +722,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSqlIndex PythonQtShell_QSqlDriver::primaryIndex(const QString& tableName0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("primaryIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -752,7 +752,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSqlRecord PythonQtShell_QSqlDriver::record(const QString& tableName0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("record"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -782,7 +782,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::rollbackTransaction() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rollbackTransaction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -812,7 +812,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlDriver::setLastError(const QSqlError& e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setLastError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -831,7 +831,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlDriver::setOpen(bool o0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setOpen"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -850,7 +850,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlDriver::setOpenError(bool e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setOpenError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -869,7 +869,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSqlDriver::sqlStatement(QSqlDriver::StatementType type0, const QString& tableName1, const QSqlRecord& rec2, bool preparedStatement3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sqlStatement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -899,7 +899,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSqlDriver::stripDelimiters(const QString& identifier0, QSqlDriver::IdentifierType type1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stripDelimiters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -929,7 +929,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::subscribeToNotification(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("subscribeToNotification"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -959,7 +959,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QSqlDriver::subscribedToNotifications() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("subscribedToNotifications"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -989,7 +989,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QSqlDriver::tables(QSql::TableType tableType0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tables"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1019,7 +1019,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlDriver::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1038,7 +1038,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlDriver::unsubscribeFromNotification(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unsubscribeFromNotification"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1218,7 +1218,7 @@ PythonQtShell_QSqlDriverCreatorBase::~PythonQtShell_QSqlDriverCreatorBase() { } QSqlDriver* PythonQtShell_QSqlDriverCreatorBase::createObject() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1769,7 +1769,7 @@ PythonQtShell_QSqlQueryModel::~PythonQtShell_QSqlQueryModel() { } QModelIndex PythonQtShell_QSqlQueryModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1799,7 +1799,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1829,7 +1829,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1859,7 +1859,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlQueryModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1878,7 +1878,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlQueryModel::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1897,7 +1897,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSqlQueryModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1927,7 +1927,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlQueryModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1946,7 +1946,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlQueryModel::data(const QModelIndex& item0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1976,7 +1976,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2006,7 +2006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2036,7 +2036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2066,7 +2066,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlQueryModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2085,7 +2085,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QSqlQueryModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2115,7 +2115,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlQueryModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2145,7 +2145,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlQueryModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2175,7 +2175,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlQueryModel::indexInQuery(const QModelIndex& item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexInQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2205,7 +2205,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2235,7 +2235,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2265,7 +2265,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QSqlQueryModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2295,7 +2295,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QSqlQueryModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2325,7 +2325,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QSqlQueryModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2355,7 +2355,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QSqlQueryModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2385,7 +2385,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2415,7 +2415,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2445,7 +2445,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlQueryModel::queryChange() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("queryChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2464,7 +2464,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2494,7 +2494,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2524,7 +2524,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlQueryModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2543,7 +2543,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QSqlQueryModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2573,7 +2573,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSqlQueryModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2603,7 +2603,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2633,7 +2633,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2663,7 +2663,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2693,7 +2693,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlQueryModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2723,7 +2723,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlQueryModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2742,7 +2742,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSqlQueryModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2772,7 +2772,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlQueryModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2802,7 +2802,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QSqlQueryModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2832,7 +2832,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QSqlQueryModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2862,7 +2862,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlQueryModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3223,7 +3223,7 @@ PythonQtShell_QSqlRelationalTableModel::~PythonQtShell_QSqlRelationalTableModel( } QModelIndex PythonQtShell_QSqlRelationalTableModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3253,7 +3253,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3283,7 +3283,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3313,7 +3313,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3332,7 +3332,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3351,7 +3351,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSqlRelationalTableModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3381,7 +3381,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3400,7 +3400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlRelationalTableModel::data(const QModelIndex& item0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3430,7 +3430,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::deleteRowFromTable(int row0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("deleteRowFromTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3460,7 +3460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3490,7 +3490,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3520,7 +3520,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3550,7 +3550,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3569,7 +3569,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QSqlRelationalTableModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3599,7 +3599,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlRelationalTableModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3629,7 +3629,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlRelationalTableModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3659,7 +3659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlRelationalTableModel::indexInQuery(const QModelIndex& item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexInQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3689,7 +3689,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3719,7 +3719,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::insertRowIntoTable(const QSqlRecord& values0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRowIntoTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3749,7 +3749,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3779,7 +3779,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QSqlRelationalTableModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3809,7 +3809,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QSqlRelationalTableModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3839,7 +3839,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QSqlRelationalTableModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3869,7 +3869,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QSqlRelationalTableModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3899,7 +3899,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3929,7 +3929,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3959,7 +3959,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSqlRelationalTableModel::orderByClause() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("orderByClause"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3989,7 +3989,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::queryChange() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("queryChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4008,7 +4008,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSqlTableModel* PythonQtShell_QSqlRelationalTableModel::relationModel(int column0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("relationModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4038,7 +4038,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4068,7 +4068,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4098,7 +4098,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4117,7 +4117,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::revertRow(int row0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revertRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4136,7 +4136,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QSqlRelationalTableModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4166,7 +4166,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSqlRelationalTableModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4196,7 +4196,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::select() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4226,7 +4226,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::selectRow(int row0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4256,7 +4256,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSqlRelationalTableModel::selectStatement() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectStatement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4286,7 +4286,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::setData(const QModelIndex& item0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4316,7 +4316,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::setEditStrategy(QSqlTableModel::EditStrategy strategy0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setEditStrategy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4335,7 +4335,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::setFilter(const QString& filter0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4354,7 +4354,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4384,7 +4384,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4414,7 +4414,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::setRelation(int column0, const QSqlRelation& relation1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setRelation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4433,7 +4433,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::setSort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4452,7 +4452,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::setTable(const QString& tableName0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4471,7 +4471,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlRelationalTableModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4501,7 +4501,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4520,7 +4520,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSqlRelationalTableModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4550,7 +4550,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4580,7 +4580,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QSqlRelationalTableModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4610,7 +4610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QSqlRelationalTableModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4640,7 +4640,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlRelationalTableModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4659,7 +4659,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlRelationalTableModel::updateRowInTable(int row0, const QSqlRecord& values1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateRowInTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4774,7 +4774,7 @@ PythonQtShell_QSqlResult::~PythonQtShell_QSqlResult() { } void PythonQtShell_QSqlResult::bindValue(const QString& placeholder0, const QVariant& val1, QSql::ParamType type2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bindValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4793,7 +4793,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::bindValue(int pos0, const QVariant& val1, QSql::ParamType type2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("bindValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4812,7 +4812,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlResult::data(int i0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4842,7 +4842,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::detachFromResultSet() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("detachFromResultSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4861,7 +4861,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::exec() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4891,7 +4891,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::execBatch(bool arrayBind0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("execBatch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4921,7 +4921,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::fetch(int i0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4951,7 +4951,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::fetchFirst() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchFirst"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4981,7 +4981,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::fetchLast() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchLast"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5011,7 +5011,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::fetchNext() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchNext"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5041,7 +5041,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::fetchPrevious() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchPrevious"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5071,7 +5071,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlResult::handle() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("handle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5101,7 +5101,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::isNull(int i0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isNull"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5131,7 +5131,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlResult::lastInsertId() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("lastInsertId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5161,7 +5161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::nextResult() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextResult"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5191,7 +5191,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSqlResult::numRowsAffected() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("numRowsAffected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5221,7 +5221,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::prepare(const QString& query0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("prepare"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5251,7 +5251,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSqlRecord PythonQtShell_QSqlResult::record() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("record"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5281,7 +5281,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::reset(const QString& sqlquery0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5311,7 +5311,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlResult::savePrepare(const QString& sqlquery0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("savePrepare"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5341,7 +5341,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::setActive(bool a0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setActive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5360,7 +5360,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::setAt(int at0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5379,7 +5379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::setForwardOnly(bool forward0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setForwardOnly"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5398,7 +5398,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::setLastError(const QSqlError& e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setLastError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5417,7 +5417,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy policy0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setNumericalPrecisionPolicy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5436,7 +5436,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::setQuery(const QString& query0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5455,7 +5455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::setSelect(bool s0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSelect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5474,7 +5474,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSqlResult::size() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5504,7 +5504,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlResult::virtual_hook(int id0, void* data1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("virtual_hook"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5783,7 +5783,7 @@ PythonQtShell_QSqlTableModel::~PythonQtShell_QSqlTableModel() { } QModelIndex PythonQtShell_QSqlTableModel::buddy(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5813,7 +5813,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5843,7 +5843,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::canFetchMore(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5873,7 +5873,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5892,7 +5892,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::clear() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5911,7 +5911,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSqlTableModel::columnCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5941,7 +5941,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5960,7 +5960,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlTableModel::data(const QModelIndex& idx0, int role1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5990,7 +5990,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::deleteRowFromTable(int row0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("deleteRowFromTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6020,7 +6020,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6050,7 +6050,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6080,7 +6080,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6110,7 +6110,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::fetchMore(const QModelIndex& parent0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6129,7 +6129,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::ItemFlags PythonQtShell_QSqlTableModel::flags(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6159,7 +6159,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSqlTableModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6189,7 +6189,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlTableModel::index(int row0, int column1, const QModelIndex& parent2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6219,7 +6219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlTableModel::indexInQuery(const QModelIndex& item0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("indexInQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6249,7 +6249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6279,7 +6279,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::insertRowIntoTable(const QSqlRecord& values0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRowIntoTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6309,7 +6309,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::insertRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6339,7 +6339,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMap PythonQtShell_QSqlTableModel::itemData(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6369,7 +6369,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QSqlTableModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6399,7 +6399,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QMimeData* PythonQtShell_QSqlTableModel::mimeData(const QList& indexes0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6429,7 +6429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QStringList PythonQtShell_QSqlTableModel::mimeTypes() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6459,7 +6459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6489,7 +6489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6519,7 +6519,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSqlTableModel::orderByClause() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("orderByClause"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6549,7 +6549,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::queryChange() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("queryChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6568,7 +6568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6598,7 +6598,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::removeRows(int row0, int count1, const QModelIndex& parent2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6628,7 +6628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::revert() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6647,7 +6647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::revertRow(int row0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("revertRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6666,7 +6666,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QHash PythonQtShell_QSqlTableModel::roleNames() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6696,7 +6696,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSqlTableModel::rowCount(const QModelIndex& parent0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6726,7 +6726,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::select() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6756,7 +6756,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::selectRow(int row0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6786,7 +6786,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSqlTableModel::selectStatement() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("selectStatement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6816,7 +6816,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6846,7 +6846,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::setEditStrategy(QSqlTableModel::EditStrategy strategy0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setEditStrategy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6865,7 +6865,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::setFilter(const QString& filter0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6884,7 +6884,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6914,7 +6914,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::setItemData(const QModelIndex& index0, const QMap& roles1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6944,7 +6944,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::setSort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setSort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6963,7 +6963,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::setTable(const QString& tableName0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6982,7 +6982,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QModelIndex PythonQtShell_QSqlTableModel::sibling(int row0, int column1, const QModelIndex& idx2) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7012,7 +7012,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::sort(int column0, Qt::SortOrder order1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7031,7 +7031,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSqlTableModel::span(const QModelIndex& index0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7061,7 +7061,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::submit() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7091,7 +7091,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QSqlTableModel::supportedDragActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7121,7 +7121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::DropActions PythonQtShell_QSqlTableModel::supportedDropActions() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7151,7 +7151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSqlTableModel::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7170,7 +7170,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSqlTableModel::updateRowInTable(int row0, const QSqlRecord& values1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateRowInTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp b/generated_cpp_54/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp index 34bc75312..c1d75b588 100644 --- a/generated_cpp_54/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp +++ b/generated_cpp_54/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp @@ -55,7 +55,7 @@ PythonQtShell_QGraphicsSvgItem::~PythonQtShell_QGraphicsSvgItem() { } QRectF PythonQtShell_QGraphicsSvgItem::boundingRect() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -85,7 +85,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsSvgItem::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -104,7 +104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsSvgItem::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -123,7 +123,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsSvgItem::event(QEvent* ev0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -153,7 +153,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsSvgItem::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -183,7 +183,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsSvgItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -202,7 +202,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsSvgItem::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -221,7 +221,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QGraphicsSvgItem::type() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -320,7 +320,7 @@ PythonQtShell_QSvgGenerator::~PythonQtShell_QSvgGenerator() { } int PythonQtShell_QSvgGenerator::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -350,7 +350,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgGenerator::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -369,7 +369,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSvgGenerator::metric(QPaintDevice::PaintDeviceMetric metric0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -399,7 +399,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QSvgGenerator::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -429,7 +429,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QSvgGenerator::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -459,7 +459,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QSvgGenerator::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -589,7 +589,7 @@ PythonQtShell_QSvgRenderer::~PythonQtShell_QSvgRenderer() { } void PythonQtShell_QSvgRenderer::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -608,7 +608,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgRenderer::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -627,7 +627,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSvgRenderer::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -657,7 +657,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSvgRenderer::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -687,7 +687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgRenderer::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -803,7 +803,7 @@ PythonQtShell_QSvgWidget::~PythonQtShell_QSvgWidget() { } void PythonQtShell_QSvgWidget::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -822,7 +822,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -841,7 +841,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -860,7 +860,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -879,7 +879,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -898,7 +898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -917,7 +917,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSvgWidget::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -947,7 +947,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -966,7 +966,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -985,7 +985,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1004,7 +1004,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1023,7 +1023,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1042,7 +1042,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSvgWidget::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1072,7 +1072,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSvgWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1102,7 +1102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1121,7 +1121,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSvgWidget::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1151,7 +1151,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1170,7 +1170,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSvgWidget::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1200,7 +1200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSvgWidget::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1230,7 +1230,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1249,7 +1249,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1268,7 +1268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1287,7 +1287,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSvgWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1317,7 +1317,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1336,7 +1336,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1355,7 +1355,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1374,7 +1374,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QSvgWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1404,7 +1404,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QSvgWidget::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1434,7 +1434,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1453,7 +1453,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1472,7 +1472,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1491,7 +1491,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1510,7 +1510,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1529,7 +1529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QSvgWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1559,7 +1559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QSvgWidget::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1589,7 +1589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::paintEvent(QPaintEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1608,7 +1608,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QSvgWidget::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1638,7 +1638,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1657,7 +1657,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QSvgWidget::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1687,7 +1687,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1706,7 +1706,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1725,7 +1725,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1744,7 +1744,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QSvgWidget::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp b/generated_cpp_54/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp index 47a75051f..dc615eb2a 100644 --- a/generated_cpp_54/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp +++ b/generated_cpp_54/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp @@ -23,7 +23,7 @@ PythonQtShell_QUiLoader::~PythonQtShell_QUiLoader() { } void PythonQtShell_QUiLoader::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -42,7 +42,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QAction* PythonQtShell_QUiLoader::createAction(QObject* parent0, const QString& name1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -72,7 +72,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QActionGroup* PythonQtShell_QUiLoader::createActionGroup(QObject* parent0, const QString& name1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createActionGroup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -102,7 +102,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QLayout* PythonQtShell_QUiLoader::createLayout(const QString& className0, QObject* parent1, const QString& name2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -132,7 +132,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWidget* PythonQtShell_QUiLoader::createWidget(const QString& className0, QWidget* parent1, const QString& name2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -162,7 +162,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUiLoader::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -181,7 +181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUiLoader::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -211,7 +211,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QUiLoader::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -241,7 +241,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QUiLoader::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp b/generated_cpp_54/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp index 19ced5d2f..a8e8a7e72 100644 --- a/generated_cpp_54/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp +++ b/generated_cpp_54/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp @@ -67,7 +67,7 @@ PythonQtShell_QGraphicsWebView::~PythonQtShell_QGraphicsWebView() { } void PythonQtShell_QGraphicsWebView::changeEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -86,7 +86,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -105,7 +105,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -124,7 +124,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::contextMenuEvent(QGraphicsSceneContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -143,7 +143,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -162,7 +162,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::dragEnterEvent(QGraphicsSceneDragDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -181,7 +181,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::dragLeaveEvent(QGraphicsSceneDragDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -200,7 +200,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::dragMoveEvent(QGraphicsSceneDragDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -219,7 +219,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::dropEvent(QGraphicsSceneDragDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -238,7 +238,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWebView::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -268,7 +268,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWebView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -298,7 +298,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -317,7 +317,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWebView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -347,7 +347,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -366,7 +366,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -385,7 +385,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::grabKeyboardEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("grabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -404,7 +404,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::grabMouseEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("grabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -423,7 +423,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -442,7 +442,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::hoverLeaveEvent(QGraphicsSceneHoverEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -461,7 +461,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::hoverMoveEvent(QGraphicsSceneHoverEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -480,7 +480,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::initStyleOption(QStyleOption* option0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -499,7 +499,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -518,7 +518,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsWebView::inputMethodQuery(Qt::InputMethodQuery query0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -548,7 +548,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsWebView::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -581,7 +581,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -600,7 +600,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -619,7 +619,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -638,7 +638,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::mouseMoveEvent(QGraphicsSceneMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -657,7 +657,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::mousePressEvent(QGraphicsSceneMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -676,7 +676,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::mouseReleaseEvent(QGraphicsSceneMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -695,7 +695,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::moveEvent(QGraphicsSceneMoveEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -714,7 +714,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::paint(QPainter* arg__1, const QStyleOptionGraphicsItem* options1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -733,7 +733,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::paintWindowFrame(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintWindowFrame"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -752,7 +752,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::polishEvent() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("polishEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -771,7 +771,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QGraphicsWebView::propertyChange(const QString& propertyName0, const QVariant& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("propertyChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -801,7 +801,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::resizeEvent(QGraphicsSceneResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -820,7 +820,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWebView::sceneEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -850,7 +850,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::setGeometry(const QRectF& rect0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -869,7 +869,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -888,7 +888,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSizeF PythonQtShell_QGraphicsWebView::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -918,7 +918,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -937,7 +937,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::ungrabKeyboardEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -956,7 +956,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::ungrabMouseEvent(QEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ungrabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -975,7 +975,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::updateGeometry() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -994,7 +994,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QGraphicsWebView::wheelEvent(QGraphicsSceneWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1013,7 +1013,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QGraphicsWebView::windowFrameEvent(QEvent* e0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("windowFrameEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1043,7 +1043,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } Qt::WindowFrameSection PythonQtShell_QGraphicsWebView::windowFrameSectionAt(const QPointF& pos0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("windowFrameSectionAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2107,7 +2107,7 @@ PythonQtShell_QWebHistoryInterface::~PythonQtShell_QWebHistoryInterface() { } void PythonQtShell_QWebHistoryInterface::addHistoryEntry(const QString& url0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("addHistoryEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2126,7 +2126,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebHistoryInterface::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2145,7 +2145,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebHistoryInterface::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2164,7 +2164,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebHistoryInterface::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2194,7 +2194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebHistoryInterface::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2224,7 +2224,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebHistoryInterface::historyContains(const QString& url0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("historyContains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2254,7 +2254,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebHistoryInterface::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2449,7 +2449,7 @@ PythonQtShell_QWebInspector::~PythonQtShell_QWebInspector() { } void PythonQtShell_QWebInspector::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2468,7 +2468,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2487,7 +2487,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2506,7 +2506,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::closeEvent(QCloseEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2525,7 +2525,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2544,7 +2544,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2563,7 +2563,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWebInspector::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2593,7 +2593,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2612,7 +2612,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2631,7 +2631,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2650,7 +2650,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2669,7 +2669,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2688,7 +2688,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebInspector::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2718,7 +2718,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebInspector::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2748,7 +2748,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2767,7 +2767,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebInspector::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2797,7 +2797,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2816,7 +2816,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebInspector::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2846,7 +2846,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWebInspector::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2876,7 +2876,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::hideEvent(QHideEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2895,7 +2895,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2914,7 +2914,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2933,7 +2933,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QWebInspector::inputMethodQuery(Qt::InputMethodQuery arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2963,7 +2963,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2982,7 +2982,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3001,7 +3001,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3020,7 +3020,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWebInspector::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3050,7 +3050,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWebInspector::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3080,7 +3080,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3099,7 +3099,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3118,7 +3118,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3137,7 +3137,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3156,7 +3156,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3175,7 +3175,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebInspector::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3205,7 +3205,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QWebInspector::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3235,7 +3235,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3254,7 +3254,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QWebInspector::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3284,7 +3284,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::resizeEvent(QResizeEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3303,7 +3303,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QWebInspector::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3333,7 +3333,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::showEvent(QShowEvent* event0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3352,7 +3352,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3371,7 +3371,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3390,7 +3390,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebInspector::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3459,7 +3459,7 @@ PythonQtShell_QWebPage::~PythonQtShell_QWebPage() { } bool PythonQtShell_QWebPage::acceptNavigationRequest(QWebFrame* frame0, const QNetworkRequest& request1, QWebPage::NavigationType type2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("acceptNavigationRequest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3489,7 +3489,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPage::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3508,7 +3508,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QWebPage::chooseFile(QWebFrame* originatingFrame0, const QString& oldFile1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("chooseFile"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3538,7 +3538,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QObject* PythonQtShell_QWebPage::createPlugin(const QString& classid0, const QUrl& url1, const QStringList& paramNames2, const QStringList& paramValues3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createPlugin"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3568,7 +3568,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWebPage* PythonQtShell_QWebPage::createWindow(QWebPage::WebWindowType type0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createWindow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3598,7 +3598,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPage::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3617,7 +3617,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPage::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3647,7 +3647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPage::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3677,7 +3677,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPage::extension(QWebPage::Extension extension0, const QWebPage::ExtensionOption* option1, QWebPage::ExtensionReturn* output2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3707,7 +3707,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPage::javaScriptAlert(QWebFrame* originatingFrame0, const QString& msg1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("javaScriptAlert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3726,7 +3726,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPage::javaScriptConfirm(QWebFrame* originatingFrame0, const QString& msg1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("javaScriptConfirm"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3756,7 +3756,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPage::javaScriptConsoleMessage(const QString& message0, int lineNumber1, const QString& sourceID2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("javaScriptConsoleMessage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3775,7 +3775,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPage::javaScriptPrompt(QWebFrame* originatingFrame0, const QString& msg1, const QString& defaultValue2, QString* result3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("javaScriptPrompt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3805,7 +3805,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPage::shouldInterruptJavaScript() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("shouldInterruptJavaScript"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3835,7 +3835,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPage::supportsExtension(QWebPage::Extension extension0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3865,7 +3865,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPage::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3884,7 +3884,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPage::triggerAction(QWebPage::WebAction action0, bool checked1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("triggerAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3903,7 +3903,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QWebPage::userAgentForUrl(const QUrl& url0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("userAgentForUrl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4288,7 +4288,7 @@ PythonQtShell_QWebPluginFactory::~PythonQtShell_QWebPluginFactory() { } void PythonQtShell_QWebPluginFactory::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4307,7 +4307,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QObject* PythonQtShell_QWebPluginFactory::create(const QString& mimeType0, const QUrl& arg__2, const QStringList& argumentNames2, const QStringList& argumentValues3) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4337,7 +4337,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPluginFactory::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4356,7 +4356,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPluginFactory::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4386,7 +4386,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPluginFactory::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4416,7 +4416,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPluginFactory::extension(QWebPluginFactory::Extension extension0, const QWebPluginFactory::ExtensionOption* option1, QWebPluginFactory::ExtensionReturn* output2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4446,7 +4446,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QList PythonQtShell_QWebPluginFactory::plugins() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("plugins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4476,7 +4476,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPluginFactory::refreshPlugins() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("refreshPlugins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4495,7 +4495,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebPluginFactory::supportsExtension(QWebPluginFactory::Extension extension0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4525,7 +4525,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebPluginFactory::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4911,7 +4911,7 @@ PythonQtShell_QWebView::~PythonQtShell_QWebView() { } void PythonQtShell_QWebView::actionEvent(QActionEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4930,7 +4930,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::changeEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4949,7 +4949,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4968,7 +4968,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::closeEvent(QCloseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4987,7 +4987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::contextMenuEvent(QContextMenuEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5006,7 +5006,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QWebView* PythonQtShell_QWebView::createWindow(QWebPage::WebWindowType type0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("createWindow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5036,7 +5036,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5055,7 +5055,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWebView::devType() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5085,7 +5085,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::dragEnterEvent(QDragEnterEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5104,7 +5104,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::dragLeaveEvent(QDragLeaveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5123,7 +5123,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::dragMoveEvent(QDragMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5142,7 +5142,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::dropEvent(QDropEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5161,7 +5161,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::enterEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5180,7 +5180,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebView::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5210,7 +5210,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebView::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5240,7 +5240,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::focusInEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5259,7 +5259,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebView::focusNextPrevChild(bool next0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5289,7 +5289,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::focusOutEvent(QFocusEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5308,7 +5308,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebView::hasHeightForWidth() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5338,7 +5338,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWebView::heightForWidth(int arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5368,7 +5368,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::hideEvent(QHideEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5387,7 +5387,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::initPainter(QPainter* painter0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5406,7 +5406,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::inputMethodEvent(QInputMethodEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5425,7 +5425,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QWebView::inputMethodQuery(Qt::InputMethodQuery property0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5455,7 +5455,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::keyPressEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5474,7 +5474,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::keyReleaseEvent(QKeyEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5493,7 +5493,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::leaveEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5512,7 +5512,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QWebView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5542,7 +5542,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QSize PythonQtShell_QWebView::minimumSizeHint() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5572,7 +5572,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::mouseDoubleClickEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5591,7 +5591,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::mouseMoveEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5610,7 +5610,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::mousePressEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5629,7 +5629,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::mouseReleaseEvent(QMouseEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5648,7 +5648,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::moveEvent(QMoveEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5667,7 +5667,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QWebView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5697,7 +5697,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintEngine* PythonQtShell_QWebView::paintEngine() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5727,7 +5727,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::paintEvent(QPaintEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5746,7 +5746,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPaintDevice* PythonQtShell_QWebView::redirected(QPoint* offset0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5776,7 +5776,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::resizeEvent(QResizeEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5795,7 +5795,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QPainter* PythonQtShell_QWebView::sharedPainter() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5825,7 +5825,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::showEvent(QShowEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5844,7 +5844,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::tabletEvent(QTabletEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5863,7 +5863,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5882,7 +5882,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QWebView::wheelEvent(QWheelEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp b/generated_cpp_54/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp index 6150a88e7..35c6945c1 100644 --- a/generated_cpp_54/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp +++ b/generated_cpp_54/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp @@ -1154,7 +1154,7 @@ PythonQtShell_QXmlContentHandler::~PythonQtShell_QXmlContentHandler() { } bool PythonQtShell_QXmlContentHandler::characters(const QString& ch0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1184,7 +1184,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::endDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1214,7 +1214,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::endElement(const QString& namespaceURI0, const QString& localName1, const QString& qName2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1244,7 +1244,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::endPrefixMapping(const QString& prefix0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endPrefixMapping"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1274,7 +1274,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QXmlContentHandler::errorString() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1304,7 +1304,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::ignorableWhitespace(const QString& ch0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ignorableWhitespace"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1334,7 +1334,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::processingInstruction(const QString& target0, const QString& data1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1364,7 +1364,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlContentHandler::setDocumentLocator(QXmlLocator* locator0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setDocumentLocator"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1383,7 +1383,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::skippedEntity(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("skippedEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1413,7 +1413,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::startDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1443,7 +1443,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::startElement(const QString& namespaceURI0, const QString& localName1, const QString& qName2, const QXmlAttributes& atts3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1473,7 +1473,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlContentHandler::startPrefixMapping(const QString& prefix0, const QString& uri1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startPrefixMapping"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1573,7 +1573,7 @@ PythonQtShell_QXmlDTDHandler::~PythonQtShell_QXmlDTDHandler() { } QString PythonQtShell_QXmlDTDHandler::errorString() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1603,7 +1603,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDTDHandler::notationDecl(const QString& name0, const QString& publicId1, const QString& systemId2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("notationDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1633,7 +1633,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDTDHandler::unparsedEntityDecl(const QString& name0, const QString& publicId1, const QString& systemId2, const QString& notationName3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unparsedEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1688,7 +1688,7 @@ PythonQtShell_QXmlDeclHandler::~PythonQtShell_QXmlDeclHandler() { } bool PythonQtShell_QXmlDeclHandler::attributeDecl(const QString& eName0, const QString& aName1, const QString& type2, const QString& valueDefault3, const QString& value4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("attributeDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1718,7 +1718,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QXmlDeclHandler::errorString() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1748,7 +1748,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDeclHandler::externalEntityDecl(const QString& name0, const QString& publicId1, const QString& systemId2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("externalEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1778,7 +1778,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDeclHandler::internalEntityDecl(const QString& name0, const QString& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("internalEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1838,7 +1838,7 @@ PythonQtShell_QXmlDefaultHandler::~PythonQtShell_QXmlDefaultHandler() { } bool PythonQtShell_QXmlDefaultHandler::attributeDecl(const QString& eName0, const QString& aName1, const QString& type2, const QString& valueDefault3, const QString& value4) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("attributeDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1868,7 +1868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::characters(const QString& ch0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1898,7 +1898,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::comment(const QString& ch0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1928,7 +1928,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::endCDATA() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endCDATA"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1958,7 +1958,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::endDTD() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endDTD"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1988,7 +1988,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::endDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2018,7 +2018,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::endElement(const QString& namespaceURI0, const QString& localName1, const QString& qName2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2048,7 +2048,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::endEntity(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2078,7 +2078,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::endPrefixMapping(const QString& prefix0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endPrefixMapping"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2108,7 +2108,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::error(const QXmlParseException& exception0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("error"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2138,7 +2138,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QXmlDefaultHandler::errorString() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2168,7 +2168,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::externalEntityDecl(const QString& name0, const QString& publicId1, const QString& systemId2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("externalEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2198,7 +2198,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::fatalError(const QXmlParseException& exception0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fatalError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2228,7 +2228,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::ignorableWhitespace(const QString& ch0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("ignorableWhitespace"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2258,7 +2258,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::internalEntityDecl(const QString& name0, const QString& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("internalEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2288,7 +2288,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::notationDecl(const QString& name0, const QString& publicId1, const QString& systemId2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("notationDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2318,7 +2318,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::processingInstruction(const QString& target0, const QString& data1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2348,7 +2348,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::resolveEntity(const QString& publicId0, const QString& systemId1, QXmlInputSource*& ret2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resolveEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2378,7 +2378,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlDefaultHandler::setDocumentLocator(QXmlLocator* locator0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setDocumentLocator"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2397,7 +2397,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::skippedEntity(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("skippedEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2427,7 +2427,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::startCDATA() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startCDATA"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2457,7 +2457,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::startDTD(const QString& name0, const QString& publicId1, const QString& systemId2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDTD"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2487,7 +2487,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::startDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2517,7 +2517,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::startElement(const QString& namespaceURI0, const QString& localName1, const QString& qName2, const QXmlAttributes& atts3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2547,7 +2547,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::startEntity(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2577,7 +2577,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::startPrefixMapping(const QString& prefix0, const QString& uri1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startPrefixMapping"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2607,7 +2607,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::unparsedEntityDecl(const QString& name0, const QString& publicId1, const QString& systemId2, const QString& notationName3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("unparsedEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2637,7 +2637,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlDefaultHandler::warning(const QXmlParseException& exception0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("warning"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2817,7 +2817,7 @@ PythonQtShell_QXmlEntityResolver::~PythonQtShell_QXmlEntityResolver() { } QString PythonQtShell_QXmlEntityResolver::errorString() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2847,7 +2847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlEntityResolver::resolveEntity(const QString& publicId0, const QString& systemId1, QXmlInputSource*& ret2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resolveEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2897,7 +2897,7 @@ PythonQtShell_QXmlErrorHandler::~PythonQtShell_QXmlErrorHandler() { } bool PythonQtShell_QXmlErrorHandler::error(const QXmlParseException& exception0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("error"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2927,7 +2927,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QXmlErrorHandler::errorString() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2957,7 +2957,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlErrorHandler::fatalError(const QXmlParseException& exception0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fatalError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2987,7 +2987,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlErrorHandler::warning(const QXmlParseException& exception0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("warning"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3047,7 +3047,7 @@ PythonQtShell_QXmlInputSource::~PythonQtShell_QXmlInputSource() { } QString PythonQtShell_QXmlInputSource::data() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3077,7 +3077,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlInputSource::fetchData() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fetchData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3096,7 +3096,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QXmlInputSource::fromRawData(const QByteArray& data0, bool beginning1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("fromRawData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3126,7 +3126,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QChar PythonQtShell_QXmlInputSource::next() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("next"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3156,7 +3156,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlInputSource::reset() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3175,7 +3175,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlInputSource::setData(const QByteArray& dat0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3194,7 +3194,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlInputSource::setData(const QString& dat0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3262,7 +3262,7 @@ PythonQtShell_QXmlLexicalHandler::~PythonQtShell_QXmlLexicalHandler() { } bool PythonQtShell_QXmlLexicalHandler::comment(const QString& ch0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3292,7 +3292,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlLexicalHandler::endCDATA() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endCDATA"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3322,7 +3322,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlLexicalHandler::endDTD() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endDTD"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3352,7 +3352,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlLexicalHandler::endEntity(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3382,7 +3382,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QXmlLexicalHandler::errorString() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3412,7 +3412,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlLexicalHandler::startCDATA() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startCDATA"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3442,7 +3442,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlLexicalHandler::startDTD(const QString& name0, const QString& publicId1, const QString& systemId2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDTD"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3472,7 +3472,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlLexicalHandler::startEntity(const QString& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3552,7 +3552,7 @@ PythonQtShell_QXmlLocator::~PythonQtShell_QXmlLocator() { } int PythonQtShell_QXmlLocator::columnNumber() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("columnNumber"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3582,7 +3582,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } int PythonQtShell_QXmlLocator::lineNumber() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("lineNumber"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3667,7 +3667,7 @@ PythonQtShell_QXmlReader::~PythonQtShell_QXmlReader() { } QXmlDTDHandler* PythonQtShell_QXmlReader::DTDHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("DTDHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3697,7 +3697,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlContentHandler* PythonQtShell_QXmlReader::contentHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contentHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3727,7 +3727,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlDeclHandler* PythonQtShell_QXmlReader::declHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("declHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3757,7 +3757,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlEntityResolver* PythonQtShell_QXmlReader::entityResolver() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("entityResolver"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3787,7 +3787,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlErrorHandler* PythonQtShell_QXmlReader::errorHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3817,7 +3817,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlReader::feature(const QString& name0, bool* ok1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("feature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3847,7 +3847,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlReader::hasFeature(const QString& name0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3877,7 +3877,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlReader::hasProperty(const QString& name0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3907,7 +3907,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlLexicalHandler* PythonQtShell_QXmlReader::lexicalHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("lexicalHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3937,7 +3937,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlReader::parse(const QXmlInputSource& input0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3967,7 +3967,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlReader::parse(const QXmlInputSource* input0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3997,7 +3997,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void* PythonQtShell_QXmlReader::property(const QString& name0, bool* ok1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("property"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4027,7 +4027,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlReader::setContentHandler(QXmlContentHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setContentHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4046,7 +4046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlReader::setDTDHandler(QXmlDTDHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setDTDHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4065,7 +4065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlReader::setDeclHandler(QXmlDeclHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setDeclHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4084,7 +4084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlReader::setEntityResolver(QXmlEntityResolver* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setEntityResolver"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4103,7 +4103,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlReader::setErrorHandler(QXmlErrorHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setErrorHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4122,7 +4122,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlReader::setFeature(const QString& name0, bool value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4141,7 +4141,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlReader::setLexicalHandler(QXmlLexicalHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setLexicalHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4160,7 +4160,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlReader::setProperty(const QString& name0, void* value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4289,7 +4289,7 @@ PythonQtShell_QXmlSimpleReader::~PythonQtShell_QXmlSimpleReader() { } QXmlDTDHandler* PythonQtShell_QXmlSimpleReader::DTDHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("DTDHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4319,7 +4319,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlContentHandler* PythonQtShell_QXmlSimpleReader::contentHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("contentHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4349,7 +4349,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlDeclHandler* PythonQtShell_QXmlSimpleReader::declHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("declHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4379,7 +4379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlEntityResolver* PythonQtShell_QXmlSimpleReader::entityResolver() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("entityResolver"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4409,7 +4409,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlErrorHandler* PythonQtShell_QXmlSimpleReader::errorHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("errorHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4439,7 +4439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlSimpleReader::feature(const QString& name0, bool* ok1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("feature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4469,7 +4469,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlSimpleReader::hasFeature(const QString& name0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4499,7 +4499,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlSimpleReader::hasProperty(const QString& name0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("hasProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4529,7 +4529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlLexicalHandler* PythonQtShell_QXmlSimpleReader::lexicalHandler() const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("lexicalHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4559,7 +4559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource& input0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4589,7 +4589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource* input0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4619,7 +4619,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource* input0, bool incremental1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4649,7 +4649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QXmlSimpleReader::parseContinue() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("parseContinue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4679,7 +4679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void* PythonQtShell_QXmlSimpleReader::property(const QString& name0, bool* ok1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("property"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4709,7 +4709,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSimpleReader::setContentHandler(QXmlContentHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setContentHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4728,7 +4728,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSimpleReader::setDTDHandler(QXmlDTDHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setDTDHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4747,7 +4747,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSimpleReader::setDeclHandler(QXmlDeclHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setDeclHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4766,7 +4766,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSimpleReader::setEntityResolver(QXmlEntityResolver* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setEntityResolver"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4785,7 +4785,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSimpleReader::setErrorHandler(QXmlErrorHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setErrorHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4804,7 +4804,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSimpleReader::setFeature(const QString& name0, bool value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4823,7 +4823,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSimpleReader::setLexicalHandler(QXmlLexicalHandler* handler0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setLexicalHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4842,7 +4842,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSimpleReader::setProperty(const QString& name0, void* value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("setProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_54/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp b/generated_cpp_54/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp index 7a5eab535..d94cff862 100644 --- a/generated_cpp_54/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp +++ b/generated_cpp_54/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp @@ -31,7 +31,7 @@ PythonQtShell_QAbstractMessageHandler::~PythonQtShell_QAbstractMessageHandler() } void PythonQtShell_QAbstractMessageHandler::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -50,7 +50,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractMessageHandler::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -69,7 +69,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractMessageHandler::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -99,7 +99,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractMessageHandler::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -129,7 +129,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractMessageHandler::handleMessage(QtMsgType type0, const QString& description1, const QUrl& identifier2, const QSourceLocation& sourceLocation3) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("handleMessage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -148,7 +148,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractMessageHandler::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -187,7 +187,7 @@ PythonQtShell_QAbstractUriResolver::~PythonQtShell_QAbstractUriResolver() { } void PythonQtShell_QAbstractUriResolver::childEvent(QChildEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -206,7 +206,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractUriResolver::customEvent(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -225,7 +225,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractUriResolver::event(QEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -255,7 +255,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractUriResolver::eventFilter(QObject* arg__1, QEvent* arg__2) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -285,7 +285,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QUrl PythonQtShell_QAbstractUriResolver::resolve(const QUrl& relative0, const QUrl& baseURI1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("resolve"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -315,7 +315,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractUriResolver::timerEvent(QTimerEvent* arg__1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -349,7 +349,7 @@ PythonQtShell_QAbstractXmlNodeModel::~PythonQtShell_QAbstractXmlNodeModel() { } QVector PythonQtShell_QAbstractXmlNodeModel::attributes(const QXmlNodeModelIndex& element0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("attributes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -379,7 +379,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QUrl PythonQtShell_QAbstractXmlNodeModel::baseUri(const QXmlNodeModelIndex& ni0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("baseUri"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -409,7 +409,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex::DocumentOrder PythonQtShell_QAbstractXmlNodeModel::compareOrder(const QXmlNodeModelIndex& ni10, const QXmlNodeModelIndex& ni21) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("compareOrder"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -439,7 +439,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QUrl PythonQtShell_QAbstractXmlNodeModel::documentUri(const QXmlNodeModelIndex& ni0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("documentUri"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -469,7 +469,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::elementById(const QXmlName& NCName0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("elementById"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -499,7 +499,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } bool PythonQtShell_QAbstractXmlNodeModel::isDeepEqual(const QXmlNodeModelIndex& ni10, const QXmlNodeModelIndex& ni21) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("isDeepEqual"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -529,7 +529,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex::NodeKind PythonQtShell_QAbstractXmlNodeModel::kind(const QXmlNodeModelIndex& ni0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("kind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -559,7 +559,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlName PythonQtShell_QAbstractXmlNodeModel::name(const QXmlNodeModelIndex& ni0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("name"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -589,7 +589,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVector PythonQtShell_QAbstractXmlNodeModel::namespaceBindings(const QXmlNodeModelIndex& n0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("namespaceBindings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -619,7 +619,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } short PythonQtShell_QAbstractXmlNodeModel::namespaceForPrefix(const QXmlNodeModelIndex& ni0, const short prefix1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("namespaceForPrefix"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -649,7 +649,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis0, const QXmlNodeModelIndex& origin1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextFromSimpleAxis"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -679,7 +679,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVector PythonQtShell_QAbstractXmlNodeModel::nodesByIdref(const QXmlName& NCName0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nodesByIdref"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -709,7 +709,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::root(const QXmlNodeModelIndex& n0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("root"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -739,7 +739,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QAbstractXmlNodeModel::stringValue(const QXmlNodeModelIndex& n0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stringValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -769,7 +769,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QAbstractXmlNodeModel::typedValue(const QXmlNodeModelIndex& n0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("typedValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -894,7 +894,7 @@ PythonQtShell_QAbstractXmlReceiver::~PythonQtShell_QAbstractXmlReceiver() { } void PythonQtShell_QAbstractXmlReceiver::atomicValue(const QVariant& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atomicValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -913,7 +913,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::attribute(const QXmlName& name0, const QStringRef& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("attribute"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -932,7 +932,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::characters(const QStringRef& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -951,7 +951,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::comment(const QString& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -970,7 +970,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::endDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -989,7 +989,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::endElement() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1008,7 +1008,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::endOfSequence() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1027,7 +1027,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::namespaceBinding(const QXmlName& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("namespaceBinding"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1046,7 +1046,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::processingInstruction(const QXmlName& target0, const QString& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1065,7 +1065,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::startDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1084,7 +1084,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::startElement(const QXmlName& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1103,7 +1103,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::startOfSequence() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1122,7 +1122,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QAbstractXmlReceiver::whitespaceOnly(const QStringRef& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("whitespaceOnly"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1220,7 +1220,7 @@ PythonQtShell_QSimpleXmlNodeModel::~PythonQtShell_QSimpleXmlNodeModel() { } QVector PythonQtShell_QSimpleXmlNodeModel::attributes(const QXmlNodeModelIndex& element0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("attributes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1250,7 +1250,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QUrl PythonQtShell_QSimpleXmlNodeModel::baseUri(const QXmlNodeModelIndex& node0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("baseUri"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1280,7 +1280,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex::DocumentOrder PythonQtShell_QSimpleXmlNodeModel::compareOrder(const QXmlNodeModelIndex& ni10, const QXmlNodeModelIndex& ni21) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("compareOrder"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1310,7 +1310,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QUrl PythonQtShell_QSimpleXmlNodeModel::documentUri(const QXmlNodeModelIndex& ni0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("documentUri"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1340,7 +1340,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::elementById(const QXmlName& id0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("elementById"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1370,7 +1370,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex::NodeKind PythonQtShell_QSimpleXmlNodeModel::kind(const QXmlNodeModelIndex& ni0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("kind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1400,7 +1400,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlName PythonQtShell_QSimpleXmlNodeModel::name(const QXmlNodeModelIndex& ni0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("name"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1430,7 +1430,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVector PythonQtShell_QSimpleXmlNodeModel::namespaceBindings(const QXmlNodeModelIndex& arg__1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("namespaceBindings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1460,7 +1460,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis0, const QXmlNodeModelIndex& origin1) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nextFromSimpleAxis"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1490,7 +1490,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVector PythonQtShell_QSimpleXmlNodeModel::nodesByIdref(const QXmlName& idref0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("nodesByIdref"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1520,7 +1520,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::root(const QXmlNodeModelIndex& n0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("root"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1550,7 +1550,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QString PythonQtShell_QSimpleXmlNodeModel::stringValue(const QXmlNodeModelIndex& node0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("stringValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1580,7 +1580,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } QVariant PythonQtShell_QSimpleXmlNodeModel::typedValue(const QXmlNodeModelIndex& n0) const { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("typedValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1716,7 +1716,7 @@ PythonQtShell_QXmlFormatter::~PythonQtShell_QXmlFormatter() { } void PythonQtShell_QXmlFormatter::atomicValue(const QVariant& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atomicValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1735,7 +1735,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::attribute(const QXmlName& name0, const QStringRef& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("attribute"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1754,7 +1754,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::characters(const QStringRef& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1773,7 +1773,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::comment(const QString& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1792,7 +1792,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::endDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1811,7 +1811,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::endElement() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1830,7 +1830,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::endOfSequence() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1849,7 +1849,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::namespaceBinding(const QXmlName& nb0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("namespaceBinding"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1868,7 +1868,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::processingInstruction(const QXmlName& name0, const QString& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1887,7 +1887,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::startDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1906,7 +1906,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::startElement(const QXmlName& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1925,7 +1925,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::startOfSequence() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1944,7 +1944,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlFormatter::whitespaceOnly(const QStringRef& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("whitespaceOnly"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2514,7 +2514,7 @@ PythonQtShell_QXmlSerializer::~PythonQtShell_QXmlSerializer() { } void PythonQtShell_QXmlSerializer::atomicValue(const QVariant& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("atomicValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2533,7 +2533,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::attribute(const QXmlName& name0, const QStringRef& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("attribute"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2552,7 +2552,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::characters(const QStringRef& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2571,7 +2571,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::comment(const QString& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2590,7 +2590,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::endDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2609,7 +2609,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::endElement() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2628,7 +2628,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::endOfSequence() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("endOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2647,7 +2647,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::namespaceBinding(const QXmlName& nb0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("namespaceBinding"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2666,7 +2666,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::processingInstruction(const QXmlName& name0, const QString& value1) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2685,7 +2685,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::startDocument() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2704,7 +2704,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::startElement(const QXmlName& name0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2723,7 +2723,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::startOfSequence() { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("startOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2742,7 +2742,7 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { } void PythonQtShell_QXmlSerializer::whitespaceOnly(const QStringRef& value0) { -if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) { +if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { static PyObject* name = PyString_FromString("whitespaceOnly"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core0.cpp b/generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core0.cpp index 0bf458ddc..860af5cb6 100644 --- a/generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core0.cpp +++ b/generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core0.cpp @@ -49,7 +49,7 @@ void PythonQtShell_QAbstractAnimation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -71,7 +71,7 @@ void PythonQtShell_QAbstractAnimation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -93,7 +93,7 @@ int PythonQtShell_QAbstractAnimation::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -126,7 +126,7 @@ bool PythonQtShell_QAbstractAnimation::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -159,7 +159,7 @@ bool PythonQtShell_QAbstractAnimation::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -192,7 +192,7 @@ void PythonQtShell_QAbstractAnimation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -214,7 +214,7 @@ void PythonQtShell_QAbstractAnimation::updateCurrentTime(int currentTime0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -236,7 +236,7 @@ void PythonQtShell_QAbstractAnimation::updateDirection(QAbstractAnimation::Direc { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -258,7 +258,7 @@ void PythonQtShell_QAbstractAnimation::updateState(QAbstractAnimation::State ne { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -373,7 +373,7 @@ QModelIndex PythonQtShell_QAbstractItemModel::buddy(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -406,7 +406,7 @@ bool PythonQtShell_QAbstractItemModel::canDropMimeData(const QMimeData* data0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -439,7 +439,7 @@ bool PythonQtShell_QAbstractItemModel::canFetchMore(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -472,7 +472,7 @@ void PythonQtShell_QAbstractItemModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -494,7 +494,7 @@ int PythonQtShell_QAbstractItemModel::columnCount(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -527,7 +527,7 @@ void PythonQtShell_QAbstractItemModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -549,7 +549,7 @@ QVariant PythonQtShell_QAbstractItemModel::data(const QModelIndex& index0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -582,7 +582,7 @@ bool PythonQtShell_QAbstractItemModel::dropMimeData(const QMimeData* data0, Qt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -615,7 +615,7 @@ bool PythonQtShell_QAbstractItemModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -648,7 +648,7 @@ bool PythonQtShell_QAbstractItemModel::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -681,7 +681,7 @@ void PythonQtShell_QAbstractItemModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -703,7 +703,7 @@ Qt::ItemFlags PythonQtShell_QAbstractItemModel::flags(const QModelIndex& index { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -736,7 +736,7 @@ bool PythonQtShell_QAbstractItemModel::hasChildren(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -769,7 +769,7 @@ QVariant PythonQtShell_QAbstractItemModel::headerData(int section0, Qt::Orient { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -802,7 +802,7 @@ QModelIndex PythonQtShell_QAbstractItemModel::index(int row0, int column1, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -835,7 +835,7 @@ bool PythonQtShell_QAbstractItemModel::insertColumns(int column0, int count1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -868,7 +868,7 @@ bool PythonQtShell_QAbstractItemModel::insertRows(int row0, int count1, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -901,7 +901,7 @@ QMap PythonQtShell_QAbstractItemModel::itemData(const QModelIn { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -934,7 +934,7 @@ QList PythonQtShell_QAbstractItemModel::match(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -967,7 +967,7 @@ QMimeData* PythonQtShell_QAbstractItemModel::mimeData(const QList { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1000,7 +1000,7 @@ QStringList PythonQtShell_QAbstractItemModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1033,7 +1033,7 @@ bool PythonQtShell_QAbstractItemModel::moveColumns(const QModelIndex& sourcePa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1066,7 +1066,7 @@ bool PythonQtShell_QAbstractItemModel::moveRows(const QModelIndex& sourceParen { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1099,7 +1099,7 @@ QModelIndex PythonQtShell_QAbstractItemModel::parent(const QModelIndex& child0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1132,7 +1132,7 @@ bool PythonQtShell_QAbstractItemModel::removeColumns(int column0, int count1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1165,7 +1165,7 @@ bool PythonQtShell_QAbstractItemModel::removeRows(int row0, int count1, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1198,7 +1198,7 @@ void PythonQtShell_QAbstractItemModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1220,7 +1220,7 @@ QHash PythonQtShell_QAbstractItemModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1253,7 +1253,7 @@ int PythonQtShell_QAbstractItemModel::rowCount(const QModelIndex& parent0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1286,7 +1286,7 @@ bool PythonQtShell_QAbstractItemModel::setData(const QModelIndex& index0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1319,7 +1319,7 @@ bool PythonQtShell_QAbstractItemModel::setHeaderData(int section0, Qt::Orienta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1352,7 +1352,7 @@ bool PythonQtShell_QAbstractItemModel::setItemData(const QModelIndex& index0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1385,7 +1385,7 @@ QModelIndex PythonQtShell_QAbstractItemModel::sibling(int row0, int column1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1418,7 +1418,7 @@ void PythonQtShell_QAbstractItemModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1440,7 +1440,7 @@ QSize PythonQtShell_QAbstractItemModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1473,7 +1473,7 @@ bool PythonQtShell_QAbstractItemModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1506,7 +1506,7 @@ Qt::DropActions PythonQtShell_QAbstractItemModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1539,7 +1539,7 @@ Qt::DropActions PythonQtShell_QAbstractItemModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1572,7 +1572,7 @@ void PythonQtShell_QAbstractItemModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1917,7 +1917,7 @@ QModelIndex PythonQtShell_QAbstractListModel::buddy(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1950,7 +1950,7 @@ bool PythonQtShell_QAbstractListModel::canDropMimeData(const QMimeData* data0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1983,7 +1983,7 @@ bool PythonQtShell_QAbstractListModel::canFetchMore(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2016,7 +2016,7 @@ void PythonQtShell_QAbstractListModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2038,7 +2038,7 @@ void PythonQtShell_QAbstractListModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2060,7 +2060,7 @@ QVariant PythonQtShell_QAbstractListModel::data(const QModelIndex& index0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2093,7 +2093,7 @@ bool PythonQtShell_QAbstractListModel::dropMimeData(const QMimeData* data0, Qt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2126,7 +2126,7 @@ bool PythonQtShell_QAbstractListModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2159,7 +2159,7 @@ bool PythonQtShell_QAbstractListModel::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2192,7 +2192,7 @@ void PythonQtShell_QAbstractListModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2214,7 +2214,7 @@ Qt::ItemFlags PythonQtShell_QAbstractListModel::flags(const QModelIndex& index { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2247,7 +2247,7 @@ QVariant PythonQtShell_QAbstractListModel::headerData(int section0, Qt::Orient { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2280,7 +2280,7 @@ QModelIndex PythonQtShell_QAbstractListModel::index(int row0, int column1, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2313,7 +2313,7 @@ bool PythonQtShell_QAbstractListModel::insertColumns(int column0, int count1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2346,7 +2346,7 @@ bool PythonQtShell_QAbstractListModel::insertRows(int row0, int count1, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2379,7 +2379,7 @@ QMap PythonQtShell_QAbstractListModel::itemData(const QModelIn { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2412,7 +2412,7 @@ QList PythonQtShell_QAbstractListModel::match(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2445,7 +2445,7 @@ QMimeData* PythonQtShell_QAbstractListModel::mimeData(const QList { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2478,7 +2478,7 @@ QStringList PythonQtShell_QAbstractListModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2511,7 +2511,7 @@ bool PythonQtShell_QAbstractListModel::moveColumns(const QModelIndex& sourcePa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2544,7 +2544,7 @@ bool PythonQtShell_QAbstractListModel::moveRows(const QModelIndex& sourceParen { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2577,7 +2577,7 @@ bool PythonQtShell_QAbstractListModel::removeColumns(int column0, int count1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2610,7 +2610,7 @@ bool PythonQtShell_QAbstractListModel::removeRows(int row0, int count1, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2643,7 +2643,7 @@ void PythonQtShell_QAbstractListModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2665,7 +2665,7 @@ QHash PythonQtShell_QAbstractListModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2698,7 +2698,7 @@ int PythonQtShell_QAbstractListModel::rowCount(const QModelIndex& parent0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2731,7 +2731,7 @@ bool PythonQtShell_QAbstractListModel::setData(const QModelIndex& index0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2764,7 +2764,7 @@ bool PythonQtShell_QAbstractListModel::setHeaderData(int section0, Qt::Orienta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2797,7 +2797,7 @@ bool PythonQtShell_QAbstractListModel::setItemData(const QModelIndex& index0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2830,7 +2830,7 @@ QModelIndex PythonQtShell_QAbstractListModel::sibling(int row0, int column1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2863,7 +2863,7 @@ void PythonQtShell_QAbstractListModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2885,7 +2885,7 @@ QSize PythonQtShell_QAbstractListModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2918,7 +2918,7 @@ bool PythonQtShell_QAbstractListModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2951,7 +2951,7 @@ Qt::DropActions PythonQtShell_QAbstractListModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2984,7 +2984,7 @@ Qt::DropActions PythonQtShell_QAbstractListModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3017,7 +3017,7 @@ void PythonQtShell_QAbstractListModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3062,7 +3062,7 @@ void PythonQtShell_QAbstractState::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3084,7 +3084,7 @@ void PythonQtShell_QAbstractState::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3106,7 +3106,7 @@ bool PythonQtShell_QAbstractState::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3139,7 +3139,7 @@ bool PythonQtShell_QAbstractState::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3172,7 +3172,7 @@ void PythonQtShell_QAbstractState::onEntry(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3194,7 +3194,7 @@ void PythonQtShell_QAbstractState::onExit(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3216,7 +3216,7 @@ void PythonQtShell_QAbstractState::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3286,7 +3286,7 @@ void PythonQtShell_QAbstractTransition::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3308,7 +3308,7 @@ void PythonQtShell_QAbstractTransition::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3330,7 +3330,7 @@ bool PythonQtShell_QAbstractTransition::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3363,7 +3363,7 @@ bool PythonQtShell_QAbstractTransition::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3396,7 +3396,7 @@ bool PythonQtShell_QAbstractTransition::eventTest(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3429,7 +3429,7 @@ void PythonQtShell_QAbstractTransition::onTransition(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3451,7 +3451,7 @@ void PythonQtShell_QAbstractTransition::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3561,7 +3561,7 @@ void PythonQtShell_QAnimationGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3583,7 +3583,7 @@ void PythonQtShell_QAnimationGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3605,7 +3605,7 @@ int PythonQtShell_QAnimationGroup::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3638,7 +3638,7 @@ bool PythonQtShell_QAnimationGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3671,7 +3671,7 @@ bool PythonQtShell_QAnimationGroup::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3704,7 +3704,7 @@ void PythonQtShell_QAnimationGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3726,7 +3726,7 @@ void PythonQtShell_QAnimationGroup::updateCurrentTime(int currentTime0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3748,7 +3748,7 @@ void PythonQtShell_QAnimationGroup::updateDirection(QAbstractAnimation::Directio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3770,7 +3770,7 @@ void PythonQtShell_QAnimationGroup::updateState(QAbstractAnimation::State newSt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3927,7 +3927,7 @@ bool PythonQtShell_QBuffer::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3960,7 +3960,7 @@ qint64 PythonQtShell_QBuffer::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3993,7 +3993,7 @@ qint64 PythonQtShell_QBuffer::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4026,7 +4026,7 @@ bool PythonQtShell_QBuffer::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4059,7 +4059,7 @@ void PythonQtShell_QBuffer::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4081,7 +4081,7 @@ void PythonQtShell_QBuffer::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4103,7 +4103,7 @@ void PythonQtShell_QBuffer::connectNotify(const QMetaMethod& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectNotify"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4125,7 +4125,7 @@ void PythonQtShell_QBuffer::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4147,7 +4147,7 @@ void PythonQtShell_QBuffer::disconnectNotify(const QMetaMethod& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("disconnectNotify"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4169,7 +4169,7 @@ bool PythonQtShell_QBuffer::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4202,7 +4202,7 @@ bool PythonQtShell_QBuffer::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4235,7 +4235,7 @@ bool PythonQtShell_QBuffer::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4268,7 +4268,7 @@ bool PythonQtShell_QBuffer::open(QIODevice::OpenMode openMode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4301,7 +4301,7 @@ qint64 PythonQtShell_QBuffer::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4334,7 +4334,7 @@ qint64 PythonQtShell_QBuffer::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4367,7 +4367,7 @@ qint64 PythonQtShell_QBuffer::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4400,7 +4400,7 @@ bool PythonQtShell_QBuffer::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4433,7 +4433,7 @@ bool PythonQtShell_QBuffer::seek(qint64 off0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4466,7 +4466,7 @@ qint64 PythonQtShell_QBuffer::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4499,7 +4499,7 @@ void PythonQtShell_QBuffer::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4521,7 +4521,7 @@ bool PythonQtShell_QBuffer::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4554,7 +4554,7 @@ bool PythonQtShell_QBuffer::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4587,7 +4587,7 @@ qint64 PythonQtShell_QBuffer::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6060,7 +6060,7 @@ void PythonQtShell_QEventLoop::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6082,7 +6082,7 @@ void PythonQtShell_QEventLoop::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6104,7 +6104,7 @@ bool PythonQtShell_QEventLoop::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6137,7 +6137,7 @@ bool PythonQtShell_QEventLoop::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6170,7 +6170,7 @@ void PythonQtShell_QEventLoop::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6245,7 +6245,7 @@ void PythonQtShell_QEventTransition::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6267,7 +6267,7 @@ void PythonQtShell_QEventTransition::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6289,7 +6289,7 @@ bool PythonQtShell_QEventTransition::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6322,7 +6322,7 @@ bool PythonQtShell_QEventTransition::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6355,7 +6355,7 @@ bool PythonQtShell_QEventTransition::eventTest(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6388,7 +6388,7 @@ void PythonQtShell_QEventTransition::onTransition(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6410,7 +6410,7 @@ void PythonQtShell_QEventTransition::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6479,7 +6479,7 @@ QStringList PythonQtShell_QFactoryInterface::keys() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keys"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6527,7 +6527,7 @@ bool PythonQtShell_QFile::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6560,7 +6560,7 @@ qint64 PythonQtShell_QFile::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6593,7 +6593,7 @@ qint64 PythonQtShell_QFile::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6626,7 +6626,7 @@ bool PythonQtShell_QFile::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6659,7 +6659,7 @@ void PythonQtShell_QFile::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6681,7 +6681,7 @@ void PythonQtShell_QFile::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6703,7 +6703,7 @@ void PythonQtShell_QFile::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6725,7 +6725,7 @@ bool PythonQtShell_QFile::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6758,7 +6758,7 @@ bool PythonQtShell_QFile::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6791,7 +6791,7 @@ QString PythonQtShell_QFile::fileName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fileName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6824,7 +6824,7 @@ bool PythonQtShell_QFile::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6857,7 +6857,7 @@ bool PythonQtShell_QFile::open(QIODevice::OpenMode flags0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6890,7 +6890,7 @@ QFileDevice::Permissions PythonQtShell_QFile::permissions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("permissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6923,7 +6923,7 @@ qint64 PythonQtShell_QFile::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6956,7 +6956,7 @@ qint64 PythonQtShell_QFile::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6989,7 +6989,7 @@ qint64 PythonQtShell_QFile::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7022,7 +7022,7 @@ bool PythonQtShell_QFile::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7055,7 +7055,7 @@ bool PythonQtShell_QFile::resize(qint64 sz0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7088,7 +7088,7 @@ bool PythonQtShell_QFile::seek(qint64 offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7121,7 +7121,7 @@ bool PythonQtShell_QFile::setPermissions(QFileDevice::Permissions permissionSp { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7154,7 +7154,7 @@ qint64 PythonQtShell_QFile::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7187,7 +7187,7 @@ void PythonQtShell_QFile::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7209,7 +7209,7 @@ bool PythonQtShell_QFile::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7242,7 +7242,7 @@ bool PythonQtShell_QFile::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7275,7 +7275,7 @@ qint64 PythonQtShell_QFile::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core1.cpp b/generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core1.cpp index 3a91eb829..43dc45e93 100644 --- a/generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core1.cpp +++ b/generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core1.cpp @@ -56,7 +56,7 @@ bool PythonQtShell_QFileDevice::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -89,7 +89,7 @@ qint64 PythonQtShell_QFileDevice::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -122,7 +122,7 @@ qint64 PythonQtShell_QFileDevice::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -155,7 +155,7 @@ bool PythonQtShell_QFileDevice::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -188,7 +188,7 @@ void PythonQtShell_QFileDevice::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -210,7 +210,7 @@ void PythonQtShell_QFileDevice::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -232,7 +232,7 @@ void PythonQtShell_QFileDevice::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -254,7 +254,7 @@ bool PythonQtShell_QFileDevice::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -287,7 +287,7 @@ bool PythonQtShell_QFileDevice::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -320,7 +320,7 @@ QString PythonQtShell_QFileDevice::fileName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fileName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -353,7 +353,7 @@ bool PythonQtShell_QFileDevice::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -386,7 +386,7 @@ bool PythonQtShell_QFileDevice::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -419,7 +419,7 @@ QFileDevice::Permissions PythonQtShell_QFileDevice::permissions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("permissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -452,7 +452,7 @@ qint64 PythonQtShell_QFileDevice::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -485,7 +485,7 @@ qint64 PythonQtShell_QFileDevice::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -518,7 +518,7 @@ qint64 PythonQtShell_QFileDevice::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -551,7 +551,7 @@ bool PythonQtShell_QFileDevice::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -584,7 +584,7 @@ bool PythonQtShell_QFileDevice::resize(qint64 sz0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -617,7 +617,7 @@ bool PythonQtShell_QFileDevice::seek(qint64 offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -650,7 +650,7 @@ bool PythonQtShell_QFileDevice::setPermissions(QFileDevice::Permissions permis { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -683,7 +683,7 @@ qint64 PythonQtShell_QFileDevice::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -716,7 +716,7 @@ void PythonQtShell_QFileDevice::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -738,7 +738,7 @@ bool PythonQtShell_QFileDevice::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -771,7 +771,7 @@ bool PythonQtShell_QFileDevice::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -804,7 +804,7 @@ qint64 PythonQtShell_QFileDevice::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1171,7 +1171,7 @@ void PythonQtShell_QFileSelector::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1193,7 +1193,7 @@ void PythonQtShell_QFileSelector::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1215,7 +1215,7 @@ bool PythonQtShell_QFileSelector::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1248,7 +1248,7 @@ bool PythonQtShell_QFileSelector::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1281,7 +1281,7 @@ void PythonQtShell_QFileSelector::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1351,7 +1351,7 @@ void PythonQtShell_QFileSystemWatcher::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1373,7 +1373,7 @@ void PythonQtShell_QFileSystemWatcher::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1395,7 +1395,7 @@ bool PythonQtShell_QFileSystemWatcher::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1428,7 +1428,7 @@ bool PythonQtShell_QFileSystemWatcher::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1461,7 +1461,7 @@ void PythonQtShell_QFileSystemWatcher::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1540,7 +1540,7 @@ void PythonQtShell_QFinalState::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1562,7 +1562,7 @@ void PythonQtShell_QFinalState::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1584,7 +1584,7 @@ bool PythonQtShell_QFinalState::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1617,7 +1617,7 @@ bool PythonQtShell_QFinalState::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1650,7 +1650,7 @@ void PythonQtShell_QFinalState::onEntry(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1672,7 +1672,7 @@ void PythonQtShell_QFinalState::onExit(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1694,7 +1694,7 @@ void PythonQtShell_QFinalState::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1739,7 +1739,7 @@ void PythonQtShell_QHistoryState::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1761,7 +1761,7 @@ void PythonQtShell_QHistoryState::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1783,7 +1783,7 @@ bool PythonQtShell_QHistoryState::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1816,7 +1816,7 @@ bool PythonQtShell_QHistoryState::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1849,7 +1849,7 @@ void PythonQtShell_QHistoryState::onEntry(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1871,7 +1871,7 @@ void PythonQtShell_QHistoryState::onExit(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1893,7 +1893,7 @@ void PythonQtShell_QHistoryState::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1972,7 +1972,7 @@ bool PythonQtShell_QIODevice::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2005,7 +2005,7 @@ qint64 PythonQtShell_QIODevice::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2038,7 +2038,7 @@ qint64 PythonQtShell_QIODevice::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2071,7 +2071,7 @@ bool PythonQtShell_QIODevice::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2104,7 +2104,7 @@ void PythonQtShell_QIODevice::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2126,7 +2126,7 @@ void PythonQtShell_QIODevice::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2148,7 +2148,7 @@ void PythonQtShell_QIODevice::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2170,7 +2170,7 @@ bool PythonQtShell_QIODevice::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2203,7 +2203,7 @@ bool PythonQtShell_QIODevice::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2236,7 +2236,7 @@ bool PythonQtShell_QIODevice::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2269,7 +2269,7 @@ bool PythonQtShell_QIODevice::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2302,7 +2302,7 @@ qint64 PythonQtShell_QIODevice::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2335,7 +2335,7 @@ qint64 PythonQtShell_QIODevice::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2368,7 +2368,7 @@ qint64 PythonQtShell_QIODevice::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2401,7 +2401,7 @@ bool PythonQtShell_QIODevice::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2434,7 +2434,7 @@ bool PythonQtShell_QIODevice::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2467,7 +2467,7 @@ qint64 PythonQtShell_QIODevice::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2500,7 +2500,7 @@ void PythonQtShell_QIODevice::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2522,7 +2522,7 @@ bool PythonQtShell_QIODevice::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2555,7 +2555,7 @@ bool PythonQtShell_QIODevice::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2588,7 +2588,7 @@ qint64 PythonQtShell_QIODevice::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2818,7 +2818,7 @@ QModelIndex PythonQtShell_QIdentityProxyModel::buddy(const QModelIndex& index0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2851,7 +2851,7 @@ bool PythonQtShell_QIdentityProxyModel::canDropMimeData(const QMimeData* data0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2884,7 +2884,7 @@ bool PythonQtShell_QIdentityProxyModel::canFetchMore(const QModelIndex& parent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2917,7 +2917,7 @@ void PythonQtShell_QIdentityProxyModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2939,7 +2939,7 @@ int PythonQtShell_QIdentityProxyModel::columnCount(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2972,7 +2972,7 @@ void PythonQtShell_QIdentityProxyModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2994,7 +2994,7 @@ QVariant PythonQtShell_QIdentityProxyModel::data(const QModelIndex& proxyIndex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3027,7 +3027,7 @@ bool PythonQtShell_QIdentityProxyModel::dropMimeData(const QMimeData* data0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3060,7 +3060,7 @@ bool PythonQtShell_QIdentityProxyModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3093,7 +3093,7 @@ bool PythonQtShell_QIdentityProxyModel::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3126,7 +3126,7 @@ void PythonQtShell_QIdentityProxyModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3148,7 +3148,7 @@ Qt::ItemFlags PythonQtShell_QIdentityProxyModel::flags(const QModelIndex& inde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3181,7 +3181,7 @@ bool PythonQtShell_QIdentityProxyModel::hasChildren(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3214,7 +3214,7 @@ QVariant PythonQtShell_QIdentityProxyModel::headerData(int section0, Qt::Orien { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3247,7 +3247,7 @@ QModelIndex PythonQtShell_QIdentityProxyModel::index(int row0, int column1, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3280,7 +3280,7 @@ bool PythonQtShell_QIdentityProxyModel::insertColumns(int column0, int count1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3313,7 +3313,7 @@ bool PythonQtShell_QIdentityProxyModel::insertRows(int row0, int count1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3346,7 +3346,7 @@ QMap PythonQtShell_QIdentityProxyModel::itemData(const QModelI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3379,7 +3379,7 @@ QModelIndex PythonQtShell_QIdentityProxyModel::mapFromSource(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3412,7 +3412,7 @@ QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionFromSource(const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapSelectionFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3445,7 +3445,7 @@ QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionToSource(const QI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapSelectionToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3478,7 +3478,7 @@ QModelIndex PythonQtShell_QIdentityProxyModel::mapToSource(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3511,7 +3511,7 @@ QList PythonQtShell_QIdentityProxyModel::match(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3544,7 +3544,7 @@ QMimeData* PythonQtShell_QIdentityProxyModel::mimeData(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3577,7 +3577,7 @@ QStringList PythonQtShell_QIdentityProxyModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3610,7 +3610,7 @@ bool PythonQtShell_QIdentityProxyModel::moveColumns(const QModelIndex& sourceP { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3643,7 +3643,7 @@ bool PythonQtShell_QIdentityProxyModel::moveRows(const QModelIndex& sourcePare { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3676,7 +3676,7 @@ QModelIndex PythonQtShell_QIdentityProxyModel::parent(const QModelIndex& child { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3709,7 +3709,7 @@ bool PythonQtShell_QIdentityProxyModel::removeColumns(int column0, int count1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3742,7 +3742,7 @@ bool PythonQtShell_QIdentityProxyModel::removeRows(int row0, int count1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3775,7 +3775,7 @@ void PythonQtShell_QIdentityProxyModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3797,7 +3797,7 @@ QHash PythonQtShell_QIdentityProxyModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3830,7 +3830,7 @@ int PythonQtShell_QIdentityProxyModel::rowCount(const QModelIndex& parent0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3863,7 +3863,7 @@ bool PythonQtShell_QIdentityProxyModel::setData(const QModelIndex& index0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3896,7 +3896,7 @@ bool PythonQtShell_QIdentityProxyModel::setHeaderData(int section0, Qt::Orient { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3929,7 +3929,7 @@ bool PythonQtShell_QIdentityProxyModel::setItemData(const QModelIndex& index0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3962,7 +3962,7 @@ void PythonQtShell_QIdentityProxyModel::setSourceModel(QAbstractItemModel* sour { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSourceModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3984,7 +3984,7 @@ QModelIndex PythonQtShell_QIdentityProxyModel::sibling(int row0, int column1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4017,7 +4017,7 @@ void PythonQtShell_QIdentityProxyModel::sort(int column0, Qt::SortOrder order1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4039,7 +4039,7 @@ QSize PythonQtShell_QIdentityProxyModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4072,7 +4072,7 @@ bool PythonQtShell_QIdentityProxyModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4105,7 +4105,7 @@ Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4138,7 +4138,7 @@ Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4171,7 +4171,7 @@ void PythonQtShell_QIdentityProxyModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4786,7 +4786,7 @@ void PythonQtShell_QLibrary::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4808,7 +4808,7 @@ void PythonQtShell_QLibrary::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4830,7 +4830,7 @@ bool PythonQtShell_QLibrary::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4863,7 +4863,7 @@ bool PythonQtShell_QLibrary::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4896,7 +4896,7 @@ void PythonQtShell_QLibrary::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5821,7 +5821,7 @@ void PythonQtShell_QMimeData::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5843,7 +5843,7 @@ void PythonQtShell_QMimeData::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5865,7 +5865,7 @@ bool PythonQtShell_QMimeData::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5898,7 +5898,7 @@ bool PythonQtShell_QMimeData::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5931,7 +5931,7 @@ QStringList PythonQtShell_QMimeData::formats() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("formats"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5964,7 +5964,7 @@ bool PythonQtShell_QMimeData::hasFormat(const QString& mimetype0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5997,7 +5997,7 @@ QVariant PythonQtShell_QMimeData::retrieveData(const QString& mimetype0, QVari { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("retrieveData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6030,7 +6030,7 @@ void PythonQtShell_QMimeData::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp b/generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp index ed5ce5227..12d43c277 100644 --- a/generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp +++ b/generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp @@ -51,7 +51,7 @@ void PythonQtShell_QObject::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -73,7 +73,7 @@ void PythonQtShell_QObject::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -95,7 +95,7 @@ bool PythonQtShell_QObject::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -128,7 +128,7 @@ bool PythonQtShell_QObject::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -161,7 +161,7 @@ void PythonQtShell_QObject::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -326,7 +326,7 @@ void PythonQtShell_QParallelAnimationGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -348,7 +348,7 @@ void PythonQtShell_QParallelAnimationGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -370,7 +370,7 @@ int PythonQtShell_QParallelAnimationGroup::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -403,7 +403,7 @@ bool PythonQtShell_QParallelAnimationGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -436,7 +436,7 @@ bool PythonQtShell_QParallelAnimationGroup::eventFilter(QObject* watched0, QEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -469,7 +469,7 @@ void PythonQtShell_QParallelAnimationGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -491,7 +491,7 @@ void PythonQtShell_QParallelAnimationGroup::updateCurrentTime(int currentTime0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -513,7 +513,7 @@ void PythonQtShell_QParallelAnimationGroup::updateDirection(QAbstractAnimation:: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -535,7 +535,7 @@ void PythonQtShell_QParallelAnimationGroup::updateState(QAbstractAnimation::Stat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -580,7 +580,7 @@ void PythonQtShell_QPauseAnimation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -602,7 +602,7 @@ void PythonQtShell_QPauseAnimation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -624,7 +624,7 @@ int PythonQtShell_QPauseAnimation::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -657,7 +657,7 @@ bool PythonQtShell_QPauseAnimation::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -690,7 +690,7 @@ bool PythonQtShell_QPauseAnimation::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -723,7 +723,7 @@ void PythonQtShell_QPauseAnimation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -745,7 +745,7 @@ void PythonQtShell_QPauseAnimation::updateCurrentTime(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -767,7 +767,7 @@ void PythonQtShell_QPauseAnimation::updateDirection(QAbstractAnimation::Directio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -789,7 +789,7 @@ void PythonQtShell_QPauseAnimation::updateState(QAbstractAnimation::State newSt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -949,7 +949,7 @@ bool PythonQtShell_QProcess::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -982,7 +982,7 @@ qint64 PythonQtShell_QProcess::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1015,7 +1015,7 @@ qint64 PythonQtShell_QProcess::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1048,7 +1048,7 @@ bool PythonQtShell_QProcess::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1081,7 +1081,7 @@ void PythonQtShell_QProcess::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1103,7 +1103,7 @@ void PythonQtShell_QProcess::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1125,7 +1125,7 @@ void PythonQtShell_QProcess::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1147,7 +1147,7 @@ bool PythonQtShell_QProcess::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1180,7 +1180,7 @@ bool PythonQtShell_QProcess::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1213,7 +1213,7 @@ bool PythonQtShell_QProcess::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1246,7 +1246,7 @@ bool PythonQtShell_QProcess::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1279,7 +1279,7 @@ qint64 PythonQtShell_QProcess::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1312,7 +1312,7 @@ qint64 PythonQtShell_QProcess::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1345,7 +1345,7 @@ qint64 PythonQtShell_QProcess::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1378,7 +1378,7 @@ bool PythonQtShell_QProcess::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1411,7 +1411,7 @@ bool PythonQtShell_QProcess::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1444,7 +1444,7 @@ void PythonQtShell_QProcess::setupChildProcess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupChildProcess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1466,7 +1466,7 @@ qint64 PythonQtShell_QProcess::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1499,7 +1499,7 @@ void PythonQtShell_QProcess::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1521,7 +1521,7 @@ bool PythonQtShell_QProcess::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1554,7 +1554,7 @@ bool PythonQtShell_QProcess::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1587,7 +1587,7 @@ qint64 PythonQtShell_QProcess::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1938,7 +1938,7 @@ void PythonQtShell_QPropertyAnimation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1960,7 +1960,7 @@ void PythonQtShell_QPropertyAnimation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1982,7 +1982,7 @@ int PythonQtShell_QPropertyAnimation::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2015,7 +2015,7 @@ bool PythonQtShell_QPropertyAnimation::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2048,7 +2048,7 @@ bool PythonQtShell_QPropertyAnimation::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2081,7 +2081,7 @@ QVariant PythonQtShell_QPropertyAnimation::interpolated(const QVariant& from0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("interpolated"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2114,7 +2114,7 @@ void PythonQtShell_QPropertyAnimation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2136,7 +2136,7 @@ void PythonQtShell_QPropertyAnimation::updateCurrentTime(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2158,7 +2158,7 @@ void PythonQtShell_QPropertyAnimation::updateCurrentValue(const QVariant& value { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2180,7 +2180,7 @@ void PythonQtShell_QPropertyAnimation::updateDirection(QAbstractAnimation::Direc { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2202,7 +2202,7 @@ void PythonQtShell_QPropertyAnimation::updateState(QAbstractAnimation::State ne { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2710,7 +2710,7 @@ void PythonQtShell_QRunnable::run() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("run"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2757,7 +2757,7 @@ bool PythonQtShell_QSaveFile::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2790,7 +2790,7 @@ qint64 PythonQtShell_QSaveFile::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2823,7 +2823,7 @@ qint64 PythonQtShell_QSaveFile::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2856,7 +2856,7 @@ bool PythonQtShell_QSaveFile::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2889,7 +2889,7 @@ void PythonQtShell_QSaveFile::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2911,7 +2911,7 @@ void PythonQtShell_QSaveFile::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2933,7 +2933,7 @@ bool PythonQtShell_QSaveFile::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2966,7 +2966,7 @@ bool PythonQtShell_QSaveFile::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2999,7 +2999,7 @@ QString PythonQtShell_QSaveFile::fileName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fileName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3032,7 +3032,7 @@ bool PythonQtShell_QSaveFile::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3065,7 +3065,7 @@ bool PythonQtShell_QSaveFile::open(QIODevice::OpenMode flags0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3098,7 +3098,7 @@ QFileDevice::Permissions PythonQtShell_QSaveFile::permissions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("permissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3131,7 +3131,7 @@ qint64 PythonQtShell_QSaveFile::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3164,7 +3164,7 @@ qint64 PythonQtShell_QSaveFile::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3197,7 +3197,7 @@ qint64 PythonQtShell_QSaveFile::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3230,7 +3230,7 @@ bool PythonQtShell_QSaveFile::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3263,7 +3263,7 @@ bool PythonQtShell_QSaveFile::resize(qint64 sz0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3296,7 +3296,7 @@ bool PythonQtShell_QSaveFile::seek(qint64 offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3329,7 +3329,7 @@ bool PythonQtShell_QSaveFile::setPermissions(QFileDevice::Permissions permissi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3362,7 +3362,7 @@ qint64 PythonQtShell_QSaveFile::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3395,7 +3395,7 @@ void PythonQtShell_QSaveFile::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3417,7 +3417,7 @@ bool PythonQtShell_QSaveFile::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3450,7 +3450,7 @@ bool PythonQtShell_QSaveFile::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3483,7 +3483,7 @@ qint64 PythonQtShell_QSaveFile::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3603,7 +3603,7 @@ void PythonQtShell_QSequentialAnimationGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3625,7 +3625,7 @@ void PythonQtShell_QSequentialAnimationGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3647,7 +3647,7 @@ int PythonQtShell_QSequentialAnimationGroup::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3680,7 +3680,7 @@ bool PythonQtShell_QSequentialAnimationGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3713,7 +3713,7 @@ bool PythonQtShell_QSequentialAnimationGroup::eventFilter(QObject* watched0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3746,7 +3746,7 @@ void PythonQtShell_QSequentialAnimationGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3768,7 +3768,7 @@ void PythonQtShell_QSequentialAnimationGroup::updateCurrentTime(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3790,7 +3790,7 @@ void PythonQtShell_QSequentialAnimationGroup::updateDirection(QAbstractAnimation { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3812,7 +3812,7 @@ void PythonQtShell_QSequentialAnimationGroup::updateState(QAbstractAnimation::St { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3872,7 +3872,7 @@ void PythonQtShell_QSettings::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3894,7 +3894,7 @@ void PythonQtShell_QSettings::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3916,7 +3916,7 @@ bool PythonQtShell_QSettings::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3949,7 +3949,7 @@ bool PythonQtShell_QSettings::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3982,7 +3982,7 @@ void PythonQtShell_QSettings::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4198,7 +4198,7 @@ void PythonQtShell_QSharedMemory::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4220,7 +4220,7 @@ void PythonQtShell_QSharedMemory::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4242,7 +4242,7 @@ bool PythonQtShell_QSharedMemory::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4275,7 +4275,7 @@ bool PythonQtShell_QSharedMemory::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4308,7 +4308,7 @@ void PythonQtShell_QSharedMemory::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4452,7 +4452,7 @@ void PythonQtShell_QSignalMapper::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4474,7 +4474,7 @@ void PythonQtShell_QSignalMapper::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4496,7 +4496,7 @@ bool PythonQtShell_QSignalMapper::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4529,7 +4529,7 @@ bool PythonQtShell_QSignalMapper::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4562,7 +4562,7 @@ void PythonQtShell_QSignalMapper::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4652,7 +4652,7 @@ void PythonQtShell_QSignalTransition::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4674,7 +4674,7 @@ void PythonQtShell_QSignalTransition::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4696,7 +4696,7 @@ bool PythonQtShell_QSignalTransition::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4729,7 +4729,7 @@ bool PythonQtShell_QSignalTransition::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4762,7 +4762,7 @@ bool PythonQtShell_QSignalTransition::eventTest(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4795,7 +4795,7 @@ void PythonQtShell_QSignalTransition::onTransition(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4817,7 +4817,7 @@ void PythonQtShell_QSignalTransition::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4886,7 +4886,7 @@ void PythonQtShell_QSocketNotifier::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4908,7 +4908,7 @@ void PythonQtShell_QSocketNotifier::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4930,7 +4930,7 @@ bool PythonQtShell_QSocketNotifier::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4963,7 +4963,7 @@ bool PythonQtShell_QSocketNotifier::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4996,7 +4996,7 @@ void PythonQtShell_QSocketNotifier::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5103,7 +5103,7 @@ void PythonQtShell_QState::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5125,7 +5125,7 @@ void PythonQtShell_QState::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5147,7 +5147,7 @@ bool PythonQtShell_QState::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5180,7 +5180,7 @@ bool PythonQtShell_QState::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5213,7 +5213,7 @@ void PythonQtShell_QState::onEntry(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5235,7 +5235,7 @@ void PythonQtShell_QState::onExit(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5257,7 +5257,7 @@ void PythonQtShell_QState::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5366,7 +5366,7 @@ void PythonQtShell_QStateMachine::beginMicrostep(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("beginMicrostep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5388,7 +5388,7 @@ void PythonQtShell_QStateMachine::beginSelectTransitions(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("beginSelectTransitions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5410,7 +5410,7 @@ void PythonQtShell_QStateMachine::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5432,7 +5432,7 @@ void PythonQtShell_QStateMachine::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5454,7 +5454,7 @@ void PythonQtShell_QStateMachine::endMicrostep(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endMicrostep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5476,7 +5476,7 @@ void PythonQtShell_QStateMachine::endSelectTransitions(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endSelectTransitions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5498,7 +5498,7 @@ bool PythonQtShell_QStateMachine::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5531,7 +5531,7 @@ bool PythonQtShell_QStateMachine::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5564,7 +5564,7 @@ void PythonQtShell_QStateMachine::onEntry(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5586,7 +5586,7 @@ void PythonQtShell_QStateMachine::onExit(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5608,7 +5608,7 @@ void PythonQtShell_QStateMachine::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core3.cpp b/generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core3.cpp index 8fea824be..170de8ff9 100644 --- a/generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core3.cpp +++ b/generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core3.cpp @@ -123,7 +123,7 @@ bool PythonQtShell_QTemporaryFile::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -156,7 +156,7 @@ qint64 PythonQtShell_QTemporaryFile::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -189,7 +189,7 @@ qint64 PythonQtShell_QTemporaryFile::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -222,7 +222,7 @@ bool PythonQtShell_QTemporaryFile::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -255,7 +255,7 @@ void PythonQtShell_QTemporaryFile::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -277,7 +277,7 @@ void PythonQtShell_QTemporaryFile::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -299,7 +299,7 @@ void PythonQtShell_QTemporaryFile::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -321,7 +321,7 @@ bool PythonQtShell_QTemporaryFile::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -354,7 +354,7 @@ bool PythonQtShell_QTemporaryFile::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -387,7 +387,7 @@ QString PythonQtShell_QTemporaryFile::fileName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("uniqueFilename"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -420,7 +420,7 @@ bool PythonQtShell_QTemporaryFile::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -453,7 +453,7 @@ bool PythonQtShell_QTemporaryFile::open(QIODevice::OpenMode flags0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -486,7 +486,7 @@ QFileDevice::Permissions PythonQtShell_QTemporaryFile::permissions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("permissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -519,7 +519,7 @@ qint64 PythonQtShell_QTemporaryFile::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -552,7 +552,7 @@ qint64 PythonQtShell_QTemporaryFile::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -585,7 +585,7 @@ qint64 PythonQtShell_QTemporaryFile::readLineData(char* data0, qint64 maxlen1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -618,7 +618,7 @@ bool PythonQtShell_QTemporaryFile::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -651,7 +651,7 @@ bool PythonQtShell_QTemporaryFile::resize(qint64 sz0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -684,7 +684,7 @@ bool PythonQtShell_QTemporaryFile::seek(qint64 offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -717,7 +717,7 @@ bool PythonQtShell_QTemporaryFile::setPermissions(QFileDevice::Permissions per { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -750,7 +750,7 @@ qint64 PythonQtShell_QTemporaryFile::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -783,7 +783,7 @@ void PythonQtShell_QTemporaryFile::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -805,7 +805,7 @@ bool PythonQtShell_QTemporaryFile::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -838,7 +838,7 @@ bool PythonQtShell_QTemporaryFile::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -871,7 +871,7 @@ qint64 PythonQtShell_QTemporaryFile::writeData(const char* data0, qint64 len1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1058,7 +1058,7 @@ QList PythonQtShell_QTextCodec::aliases() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("aliases"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1091,7 +1091,7 @@ QByteArray PythonQtShell_QTextCodec::convertFromUnicode(const QChar* in0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("convertFromUnicode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1124,7 +1124,7 @@ QString PythonQtShell_QTextCodec::convertToUnicode(const char* in0, int lengt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("convertToUnicode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1157,7 +1157,7 @@ int PythonQtShell_QTextCodec::mibEnum() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mibEnum"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1190,7 +1190,7 @@ QByteArray PythonQtShell_QTextCodec::name() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("name"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1661,7 +1661,7 @@ void PythonQtShell_QThreadPool::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1683,7 +1683,7 @@ void PythonQtShell_QThreadPool::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1705,7 +1705,7 @@ bool PythonQtShell_QThreadPool::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1738,7 +1738,7 @@ bool PythonQtShell_QThreadPool::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1771,7 +1771,7 @@ void PythonQtShell_QThreadPool::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1881,7 +1881,7 @@ void PythonQtShell_QTimeLine::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1903,7 +1903,7 @@ void PythonQtShell_QTimeLine::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1925,7 +1925,7 @@ bool PythonQtShell_QTimeLine::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1958,7 +1958,7 @@ bool PythonQtShell_QTimeLine::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1991,7 +1991,7 @@ void PythonQtShell_QTimeLine::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2013,7 +2013,7 @@ qreal PythonQtShell_QTimeLine::valueForTime(int msec0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("valueForTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2368,7 +2368,7 @@ void PythonQtShell_QTimer::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2390,7 +2390,7 @@ void PythonQtShell_QTimer::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2412,7 +2412,7 @@ bool PythonQtShell_QTimer::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2445,7 +2445,7 @@ bool PythonQtShell_QTimer::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2478,7 +2478,7 @@ void PythonQtShell_QTimer::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2593,7 +2593,7 @@ void PythonQtShell_QTranslator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2615,7 +2615,7 @@ void PythonQtShell_QTranslator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2637,7 +2637,7 @@ bool PythonQtShell_QTranslator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2670,7 +2670,7 @@ bool PythonQtShell_QTranslator::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2703,7 +2703,7 @@ bool PythonQtShell_QTranslator::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2736,7 +2736,7 @@ void PythonQtShell_QTranslator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2758,7 +2758,7 @@ QString PythonQtShell_QTranslator::translate(const char* context0, const char* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("translate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3091,7 +3091,7 @@ void PythonQtShell_QVariantAnimation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3113,7 +3113,7 @@ void PythonQtShell_QVariantAnimation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3135,7 +3135,7 @@ int PythonQtShell_QVariantAnimation::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3168,7 +3168,7 @@ bool PythonQtShell_QVariantAnimation::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3201,7 +3201,7 @@ bool PythonQtShell_QVariantAnimation::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3234,7 +3234,7 @@ QVariant PythonQtShell_QVariantAnimation::interpolated(const QVariant& from0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("interpolated"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3267,7 +3267,7 @@ void PythonQtShell_QVariantAnimation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3289,7 +3289,7 @@ void PythonQtShell_QVariantAnimation::updateCurrentTime(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3311,7 +3311,7 @@ void PythonQtShell_QVariantAnimation::updateCurrentValue(const QVariant& value0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCurrentValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3333,7 +3333,7 @@ void PythonQtShell_QVariantAnimation::updateDirection(QAbstractAnimation::Direct { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3355,7 +3355,7 @@ void PythonQtShell_QVariantAnimation::updateState(QAbstractAnimation::State new { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3496,7 +3496,7 @@ QString PythonQtShell_QXmlStreamEntityResolver::resolveEntity(const QString& p { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resolveEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3529,7 +3529,7 @@ QString PythonQtShell_QXmlStreamEntityResolver::resolveUndeclaredEntity(const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resolveUndeclaredEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp index da2ffe7b8..5d5115c81 100644 --- a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp +++ b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp @@ -118,7 +118,7 @@ void PythonQtShell_QAbstractButton::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -140,7 +140,7 @@ void PythonQtShell_QAbstractButton::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -162,7 +162,7 @@ void PythonQtShell_QAbstractButton::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -184,7 +184,7 @@ void PythonQtShell_QAbstractButton::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -206,7 +206,7 @@ void PythonQtShell_QAbstractButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -228,7 +228,7 @@ void PythonQtShell_QAbstractButton::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -250,7 +250,7 @@ void PythonQtShell_QAbstractButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -272,7 +272,7 @@ int PythonQtShell_QAbstractButton::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -305,7 +305,7 @@ void PythonQtShell_QAbstractButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -327,7 +327,7 @@ void PythonQtShell_QAbstractButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -349,7 +349,7 @@ void PythonQtShell_QAbstractButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -371,7 +371,7 @@ void PythonQtShell_QAbstractButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -393,7 +393,7 @@ void PythonQtShell_QAbstractButton::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -415,7 +415,7 @@ bool PythonQtShell_QAbstractButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -448,7 +448,7 @@ bool PythonQtShell_QAbstractButton::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -481,7 +481,7 @@ void PythonQtShell_QAbstractButton::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -503,7 +503,7 @@ bool PythonQtShell_QAbstractButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -536,7 +536,7 @@ void PythonQtShell_QAbstractButton::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -558,7 +558,7 @@ bool PythonQtShell_QAbstractButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -591,7 +591,7 @@ int PythonQtShell_QAbstractButton::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -624,7 +624,7 @@ void PythonQtShell_QAbstractButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -646,7 +646,7 @@ bool PythonQtShell_QAbstractButton::hitButton(const QPoint& pos0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -679,7 +679,7 @@ void PythonQtShell_QAbstractButton::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -701,7 +701,7 @@ void PythonQtShell_QAbstractButton::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -723,7 +723,7 @@ QVariant PythonQtShell_QAbstractButton::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -756,7 +756,7 @@ void PythonQtShell_QAbstractButton::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -778,7 +778,7 @@ void PythonQtShell_QAbstractButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -800,7 +800,7 @@ void PythonQtShell_QAbstractButton::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -822,7 +822,7 @@ int PythonQtShell_QAbstractButton::metric(QPaintDevice::PaintDeviceMetric arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -855,7 +855,7 @@ QSize PythonQtShell_QAbstractButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -888,7 +888,7 @@ void PythonQtShell_QAbstractButton::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -910,7 +910,7 @@ void PythonQtShell_QAbstractButton::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -932,7 +932,7 @@ void PythonQtShell_QAbstractButton::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -954,7 +954,7 @@ void PythonQtShell_QAbstractButton::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -976,7 +976,7 @@ void PythonQtShell_QAbstractButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -998,7 +998,7 @@ bool PythonQtShell_QAbstractButton::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1031,7 +1031,7 @@ void PythonQtShell_QAbstractButton::nextCheckState() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1053,7 +1053,7 @@ QPaintEngine* PythonQtShell_QAbstractButton::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1086,7 +1086,7 @@ void PythonQtShell_QAbstractButton::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1108,7 +1108,7 @@ QPaintDevice* PythonQtShell_QAbstractButton::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1141,7 +1141,7 @@ void PythonQtShell_QAbstractButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1163,7 +1163,7 @@ void PythonQtShell_QAbstractButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1185,7 +1185,7 @@ QPainter* PythonQtShell_QAbstractButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1218,7 +1218,7 @@ void PythonQtShell_QAbstractButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1240,7 +1240,7 @@ QSize PythonQtShell_QAbstractButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1273,7 +1273,7 @@ void PythonQtShell_QAbstractButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1295,7 +1295,7 @@ void PythonQtShell_QAbstractButton::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1317,7 +1317,7 @@ void PythonQtShell_QAbstractButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1482,7 +1482,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1504,7 +1504,7 @@ QRectF PythonQtShell_QAbstractGraphicsShapeItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1537,7 +1537,7 @@ bool PythonQtShell_QAbstractGraphicsShapeItem::collidesWithItem(const QGraphics { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1570,7 +1570,7 @@ bool PythonQtShell_QAbstractGraphicsShapeItem::collidesWithPath(const QPainterP { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1603,7 +1603,7 @@ bool PythonQtShell_QAbstractGraphicsShapeItem::contains(const QPointF& point0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1636,7 +1636,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::contextMenuEvent(QGraphicsSceneCo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1658,7 +1658,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::dragEnterEvent(QGraphicsSceneDrag { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1680,7 +1680,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::dragLeaveEvent(QGraphicsSceneDrag { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1702,7 +1702,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::dragMoveEvent(QGraphicsSceneDragD { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1724,7 +1724,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::dropEvent(QGraphicsSceneDragDropE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1746,7 +1746,7 @@ QVariant PythonQtShell_QAbstractGraphicsShapeItem::extension(const QVariant& v { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1779,7 +1779,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::focusInEvent(QFocusEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1801,7 +1801,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::focusOutEvent(QFocusEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1823,7 +1823,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::hoverEnterEvent(QGraphicsSceneHov { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1845,7 +1845,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::hoverLeaveEvent(QGraphicsSceneHov { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1867,7 +1867,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::hoverMoveEvent(QGraphicsSceneHove { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1889,7 +1889,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::inputMethodEvent(QInputMethodEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1911,7 +1911,7 @@ QVariant PythonQtShell_QAbstractGraphicsShapeItem::inputMethodQuery(Qt::InputMe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1944,7 +1944,7 @@ bool PythonQtShell_QAbstractGraphicsShapeItem::isObscuredBy(const QGraphicsItem { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1977,7 +1977,7 @@ QVariant PythonQtShell_QAbstractGraphicsShapeItem::itemChange(QGraphicsItem::Gr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2013,7 +2013,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2035,7 +2035,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::keyReleaseEvent(QKeyEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2057,7 +2057,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::mouseDoubleClickEvent(QGraphicsSc { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2079,7 +2079,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::mouseMoveEvent(QGraphicsSceneMous { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2101,7 +2101,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::mousePressEvent(QGraphicsSceneMou { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2123,7 +2123,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::mouseReleaseEvent(QGraphicsSceneM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2145,7 +2145,7 @@ QPainterPath PythonQtShell_QAbstractGraphicsShapeItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2178,7 +2178,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::paint(QPainter* painter0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2200,7 +2200,7 @@ bool PythonQtShell_QAbstractGraphicsShapeItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2233,7 +2233,7 @@ bool PythonQtShell_QAbstractGraphicsShapeItem::sceneEventFilter(QGraphicsItem* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2266,7 +2266,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::setExtension(QGraphicsItem::Exten { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2288,7 +2288,7 @@ QPainterPath PythonQtShell_QAbstractGraphicsShapeItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2321,7 +2321,7 @@ bool PythonQtShell_QAbstractGraphicsShapeItem::supportsExtension(QGraphicsItem: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2354,7 +2354,7 @@ int PythonQtShell_QAbstractGraphicsShapeItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2387,7 +2387,7 @@ void PythonQtShell_QAbstractGraphicsShapeItem::wheelEvent(QGraphicsSceneWheelEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2439,7 +2439,7 @@ void PythonQtShell_QAbstractItemDelegate::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2461,7 +2461,7 @@ QWidget* PythonQtShell_QAbstractItemDelegate::createEditor(QWidget* parent0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2494,7 +2494,7 @@ void PythonQtShell_QAbstractItemDelegate::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2516,7 +2516,7 @@ void PythonQtShell_QAbstractItemDelegate::destroyEditor(QWidget* editor0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("destroyEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2538,7 +2538,7 @@ bool PythonQtShell_QAbstractItemDelegate::editorEvent(QEvent* event0, QAbstrac { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2571,7 +2571,7 @@ bool PythonQtShell_QAbstractItemDelegate::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2604,7 +2604,7 @@ bool PythonQtShell_QAbstractItemDelegate::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2637,7 +2637,7 @@ bool PythonQtShell_QAbstractItemDelegate::helpEvent(QHelpEvent* event0, QAbstr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2670,7 +2670,7 @@ void PythonQtShell_QAbstractItemDelegate::paint(QPainter* painter0, const QStyl { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2692,7 +2692,7 @@ QVector PythonQtShell_QAbstractItemDelegate::paintingRoles() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintingRoles"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2725,7 +2725,7 @@ void PythonQtShell_QAbstractItemDelegate::setEditorData(QWidget* editor0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2747,7 +2747,7 @@ void PythonQtShell_QAbstractItemDelegate::setModelData(QWidget* editor0, QAbstr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModelData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2769,7 +2769,7 @@ QSize PythonQtShell_QAbstractItemDelegate::sizeHint(const QStyleOptionViewItem& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2802,7 +2802,7 @@ void PythonQtShell_QAbstractItemDelegate::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2824,7 +2824,7 @@ void PythonQtShell_QAbstractItemDelegate::updateEditorGeometry(QWidget* editor0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2919,7 +2919,7 @@ void PythonQtShell_QAbstractItemView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2941,7 +2941,7 @@ void PythonQtShell_QAbstractItemView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2963,7 +2963,7 @@ void PythonQtShell_QAbstractItemView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2985,7 +2985,7 @@ void PythonQtShell_QAbstractItemView::closeEditor(QWidget* editor0, QAbstractIt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3007,7 +3007,7 @@ void PythonQtShell_QAbstractItemView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3029,7 +3029,7 @@ void PythonQtShell_QAbstractItemView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3051,7 +3051,7 @@ void PythonQtShell_QAbstractItemView::contextMenuEvent(QContextMenuEvent* arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3073,7 +3073,7 @@ void PythonQtShell_QAbstractItemView::currentChanged(const QModelIndex& current { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3095,7 +3095,7 @@ void PythonQtShell_QAbstractItemView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3117,7 +3117,7 @@ void PythonQtShell_QAbstractItemView::dataChanged(const QModelIndex& topLeft0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3139,7 +3139,7 @@ int PythonQtShell_QAbstractItemView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3172,7 +3172,7 @@ void PythonQtShell_QAbstractItemView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3194,7 +3194,7 @@ void PythonQtShell_QAbstractItemView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3216,7 +3216,7 @@ void PythonQtShell_QAbstractItemView::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3238,7 +3238,7 @@ void PythonQtShell_QAbstractItemView::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3260,7 +3260,7 @@ void PythonQtShell_QAbstractItemView::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3282,7 +3282,7 @@ bool PythonQtShell_QAbstractItemView::edit(const QModelIndex& index0, QAbstrac { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3315,7 +3315,7 @@ void PythonQtShell_QAbstractItemView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3337,7 +3337,7 @@ void PythonQtShell_QAbstractItemView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3359,7 +3359,7 @@ bool PythonQtShell_QAbstractItemView::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3392,7 +3392,7 @@ bool PythonQtShell_QAbstractItemView::eventFilter(QObject* arg__1, QEvent* ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3425,7 +3425,7 @@ void PythonQtShell_QAbstractItemView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3447,7 +3447,7 @@ bool PythonQtShell_QAbstractItemView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3480,7 +3480,7 @@ void PythonQtShell_QAbstractItemView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3502,7 +3502,7 @@ bool PythonQtShell_QAbstractItemView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3535,7 +3535,7 @@ int PythonQtShell_QAbstractItemView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3568,7 +3568,7 @@ void PythonQtShell_QAbstractItemView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3590,7 +3590,7 @@ int PythonQtShell_QAbstractItemView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3623,7 +3623,7 @@ void PythonQtShell_QAbstractItemView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3645,7 +3645,7 @@ void PythonQtShell_QAbstractItemView::horizontalScrollbarValueChanged(int value { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3667,7 +3667,7 @@ QModelIndex PythonQtShell_QAbstractItemView::indexAt(const QPoint& point0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3700,7 +3700,7 @@ void PythonQtShell_QAbstractItemView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3722,7 +3722,7 @@ void PythonQtShell_QAbstractItemView::inputMethodEvent(QInputMethodEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3744,7 +3744,7 @@ QVariant PythonQtShell_QAbstractItemView::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3777,7 +3777,7 @@ bool PythonQtShell_QAbstractItemView::isIndexHidden(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3810,7 +3810,7 @@ void PythonQtShell_QAbstractItemView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3832,7 +3832,7 @@ void PythonQtShell_QAbstractItemView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3854,7 +3854,7 @@ void PythonQtShell_QAbstractItemView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3876,7 +3876,7 @@ void PythonQtShell_QAbstractItemView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3898,7 +3898,7 @@ int PythonQtShell_QAbstractItemView::metric(QPaintDevice::PaintDeviceMetric ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3931,7 +3931,7 @@ QSize PythonQtShell_QAbstractItemView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3964,7 +3964,7 @@ void PythonQtShell_QAbstractItemView::mouseDoubleClickEvent(QMouseEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3986,7 +3986,7 @@ void PythonQtShell_QAbstractItemView::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4008,7 +4008,7 @@ void PythonQtShell_QAbstractItemView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4030,7 +4030,7 @@ void PythonQtShell_QAbstractItemView::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4052,7 +4052,7 @@ QModelIndex PythonQtShell_QAbstractItemView::moveCursor(QAbstractItemView::Curs { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4085,7 +4085,7 @@ void PythonQtShell_QAbstractItemView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4107,7 +4107,7 @@ bool PythonQtShell_QAbstractItemView::nativeEvent(const QByteArray& eventType0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4140,7 +4140,7 @@ QPaintEngine* PythonQtShell_QAbstractItemView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4173,7 +4173,7 @@ void PythonQtShell_QAbstractItemView::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4195,7 +4195,7 @@ QPaintDevice* PythonQtShell_QAbstractItemView::redirected(QPoint* offset0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4228,7 +4228,7 @@ void PythonQtShell_QAbstractItemView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4250,7 +4250,7 @@ void PythonQtShell_QAbstractItemView::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4272,7 +4272,7 @@ void PythonQtShell_QAbstractItemView::rowsAboutToBeRemoved(const QModelIndex& p { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4294,7 +4294,7 @@ void PythonQtShell_QAbstractItemView::rowsInserted(const QModelIndex& parent0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4316,7 +4316,7 @@ void PythonQtShell_QAbstractItemView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4338,7 +4338,7 @@ void PythonQtShell_QAbstractItemView::scrollTo(const QModelIndex& index0, QAbst { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4360,7 +4360,7 @@ void PythonQtShell_QAbstractItemView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4382,7 +4382,7 @@ QList PythonQtShell_QAbstractItemView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4415,7 +4415,7 @@ void PythonQtShell_QAbstractItemView::selectionChanged(const QItemSelection& se { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4437,7 +4437,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QAbstractItemView::selectionC { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4470,7 +4470,7 @@ void PythonQtShell_QAbstractItemView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4492,7 +4492,7 @@ void PythonQtShell_QAbstractItemView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4514,7 +4514,7 @@ void PythonQtShell_QAbstractItemView::setSelection(const QRect& rect0, QItemSel { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4536,7 +4536,7 @@ void PythonQtShell_QAbstractItemView::setSelectionModel(QItemSelectionModel* se { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4558,7 +4558,7 @@ void PythonQtShell_QAbstractItemView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4580,7 +4580,7 @@ void PythonQtShell_QAbstractItemView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4602,7 +4602,7 @@ QPainter* PythonQtShell_QAbstractItemView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4635,7 +4635,7 @@ void PythonQtShell_QAbstractItemView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4657,7 +4657,7 @@ QSize PythonQtShell_QAbstractItemView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4690,7 +4690,7 @@ int PythonQtShell_QAbstractItemView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4723,7 +4723,7 @@ int PythonQtShell_QAbstractItemView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4756,7 +4756,7 @@ void PythonQtShell_QAbstractItemView::startDrag(Qt::DropActions supportedAction { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4778,7 +4778,7 @@ void PythonQtShell_QAbstractItemView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4800,7 +4800,7 @@ void PythonQtShell_QAbstractItemView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4822,7 +4822,7 @@ void PythonQtShell_QAbstractItemView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4844,7 +4844,7 @@ void PythonQtShell_QAbstractItemView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4866,7 +4866,7 @@ void PythonQtShell_QAbstractItemView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4888,7 +4888,7 @@ int PythonQtShell_QAbstractItemView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4921,7 +4921,7 @@ void PythonQtShell_QAbstractItemView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4943,7 +4943,7 @@ void PythonQtShell_QAbstractItemView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4965,7 +4965,7 @@ QStyleOptionViewItem PythonQtShell_QAbstractItemView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4998,7 +4998,7 @@ bool PythonQtShell_QAbstractItemView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5031,7 +5031,7 @@ QSize PythonQtShell_QAbstractItemView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5064,7 +5064,7 @@ QRect PythonQtShell_QAbstractItemView::visualRect(const QModelIndex& index0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5097,7 +5097,7 @@ QRegion PythonQtShell_QAbstractItemView::visualRegionForSelection(const QItemSe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5130,7 +5130,7 @@ void PythonQtShell_QAbstractItemView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5565,7 +5565,7 @@ void PythonQtShell_QAbstractPrintDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5587,7 +5587,7 @@ void PythonQtShell_QAbstractPrintDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5609,7 +5609,7 @@ void PythonQtShell_QAbstractPrintDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5631,7 +5631,7 @@ void PythonQtShell_QAbstractPrintDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5653,7 +5653,7 @@ void PythonQtShell_QAbstractPrintDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5675,7 +5675,7 @@ void PythonQtShell_QAbstractPrintDialog::contextMenuEvent(QContextMenuEvent* ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5697,7 +5697,7 @@ void PythonQtShell_QAbstractPrintDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5719,7 +5719,7 @@ int PythonQtShell_QAbstractPrintDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5752,7 +5752,7 @@ void PythonQtShell_QAbstractPrintDialog::done(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5774,7 +5774,7 @@ void PythonQtShell_QAbstractPrintDialog::dragEnterEvent(QDragEnterEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5796,7 +5796,7 @@ void PythonQtShell_QAbstractPrintDialog::dragLeaveEvent(QDragLeaveEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5818,7 +5818,7 @@ void PythonQtShell_QAbstractPrintDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5840,7 +5840,7 @@ void PythonQtShell_QAbstractPrintDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5862,7 +5862,7 @@ void PythonQtShell_QAbstractPrintDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5884,7 +5884,7 @@ bool PythonQtShell_QAbstractPrintDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5917,7 +5917,7 @@ bool PythonQtShell_QAbstractPrintDialog::eventFilter(QObject* arg__1, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5950,7 +5950,7 @@ int PythonQtShell_QAbstractPrintDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5983,7 +5983,7 @@ void PythonQtShell_QAbstractPrintDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6005,7 +6005,7 @@ bool PythonQtShell_QAbstractPrintDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6038,7 +6038,7 @@ void PythonQtShell_QAbstractPrintDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6060,7 +6060,7 @@ bool PythonQtShell_QAbstractPrintDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6093,7 +6093,7 @@ int PythonQtShell_QAbstractPrintDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6126,7 +6126,7 @@ void PythonQtShell_QAbstractPrintDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6148,7 +6148,7 @@ void PythonQtShell_QAbstractPrintDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6170,7 +6170,7 @@ void PythonQtShell_QAbstractPrintDialog::inputMethodEvent(QInputMethodEvent* ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6192,7 +6192,7 @@ QVariant PythonQtShell_QAbstractPrintDialog::inputMethodQuery(Qt::InputMethodQu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6225,7 +6225,7 @@ void PythonQtShell_QAbstractPrintDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6247,7 +6247,7 @@ void PythonQtShell_QAbstractPrintDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6269,7 +6269,7 @@ void PythonQtShell_QAbstractPrintDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6291,7 +6291,7 @@ int PythonQtShell_QAbstractPrintDialog::metric(QPaintDevice::PaintDeviceMetric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6324,7 +6324,7 @@ void PythonQtShell_QAbstractPrintDialog::mouseDoubleClickEvent(QMouseEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6346,7 +6346,7 @@ void PythonQtShell_QAbstractPrintDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6368,7 +6368,7 @@ void PythonQtShell_QAbstractPrintDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6390,7 +6390,7 @@ void PythonQtShell_QAbstractPrintDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6412,7 +6412,7 @@ void PythonQtShell_QAbstractPrintDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6434,7 +6434,7 @@ bool PythonQtShell_QAbstractPrintDialog::nativeEvent(const QByteArray& eventTy { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6467,7 +6467,7 @@ void PythonQtShell_QAbstractPrintDialog::open() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6489,7 +6489,7 @@ QPaintEngine* PythonQtShell_QAbstractPrintDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6522,7 +6522,7 @@ void PythonQtShell_QAbstractPrintDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6544,7 +6544,7 @@ QPaintDevice* PythonQtShell_QAbstractPrintDialog::redirected(QPoint* offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6577,7 +6577,7 @@ void PythonQtShell_QAbstractPrintDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6599,7 +6599,7 @@ void PythonQtShell_QAbstractPrintDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6621,7 +6621,7 @@ void PythonQtShell_QAbstractPrintDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6643,7 +6643,7 @@ QPainter* PythonQtShell_QAbstractPrintDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6676,7 +6676,7 @@ void PythonQtShell_QAbstractPrintDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6698,7 +6698,7 @@ void PythonQtShell_QAbstractPrintDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6720,7 +6720,7 @@ void PythonQtShell_QAbstractPrintDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6742,7 +6742,7 @@ void PythonQtShell_QAbstractPrintDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6857,7 +6857,7 @@ QModelIndex PythonQtShell_QAbstractProxyModel::buddy(const QModelIndex& index0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6890,7 +6890,7 @@ bool PythonQtShell_QAbstractProxyModel::canDropMimeData(const QMimeData* data0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6923,7 +6923,7 @@ bool PythonQtShell_QAbstractProxyModel::canFetchMore(const QModelIndex& parent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6956,7 +6956,7 @@ void PythonQtShell_QAbstractProxyModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6978,7 +6978,7 @@ int PythonQtShell_QAbstractProxyModel::columnCount(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7011,7 +7011,7 @@ void PythonQtShell_QAbstractProxyModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7033,7 +7033,7 @@ QVariant PythonQtShell_QAbstractProxyModel::data(const QModelIndex& proxyIndex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7066,7 +7066,7 @@ bool PythonQtShell_QAbstractProxyModel::dropMimeData(const QMimeData* data0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7099,7 +7099,7 @@ bool PythonQtShell_QAbstractProxyModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7132,7 +7132,7 @@ bool PythonQtShell_QAbstractProxyModel::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7165,7 +7165,7 @@ void PythonQtShell_QAbstractProxyModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7187,7 +7187,7 @@ Qt::ItemFlags PythonQtShell_QAbstractProxyModel::flags(const QModelIndex& inde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7220,7 +7220,7 @@ bool PythonQtShell_QAbstractProxyModel::hasChildren(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7253,7 +7253,7 @@ QVariant PythonQtShell_QAbstractProxyModel::headerData(int section0, Qt::Orien { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7286,7 +7286,7 @@ QModelIndex PythonQtShell_QAbstractProxyModel::index(int row0, int column1, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7319,7 +7319,7 @@ bool PythonQtShell_QAbstractProxyModel::insertColumns(int column0, int count1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7352,7 +7352,7 @@ bool PythonQtShell_QAbstractProxyModel::insertRows(int row0, int count1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7385,7 +7385,7 @@ QMap PythonQtShell_QAbstractProxyModel::itemData(const QModelI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7418,7 +7418,7 @@ QModelIndex PythonQtShell_QAbstractProxyModel::mapFromSource(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7451,7 +7451,7 @@ QItemSelection PythonQtShell_QAbstractProxyModel::mapSelectionFromSource(const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapSelectionFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7484,7 +7484,7 @@ QItemSelection PythonQtShell_QAbstractProxyModel::mapSelectionToSource(const QI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapSelectionToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7517,7 +7517,7 @@ QModelIndex PythonQtShell_QAbstractProxyModel::mapToSource(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7550,7 +7550,7 @@ QList PythonQtShell_QAbstractProxyModel::match(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7583,7 +7583,7 @@ QMimeData* PythonQtShell_QAbstractProxyModel::mimeData(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7616,7 +7616,7 @@ QStringList PythonQtShell_QAbstractProxyModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7649,7 +7649,7 @@ bool PythonQtShell_QAbstractProxyModel::moveColumns(const QModelIndex& sourceP { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7682,7 +7682,7 @@ bool PythonQtShell_QAbstractProxyModel::moveRows(const QModelIndex& sourcePare { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7715,7 +7715,7 @@ QModelIndex PythonQtShell_QAbstractProxyModel::parent(const QModelIndex& child { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7748,7 +7748,7 @@ bool PythonQtShell_QAbstractProxyModel::removeColumns(int column0, int count1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7781,7 +7781,7 @@ bool PythonQtShell_QAbstractProxyModel::removeRows(int row0, int count1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7814,7 +7814,7 @@ void PythonQtShell_QAbstractProxyModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7836,7 +7836,7 @@ QHash PythonQtShell_QAbstractProxyModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7869,7 +7869,7 @@ int PythonQtShell_QAbstractProxyModel::rowCount(const QModelIndex& parent0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7902,7 +7902,7 @@ bool PythonQtShell_QAbstractProxyModel::setData(const QModelIndex& index0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7935,7 +7935,7 @@ bool PythonQtShell_QAbstractProxyModel::setHeaderData(int section0, Qt::Orient { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7968,7 +7968,7 @@ bool PythonQtShell_QAbstractProxyModel::setItemData(const QModelIndex& index0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8001,7 +8001,7 @@ void PythonQtShell_QAbstractProxyModel::setSourceModel(QAbstractItemModel* sour { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSourceModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8023,7 +8023,7 @@ QModelIndex PythonQtShell_QAbstractProxyModel::sibling(int row0, int column1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8056,7 +8056,7 @@ void PythonQtShell_QAbstractProxyModel::sort(int column0, Qt::SortOrder order1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8078,7 +8078,7 @@ QSize PythonQtShell_QAbstractProxyModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8111,7 +8111,7 @@ bool PythonQtShell_QAbstractProxyModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8144,7 +8144,7 @@ Qt::DropActions PythonQtShell_QAbstractProxyModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8177,7 +8177,7 @@ Qt::DropActions PythonQtShell_QAbstractProxyModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8210,7 +8210,7 @@ void PythonQtShell_QAbstractProxyModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8285,7 +8285,7 @@ void PythonQtShell_QAbstractScrollArea::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8307,7 +8307,7 @@ void PythonQtShell_QAbstractScrollArea::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8329,7 +8329,7 @@ void PythonQtShell_QAbstractScrollArea::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8351,7 +8351,7 @@ void PythonQtShell_QAbstractScrollArea::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8373,7 +8373,7 @@ void PythonQtShell_QAbstractScrollArea::contextMenuEvent(QContextMenuEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8395,7 +8395,7 @@ void PythonQtShell_QAbstractScrollArea::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8417,7 +8417,7 @@ int PythonQtShell_QAbstractScrollArea::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8450,7 +8450,7 @@ void PythonQtShell_QAbstractScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8472,7 +8472,7 @@ void PythonQtShell_QAbstractScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8494,7 +8494,7 @@ void PythonQtShell_QAbstractScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8516,7 +8516,7 @@ void PythonQtShell_QAbstractScrollArea::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8538,7 +8538,7 @@ void PythonQtShell_QAbstractScrollArea::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8560,7 +8560,7 @@ bool PythonQtShell_QAbstractScrollArea::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8593,7 +8593,7 @@ bool PythonQtShell_QAbstractScrollArea::eventFilter(QObject* arg__1, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8626,7 +8626,7 @@ void PythonQtShell_QAbstractScrollArea::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8648,7 +8648,7 @@ bool PythonQtShell_QAbstractScrollArea::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8681,7 +8681,7 @@ void PythonQtShell_QAbstractScrollArea::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8703,7 +8703,7 @@ bool PythonQtShell_QAbstractScrollArea::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8736,7 +8736,7 @@ int PythonQtShell_QAbstractScrollArea::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8769,7 +8769,7 @@ void PythonQtShell_QAbstractScrollArea::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8791,7 +8791,7 @@ void PythonQtShell_QAbstractScrollArea::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8813,7 +8813,7 @@ void PythonQtShell_QAbstractScrollArea::inputMethodEvent(QInputMethodEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8835,7 +8835,7 @@ QVariant PythonQtShell_QAbstractScrollArea::inputMethodQuery(Qt::InputMethodQue { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8868,7 +8868,7 @@ void PythonQtShell_QAbstractScrollArea::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8890,7 +8890,7 @@ void PythonQtShell_QAbstractScrollArea::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8912,7 +8912,7 @@ void PythonQtShell_QAbstractScrollArea::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8934,7 +8934,7 @@ int PythonQtShell_QAbstractScrollArea::metric(QPaintDevice::PaintDeviceMetric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8967,7 +8967,7 @@ QSize PythonQtShell_QAbstractScrollArea::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9000,7 +9000,7 @@ void PythonQtShell_QAbstractScrollArea::mouseDoubleClickEvent(QMouseEvent* arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9022,7 +9022,7 @@ void PythonQtShell_QAbstractScrollArea::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9044,7 +9044,7 @@ void PythonQtShell_QAbstractScrollArea::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9066,7 +9066,7 @@ void PythonQtShell_QAbstractScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9088,7 +9088,7 @@ void PythonQtShell_QAbstractScrollArea::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9110,7 +9110,7 @@ bool PythonQtShell_QAbstractScrollArea::nativeEvent(const QByteArray& eventTyp { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9143,7 +9143,7 @@ QPaintEngine* PythonQtShell_QAbstractScrollArea::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9176,7 +9176,7 @@ void PythonQtShell_QAbstractScrollArea::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9198,7 +9198,7 @@ QPaintDevice* PythonQtShell_QAbstractScrollArea::redirected(QPoint* offset0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9231,7 +9231,7 @@ void PythonQtShell_QAbstractScrollArea::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9253,7 +9253,7 @@ void PythonQtShell_QAbstractScrollArea::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9275,7 +9275,7 @@ void PythonQtShell_QAbstractScrollArea::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9297,7 +9297,7 @@ void PythonQtShell_QAbstractScrollArea::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9319,7 +9319,7 @@ QPainter* PythonQtShell_QAbstractScrollArea::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9352,7 +9352,7 @@ void PythonQtShell_QAbstractScrollArea::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9374,7 +9374,7 @@ QSize PythonQtShell_QAbstractScrollArea::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9407,7 +9407,7 @@ void PythonQtShell_QAbstractScrollArea::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9429,7 +9429,7 @@ void PythonQtShell_QAbstractScrollArea::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9451,7 +9451,7 @@ bool PythonQtShell_QAbstractScrollArea::viewportEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9484,7 +9484,7 @@ QSize PythonQtShell_QAbstractScrollArea::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9517,7 +9517,7 @@ void PythonQtShell_QAbstractScrollArea::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9687,7 +9687,7 @@ void PythonQtShell_QAbstractSlider::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9709,7 +9709,7 @@ void PythonQtShell_QAbstractSlider::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9731,7 +9731,7 @@ void PythonQtShell_QAbstractSlider::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9753,7 +9753,7 @@ void PythonQtShell_QAbstractSlider::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9775,7 +9775,7 @@ void PythonQtShell_QAbstractSlider::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9797,7 +9797,7 @@ void PythonQtShell_QAbstractSlider::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9819,7 +9819,7 @@ int PythonQtShell_QAbstractSlider::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9852,7 +9852,7 @@ void PythonQtShell_QAbstractSlider::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9874,7 +9874,7 @@ void PythonQtShell_QAbstractSlider::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9896,7 +9896,7 @@ void PythonQtShell_QAbstractSlider::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9918,7 +9918,7 @@ void PythonQtShell_QAbstractSlider::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9940,7 +9940,7 @@ void PythonQtShell_QAbstractSlider::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9962,7 +9962,7 @@ bool PythonQtShell_QAbstractSlider::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9995,7 +9995,7 @@ bool PythonQtShell_QAbstractSlider::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10028,7 +10028,7 @@ void PythonQtShell_QAbstractSlider::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10050,7 +10050,7 @@ bool PythonQtShell_QAbstractSlider::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10083,7 +10083,7 @@ void PythonQtShell_QAbstractSlider::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10105,7 +10105,7 @@ bool PythonQtShell_QAbstractSlider::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10138,7 +10138,7 @@ int PythonQtShell_QAbstractSlider::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10171,7 +10171,7 @@ void PythonQtShell_QAbstractSlider::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10193,7 +10193,7 @@ void PythonQtShell_QAbstractSlider::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10215,7 +10215,7 @@ void PythonQtShell_QAbstractSlider::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10237,7 +10237,7 @@ QVariant PythonQtShell_QAbstractSlider::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10270,7 +10270,7 @@ void PythonQtShell_QAbstractSlider::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10292,7 +10292,7 @@ void PythonQtShell_QAbstractSlider::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10314,7 +10314,7 @@ void PythonQtShell_QAbstractSlider::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10336,7 +10336,7 @@ int PythonQtShell_QAbstractSlider::metric(QPaintDevice::PaintDeviceMetric arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10369,7 +10369,7 @@ QSize PythonQtShell_QAbstractSlider::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10402,7 +10402,7 @@ void PythonQtShell_QAbstractSlider::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10424,7 +10424,7 @@ void PythonQtShell_QAbstractSlider::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10446,7 +10446,7 @@ void PythonQtShell_QAbstractSlider::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10468,7 +10468,7 @@ void PythonQtShell_QAbstractSlider::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10490,7 +10490,7 @@ void PythonQtShell_QAbstractSlider::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10512,7 +10512,7 @@ bool PythonQtShell_QAbstractSlider::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10545,7 +10545,7 @@ QPaintEngine* PythonQtShell_QAbstractSlider::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10578,7 +10578,7 @@ void PythonQtShell_QAbstractSlider::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10600,7 +10600,7 @@ QPaintDevice* PythonQtShell_QAbstractSlider::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10633,7 +10633,7 @@ void PythonQtShell_QAbstractSlider::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10655,7 +10655,7 @@ void PythonQtShell_QAbstractSlider::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10677,7 +10677,7 @@ QPainter* PythonQtShell_QAbstractSlider::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10710,7 +10710,7 @@ void PythonQtShell_QAbstractSlider::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10732,7 +10732,7 @@ QSize PythonQtShell_QAbstractSlider::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10765,7 +10765,7 @@ void PythonQtShell_QAbstractSlider::sliderChange(QAbstractSlider::SliderChange { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sliderChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10787,7 +10787,7 @@ void PythonQtShell_QAbstractSlider::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10809,7 +10809,7 @@ void PythonQtShell_QAbstractSlider::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10831,7 +10831,7 @@ void PythonQtShell_QAbstractSlider::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10996,7 +10996,7 @@ void PythonQtShell_QAbstractSpinBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11018,7 +11018,7 @@ void PythonQtShell_QAbstractSpinBox::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11040,7 +11040,7 @@ void PythonQtShell_QAbstractSpinBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11062,7 +11062,7 @@ void PythonQtShell_QAbstractSpinBox::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11084,7 +11084,7 @@ void PythonQtShell_QAbstractSpinBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11106,7 +11106,7 @@ void PythonQtShell_QAbstractSpinBox::contextMenuEvent(QContextMenuEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11128,7 +11128,7 @@ void PythonQtShell_QAbstractSpinBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11150,7 +11150,7 @@ int PythonQtShell_QAbstractSpinBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11183,7 +11183,7 @@ void PythonQtShell_QAbstractSpinBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11205,7 +11205,7 @@ void PythonQtShell_QAbstractSpinBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11227,7 +11227,7 @@ void PythonQtShell_QAbstractSpinBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11249,7 +11249,7 @@ void PythonQtShell_QAbstractSpinBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11271,7 +11271,7 @@ void PythonQtShell_QAbstractSpinBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11293,7 +11293,7 @@ bool PythonQtShell_QAbstractSpinBox::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11326,7 +11326,7 @@ bool PythonQtShell_QAbstractSpinBox::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11359,7 +11359,7 @@ void PythonQtShell_QAbstractSpinBox::fixup(QString& input0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11381,7 +11381,7 @@ void PythonQtShell_QAbstractSpinBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11403,7 +11403,7 @@ bool PythonQtShell_QAbstractSpinBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11436,7 +11436,7 @@ void PythonQtShell_QAbstractSpinBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11458,7 +11458,7 @@ bool PythonQtShell_QAbstractSpinBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11491,7 +11491,7 @@ int PythonQtShell_QAbstractSpinBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11524,7 +11524,7 @@ void PythonQtShell_QAbstractSpinBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11546,7 +11546,7 @@ void PythonQtShell_QAbstractSpinBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11568,7 +11568,7 @@ void PythonQtShell_QAbstractSpinBox::inputMethodEvent(QInputMethodEvent* arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11590,7 +11590,7 @@ QVariant PythonQtShell_QAbstractSpinBox::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11623,7 +11623,7 @@ void PythonQtShell_QAbstractSpinBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11645,7 +11645,7 @@ void PythonQtShell_QAbstractSpinBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11667,7 +11667,7 @@ void PythonQtShell_QAbstractSpinBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11689,7 +11689,7 @@ int PythonQtShell_QAbstractSpinBox::metric(QPaintDevice::PaintDeviceMetric arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11722,7 +11722,7 @@ void PythonQtShell_QAbstractSpinBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11744,7 +11744,7 @@ void PythonQtShell_QAbstractSpinBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11766,7 +11766,7 @@ void PythonQtShell_QAbstractSpinBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11788,7 +11788,7 @@ void PythonQtShell_QAbstractSpinBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11810,7 +11810,7 @@ void PythonQtShell_QAbstractSpinBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11832,7 +11832,7 @@ bool PythonQtShell_QAbstractSpinBox::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11865,7 +11865,7 @@ QPaintEngine* PythonQtShell_QAbstractSpinBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11898,7 +11898,7 @@ void PythonQtShell_QAbstractSpinBox::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11920,7 +11920,7 @@ QPaintDevice* PythonQtShell_QAbstractSpinBox::redirected(QPoint* offset0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11953,7 +11953,7 @@ void PythonQtShell_QAbstractSpinBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11975,7 +11975,7 @@ void PythonQtShell_QAbstractSpinBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11997,7 +11997,7 @@ QPainter* PythonQtShell_QAbstractSpinBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12030,7 +12030,7 @@ void PythonQtShell_QAbstractSpinBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12052,7 +12052,7 @@ void PythonQtShell_QAbstractSpinBox::stepBy(int steps0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12074,7 +12074,7 @@ QAbstractSpinBox::StepEnabled PythonQtShell_QAbstractSpinBox::stepEnabled() con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12107,7 +12107,7 @@ void PythonQtShell_QAbstractSpinBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12129,7 +12129,7 @@ void PythonQtShell_QAbstractSpinBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12151,7 +12151,7 @@ QValidator::State PythonQtShell_QAbstractSpinBox::validate(QString& input0, in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12184,7 +12184,7 @@ void PythonQtShell_QAbstractSpinBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12389,7 +12389,7 @@ QModelIndex PythonQtShell_QAbstractTableModel::buddy(const QModelIndex& index0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12422,7 +12422,7 @@ bool PythonQtShell_QAbstractTableModel::canDropMimeData(const QMimeData* data0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12455,7 +12455,7 @@ bool PythonQtShell_QAbstractTableModel::canFetchMore(const QModelIndex& parent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12488,7 +12488,7 @@ void PythonQtShell_QAbstractTableModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12510,7 +12510,7 @@ int PythonQtShell_QAbstractTableModel::columnCount(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12543,7 +12543,7 @@ void PythonQtShell_QAbstractTableModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12565,7 +12565,7 @@ QVariant PythonQtShell_QAbstractTableModel::data(const QModelIndex& index0, in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12598,7 +12598,7 @@ bool PythonQtShell_QAbstractTableModel::dropMimeData(const QMimeData* data0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12631,7 +12631,7 @@ bool PythonQtShell_QAbstractTableModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12664,7 +12664,7 @@ bool PythonQtShell_QAbstractTableModel::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12697,7 +12697,7 @@ void PythonQtShell_QAbstractTableModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12719,7 +12719,7 @@ Qt::ItemFlags PythonQtShell_QAbstractTableModel::flags(const QModelIndex& inde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12752,7 +12752,7 @@ QVariant PythonQtShell_QAbstractTableModel::headerData(int section0, Qt::Orien { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12785,7 +12785,7 @@ QModelIndex PythonQtShell_QAbstractTableModel::index(int row0, int column1, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12818,7 +12818,7 @@ bool PythonQtShell_QAbstractTableModel::insertColumns(int column0, int count1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12851,7 +12851,7 @@ bool PythonQtShell_QAbstractTableModel::insertRows(int row0, int count1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12884,7 +12884,7 @@ QMap PythonQtShell_QAbstractTableModel::itemData(const QModelI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12917,7 +12917,7 @@ QList PythonQtShell_QAbstractTableModel::match(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12950,7 +12950,7 @@ QMimeData* PythonQtShell_QAbstractTableModel::mimeData(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12983,7 +12983,7 @@ QStringList PythonQtShell_QAbstractTableModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13016,7 +13016,7 @@ bool PythonQtShell_QAbstractTableModel::moveColumns(const QModelIndex& sourceP { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13049,7 +13049,7 @@ bool PythonQtShell_QAbstractTableModel::moveRows(const QModelIndex& sourcePare { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13082,7 +13082,7 @@ bool PythonQtShell_QAbstractTableModel::removeColumns(int column0, int count1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13115,7 +13115,7 @@ bool PythonQtShell_QAbstractTableModel::removeRows(int row0, int count1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13148,7 +13148,7 @@ void PythonQtShell_QAbstractTableModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13170,7 +13170,7 @@ QHash PythonQtShell_QAbstractTableModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13203,7 +13203,7 @@ int PythonQtShell_QAbstractTableModel::rowCount(const QModelIndex& parent0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13236,7 +13236,7 @@ bool PythonQtShell_QAbstractTableModel::setData(const QModelIndex& index0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13269,7 +13269,7 @@ bool PythonQtShell_QAbstractTableModel::setHeaderData(int section0, Qt::Orient { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13302,7 +13302,7 @@ bool PythonQtShell_QAbstractTableModel::setItemData(const QModelIndex& index0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13335,7 +13335,7 @@ QModelIndex PythonQtShell_QAbstractTableModel::sibling(int row0, int column1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13368,7 +13368,7 @@ void PythonQtShell_QAbstractTableModel::sort(int column0, Qt::SortOrder order1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13390,7 +13390,7 @@ QSize PythonQtShell_QAbstractTableModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13423,7 +13423,7 @@ bool PythonQtShell_QAbstractTableModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13456,7 +13456,7 @@ Qt::DropActions PythonQtShell_QAbstractTableModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13489,7 +13489,7 @@ Qt::DropActions PythonQtShell_QAbstractTableModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13522,7 +13522,7 @@ void PythonQtShell_QAbstractTableModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13567,7 +13567,7 @@ QRectF PythonQtShell_QAbstractTextDocumentLayout::blockBoundingRect(const QText { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("blockBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13600,7 +13600,7 @@ void PythonQtShell_QAbstractTextDocumentLayout::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13622,7 +13622,7 @@ void PythonQtShell_QAbstractTextDocumentLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13644,7 +13644,7 @@ void PythonQtShell_QAbstractTextDocumentLayout::documentChanged(int from0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("documentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13666,7 +13666,7 @@ QSizeF PythonQtShell_QAbstractTextDocumentLayout::documentSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("documentSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13699,7 +13699,7 @@ void PythonQtShell_QAbstractTextDocumentLayout::draw(QPainter* painter0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13721,7 +13721,7 @@ void PythonQtShell_QAbstractTextDocumentLayout::drawInlineObject(QPainter* pain { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13743,7 +13743,7 @@ bool PythonQtShell_QAbstractTextDocumentLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13776,7 +13776,7 @@ bool PythonQtShell_QAbstractTextDocumentLayout::eventFilter(QObject* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13809,7 +13809,7 @@ QRectF PythonQtShell_QAbstractTextDocumentLayout::frameBoundingRect(QTextFrame* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("frameBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13842,7 +13842,7 @@ int PythonQtShell_QAbstractTextDocumentLayout::hitTest(const QPointF& point0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13875,7 +13875,7 @@ int PythonQtShell_QAbstractTextDocumentLayout::pageCount() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pageCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13908,7 +13908,7 @@ void PythonQtShell_QAbstractTextDocumentLayout::positionInlineObject(QTextInline { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("positionInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13930,7 +13930,7 @@ void PythonQtShell_QAbstractTextDocumentLayout::resizeInlineObject(QTextInlineOb { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13952,7 +13952,7 @@ void PythonQtShell_QAbstractTextDocumentLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14144,7 +14144,7 @@ void PythonQtShell_QAction::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14166,7 +14166,7 @@ void PythonQtShell_QAction::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14188,7 +14188,7 @@ bool PythonQtShell_QAction::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14221,7 +14221,7 @@ bool PythonQtShell_QAction::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14254,7 +14254,7 @@ void PythonQtShell_QAction::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14565,7 +14565,7 @@ void PythonQtShell_QActionGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14587,7 +14587,7 @@ void PythonQtShell_QActionGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14609,7 +14609,7 @@ bool PythonQtShell_QActionGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14642,7 +14642,7 @@ bool PythonQtShell_QActionGroup::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14675,7 +14675,7 @@ void PythonQtShell_QActionGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15053,7 +15053,7 @@ void PythonQtShell_QBoxLayout::addItem(QLayoutItem* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15075,7 +15075,7 @@ void PythonQtShell_QBoxLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15097,7 +15097,7 @@ QSizePolicy::ControlTypes PythonQtShell_QBoxLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15130,7 +15130,7 @@ int PythonQtShell_QBoxLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15163,7 +15163,7 @@ void PythonQtShell_QBoxLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15185,7 +15185,7 @@ bool PythonQtShell_QBoxLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15218,7 +15218,7 @@ bool PythonQtShell_QBoxLayout::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15251,7 +15251,7 @@ Qt::Orientations PythonQtShell_QBoxLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15284,7 +15284,7 @@ QRect PythonQtShell_QBoxLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15317,7 +15317,7 @@ bool PythonQtShell_QBoxLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15350,7 +15350,7 @@ int PythonQtShell_QBoxLayout::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15383,7 +15383,7 @@ int PythonQtShell_QBoxLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15416,7 +15416,7 @@ void PythonQtShell_QBoxLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15438,7 +15438,7 @@ bool PythonQtShell_QBoxLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15471,7 +15471,7 @@ QLayoutItem* PythonQtShell_QBoxLayout::itemAt(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15504,7 +15504,7 @@ QLayout* PythonQtShell_QBoxLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15537,7 +15537,7 @@ QSize PythonQtShell_QBoxLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15570,7 +15570,7 @@ int PythonQtShell_QBoxLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15603,7 +15603,7 @@ QSize PythonQtShell_QBoxLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15636,7 +15636,7 @@ void PythonQtShell_QBoxLayout::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15658,7 +15658,7 @@ QSize PythonQtShell_QBoxLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15691,7 +15691,7 @@ QLayoutItem* PythonQtShell_QBoxLayout::takeAt(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15724,7 +15724,7 @@ void PythonQtShell_QBoxLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15889,7 +15889,7 @@ void PythonQtShell_QButtonGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15911,7 +15911,7 @@ void PythonQtShell_QButtonGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15933,7 +15933,7 @@ bool PythonQtShell_QButtonGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15966,7 +15966,7 @@ bool PythonQtShell_QButtonGroup::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15999,7 +15999,7 @@ void PythonQtShell_QButtonGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16094,7 +16094,7 @@ void PythonQtShell_QCalendarWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16116,7 +16116,7 @@ void PythonQtShell_QCalendarWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16138,7 +16138,7 @@ void PythonQtShell_QCalendarWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16160,7 +16160,7 @@ void PythonQtShell_QCalendarWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16182,7 +16182,7 @@ void PythonQtShell_QCalendarWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16204,7 +16204,7 @@ void PythonQtShell_QCalendarWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16226,7 +16226,7 @@ int PythonQtShell_QCalendarWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16259,7 +16259,7 @@ void PythonQtShell_QCalendarWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16281,7 +16281,7 @@ void PythonQtShell_QCalendarWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16303,7 +16303,7 @@ void PythonQtShell_QCalendarWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16325,7 +16325,7 @@ void PythonQtShell_QCalendarWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16347,7 +16347,7 @@ void PythonQtShell_QCalendarWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16369,7 +16369,7 @@ bool PythonQtShell_QCalendarWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16402,7 +16402,7 @@ bool PythonQtShell_QCalendarWidget::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16435,7 +16435,7 @@ void PythonQtShell_QCalendarWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16457,7 +16457,7 @@ bool PythonQtShell_QCalendarWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16490,7 +16490,7 @@ void PythonQtShell_QCalendarWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16512,7 +16512,7 @@ bool PythonQtShell_QCalendarWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16545,7 +16545,7 @@ int PythonQtShell_QCalendarWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16578,7 +16578,7 @@ void PythonQtShell_QCalendarWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16600,7 +16600,7 @@ void PythonQtShell_QCalendarWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16622,7 +16622,7 @@ void PythonQtShell_QCalendarWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16644,7 +16644,7 @@ QVariant PythonQtShell_QCalendarWidget::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16677,7 +16677,7 @@ void PythonQtShell_QCalendarWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16699,7 +16699,7 @@ void PythonQtShell_QCalendarWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16721,7 +16721,7 @@ void PythonQtShell_QCalendarWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16743,7 +16743,7 @@ int PythonQtShell_QCalendarWidget::metric(QPaintDevice::PaintDeviceMetric arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16776,7 +16776,7 @@ QSize PythonQtShell_QCalendarWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16809,7 +16809,7 @@ void PythonQtShell_QCalendarWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16831,7 +16831,7 @@ void PythonQtShell_QCalendarWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16853,7 +16853,7 @@ void PythonQtShell_QCalendarWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16875,7 +16875,7 @@ void PythonQtShell_QCalendarWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16897,7 +16897,7 @@ void PythonQtShell_QCalendarWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16919,7 +16919,7 @@ bool PythonQtShell_QCalendarWidget::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16952,7 +16952,7 @@ void PythonQtShell_QCalendarWidget::paintCell(QPainter* painter0, const QRect& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintCell"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16974,7 +16974,7 @@ QPaintEngine* PythonQtShell_QCalendarWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17007,7 +17007,7 @@ void PythonQtShell_QCalendarWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17029,7 +17029,7 @@ QPaintDevice* PythonQtShell_QCalendarWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17062,7 +17062,7 @@ void PythonQtShell_QCalendarWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17084,7 +17084,7 @@ void PythonQtShell_QCalendarWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17106,7 +17106,7 @@ QPainter* PythonQtShell_QCalendarWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17139,7 +17139,7 @@ void PythonQtShell_QCalendarWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17161,7 +17161,7 @@ QSize PythonQtShell_QCalendarWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17194,7 +17194,7 @@ void PythonQtShell_QCalendarWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17216,7 +17216,7 @@ void PythonQtShell_QCalendarWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17238,7 +17238,7 @@ void PythonQtShell_QCalendarWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17438,7 +17438,7 @@ void PythonQtShell_QCheckBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17460,7 +17460,7 @@ void PythonQtShell_QCheckBox::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17482,7 +17482,7 @@ void PythonQtShell_QCheckBox::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17504,7 +17504,7 @@ void PythonQtShell_QCheckBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17526,7 +17526,7 @@ void PythonQtShell_QCheckBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17548,7 +17548,7 @@ void PythonQtShell_QCheckBox::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17570,7 +17570,7 @@ void PythonQtShell_QCheckBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17592,7 +17592,7 @@ int PythonQtShell_QCheckBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17625,7 +17625,7 @@ void PythonQtShell_QCheckBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17647,7 +17647,7 @@ void PythonQtShell_QCheckBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17669,7 +17669,7 @@ void PythonQtShell_QCheckBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17691,7 +17691,7 @@ void PythonQtShell_QCheckBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17713,7 +17713,7 @@ void PythonQtShell_QCheckBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17735,7 +17735,7 @@ bool PythonQtShell_QCheckBox::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17768,7 +17768,7 @@ bool PythonQtShell_QCheckBox::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17801,7 +17801,7 @@ void PythonQtShell_QCheckBox::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17823,7 +17823,7 @@ bool PythonQtShell_QCheckBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17856,7 +17856,7 @@ void PythonQtShell_QCheckBox::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17878,7 +17878,7 @@ bool PythonQtShell_QCheckBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17911,7 +17911,7 @@ int PythonQtShell_QCheckBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17944,7 +17944,7 @@ void PythonQtShell_QCheckBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17966,7 +17966,7 @@ bool PythonQtShell_QCheckBox::hitButton(const QPoint& pos0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17999,7 +17999,7 @@ void PythonQtShell_QCheckBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18021,7 +18021,7 @@ void PythonQtShell_QCheckBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18043,7 +18043,7 @@ QVariant PythonQtShell_QCheckBox::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18076,7 +18076,7 @@ void PythonQtShell_QCheckBox::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18098,7 +18098,7 @@ void PythonQtShell_QCheckBox::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18120,7 +18120,7 @@ void PythonQtShell_QCheckBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18142,7 +18142,7 @@ int PythonQtShell_QCheckBox::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18175,7 +18175,7 @@ QSize PythonQtShell_QCheckBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18208,7 +18208,7 @@ void PythonQtShell_QCheckBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18230,7 +18230,7 @@ void PythonQtShell_QCheckBox::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18252,7 +18252,7 @@ void PythonQtShell_QCheckBox::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18274,7 +18274,7 @@ void PythonQtShell_QCheckBox::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18296,7 +18296,7 @@ void PythonQtShell_QCheckBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18318,7 +18318,7 @@ bool PythonQtShell_QCheckBox::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18351,7 +18351,7 @@ void PythonQtShell_QCheckBox::nextCheckState() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18373,7 +18373,7 @@ QPaintEngine* PythonQtShell_QCheckBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18406,7 +18406,7 @@ void PythonQtShell_QCheckBox::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18428,7 +18428,7 @@ QPaintDevice* PythonQtShell_QCheckBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18461,7 +18461,7 @@ void PythonQtShell_QCheckBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18483,7 +18483,7 @@ void PythonQtShell_QCheckBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18505,7 +18505,7 @@ QPainter* PythonQtShell_QCheckBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18538,7 +18538,7 @@ void PythonQtShell_QCheckBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18560,7 +18560,7 @@ QSize PythonQtShell_QCheckBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18593,7 +18593,7 @@ void PythonQtShell_QCheckBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18615,7 +18615,7 @@ void PythonQtShell_QCheckBox::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18637,7 +18637,7 @@ void PythonQtShell_QCheckBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18804,7 +18804,7 @@ void PythonQtShell_QColorDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18826,7 +18826,7 @@ void PythonQtShell_QColorDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18848,7 +18848,7 @@ void PythonQtShell_QColorDialog::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18870,7 +18870,7 @@ void PythonQtShell_QColorDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18892,7 +18892,7 @@ void PythonQtShell_QColorDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18914,7 +18914,7 @@ void PythonQtShell_QColorDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18936,7 +18936,7 @@ void PythonQtShell_QColorDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18958,7 +18958,7 @@ int PythonQtShell_QColorDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18991,7 +18991,7 @@ void PythonQtShell_QColorDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19013,7 +19013,7 @@ void PythonQtShell_QColorDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19035,7 +19035,7 @@ void PythonQtShell_QColorDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19057,7 +19057,7 @@ void PythonQtShell_QColorDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19079,7 +19079,7 @@ void PythonQtShell_QColorDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19101,7 +19101,7 @@ void PythonQtShell_QColorDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19123,7 +19123,7 @@ bool PythonQtShell_QColorDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19156,7 +19156,7 @@ bool PythonQtShell_QColorDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19189,7 +19189,7 @@ int PythonQtShell_QColorDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19222,7 +19222,7 @@ void PythonQtShell_QColorDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19244,7 +19244,7 @@ bool PythonQtShell_QColorDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19277,7 +19277,7 @@ void PythonQtShell_QColorDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19299,7 +19299,7 @@ bool PythonQtShell_QColorDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19332,7 +19332,7 @@ int PythonQtShell_QColorDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19365,7 +19365,7 @@ void PythonQtShell_QColorDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19387,7 +19387,7 @@ void PythonQtShell_QColorDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19409,7 +19409,7 @@ void PythonQtShell_QColorDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19431,7 +19431,7 @@ QVariant PythonQtShell_QColorDialog::inputMethodQuery(Qt::InputMethodQuery arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19464,7 +19464,7 @@ void PythonQtShell_QColorDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19486,7 +19486,7 @@ void PythonQtShell_QColorDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19508,7 +19508,7 @@ void PythonQtShell_QColorDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19530,7 +19530,7 @@ int PythonQtShell_QColorDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19563,7 +19563,7 @@ void PythonQtShell_QColorDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19585,7 +19585,7 @@ void PythonQtShell_QColorDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19607,7 +19607,7 @@ void PythonQtShell_QColorDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19629,7 +19629,7 @@ void PythonQtShell_QColorDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19651,7 +19651,7 @@ void PythonQtShell_QColorDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19673,7 +19673,7 @@ bool PythonQtShell_QColorDialog::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19706,7 +19706,7 @@ QPaintEngine* PythonQtShell_QColorDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19739,7 +19739,7 @@ void PythonQtShell_QColorDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19761,7 +19761,7 @@ QPaintDevice* PythonQtShell_QColorDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19794,7 +19794,7 @@ void PythonQtShell_QColorDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19816,7 +19816,7 @@ void PythonQtShell_QColorDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19838,7 +19838,7 @@ void PythonQtShell_QColorDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19860,7 +19860,7 @@ QPainter* PythonQtShell_QColorDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19893,7 +19893,7 @@ void PythonQtShell_QColorDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19915,7 +19915,7 @@ void PythonQtShell_QColorDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19937,7 +19937,7 @@ void PythonQtShell_QColorDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19959,7 +19959,7 @@ void PythonQtShell_QColorDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20083,7 +20083,7 @@ void PythonQtShell_QColumnView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20105,7 +20105,7 @@ void PythonQtShell_QColumnView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20127,7 +20127,7 @@ void PythonQtShell_QColumnView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20149,7 +20149,7 @@ void PythonQtShell_QColumnView::closeEditor(QWidget* editor0, QAbstractItemDele { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20171,7 +20171,7 @@ void PythonQtShell_QColumnView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20193,7 +20193,7 @@ void PythonQtShell_QColumnView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20215,7 +20215,7 @@ void PythonQtShell_QColumnView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20237,7 +20237,7 @@ QAbstractItemView* PythonQtShell_QColumnView::createColumn(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20270,7 +20270,7 @@ void PythonQtShell_QColumnView::currentChanged(const QModelIndex& current0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20292,7 +20292,7 @@ void PythonQtShell_QColumnView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20314,7 +20314,7 @@ void PythonQtShell_QColumnView::dataChanged(const QModelIndex& topLeft0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20336,7 +20336,7 @@ int PythonQtShell_QColumnView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20369,7 +20369,7 @@ void PythonQtShell_QColumnView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20391,7 +20391,7 @@ void PythonQtShell_QColumnView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20413,7 +20413,7 @@ void PythonQtShell_QColumnView::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20435,7 +20435,7 @@ void PythonQtShell_QColumnView::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20457,7 +20457,7 @@ void PythonQtShell_QColumnView::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20479,7 +20479,7 @@ bool PythonQtShell_QColumnView::edit(const QModelIndex& index0, QAbstractItemV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20512,7 +20512,7 @@ void PythonQtShell_QColumnView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20534,7 +20534,7 @@ void PythonQtShell_QColumnView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20556,7 +20556,7 @@ bool PythonQtShell_QColumnView::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20589,7 +20589,7 @@ bool PythonQtShell_QColumnView::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20622,7 +20622,7 @@ void PythonQtShell_QColumnView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20644,7 +20644,7 @@ bool PythonQtShell_QColumnView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20677,7 +20677,7 @@ void PythonQtShell_QColumnView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20699,7 +20699,7 @@ bool PythonQtShell_QColumnView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20732,7 +20732,7 @@ int PythonQtShell_QColumnView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20765,7 +20765,7 @@ void PythonQtShell_QColumnView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20787,7 +20787,7 @@ int PythonQtShell_QColumnView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20820,7 +20820,7 @@ void PythonQtShell_QColumnView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20842,7 +20842,7 @@ void PythonQtShell_QColumnView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20864,7 +20864,7 @@ QModelIndex PythonQtShell_QColumnView::indexAt(const QPoint& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20897,7 +20897,7 @@ void PythonQtShell_QColumnView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20919,7 +20919,7 @@ void PythonQtShell_QColumnView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20941,7 +20941,7 @@ QVariant PythonQtShell_QColumnView::inputMethodQuery(Qt::InputMethodQuery quer { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -20974,7 +20974,7 @@ bool PythonQtShell_QColumnView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21007,7 +21007,7 @@ void PythonQtShell_QColumnView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21029,7 +21029,7 @@ void PythonQtShell_QColumnView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21051,7 +21051,7 @@ void PythonQtShell_QColumnView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21073,7 +21073,7 @@ void PythonQtShell_QColumnView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21095,7 +21095,7 @@ int PythonQtShell_QColumnView::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21128,7 +21128,7 @@ QSize PythonQtShell_QColumnView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21161,7 +21161,7 @@ void PythonQtShell_QColumnView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21183,7 +21183,7 @@ void PythonQtShell_QColumnView::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21205,7 +21205,7 @@ void PythonQtShell_QColumnView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21227,7 +21227,7 @@ void PythonQtShell_QColumnView::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21249,7 +21249,7 @@ QModelIndex PythonQtShell_QColumnView::moveCursor(QAbstractItemView::CursorActi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21282,7 +21282,7 @@ void PythonQtShell_QColumnView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21304,7 +21304,7 @@ bool PythonQtShell_QColumnView::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21337,7 +21337,7 @@ QPaintEngine* PythonQtShell_QColumnView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21370,7 +21370,7 @@ void PythonQtShell_QColumnView::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21392,7 +21392,7 @@ QPaintDevice* PythonQtShell_QColumnView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21425,7 +21425,7 @@ void PythonQtShell_QColumnView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21447,7 +21447,7 @@ void PythonQtShell_QColumnView::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21469,7 +21469,7 @@ void PythonQtShell_QColumnView::rowsAboutToBeRemoved(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21491,7 +21491,7 @@ void PythonQtShell_QColumnView::rowsInserted(const QModelIndex& parent0, int s { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21513,7 +21513,7 @@ void PythonQtShell_QColumnView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21535,7 +21535,7 @@ void PythonQtShell_QColumnView::scrollTo(const QModelIndex& index0, QAbstractIt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21557,7 +21557,7 @@ void PythonQtShell_QColumnView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21579,7 +21579,7 @@ QList PythonQtShell_QColumnView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21612,7 +21612,7 @@ void PythonQtShell_QColumnView::selectionChanged(const QItemSelection& selected { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21634,7 +21634,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QColumnView::selectionCommand { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21667,7 +21667,7 @@ void PythonQtShell_QColumnView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21689,7 +21689,7 @@ void PythonQtShell_QColumnView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21711,7 +21711,7 @@ void PythonQtShell_QColumnView::setSelection(const QRect& rect0, QItemSelection { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21733,7 +21733,7 @@ void PythonQtShell_QColumnView::setSelectionModel(QItemSelectionModel* selectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21755,7 +21755,7 @@ void PythonQtShell_QColumnView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21777,7 +21777,7 @@ void PythonQtShell_QColumnView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21799,7 +21799,7 @@ QPainter* PythonQtShell_QColumnView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21832,7 +21832,7 @@ void PythonQtShell_QColumnView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21854,7 +21854,7 @@ QSize PythonQtShell_QColumnView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21887,7 +21887,7 @@ int PythonQtShell_QColumnView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21920,7 +21920,7 @@ int PythonQtShell_QColumnView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21953,7 +21953,7 @@ void PythonQtShell_QColumnView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21975,7 +21975,7 @@ void PythonQtShell_QColumnView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -21997,7 +21997,7 @@ void PythonQtShell_QColumnView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22019,7 +22019,7 @@ void PythonQtShell_QColumnView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22041,7 +22041,7 @@ void PythonQtShell_QColumnView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22063,7 +22063,7 @@ void PythonQtShell_QColumnView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22085,7 +22085,7 @@ int PythonQtShell_QColumnView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22118,7 +22118,7 @@ void PythonQtShell_QColumnView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22140,7 +22140,7 @@ void PythonQtShell_QColumnView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22162,7 +22162,7 @@ QStyleOptionViewItem PythonQtShell_QColumnView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22195,7 +22195,7 @@ bool PythonQtShell_QColumnView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22228,7 +22228,7 @@ QSize PythonQtShell_QColumnView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22261,7 +22261,7 @@ QRect PythonQtShell_QColumnView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22294,7 +22294,7 @@ QRegion PythonQtShell_QColumnView::visualRegionForSelection(const QItemSelectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22327,7 +22327,7 @@ void PythonQtShell_QColumnView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22412,7 +22412,7 @@ void PythonQtShell_QComboBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22434,7 +22434,7 @@ void PythonQtShell_QComboBox::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22456,7 +22456,7 @@ void PythonQtShell_QComboBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22478,7 +22478,7 @@ void PythonQtShell_QComboBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22500,7 +22500,7 @@ void PythonQtShell_QComboBox::contextMenuEvent(QContextMenuEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22522,7 +22522,7 @@ void PythonQtShell_QComboBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22544,7 +22544,7 @@ int PythonQtShell_QComboBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22577,7 +22577,7 @@ void PythonQtShell_QComboBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22599,7 +22599,7 @@ void PythonQtShell_QComboBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22621,7 +22621,7 @@ void PythonQtShell_QComboBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22643,7 +22643,7 @@ void PythonQtShell_QComboBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22665,7 +22665,7 @@ void PythonQtShell_QComboBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22687,7 +22687,7 @@ bool PythonQtShell_QComboBox::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22720,7 +22720,7 @@ bool PythonQtShell_QComboBox::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22753,7 +22753,7 @@ void PythonQtShell_QComboBox::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22775,7 +22775,7 @@ bool PythonQtShell_QComboBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22808,7 +22808,7 @@ void PythonQtShell_QComboBox::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22830,7 +22830,7 @@ bool PythonQtShell_QComboBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22863,7 +22863,7 @@ int PythonQtShell_QComboBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22896,7 +22896,7 @@ void PythonQtShell_QComboBox::hideEvent(QHideEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22918,7 +22918,7 @@ void PythonQtShell_QComboBox::hidePopup() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hidePopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22940,7 +22940,7 @@ void PythonQtShell_QComboBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22962,7 +22962,7 @@ void PythonQtShell_QComboBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -22984,7 +22984,7 @@ QVariant PythonQtShell_QComboBox::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23017,7 +23017,7 @@ void PythonQtShell_QComboBox::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23039,7 +23039,7 @@ void PythonQtShell_QComboBox::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23061,7 +23061,7 @@ void PythonQtShell_QComboBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23083,7 +23083,7 @@ int PythonQtShell_QComboBox::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23116,7 +23116,7 @@ QSize PythonQtShell_QComboBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23149,7 +23149,7 @@ void PythonQtShell_QComboBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23171,7 +23171,7 @@ void PythonQtShell_QComboBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23193,7 +23193,7 @@ void PythonQtShell_QComboBox::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23215,7 +23215,7 @@ void PythonQtShell_QComboBox::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23237,7 +23237,7 @@ void PythonQtShell_QComboBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23259,7 +23259,7 @@ bool PythonQtShell_QComboBox::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23292,7 +23292,7 @@ QPaintEngine* PythonQtShell_QComboBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23325,7 +23325,7 @@ void PythonQtShell_QComboBox::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23347,7 +23347,7 @@ QPaintDevice* PythonQtShell_QComboBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23380,7 +23380,7 @@ void PythonQtShell_QComboBox::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23402,7 +23402,7 @@ void PythonQtShell_QComboBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23424,7 +23424,7 @@ QPainter* PythonQtShell_QComboBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23457,7 +23457,7 @@ void PythonQtShell_QComboBox::showEvent(QShowEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23479,7 +23479,7 @@ void PythonQtShell_QComboBox::showPopup() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showPopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23501,7 +23501,7 @@ QSize PythonQtShell_QComboBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23534,7 +23534,7 @@ void PythonQtShell_QComboBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23556,7 +23556,7 @@ void PythonQtShell_QComboBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23578,7 +23578,7 @@ void PythonQtShell_QComboBox::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23918,7 +23918,7 @@ void PythonQtShell_QCommandLinkButton::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23940,7 +23940,7 @@ void PythonQtShell_QCommandLinkButton::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23962,7 +23962,7 @@ void PythonQtShell_QCommandLinkButton::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -23984,7 +23984,7 @@ void PythonQtShell_QCommandLinkButton::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24006,7 +24006,7 @@ void PythonQtShell_QCommandLinkButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24028,7 +24028,7 @@ void PythonQtShell_QCommandLinkButton::contextMenuEvent(QContextMenuEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24050,7 +24050,7 @@ void PythonQtShell_QCommandLinkButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24072,7 +24072,7 @@ int PythonQtShell_QCommandLinkButton::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24105,7 +24105,7 @@ void PythonQtShell_QCommandLinkButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24127,7 +24127,7 @@ void PythonQtShell_QCommandLinkButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24149,7 +24149,7 @@ void PythonQtShell_QCommandLinkButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24171,7 +24171,7 @@ void PythonQtShell_QCommandLinkButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24193,7 +24193,7 @@ void PythonQtShell_QCommandLinkButton::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24215,7 +24215,7 @@ bool PythonQtShell_QCommandLinkButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24248,7 +24248,7 @@ bool PythonQtShell_QCommandLinkButton::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24281,7 +24281,7 @@ void PythonQtShell_QCommandLinkButton::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24303,7 +24303,7 @@ bool PythonQtShell_QCommandLinkButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24336,7 +24336,7 @@ void PythonQtShell_QCommandLinkButton::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24358,7 +24358,7 @@ bool PythonQtShell_QCommandLinkButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24391,7 +24391,7 @@ int PythonQtShell_QCommandLinkButton::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24424,7 +24424,7 @@ void PythonQtShell_QCommandLinkButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24446,7 +24446,7 @@ bool PythonQtShell_QCommandLinkButton::hitButton(const QPoint& pos0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24479,7 +24479,7 @@ void PythonQtShell_QCommandLinkButton::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24501,7 +24501,7 @@ void PythonQtShell_QCommandLinkButton::inputMethodEvent(QInputMethodEvent* arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24523,7 +24523,7 @@ QVariant PythonQtShell_QCommandLinkButton::inputMethodQuery(Qt::InputMethodQuer { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24556,7 +24556,7 @@ void PythonQtShell_QCommandLinkButton::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24578,7 +24578,7 @@ void PythonQtShell_QCommandLinkButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24600,7 +24600,7 @@ void PythonQtShell_QCommandLinkButton::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24622,7 +24622,7 @@ int PythonQtShell_QCommandLinkButton::metric(QPaintDevice::PaintDeviceMetric a { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24655,7 +24655,7 @@ QSize PythonQtShell_QCommandLinkButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24688,7 +24688,7 @@ void PythonQtShell_QCommandLinkButton::mouseDoubleClickEvent(QMouseEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24710,7 +24710,7 @@ void PythonQtShell_QCommandLinkButton::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24732,7 +24732,7 @@ void PythonQtShell_QCommandLinkButton::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24754,7 +24754,7 @@ void PythonQtShell_QCommandLinkButton::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24776,7 +24776,7 @@ void PythonQtShell_QCommandLinkButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24798,7 +24798,7 @@ bool PythonQtShell_QCommandLinkButton::nativeEvent(const QByteArray& eventType { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24831,7 +24831,7 @@ void PythonQtShell_QCommandLinkButton::nextCheckState() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24853,7 +24853,7 @@ QPaintEngine* PythonQtShell_QCommandLinkButton::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24886,7 +24886,7 @@ void PythonQtShell_QCommandLinkButton::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24908,7 +24908,7 @@ QPaintDevice* PythonQtShell_QCommandLinkButton::redirected(QPoint* offset0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24941,7 +24941,7 @@ void PythonQtShell_QCommandLinkButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24963,7 +24963,7 @@ void PythonQtShell_QCommandLinkButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -24985,7 +24985,7 @@ QPainter* PythonQtShell_QCommandLinkButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25018,7 +25018,7 @@ void PythonQtShell_QCommandLinkButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25040,7 +25040,7 @@ QSize PythonQtShell_QCommandLinkButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25073,7 +25073,7 @@ void PythonQtShell_QCommandLinkButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25095,7 +25095,7 @@ void PythonQtShell_QCommandLinkButton::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25117,7 +25117,7 @@ void PythonQtShell_QCommandLinkButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25180,7 +25180,7 @@ void PythonQtShell_QCommonStyle::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25202,7 +25202,7 @@ void PythonQtShell_QCommonStyle::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25224,7 +25224,7 @@ void PythonQtShell_QCommonStyle::drawComplexControl(QStyle::ComplexControl cc0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25246,7 +25246,7 @@ void PythonQtShell_QCommonStyle::drawControl(QStyle::ControlElement element0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25268,7 +25268,7 @@ void PythonQtShell_QCommonStyle::drawItemPixmap(QPainter* painter0, const QRect { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawItemPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25290,7 +25290,7 @@ void PythonQtShell_QCommonStyle::drawItemText(QPainter* painter0, const QRect& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawItemText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25312,7 +25312,7 @@ void PythonQtShell_QCommonStyle::drawPrimitive(QStyle::PrimitiveElement pe0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawPrimitive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25334,7 +25334,7 @@ bool PythonQtShell_QCommonStyle::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25367,7 +25367,7 @@ bool PythonQtShell_QCommonStyle::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25400,7 +25400,7 @@ QPixmap PythonQtShell_QCommonStyle::generatedIconPixmap(QIcon::Mode iconMode0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("generatedIconPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25433,7 +25433,7 @@ QStyle::SubControl PythonQtShell_QCommonStyle::hitTestComplexControl(QStyle::Co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitTestComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25466,7 +25466,7 @@ QRect PythonQtShell_QCommonStyle::itemPixmapRect(const QRect& r0, int flags1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemPixmapRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25499,7 +25499,7 @@ int PythonQtShell_QCommonStyle::layoutSpacing(QSizePolicy::ControlType control { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layoutSpacing"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25532,7 +25532,7 @@ int PythonQtShell_QCommonStyle::pixelMetric(QStyle::PixelMetric m0, const QSty { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pixelMetric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25565,7 +25565,7 @@ void PythonQtShell_QCommonStyle::polish(QApplication* app0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25587,7 +25587,7 @@ void PythonQtShell_QCommonStyle::polish(QPalette& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25609,7 +25609,7 @@ void PythonQtShell_QCommonStyle::polish(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25631,7 +25631,7 @@ QSize PythonQtShell_QCommonStyle::sizeFromContents(QStyle::ContentsType ct0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25664,7 +25664,7 @@ QIcon PythonQtShell_QCommonStyle::standardIcon(QStyle::StandardPixmap standard { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("standardIcon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25697,7 +25697,7 @@ QPalette PythonQtShell_QCommonStyle::standardPalette() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("standardPalette"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25730,7 +25730,7 @@ QPixmap PythonQtShell_QCommonStyle::standardPixmap(QStyle::StandardPixmap sp0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("standardPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25763,7 +25763,7 @@ int PythonQtShell_QCommonStyle::styleHint(QStyle::StyleHint sh0, const QStyleO { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("styleHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25796,7 +25796,7 @@ QRect PythonQtShell_QCommonStyle::subControlRect(QStyle::ComplexControl cc0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("subControlRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25829,7 +25829,7 @@ QRect PythonQtShell_QCommonStyle::subElementRect(QStyle::SubElement r0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("subElementRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25862,7 +25862,7 @@ void PythonQtShell_QCommonStyle::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25884,7 +25884,7 @@ void PythonQtShell_QCommonStyle::unpolish(QApplication* application0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -25906,7 +25906,7 @@ void PythonQtShell_QCommonStyle::unpolish(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp index cf607855b..dc733057b 100644 --- a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp +++ b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp @@ -87,7 +87,7 @@ void PythonQtShell_QCompleter::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -109,7 +109,7 @@ void PythonQtShell_QCompleter::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -131,7 +131,7 @@ bool PythonQtShell_QCompleter::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -164,7 +164,7 @@ bool PythonQtShell_QCompleter::eventFilter(QObject* o0, QEvent* e1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -197,7 +197,7 @@ QString PythonQtShell_QCompleter::pathFromIndex(const QModelIndex& index0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pathFromIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -230,7 +230,7 @@ QStringList PythonQtShell_QCompleter::splitPath(const QString& path0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("splitPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -263,7 +263,7 @@ void PythonQtShell_QCompleter::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -558,7 +558,7 @@ void PythonQtShell_QDataWidgetMapper::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -580,7 +580,7 @@ void PythonQtShell_QDataWidgetMapper::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -602,7 +602,7 @@ bool PythonQtShell_QDataWidgetMapper::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -635,7 +635,7 @@ bool PythonQtShell_QDataWidgetMapper::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -668,7 +668,7 @@ void PythonQtShell_QDataWidgetMapper::setCurrentIndex(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setCurrentIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -690,7 +690,7 @@ void PythonQtShell_QDataWidgetMapper::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -825,7 +825,7 @@ void PythonQtShell_QDateEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -847,7 +847,7 @@ void PythonQtShell_QDateEdit::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -869,7 +869,7 @@ void PythonQtShell_QDateEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -891,7 +891,7 @@ void PythonQtShell_QDateEdit::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -913,7 +913,7 @@ void PythonQtShell_QDateEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -935,7 +935,7 @@ void PythonQtShell_QDateEdit::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -957,7 +957,7 @@ void PythonQtShell_QDateEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -979,7 +979,7 @@ QDateTime PythonQtShell_QDateEdit::dateTimeFromText(const QString& text0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dateTimeFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1012,7 +1012,7 @@ int PythonQtShell_QDateEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1045,7 +1045,7 @@ void PythonQtShell_QDateEdit::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1067,7 +1067,7 @@ void PythonQtShell_QDateEdit::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1089,7 +1089,7 @@ void PythonQtShell_QDateEdit::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1111,7 +1111,7 @@ void PythonQtShell_QDateEdit::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1133,7 +1133,7 @@ void PythonQtShell_QDateEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1155,7 +1155,7 @@ bool PythonQtShell_QDateEdit::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1188,7 +1188,7 @@ bool PythonQtShell_QDateEdit::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1221,7 +1221,7 @@ void PythonQtShell_QDateEdit::fixup(QString& input0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1243,7 +1243,7 @@ void PythonQtShell_QDateEdit::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1265,7 +1265,7 @@ bool PythonQtShell_QDateEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1298,7 +1298,7 @@ void PythonQtShell_QDateEdit::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1320,7 +1320,7 @@ bool PythonQtShell_QDateEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1353,7 +1353,7 @@ int PythonQtShell_QDateEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1386,7 +1386,7 @@ void PythonQtShell_QDateEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1408,7 +1408,7 @@ void PythonQtShell_QDateEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1430,7 +1430,7 @@ void PythonQtShell_QDateEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1452,7 +1452,7 @@ QVariant PythonQtShell_QDateEdit::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1485,7 +1485,7 @@ void PythonQtShell_QDateEdit::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1507,7 +1507,7 @@ void PythonQtShell_QDateEdit::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1529,7 +1529,7 @@ void PythonQtShell_QDateEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1551,7 +1551,7 @@ int PythonQtShell_QDateEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1584,7 +1584,7 @@ void PythonQtShell_QDateEdit::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1606,7 +1606,7 @@ void PythonQtShell_QDateEdit::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1628,7 +1628,7 @@ void PythonQtShell_QDateEdit::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1650,7 +1650,7 @@ void PythonQtShell_QDateEdit::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1672,7 +1672,7 @@ void PythonQtShell_QDateEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1694,7 +1694,7 @@ bool PythonQtShell_QDateEdit::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1727,7 +1727,7 @@ QPaintEngine* PythonQtShell_QDateEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1760,7 +1760,7 @@ void PythonQtShell_QDateEdit::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1782,7 +1782,7 @@ QPaintDevice* PythonQtShell_QDateEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1815,7 +1815,7 @@ void PythonQtShell_QDateEdit::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1837,7 +1837,7 @@ void PythonQtShell_QDateEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1859,7 +1859,7 @@ QPainter* PythonQtShell_QDateEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1892,7 +1892,7 @@ void PythonQtShell_QDateEdit::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1914,7 +1914,7 @@ void PythonQtShell_QDateEdit::stepBy(int steps0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1936,7 +1936,7 @@ QAbstractSpinBox::StepEnabled PythonQtShell_QDateEdit::stepEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1969,7 +1969,7 @@ void PythonQtShell_QDateEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1991,7 +1991,7 @@ QString PythonQtShell_QDateEdit::textFromDateTime(const QDateTime& dt0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textFromDateTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2024,7 +2024,7 @@ void PythonQtShell_QDateEdit::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2046,7 +2046,7 @@ QValidator::State PythonQtShell_QDateEdit::validate(QString& input0, int& pos { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2079,7 +2079,7 @@ void PythonQtShell_QDateEdit::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2128,7 +2128,7 @@ void PythonQtShell_QDateTimeEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2150,7 +2150,7 @@ void PythonQtShell_QDateTimeEdit::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2172,7 +2172,7 @@ void PythonQtShell_QDateTimeEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2194,7 +2194,7 @@ void PythonQtShell_QDateTimeEdit::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2216,7 +2216,7 @@ void PythonQtShell_QDateTimeEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2238,7 +2238,7 @@ void PythonQtShell_QDateTimeEdit::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2260,7 +2260,7 @@ void PythonQtShell_QDateTimeEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2282,7 +2282,7 @@ QDateTime PythonQtShell_QDateTimeEdit::dateTimeFromText(const QString& text0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dateTimeFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2315,7 +2315,7 @@ int PythonQtShell_QDateTimeEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2348,7 +2348,7 @@ void PythonQtShell_QDateTimeEdit::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2370,7 +2370,7 @@ void PythonQtShell_QDateTimeEdit::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2392,7 +2392,7 @@ void PythonQtShell_QDateTimeEdit::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2414,7 +2414,7 @@ void PythonQtShell_QDateTimeEdit::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2436,7 +2436,7 @@ void PythonQtShell_QDateTimeEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2458,7 +2458,7 @@ bool PythonQtShell_QDateTimeEdit::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2491,7 +2491,7 @@ bool PythonQtShell_QDateTimeEdit::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2524,7 +2524,7 @@ void PythonQtShell_QDateTimeEdit::fixup(QString& input0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2546,7 +2546,7 @@ void PythonQtShell_QDateTimeEdit::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2568,7 +2568,7 @@ bool PythonQtShell_QDateTimeEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2601,7 +2601,7 @@ void PythonQtShell_QDateTimeEdit::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2623,7 +2623,7 @@ bool PythonQtShell_QDateTimeEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2656,7 +2656,7 @@ int PythonQtShell_QDateTimeEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2689,7 +2689,7 @@ void PythonQtShell_QDateTimeEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2711,7 +2711,7 @@ void PythonQtShell_QDateTimeEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2733,7 +2733,7 @@ void PythonQtShell_QDateTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2755,7 +2755,7 @@ QVariant PythonQtShell_QDateTimeEdit::inputMethodQuery(Qt::InputMethodQuery ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2788,7 +2788,7 @@ void PythonQtShell_QDateTimeEdit::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2810,7 +2810,7 @@ void PythonQtShell_QDateTimeEdit::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2832,7 +2832,7 @@ void PythonQtShell_QDateTimeEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2854,7 +2854,7 @@ int PythonQtShell_QDateTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2887,7 +2887,7 @@ void PythonQtShell_QDateTimeEdit::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2909,7 +2909,7 @@ void PythonQtShell_QDateTimeEdit::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2931,7 +2931,7 @@ void PythonQtShell_QDateTimeEdit::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2953,7 +2953,7 @@ void PythonQtShell_QDateTimeEdit::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2975,7 +2975,7 @@ void PythonQtShell_QDateTimeEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2997,7 +2997,7 @@ bool PythonQtShell_QDateTimeEdit::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3030,7 +3030,7 @@ QPaintEngine* PythonQtShell_QDateTimeEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3063,7 +3063,7 @@ void PythonQtShell_QDateTimeEdit::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3085,7 +3085,7 @@ QPaintDevice* PythonQtShell_QDateTimeEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3118,7 +3118,7 @@ void PythonQtShell_QDateTimeEdit::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3140,7 +3140,7 @@ void PythonQtShell_QDateTimeEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3162,7 +3162,7 @@ QPainter* PythonQtShell_QDateTimeEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3195,7 +3195,7 @@ void PythonQtShell_QDateTimeEdit::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3217,7 +3217,7 @@ void PythonQtShell_QDateTimeEdit::stepBy(int steps0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3239,7 +3239,7 @@ QAbstractSpinBox::StepEnabled PythonQtShell_QDateTimeEdit::stepEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3272,7 +3272,7 @@ void PythonQtShell_QDateTimeEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3294,7 +3294,7 @@ QString PythonQtShell_QDateTimeEdit::textFromDateTime(const QDateTime& dt0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textFromDateTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3327,7 +3327,7 @@ void PythonQtShell_QDateTimeEdit::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3349,7 +3349,7 @@ QValidator::State PythonQtShell_QDateTimeEdit::validate(QString& input0, int& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3382,7 +3382,7 @@ void PythonQtShell_QDateTimeEdit::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3693,7 +3693,7 @@ void PythonQtShell_QDesktopWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3715,7 +3715,7 @@ void PythonQtShell_QDesktopWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3737,7 +3737,7 @@ void PythonQtShell_QDesktopWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3759,7 +3759,7 @@ void PythonQtShell_QDesktopWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3781,7 +3781,7 @@ void PythonQtShell_QDesktopWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3803,7 +3803,7 @@ void PythonQtShell_QDesktopWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3825,7 +3825,7 @@ int PythonQtShell_QDesktopWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3858,7 +3858,7 @@ void PythonQtShell_QDesktopWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3880,7 +3880,7 @@ void PythonQtShell_QDesktopWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3902,7 +3902,7 @@ void PythonQtShell_QDesktopWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3924,7 +3924,7 @@ void PythonQtShell_QDesktopWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3946,7 +3946,7 @@ void PythonQtShell_QDesktopWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3968,7 +3968,7 @@ bool PythonQtShell_QDesktopWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4001,7 +4001,7 @@ bool PythonQtShell_QDesktopWidget::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4034,7 +4034,7 @@ void PythonQtShell_QDesktopWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4056,7 +4056,7 @@ bool PythonQtShell_QDesktopWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4089,7 +4089,7 @@ void PythonQtShell_QDesktopWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4111,7 +4111,7 @@ bool PythonQtShell_QDesktopWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4144,7 +4144,7 @@ int PythonQtShell_QDesktopWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4177,7 +4177,7 @@ void PythonQtShell_QDesktopWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4199,7 +4199,7 @@ void PythonQtShell_QDesktopWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4221,7 +4221,7 @@ void PythonQtShell_QDesktopWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4243,7 +4243,7 @@ QVariant PythonQtShell_QDesktopWidget::inputMethodQuery(Qt::InputMethodQuery a { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4276,7 +4276,7 @@ void PythonQtShell_QDesktopWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4298,7 +4298,7 @@ void PythonQtShell_QDesktopWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4320,7 +4320,7 @@ void PythonQtShell_QDesktopWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4342,7 +4342,7 @@ int PythonQtShell_QDesktopWidget::metric(QPaintDevice::PaintDeviceMetric arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4375,7 +4375,7 @@ QSize PythonQtShell_QDesktopWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4408,7 +4408,7 @@ void PythonQtShell_QDesktopWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4430,7 +4430,7 @@ void PythonQtShell_QDesktopWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4452,7 +4452,7 @@ void PythonQtShell_QDesktopWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4474,7 +4474,7 @@ void PythonQtShell_QDesktopWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4496,7 +4496,7 @@ void PythonQtShell_QDesktopWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4518,7 +4518,7 @@ bool PythonQtShell_QDesktopWidget::nativeEvent(const QByteArray& eventType0, v { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4551,7 +4551,7 @@ QPaintEngine* PythonQtShell_QDesktopWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4584,7 +4584,7 @@ void PythonQtShell_QDesktopWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4606,7 +4606,7 @@ QPaintDevice* PythonQtShell_QDesktopWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4639,7 +4639,7 @@ void PythonQtShell_QDesktopWidget::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4661,7 +4661,7 @@ void PythonQtShell_QDesktopWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4683,7 +4683,7 @@ QPainter* PythonQtShell_QDesktopWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4716,7 +4716,7 @@ void PythonQtShell_QDesktopWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4738,7 +4738,7 @@ QSize PythonQtShell_QDesktopWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4771,7 +4771,7 @@ void PythonQtShell_QDesktopWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4793,7 +4793,7 @@ void PythonQtShell_QDesktopWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4815,7 +4815,7 @@ void PythonQtShell_QDesktopWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4925,7 +4925,7 @@ void PythonQtShell_QDial::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4947,7 +4947,7 @@ void PythonQtShell_QDial::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4969,7 +4969,7 @@ void PythonQtShell_QDial::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4991,7 +4991,7 @@ void PythonQtShell_QDial::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5013,7 +5013,7 @@ void PythonQtShell_QDial::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5035,7 +5035,7 @@ void PythonQtShell_QDial::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5057,7 +5057,7 @@ int PythonQtShell_QDial::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5090,7 +5090,7 @@ void PythonQtShell_QDial::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5112,7 +5112,7 @@ void PythonQtShell_QDial::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5134,7 +5134,7 @@ void PythonQtShell_QDial::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5156,7 +5156,7 @@ void PythonQtShell_QDial::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5178,7 +5178,7 @@ void PythonQtShell_QDial::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5200,7 +5200,7 @@ bool PythonQtShell_QDial::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5233,7 +5233,7 @@ bool PythonQtShell_QDial::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5266,7 +5266,7 @@ void PythonQtShell_QDial::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5288,7 +5288,7 @@ bool PythonQtShell_QDial::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5321,7 +5321,7 @@ void PythonQtShell_QDial::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5343,7 +5343,7 @@ bool PythonQtShell_QDial::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5376,7 +5376,7 @@ int PythonQtShell_QDial::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5409,7 +5409,7 @@ void PythonQtShell_QDial::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5431,7 +5431,7 @@ void PythonQtShell_QDial::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5453,7 +5453,7 @@ void PythonQtShell_QDial::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5475,7 +5475,7 @@ QVariant PythonQtShell_QDial::inputMethodQuery(Qt::InputMethodQuery arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5508,7 +5508,7 @@ void PythonQtShell_QDial::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5530,7 +5530,7 @@ void PythonQtShell_QDial::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5552,7 +5552,7 @@ void PythonQtShell_QDial::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5574,7 +5574,7 @@ int PythonQtShell_QDial::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5607,7 +5607,7 @@ QSize PythonQtShell_QDial::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5640,7 +5640,7 @@ void PythonQtShell_QDial::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5662,7 +5662,7 @@ void PythonQtShell_QDial::mouseMoveEvent(QMouseEvent* me0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5684,7 +5684,7 @@ void PythonQtShell_QDial::mousePressEvent(QMouseEvent* me0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5706,7 +5706,7 @@ void PythonQtShell_QDial::mouseReleaseEvent(QMouseEvent* me0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5728,7 +5728,7 @@ void PythonQtShell_QDial::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5750,7 +5750,7 @@ bool PythonQtShell_QDial::nativeEvent(const QByteArray& eventType0, void* mes { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5783,7 +5783,7 @@ QPaintEngine* PythonQtShell_QDial::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5816,7 +5816,7 @@ void PythonQtShell_QDial::paintEvent(QPaintEvent* pe0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5838,7 +5838,7 @@ QPaintDevice* PythonQtShell_QDial::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5871,7 +5871,7 @@ void PythonQtShell_QDial::resizeEvent(QResizeEvent* re0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5893,7 +5893,7 @@ void PythonQtShell_QDial::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5915,7 +5915,7 @@ QPainter* PythonQtShell_QDial::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5948,7 +5948,7 @@ void PythonQtShell_QDial::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5970,7 +5970,7 @@ QSize PythonQtShell_QDial::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6003,7 +6003,7 @@ void PythonQtShell_QDial::sliderChange(QAbstractSlider::SliderChange change0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sliderChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6025,7 +6025,7 @@ void PythonQtShell_QDial::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6047,7 +6047,7 @@ void PythonQtShell_QDial::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6069,7 +6069,7 @@ void PythonQtShell_QDial::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6154,7 +6154,7 @@ void PythonQtShell_QDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6176,7 +6176,7 @@ void PythonQtShell_QDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6198,7 +6198,7 @@ void PythonQtShell_QDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6220,7 +6220,7 @@ void PythonQtShell_QDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6242,7 +6242,7 @@ void PythonQtShell_QDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6264,7 +6264,7 @@ void PythonQtShell_QDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6286,7 +6286,7 @@ void PythonQtShell_QDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6308,7 +6308,7 @@ int PythonQtShell_QDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6341,7 +6341,7 @@ void PythonQtShell_QDialog::done(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6363,7 +6363,7 @@ void PythonQtShell_QDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6385,7 +6385,7 @@ void PythonQtShell_QDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6407,7 +6407,7 @@ void PythonQtShell_QDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6429,7 +6429,7 @@ void PythonQtShell_QDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6451,7 +6451,7 @@ void PythonQtShell_QDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6473,7 +6473,7 @@ bool PythonQtShell_QDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6506,7 +6506,7 @@ bool PythonQtShell_QDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6539,7 +6539,7 @@ int PythonQtShell_QDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6572,7 +6572,7 @@ void PythonQtShell_QDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6594,7 +6594,7 @@ bool PythonQtShell_QDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6627,7 +6627,7 @@ void PythonQtShell_QDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6649,7 +6649,7 @@ bool PythonQtShell_QDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6682,7 +6682,7 @@ int PythonQtShell_QDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6715,7 +6715,7 @@ void PythonQtShell_QDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6737,7 +6737,7 @@ void PythonQtShell_QDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6759,7 +6759,7 @@ void PythonQtShell_QDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6781,7 +6781,7 @@ QVariant PythonQtShell_QDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6814,7 +6814,7 @@ void PythonQtShell_QDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6836,7 +6836,7 @@ void PythonQtShell_QDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6858,7 +6858,7 @@ void PythonQtShell_QDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6880,7 +6880,7 @@ int PythonQtShell_QDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6913,7 +6913,7 @@ void PythonQtShell_QDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6935,7 +6935,7 @@ void PythonQtShell_QDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6957,7 +6957,7 @@ void PythonQtShell_QDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6979,7 +6979,7 @@ void PythonQtShell_QDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7001,7 +7001,7 @@ void PythonQtShell_QDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7023,7 +7023,7 @@ bool PythonQtShell_QDialog::nativeEvent(const QByteArray& eventType0, void* m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7056,7 +7056,7 @@ void PythonQtShell_QDialog::open() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7078,7 +7078,7 @@ QPaintEngine* PythonQtShell_QDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7111,7 +7111,7 @@ void PythonQtShell_QDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7133,7 +7133,7 @@ QPaintDevice* PythonQtShell_QDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7166,7 +7166,7 @@ void PythonQtShell_QDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7188,7 +7188,7 @@ void PythonQtShell_QDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7210,7 +7210,7 @@ void PythonQtShell_QDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7232,7 +7232,7 @@ QPainter* PythonQtShell_QDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7265,7 +7265,7 @@ void PythonQtShell_QDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7287,7 +7287,7 @@ void PythonQtShell_QDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7309,7 +7309,7 @@ void PythonQtShell_QDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7331,7 +7331,7 @@ void PythonQtShell_QDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7416,7 +7416,7 @@ void PythonQtShell_QDialogButtonBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7438,7 +7438,7 @@ void PythonQtShell_QDialogButtonBox::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7460,7 +7460,7 @@ void PythonQtShell_QDialogButtonBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7482,7 +7482,7 @@ void PythonQtShell_QDialogButtonBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7504,7 +7504,7 @@ void PythonQtShell_QDialogButtonBox::contextMenuEvent(QContextMenuEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7526,7 +7526,7 @@ void PythonQtShell_QDialogButtonBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7548,7 +7548,7 @@ int PythonQtShell_QDialogButtonBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7581,7 +7581,7 @@ void PythonQtShell_QDialogButtonBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7603,7 +7603,7 @@ void PythonQtShell_QDialogButtonBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7625,7 +7625,7 @@ void PythonQtShell_QDialogButtonBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7647,7 +7647,7 @@ void PythonQtShell_QDialogButtonBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7669,7 +7669,7 @@ void PythonQtShell_QDialogButtonBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7691,7 +7691,7 @@ bool PythonQtShell_QDialogButtonBox::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7724,7 +7724,7 @@ bool PythonQtShell_QDialogButtonBox::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7757,7 +7757,7 @@ void PythonQtShell_QDialogButtonBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7779,7 +7779,7 @@ bool PythonQtShell_QDialogButtonBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7812,7 +7812,7 @@ void PythonQtShell_QDialogButtonBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7834,7 +7834,7 @@ bool PythonQtShell_QDialogButtonBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7867,7 +7867,7 @@ int PythonQtShell_QDialogButtonBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7900,7 +7900,7 @@ void PythonQtShell_QDialogButtonBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7922,7 +7922,7 @@ void PythonQtShell_QDialogButtonBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7944,7 +7944,7 @@ void PythonQtShell_QDialogButtonBox::inputMethodEvent(QInputMethodEvent* arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7966,7 +7966,7 @@ QVariant PythonQtShell_QDialogButtonBox::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7999,7 +7999,7 @@ void PythonQtShell_QDialogButtonBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8021,7 +8021,7 @@ void PythonQtShell_QDialogButtonBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8043,7 +8043,7 @@ void PythonQtShell_QDialogButtonBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8065,7 +8065,7 @@ int PythonQtShell_QDialogButtonBox::metric(QPaintDevice::PaintDeviceMetric arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8098,7 +8098,7 @@ QSize PythonQtShell_QDialogButtonBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8131,7 +8131,7 @@ void PythonQtShell_QDialogButtonBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8153,7 +8153,7 @@ void PythonQtShell_QDialogButtonBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8175,7 +8175,7 @@ void PythonQtShell_QDialogButtonBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8197,7 +8197,7 @@ void PythonQtShell_QDialogButtonBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8219,7 +8219,7 @@ void PythonQtShell_QDialogButtonBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8241,7 +8241,7 @@ bool PythonQtShell_QDialogButtonBox::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8274,7 +8274,7 @@ QPaintEngine* PythonQtShell_QDialogButtonBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8307,7 +8307,7 @@ void PythonQtShell_QDialogButtonBox::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8329,7 +8329,7 @@ QPaintDevice* PythonQtShell_QDialogButtonBox::redirected(QPoint* offset0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8362,7 +8362,7 @@ void PythonQtShell_QDialogButtonBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8384,7 +8384,7 @@ void PythonQtShell_QDialogButtonBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8406,7 +8406,7 @@ QPainter* PythonQtShell_QDialogButtonBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8439,7 +8439,7 @@ void PythonQtShell_QDialogButtonBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8461,7 +8461,7 @@ QSize PythonQtShell_QDialogButtonBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8494,7 +8494,7 @@ void PythonQtShell_QDialogButtonBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8516,7 +8516,7 @@ void PythonQtShell_QDialogButtonBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8538,7 +8538,7 @@ void PythonQtShell_QDialogButtonBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8670,7 +8670,7 @@ QModelIndex PythonQtShell_QDirModel::buddy(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8703,7 +8703,7 @@ bool PythonQtShell_QDirModel::canDropMimeData(const QMimeData* data0, Qt::Drop { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8736,7 +8736,7 @@ bool PythonQtShell_QDirModel::canFetchMore(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8769,7 +8769,7 @@ void PythonQtShell_QDirModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8791,7 +8791,7 @@ int PythonQtShell_QDirModel::columnCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8824,7 +8824,7 @@ void PythonQtShell_QDirModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8846,7 +8846,7 @@ QVariant PythonQtShell_QDirModel::data(const QModelIndex& index0, int role1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8879,7 +8879,7 @@ bool PythonQtShell_QDirModel::dropMimeData(const QMimeData* data0, Qt::DropAct { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8912,7 +8912,7 @@ bool PythonQtShell_QDirModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8945,7 +8945,7 @@ bool PythonQtShell_QDirModel::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8978,7 +8978,7 @@ void PythonQtShell_QDirModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9000,7 +9000,7 @@ Qt::ItemFlags PythonQtShell_QDirModel::flags(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9033,7 +9033,7 @@ bool PythonQtShell_QDirModel::hasChildren(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9066,7 +9066,7 @@ QVariant PythonQtShell_QDirModel::headerData(int section0, Qt::Orientation or { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9099,7 +9099,7 @@ QModelIndex PythonQtShell_QDirModel::index(int row0, int column1, const QMode { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9132,7 +9132,7 @@ bool PythonQtShell_QDirModel::insertColumns(int column0, int count1, const QM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9165,7 +9165,7 @@ bool PythonQtShell_QDirModel::insertRows(int row0, int count1, const QModelIn { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9198,7 +9198,7 @@ QMap PythonQtShell_QDirModel::itemData(const QModelIndex& ind { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9231,7 +9231,7 @@ QList PythonQtShell_QDirModel::match(const QModelIndex& start0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9264,7 +9264,7 @@ QMimeData* PythonQtShell_QDirModel::mimeData(const QList& indexe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9297,7 +9297,7 @@ QStringList PythonQtShell_QDirModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9330,7 +9330,7 @@ bool PythonQtShell_QDirModel::moveColumns(const QModelIndex& sourceParent0, in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9363,7 +9363,7 @@ bool PythonQtShell_QDirModel::moveRows(const QModelIndex& sourceParent0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9396,7 +9396,7 @@ QModelIndex PythonQtShell_QDirModel::parent(const QModelIndex& child0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9429,7 +9429,7 @@ bool PythonQtShell_QDirModel::removeColumns(int column0, int count1, const QM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9462,7 +9462,7 @@ bool PythonQtShell_QDirModel::removeRows(int row0, int count1, const QModelIn { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9495,7 +9495,7 @@ void PythonQtShell_QDirModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9517,7 +9517,7 @@ QHash PythonQtShell_QDirModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9550,7 +9550,7 @@ int PythonQtShell_QDirModel::rowCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9583,7 +9583,7 @@ bool PythonQtShell_QDirModel::setData(const QModelIndex& index0, const QVarian { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9616,7 +9616,7 @@ bool PythonQtShell_QDirModel::setHeaderData(int section0, Qt::Orientation ori { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9649,7 +9649,7 @@ bool PythonQtShell_QDirModel::setItemData(const QModelIndex& index0, const QMa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9682,7 +9682,7 @@ QModelIndex PythonQtShell_QDirModel::sibling(int row0, int column1, const QMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9715,7 +9715,7 @@ void PythonQtShell_QDirModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9737,7 +9737,7 @@ QSize PythonQtShell_QDirModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9770,7 +9770,7 @@ bool PythonQtShell_QDirModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9803,7 +9803,7 @@ Qt::DropActions PythonQtShell_QDirModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9836,7 +9836,7 @@ Qt::DropActions PythonQtShell_QDirModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9869,7 +9869,7 @@ void PythonQtShell_QDirModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10033,7 +10033,7 @@ void PythonQtShell_QDockWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10055,7 +10055,7 @@ void PythonQtShell_QDockWidget::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10077,7 +10077,7 @@ void PythonQtShell_QDockWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10099,7 +10099,7 @@ void PythonQtShell_QDockWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10121,7 +10121,7 @@ void PythonQtShell_QDockWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10143,7 +10143,7 @@ void PythonQtShell_QDockWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10165,7 +10165,7 @@ int PythonQtShell_QDockWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10198,7 +10198,7 @@ void PythonQtShell_QDockWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10220,7 +10220,7 @@ void PythonQtShell_QDockWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10242,7 +10242,7 @@ void PythonQtShell_QDockWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10264,7 +10264,7 @@ void PythonQtShell_QDockWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10286,7 +10286,7 @@ void PythonQtShell_QDockWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10308,7 +10308,7 @@ bool PythonQtShell_QDockWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10341,7 +10341,7 @@ bool PythonQtShell_QDockWidget::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10374,7 +10374,7 @@ void PythonQtShell_QDockWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10396,7 +10396,7 @@ bool PythonQtShell_QDockWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10429,7 +10429,7 @@ void PythonQtShell_QDockWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10451,7 +10451,7 @@ bool PythonQtShell_QDockWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10484,7 +10484,7 @@ int PythonQtShell_QDockWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10517,7 +10517,7 @@ void PythonQtShell_QDockWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10539,7 +10539,7 @@ void PythonQtShell_QDockWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10561,7 +10561,7 @@ void PythonQtShell_QDockWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10583,7 +10583,7 @@ QVariant PythonQtShell_QDockWidget::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10616,7 +10616,7 @@ void PythonQtShell_QDockWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10638,7 +10638,7 @@ void PythonQtShell_QDockWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10660,7 +10660,7 @@ void PythonQtShell_QDockWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10682,7 +10682,7 @@ int PythonQtShell_QDockWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10715,7 +10715,7 @@ QSize PythonQtShell_QDockWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10748,7 +10748,7 @@ void PythonQtShell_QDockWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10770,7 +10770,7 @@ void PythonQtShell_QDockWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10792,7 +10792,7 @@ void PythonQtShell_QDockWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10814,7 +10814,7 @@ void PythonQtShell_QDockWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10836,7 +10836,7 @@ void PythonQtShell_QDockWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10858,7 +10858,7 @@ bool PythonQtShell_QDockWidget::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10891,7 +10891,7 @@ QPaintEngine* PythonQtShell_QDockWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10924,7 +10924,7 @@ void PythonQtShell_QDockWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10946,7 +10946,7 @@ QPaintDevice* PythonQtShell_QDockWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10979,7 +10979,7 @@ void PythonQtShell_QDockWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11001,7 +11001,7 @@ void PythonQtShell_QDockWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11023,7 +11023,7 @@ QPainter* PythonQtShell_QDockWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11056,7 +11056,7 @@ void PythonQtShell_QDockWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11078,7 +11078,7 @@ QSize PythonQtShell_QDockWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11111,7 +11111,7 @@ void PythonQtShell_QDockWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11133,7 +11133,7 @@ void PythonQtShell_QDockWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11155,7 +11155,7 @@ void PythonQtShell_QDockWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11269,7 +11269,7 @@ void PythonQtShell_QDoubleSpinBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11291,7 +11291,7 @@ void PythonQtShell_QDoubleSpinBox::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11313,7 +11313,7 @@ void PythonQtShell_QDoubleSpinBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11335,7 +11335,7 @@ void PythonQtShell_QDoubleSpinBox::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11357,7 +11357,7 @@ void PythonQtShell_QDoubleSpinBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11379,7 +11379,7 @@ void PythonQtShell_QDoubleSpinBox::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11401,7 +11401,7 @@ void PythonQtShell_QDoubleSpinBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11423,7 +11423,7 @@ int PythonQtShell_QDoubleSpinBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11456,7 +11456,7 @@ void PythonQtShell_QDoubleSpinBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11478,7 +11478,7 @@ void PythonQtShell_QDoubleSpinBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11500,7 +11500,7 @@ void PythonQtShell_QDoubleSpinBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11522,7 +11522,7 @@ void PythonQtShell_QDoubleSpinBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11544,7 +11544,7 @@ void PythonQtShell_QDoubleSpinBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11566,7 +11566,7 @@ bool PythonQtShell_QDoubleSpinBox::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11599,7 +11599,7 @@ bool PythonQtShell_QDoubleSpinBox::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11632,7 +11632,7 @@ void PythonQtShell_QDoubleSpinBox::fixup(QString& str0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11654,7 +11654,7 @@ void PythonQtShell_QDoubleSpinBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11676,7 +11676,7 @@ bool PythonQtShell_QDoubleSpinBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11709,7 +11709,7 @@ void PythonQtShell_QDoubleSpinBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11731,7 +11731,7 @@ bool PythonQtShell_QDoubleSpinBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11764,7 +11764,7 @@ int PythonQtShell_QDoubleSpinBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11797,7 +11797,7 @@ void PythonQtShell_QDoubleSpinBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11819,7 +11819,7 @@ void PythonQtShell_QDoubleSpinBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11841,7 +11841,7 @@ void PythonQtShell_QDoubleSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11863,7 +11863,7 @@ QVariant PythonQtShell_QDoubleSpinBox::inputMethodQuery(Qt::InputMethodQuery a { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11896,7 +11896,7 @@ void PythonQtShell_QDoubleSpinBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11918,7 +11918,7 @@ void PythonQtShell_QDoubleSpinBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11940,7 +11940,7 @@ void PythonQtShell_QDoubleSpinBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11962,7 +11962,7 @@ int PythonQtShell_QDoubleSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11995,7 +11995,7 @@ void PythonQtShell_QDoubleSpinBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12017,7 +12017,7 @@ void PythonQtShell_QDoubleSpinBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12039,7 +12039,7 @@ void PythonQtShell_QDoubleSpinBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12061,7 +12061,7 @@ void PythonQtShell_QDoubleSpinBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12083,7 +12083,7 @@ void PythonQtShell_QDoubleSpinBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12105,7 +12105,7 @@ bool PythonQtShell_QDoubleSpinBox::nativeEvent(const QByteArray& eventType0, v { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12138,7 +12138,7 @@ QPaintEngine* PythonQtShell_QDoubleSpinBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12171,7 +12171,7 @@ void PythonQtShell_QDoubleSpinBox::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12193,7 +12193,7 @@ QPaintDevice* PythonQtShell_QDoubleSpinBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12226,7 +12226,7 @@ void PythonQtShell_QDoubleSpinBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12248,7 +12248,7 @@ void PythonQtShell_QDoubleSpinBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12270,7 +12270,7 @@ QPainter* PythonQtShell_QDoubleSpinBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12303,7 +12303,7 @@ void PythonQtShell_QDoubleSpinBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12325,7 +12325,7 @@ void PythonQtShell_QDoubleSpinBox::stepBy(int steps0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12347,7 +12347,7 @@ QAbstractSpinBox::StepEnabled PythonQtShell_QDoubleSpinBox::stepEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12380,7 +12380,7 @@ void PythonQtShell_QDoubleSpinBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12402,7 +12402,7 @@ QString PythonQtShell_QDoubleSpinBox::textFromValue(double val0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textFromValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12435,7 +12435,7 @@ void PythonQtShell_QDoubleSpinBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12457,7 +12457,7 @@ QValidator::State PythonQtShell_QDoubleSpinBox::validate(QString& input0, int& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12490,7 +12490,7 @@ double PythonQtShell_QDoubleSpinBox::valueFromText(const QString& text0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("valueFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12523,7 +12523,7 @@ void PythonQtShell_QDoubleSpinBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12653,7 +12653,7 @@ void PythonQtShell_QDoubleValidator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12675,7 +12675,7 @@ void PythonQtShell_QDoubleValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12697,7 +12697,7 @@ bool PythonQtShell_QDoubleValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12730,7 +12730,7 @@ bool PythonQtShell_QDoubleValidator::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12763,7 +12763,7 @@ void PythonQtShell_QDoubleValidator::fixup(QString& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12785,7 +12785,7 @@ void PythonQtShell_QDoubleValidator::setRange(double bottom0, double top1, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12807,7 +12807,7 @@ void PythonQtShell_QDoubleValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12829,7 +12829,7 @@ QValidator::State PythonQtShell_QDoubleValidator::validate(QString& arg__1, in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12934,7 +12934,7 @@ void PythonQtShell_QDrag::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12956,7 +12956,7 @@ void PythonQtShell_QDrag::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12978,7 +12978,7 @@ bool PythonQtShell_QDrag::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13011,7 +13011,7 @@ bool PythonQtShell_QDrag::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13044,7 +13044,7 @@ void PythonQtShell_QDrag::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13316,7 +13316,7 @@ void PythonQtShell_QErrorMessage::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13338,7 +13338,7 @@ void PythonQtShell_QErrorMessage::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13360,7 +13360,7 @@ void PythonQtShell_QErrorMessage::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13382,7 +13382,7 @@ void PythonQtShell_QErrorMessage::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13404,7 +13404,7 @@ void PythonQtShell_QErrorMessage::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13426,7 +13426,7 @@ void PythonQtShell_QErrorMessage::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13448,7 +13448,7 @@ void PythonQtShell_QErrorMessage::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13470,7 +13470,7 @@ int PythonQtShell_QErrorMessage::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13503,7 +13503,7 @@ void PythonQtShell_QErrorMessage::done(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13525,7 +13525,7 @@ void PythonQtShell_QErrorMessage::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13547,7 +13547,7 @@ void PythonQtShell_QErrorMessage::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13569,7 +13569,7 @@ void PythonQtShell_QErrorMessage::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13591,7 +13591,7 @@ void PythonQtShell_QErrorMessage::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13613,7 +13613,7 @@ void PythonQtShell_QErrorMessage::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13635,7 +13635,7 @@ bool PythonQtShell_QErrorMessage::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13668,7 +13668,7 @@ bool PythonQtShell_QErrorMessage::eventFilter(QObject* arg__1, QEvent* arg__2 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13701,7 +13701,7 @@ int PythonQtShell_QErrorMessage::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13734,7 +13734,7 @@ void PythonQtShell_QErrorMessage::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13756,7 +13756,7 @@ bool PythonQtShell_QErrorMessage::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13789,7 +13789,7 @@ void PythonQtShell_QErrorMessage::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13811,7 +13811,7 @@ bool PythonQtShell_QErrorMessage::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13844,7 +13844,7 @@ int PythonQtShell_QErrorMessage::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13877,7 +13877,7 @@ void PythonQtShell_QErrorMessage::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13899,7 +13899,7 @@ void PythonQtShell_QErrorMessage::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13921,7 +13921,7 @@ void PythonQtShell_QErrorMessage::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13943,7 +13943,7 @@ QVariant PythonQtShell_QErrorMessage::inputMethodQuery(Qt::InputMethodQuery ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13976,7 +13976,7 @@ void PythonQtShell_QErrorMessage::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13998,7 +13998,7 @@ void PythonQtShell_QErrorMessage::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14020,7 +14020,7 @@ void PythonQtShell_QErrorMessage::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14042,7 +14042,7 @@ int PythonQtShell_QErrorMessage::metric(QPaintDevice::PaintDeviceMetric arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14075,7 +14075,7 @@ void PythonQtShell_QErrorMessage::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14097,7 +14097,7 @@ void PythonQtShell_QErrorMessage::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14119,7 +14119,7 @@ void PythonQtShell_QErrorMessage::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14141,7 +14141,7 @@ void PythonQtShell_QErrorMessage::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14163,7 +14163,7 @@ void PythonQtShell_QErrorMessage::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14185,7 +14185,7 @@ bool PythonQtShell_QErrorMessage::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14218,7 +14218,7 @@ void PythonQtShell_QErrorMessage::open() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14240,7 +14240,7 @@ QPaintEngine* PythonQtShell_QErrorMessage::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14273,7 +14273,7 @@ void PythonQtShell_QErrorMessage::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14295,7 +14295,7 @@ QPaintDevice* PythonQtShell_QErrorMessage::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14328,7 +14328,7 @@ void PythonQtShell_QErrorMessage::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14350,7 +14350,7 @@ void PythonQtShell_QErrorMessage::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14372,7 +14372,7 @@ void PythonQtShell_QErrorMessage::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14394,7 +14394,7 @@ QPainter* PythonQtShell_QErrorMessage::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14427,7 +14427,7 @@ void PythonQtShell_QErrorMessage::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14449,7 +14449,7 @@ void PythonQtShell_QErrorMessage::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14471,7 +14471,7 @@ void PythonQtShell_QErrorMessage::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14493,7 +14493,7 @@ void PythonQtShell_QErrorMessage::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14558,7 +14558,7 @@ void PythonQtShell_QFileDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14580,7 +14580,7 @@ void PythonQtShell_QFileDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14602,7 +14602,7 @@ void PythonQtShell_QFileDialog::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14624,7 +14624,7 @@ void PythonQtShell_QFileDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14646,7 +14646,7 @@ void PythonQtShell_QFileDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14668,7 +14668,7 @@ void PythonQtShell_QFileDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14690,7 +14690,7 @@ void PythonQtShell_QFileDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14712,7 +14712,7 @@ int PythonQtShell_QFileDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14745,7 +14745,7 @@ void PythonQtShell_QFileDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14767,7 +14767,7 @@ void PythonQtShell_QFileDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14789,7 +14789,7 @@ void PythonQtShell_QFileDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14811,7 +14811,7 @@ void PythonQtShell_QFileDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14833,7 +14833,7 @@ void PythonQtShell_QFileDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14855,7 +14855,7 @@ void PythonQtShell_QFileDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14877,7 +14877,7 @@ bool PythonQtShell_QFileDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14910,7 +14910,7 @@ bool PythonQtShell_QFileDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14943,7 +14943,7 @@ int PythonQtShell_QFileDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14976,7 +14976,7 @@ void PythonQtShell_QFileDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14998,7 +14998,7 @@ bool PythonQtShell_QFileDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15031,7 +15031,7 @@ void PythonQtShell_QFileDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15053,7 +15053,7 @@ bool PythonQtShell_QFileDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15086,7 +15086,7 @@ int PythonQtShell_QFileDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15119,7 +15119,7 @@ void PythonQtShell_QFileDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15141,7 +15141,7 @@ void PythonQtShell_QFileDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15163,7 +15163,7 @@ void PythonQtShell_QFileDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15185,7 +15185,7 @@ QVariant PythonQtShell_QFileDialog::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15218,7 +15218,7 @@ void PythonQtShell_QFileDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15240,7 +15240,7 @@ void PythonQtShell_QFileDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15262,7 +15262,7 @@ void PythonQtShell_QFileDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15284,7 +15284,7 @@ int PythonQtShell_QFileDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15317,7 +15317,7 @@ void PythonQtShell_QFileDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15339,7 +15339,7 @@ void PythonQtShell_QFileDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15361,7 +15361,7 @@ void PythonQtShell_QFileDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15383,7 +15383,7 @@ void PythonQtShell_QFileDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15405,7 +15405,7 @@ void PythonQtShell_QFileDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15427,7 +15427,7 @@ bool PythonQtShell_QFileDialog::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15460,7 +15460,7 @@ QPaintEngine* PythonQtShell_QFileDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15493,7 +15493,7 @@ void PythonQtShell_QFileDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15515,7 +15515,7 @@ QPaintDevice* PythonQtShell_QFileDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15548,7 +15548,7 @@ void PythonQtShell_QFileDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15570,7 +15570,7 @@ void PythonQtShell_QFileDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15592,7 +15592,7 @@ void PythonQtShell_QFileDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15614,7 +15614,7 @@ QPainter* PythonQtShell_QFileDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15647,7 +15647,7 @@ void PythonQtShell_QFileDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15669,7 +15669,7 @@ void PythonQtShell_QFileDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15691,7 +15691,7 @@ void PythonQtShell_QFileDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15713,7 +15713,7 @@ void PythonQtShell_QFileDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16082,7 +16082,7 @@ QIcon PythonQtShell_QFileIconProvider::icon(QFileIconProvider::IconType type0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("icon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16115,7 +16115,7 @@ QIcon PythonQtShell_QFileIconProvider::icon(const QFileInfo& info0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("icon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16148,7 +16148,7 @@ QString PythonQtShell_QFileIconProvider::type(const QFileInfo& info0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16241,7 +16241,7 @@ QModelIndex PythonQtShell_QFileSystemModel::buddy(const QModelIndex& index0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16274,7 +16274,7 @@ bool PythonQtShell_QFileSystemModel::canDropMimeData(const QMimeData* data0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16307,7 +16307,7 @@ bool PythonQtShell_QFileSystemModel::canFetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16340,7 +16340,7 @@ void PythonQtShell_QFileSystemModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16362,7 +16362,7 @@ int PythonQtShell_QFileSystemModel::columnCount(const QModelIndex& parent0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16395,7 +16395,7 @@ void PythonQtShell_QFileSystemModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16417,7 +16417,7 @@ QVariant PythonQtShell_QFileSystemModel::data(const QModelIndex& index0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16450,7 +16450,7 @@ bool PythonQtShell_QFileSystemModel::dropMimeData(const QMimeData* data0, Qt:: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16483,7 +16483,7 @@ bool PythonQtShell_QFileSystemModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16516,7 +16516,7 @@ bool PythonQtShell_QFileSystemModel::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16549,7 +16549,7 @@ void PythonQtShell_QFileSystemModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16571,7 +16571,7 @@ Qt::ItemFlags PythonQtShell_QFileSystemModel::flags(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16604,7 +16604,7 @@ bool PythonQtShell_QFileSystemModel::hasChildren(const QModelIndex& parent0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16637,7 +16637,7 @@ QVariant PythonQtShell_QFileSystemModel::headerData(int section0, Qt::Orientat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16670,7 +16670,7 @@ QModelIndex PythonQtShell_QFileSystemModel::index(int row0, int column1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16703,7 +16703,7 @@ bool PythonQtShell_QFileSystemModel::insertColumns(int column0, int count1, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16736,7 +16736,7 @@ bool PythonQtShell_QFileSystemModel::insertRows(int row0, int count1, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16769,7 +16769,7 @@ QMap PythonQtShell_QFileSystemModel::itemData(const QModelInde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16802,7 +16802,7 @@ QList PythonQtShell_QFileSystemModel::match(const QModelIndex& s { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16835,7 +16835,7 @@ QMimeData* PythonQtShell_QFileSystemModel::mimeData(const QList& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16868,7 +16868,7 @@ QStringList PythonQtShell_QFileSystemModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16901,7 +16901,7 @@ bool PythonQtShell_QFileSystemModel::moveColumns(const QModelIndex& sourcePare { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16934,7 +16934,7 @@ bool PythonQtShell_QFileSystemModel::moveRows(const QModelIndex& sourceParent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16967,7 +16967,7 @@ QModelIndex PythonQtShell_QFileSystemModel::parent(const QModelIndex& child0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17000,7 +17000,7 @@ bool PythonQtShell_QFileSystemModel::removeColumns(int column0, int count1, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17033,7 +17033,7 @@ bool PythonQtShell_QFileSystemModel::removeRows(int row0, int count1, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17066,7 +17066,7 @@ void PythonQtShell_QFileSystemModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17088,7 +17088,7 @@ QHash PythonQtShell_QFileSystemModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17121,7 +17121,7 @@ int PythonQtShell_QFileSystemModel::rowCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17154,7 +17154,7 @@ bool PythonQtShell_QFileSystemModel::setData(const QModelIndex& index0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17187,7 +17187,7 @@ bool PythonQtShell_QFileSystemModel::setHeaderData(int section0, Qt::Orientati { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17220,7 +17220,7 @@ bool PythonQtShell_QFileSystemModel::setItemData(const QModelIndex& index0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17253,7 +17253,7 @@ QModelIndex PythonQtShell_QFileSystemModel::sibling(int row0, int column1, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17286,7 +17286,7 @@ void PythonQtShell_QFileSystemModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17308,7 +17308,7 @@ QSize PythonQtShell_QFileSystemModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17341,7 +17341,7 @@ bool PythonQtShell_QFileSystemModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17374,7 +17374,7 @@ Qt::DropActions PythonQtShell_QFileSystemModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17407,7 +17407,7 @@ Qt::DropActions PythonQtShell_QFileSystemModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17440,7 +17440,7 @@ void PythonQtShell_QFileSystemModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17651,7 +17651,7 @@ void PythonQtShell_QFocusFrame::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17673,7 +17673,7 @@ void PythonQtShell_QFocusFrame::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17695,7 +17695,7 @@ void PythonQtShell_QFocusFrame::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17717,7 +17717,7 @@ void PythonQtShell_QFocusFrame::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17739,7 +17739,7 @@ void PythonQtShell_QFocusFrame::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17761,7 +17761,7 @@ void PythonQtShell_QFocusFrame::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17783,7 +17783,7 @@ int PythonQtShell_QFocusFrame::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17816,7 +17816,7 @@ void PythonQtShell_QFocusFrame::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17838,7 +17838,7 @@ void PythonQtShell_QFocusFrame::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17860,7 +17860,7 @@ void PythonQtShell_QFocusFrame::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17882,7 +17882,7 @@ void PythonQtShell_QFocusFrame::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17904,7 +17904,7 @@ void PythonQtShell_QFocusFrame::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17926,7 +17926,7 @@ bool PythonQtShell_QFocusFrame::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17959,7 +17959,7 @@ bool PythonQtShell_QFocusFrame::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17992,7 +17992,7 @@ void PythonQtShell_QFocusFrame::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18014,7 +18014,7 @@ bool PythonQtShell_QFocusFrame::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18047,7 +18047,7 @@ void PythonQtShell_QFocusFrame::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18069,7 +18069,7 @@ bool PythonQtShell_QFocusFrame::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18102,7 +18102,7 @@ int PythonQtShell_QFocusFrame::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18135,7 +18135,7 @@ void PythonQtShell_QFocusFrame::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18157,7 +18157,7 @@ void PythonQtShell_QFocusFrame::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18179,7 +18179,7 @@ void PythonQtShell_QFocusFrame::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18201,7 +18201,7 @@ QVariant PythonQtShell_QFocusFrame::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18234,7 +18234,7 @@ void PythonQtShell_QFocusFrame::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18256,7 +18256,7 @@ void PythonQtShell_QFocusFrame::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18278,7 +18278,7 @@ void PythonQtShell_QFocusFrame::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18300,7 +18300,7 @@ int PythonQtShell_QFocusFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18333,7 +18333,7 @@ QSize PythonQtShell_QFocusFrame::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18366,7 +18366,7 @@ void PythonQtShell_QFocusFrame::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18388,7 +18388,7 @@ void PythonQtShell_QFocusFrame::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18410,7 +18410,7 @@ void PythonQtShell_QFocusFrame::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18432,7 +18432,7 @@ void PythonQtShell_QFocusFrame::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18454,7 +18454,7 @@ void PythonQtShell_QFocusFrame::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18476,7 +18476,7 @@ bool PythonQtShell_QFocusFrame::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18509,7 +18509,7 @@ QPaintEngine* PythonQtShell_QFocusFrame::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18542,7 +18542,7 @@ void PythonQtShell_QFocusFrame::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18564,7 +18564,7 @@ QPaintDevice* PythonQtShell_QFocusFrame::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18597,7 +18597,7 @@ void PythonQtShell_QFocusFrame::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18619,7 +18619,7 @@ void PythonQtShell_QFocusFrame::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18641,7 +18641,7 @@ QPainter* PythonQtShell_QFocusFrame::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18674,7 +18674,7 @@ void PythonQtShell_QFocusFrame::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18696,7 +18696,7 @@ QSize PythonQtShell_QFocusFrame::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18729,7 +18729,7 @@ void PythonQtShell_QFocusFrame::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18751,7 +18751,7 @@ void PythonQtShell_QFocusFrame::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18773,7 +18773,7 @@ void PythonQtShell_QFocusFrame::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18833,7 +18833,7 @@ void PythonQtShell_QFontComboBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18855,7 +18855,7 @@ void PythonQtShell_QFontComboBox::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18877,7 +18877,7 @@ void PythonQtShell_QFontComboBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18899,7 +18899,7 @@ void PythonQtShell_QFontComboBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18921,7 +18921,7 @@ void PythonQtShell_QFontComboBox::contextMenuEvent(QContextMenuEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18943,7 +18943,7 @@ void PythonQtShell_QFontComboBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18965,7 +18965,7 @@ int PythonQtShell_QFontComboBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -18998,7 +18998,7 @@ void PythonQtShell_QFontComboBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19020,7 +19020,7 @@ void PythonQtShell_QFontComboBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19042,7 +19042,7 @@ void PythonQtShell_QFontComboBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19064,7 +19064,7 @@ void PythonQtShell_QFontComboBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19086,7 +19086,7 @@ void PythonQtShell_QFontComboBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19108,7 +19108,7 @@ bool PythonQtShell_QFontComboBox::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19141,7 +19141,7 @@ bool PythonQtShell_QFontComboBox::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19174,7 +19174,7 @@ void PythonQtShell_QFontComboBox::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19196,7 +19196,7 @@ bool PythonQtShell_QFontComboBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19229,7 +19229,7 @@ void PythonQtShell_QFontComboBox::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19251,7 +19251,7 @@ bool PythonQtShell_QFontComboBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19284,7 +19284,7 @@ int PythonQtShell_QFontComboBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19317,7 +19317,7 @@ void PythonQtShell_QFontComboBox::hideEvent(QHideEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19339,7 +19339,7 @@ void PythonQtShell_QFontComboBox::hidePopup() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hidePopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19361,7 +19361,7 @@ void PythonQtShell_QFontComboBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19383,7 +19383,7 @@ void PythonQtShell_QFontComboBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19405,7 +19405,7 @@ QVariant PythonQtShell_QFontComboBox::inputMethodQuery(Qt::InputMethodQuery ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19438,7 +19438,7 @@ void PythonQtShell_QFontComboBox::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19460,7 +19460,7 @@ void PythonQtShell_QFontComboBox::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19482,7 +19482,7 @@ void PythonQtShell_QFontComboBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19504,7 +19504,7 @@ int PythonQtShell_QFontComboBox::metric(QPaintDevice::PaintDeviceMetric arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19537,7 +19537,7 @@ QSize PythonQtShell_QFontComboBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19570,7 +19570,7 @@ void PythonQtShell_QFontComboBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19592,7 +19592,7 @@ void PythonQtShell_QFontComboBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19614,7 +19614,7 @@ void PythonQtShell_QFontComboBox::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19636,7 +19636,7 @@ void PythonQtShell_QFontComboBox::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19658,7 +19658,7 @@ void PythonQtShell_QFontComboBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19680,7 +19680,7 @@ bool PythonQtShell_QFontComboBox::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19713,7 +19713,7 @@ QPaintEngine* PythonQtShell_QFontComboBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19746,7 +19746,7 @@ void PythonQtShell_QFontComboBox::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19768,7 +19768,7 @@ QPaintDevice* PythonQtShell_QFontComboBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19801,7 +19801,7 @@ void PythonQtShell_QFontComboBox::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19823,7 +19823,7 @@ void PythonQtShell_QFontComboBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19845,7 +19845,7 @@ QPainter* PythonQtShell_QFontComboBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19878,7 +19878,7 @@ void PythonQtShell_QFontComboBox::showEvent(QShowEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19900,7 +19900,7 @@ void PythonQtShell_QFontComboBox::showPopup() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showPopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19922,7 +19922,7 @@ QSize PythonQtShell_QFontComboBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19955,7 +19955,7 @@ void PythonQtShell_QFontComboBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19977,7 +19977,7 @@ void PythonQtShell_QFontComboBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -19999,7 +19999,7 @@ void PythonQtShell_QFontComboBox::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp index 23bc33c37..6eb3db67d 100644 --- a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp +++ b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp @@ -322,7 +322,7 @@ void PythonQtShell_QSwipeGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -344,7 +344,7 @@ void PythonQtShell_QSwipeGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -366,7 +366,7 @@ bool PythonQtShell_QSwipeGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -399,7 +399,7 @@ bool PythonQtShell_QSwipeGesture::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -432,7 +432,7 @@ void PythonQtShell_QSwipeGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -497,7 +497,7 @@ void PythonQtShell_QSyntaxHighlighter::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -519,7 +519,7 @@ void PythonQtShell_QSyntaxHighlighter::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -541,7 +541,7 @@ bool PythonQtShell_QSyntaxHighlighter::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -574,7 +574,7 @@ bool PythonQtShell_QSyntaxHighlighter::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -607,7 +607,7 @@ void PythonQtShell_QSyntaxHighlighter::highlightBlock(const QString& text0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("highlightBlock"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -629,7 +629,7 @@ void PythonQtShell_QSyntaxHighlighter::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -743,7 +743,7 @@ void PythonQtShell_QSystemTrayIcon::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -765,7 +765,7 @@ void PythonQtShell_QSystemTrayIcon::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -787,7 +787,7 @@ bool PythonQtShell_QSystemTrayIcon::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -820,7 +820,7 @@ bool PythonQtShell_QSystemTrayIcon::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -853,7 +853,7 @@ void PythonQtShell_QSystemTrayIcon::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -952,7 +952,7 @@ void PythonQtShell_QTabBar::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -974,7 +974,7 @@ void PythonQtShell_QTabBar::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -996,7 +996,7 @@ void PythonQtShell_QTabBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1018,7 +1018,7 @@ void PythonQtShell_QTabBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1040,7 +1040,7 @@ void PythonQtShell_QTabBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1062,7 +1062,7 @@ void PythonQtShell_QTabBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1084,7 +1084,7 @@ int PythonQtShell_QTabBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1117,7 +1117,7 @@ void PythonQtShell_QTabBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1139,7 +1139,7 @@ void PythonQtShell_QTabBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1161,7 +1161,7 @@ void PythonQtShell_QTabBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1183,7 +1183,7 @@ void PythonQtShell_QTabBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1205,7 +1205,7 @@ void PythonQtShell_QTabBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1227,7 +1227,7 @@ bool PythonQtShell_QTabBar::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1260,7 +1260,7 @@ bool PythonQtShell_QTabBar::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1293,7 +1293,7 @@ void PythonQtShell_QTabBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1315,7 +1315,7 @@ bool PythonQtShell_QTabBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1348,7 +1348,7 @@ void PythonQtShell_QTabBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1370,7 +1370,7 @@ bool PythonQtShell_QTabBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1403,7 +1403,7 @@ int PythonQtShell_QTabBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1436,7 +1436,7 @@ void PythonQtShell_QTabBar::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1458,7 +1458,7 @@ void PythonQtShell_QTabBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1480,7 +1480,7 @@ void PythonQtShell_QTabBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1502,7 +1502,7 @@ QVariant PythonQtShell_QTabBar::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1535,7 +1535,7 @@ void PythonQtShell_QTabBar::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1557,7 +1557,7 @@ void PythonQtShell_QTabBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1579,7 +1579,7 @@ void PythonQtShell_QTabBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1601,7 +1601,7 @@ int PythonQtShell_QTabBar::metric(QPaintDevice::PaintDeviceMetric arg__1) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1634,7 +1634,7 @@ QSize PythonQtShell_QTabBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1667,7 +1667,7 @@ QSize PythonQtShell_QTabBar::minimumTabSizeHint(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumTabSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1700,7 +1700,7 @@ void PythonQtShell_QTabBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1722,7 +1722,7 @@ void PythonQtShell_QTabBar::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1744,7 +1744,7 @@ void PythonQtShell_QTabBar::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1766,7 +1766,7 @@ void PythonQtShell_QTabBar::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1788,7 +1788,7 @@ void PythonQtShell_QTabBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1810,7 +1810,7 @@ bool PythonQtShell_QTabBar::nativeEvent(const QByteArray& eventType0, void* m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1843,7 +1843,7 @@ QPaintEngine* PythonQtShell_QTabBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1876,7 +1876,7 @@ void PythonQtShell_QTabBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1898,7 +1898,7 @@ QPaintDevice* PythonQtShell_QTabBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1931,7 +1931,7 @@ void PythonQtShell_QTabBar::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1953,7 +1953,7 @@ void PythonQtShell_QTabBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1975,7 +1975,7 @@ QPainter* PythonQtShell_QTabBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2008,7 +2008,7 @@ void PythonQtShell_QTabBar::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2030,7 +2030,7 @@ QSize PythonQtShell_QTabBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2063,7 +2063,7 @@ void PythonQtShell_QTabBar::tabInserted(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2085,7 +2085,7 @@ void PythonQtShell_QTabBar::tabLayoutChange() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabLayoutChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2107,7 +2107,7 @@ void PythonQtShell_QTabBar::tabRemoved(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2129,7 +2129,7 @@ QSize PythonQtShell_QTabBar::tabSizeHint(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2162,7 +2162,7 @@ void PythonQtShell_QTabBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2184,7 +2184,7 @@ void PythonQtShell_QTabBar::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2206,7 +2206,7 @@ void PythonQtShell_QTabBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2541,7 +2541,7 @@ void PythonQtShell_QTabWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2563,7 +2563,7 @@ void PythonQtShell_QTabWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2585,7 +2585,7 @@ void PythonQtShell_QTabWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2607,7 +2607,7 @@ void PythonQtShell_QTabWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2629,7 +2629,7 @@ void PythonQtShell_QTabWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2651,7 +2651,7 @@ void PythonQtShell_QTabWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2673,7 +2673,7 @@ int PythonQtShell_QTabWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2706,7 +2706,7 @@ void PythonQtShell_QTabWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2728,7 +2728,7 @@ void PythonQtShell_QTabWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2750,7 +2750,7 @@ void PythonQtShell_QTabWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2772,7 +2772,7 @@ void PythonQtShell_QTabWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2794,7 +2794,7 @@ void PythonQtShell_QTabWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2816,7 +2816,7 @@ bool PythonQtShell_QTabWidget::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2849,7 +2849,7 @@ bool PythonQtShell_QTabWidget::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2882,7 +2882,7 @@ void PythonQtShell_QTabWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2904,7 +2904,7 @@ bool PythonQtShell_QTabWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2937,7 +2937,7 @@ void PythonQtShell_QTabWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2959,7 +2959,7 @@ bool PythonQtShell_QTabWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2992,7 +2992,7 @@ int PythonQtShell_QTabWidget::heightForWidth(int width0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3025,7 +3025,7 @@ void PythonQtShell_QTabWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3047,7 +3047,7 @@ void PythonQtShell_QTabWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3069,7 +3069,7 @@ void PythonQtShell_QTabWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3091,7 +3091,7 @@ QVariant PythonQtShell_QTabWidget::inputMethodQuery(Qt::InputMethodQuery arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3124,7 +3124,7 @@ void PythonQtShell_QTabWidget::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3146,7 +3146,7 @@ void PythonQtShell_QTabWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3168,7 +3168,7 @@ void PythonQtShell_QTabWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3190,7 +3190,7 @@ int PythonQtShell_QTabWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3223,7 +3223,7 @@ QSize PythonQtShell_QTabWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3256,7 +3256,7 @@ void PythonQtShell_QTabWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3278,7 +3278,7 @@ void PythonQtShell_QTabWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3300,7 +3300,7 @@ void PythonQtShell_QTabWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3322,7 +3322,7 @@ void PythonQtShell_QTabWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3344,7 +3344,7 @@ void PythonQtShell_QTabWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3366,7 +3366,7 @@ bool PythonQtShell_QTabWidget::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3399,7 +3399,7 @@ QPaintEngine* PythonQtShell_QTabWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3432,7 +3432,7 @@ void PythonQtShell_QTabWidget::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3454,7 +3454,7 @@ QPaintDevice* PythonQtShell_QTabWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3487,7 +3487,7 @@ void PythonQtShell_QTabWidget::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3509,7 +3509,7 @@ void PythonQtShell_QTabWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3531,7 +3531,7 @@ QPainter* PythonQtShell_QTabWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3564,7 +3564,7 @@ void PythonQtShell_QTabWidget::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3586,7 +3586,7 @@ QSize PythonQtShell_QTabWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3619,7 +3619,7 @@ void PythonQtShell_QTabWidget::tabInserted(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3641,7 +3641,7 @@ void PythonQtShell_QTabWidget::tabRemoved(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3663,7 +3663,7 @@ void PythonQtShell_QTabWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3685,7 +3685,7 @@ void PythonQtShell_QTabWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3707,7 +3707,7 @@ void PythonQtShell_QTabWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3992,7 +3992,7 @@ void PythonQtShell_QTableView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4014,7 +4014,7 @@ void PythonQtShell_QTableView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4036,7 +4036,7 @@ void PythonQtShell_QTableView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4058,7 +4058,7 @@ void PythonQtShell_QTableView::closeEditor(QWidget* editor0, QAbstractItemDeleg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4080,7 +4080,7 @@ void PythonQtShell_QTableView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4102,7 +4102,7 @@ void PythonQtShell_QTableView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4124,7 +4124,7 @@ void PythonQtShell_QTableView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4146,7 +4146,7 @@ void PythonQtShell_QTableView::currentChanged(const QModelIndex& current0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4168,7 +4168,7 @@ void PythonQtShell_QTableView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4190,7 +4190,7 @@ void PythonQtShell_QTableView::dataChanged(const QModelIndex& topLeft0, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4212,7 +4212,7 @@ int PythonQtShell_QTableView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4245,7 +4245,7 @@ void PythonQtShell_QTableView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4267,7 +4267,7 @@ void PythonQtShell_QTableView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4289,7 +4289,7 @@ void PythonQtShell_QTableView::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4311,7 +4311,7 @@ void PythonQtShell_QTableView::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4333,7 +4333,7 @@ void PythonQtShell_QTableView::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4355,7 +4355,7 @@ bool PythonQtShell_QTableView::edit(const QModelIndex& index0, QAbstractItemVi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4388,7 +4388,7 @@ void PythonQtShell_QTableView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4410,7 +4410,7 @@ void PythonQtShell_QTableView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4432,7 +4432,7 @@ bool PythonQtShell_QTableView::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4465,7 +4465,7 @@ bool PythonQtShell_QTableView::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4498,7 +4498,7 @@ void PythonQtShell_QTableView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4520,7 +4520,7 @@ bool PythonQtShell_QTableView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4553,7 +4553,7 @@ void PythonQtShell_QTableView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4575,7 +4575,7 @@ bool PythonQtShell_QTableView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4608,7 +4608,7 @@ int PythonQtShell_QTableView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4641,7 +4641,7 @@ void PythonQtShell_QTableView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4663,7 +4663,7 @@ int PythonQtShell_QTableView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4696,7 +4696,7 @@ void PythonQtShell_QTableView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4718,7 +4718,7 @@ void PythonQtShell_QTableView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4740,7 +4740,7 @@ QModelIndex PythonQtShell_QTableView::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4773,7 +4773,7 @@ void PythonQtShell_QTableView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4795,7 +4795,7 @@ void PythonQtShell_QTableView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4817,7 +4817,7 @@ QVariant PythonQtShell_QTableView::inputMethodQuery(Qt::InputMethodQuery query { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4850,7 +4850,7 @@ bool PythonQtShell_QTableView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4883,7 +4883,7 @@ void PythonQtShell_QTableView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4905,7 +4905,7 @@ void PythonQtShell_QTableView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4927,7 +4927,7 @@ void PythonQtShell_QTableView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4949,7 +4949,7 @@ void PythonQtShell_QTableView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4971,7 +4971,7 @@ int PythonQtShell_QTableView::metric(QPaintDevice::PaintDeviceMetric arg__1) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5004,7 +5004,7 @@ QSize PythonQtShell_QTableView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5037,7 +5037,7 @@ void PythonQtShell_QTableView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5059,7 +5059,7 @@ void PythonQtShell_QTableView::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5081,7 +5081,7 @@ void PythonQtShell_QTableView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5103,7 +5103,7 @@ void PythonQtShell_QTableView::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5125,7 +5125,7 @@ QModelIndex PythonQtShell_QTableView::moveCursor(QAbstractItemView::CursorActio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5158,7 +5158,7 @@ void PythonQtShell_QTableView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5180,7 +5180,7 @@ bool PythonQtShell_QTableView::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5213,7 +5213,7 @@ QPaintEngine* PythonQtShell_QTableView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5246,7 +5246,7 @@ void PythonQtShell_QTableView::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5268,7 +5268,7 @@ QPaintDevice* PythonQtShell_QTableView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5301,7 +5301,7 @@ void PythonQtShell_QTableView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5323,7 +5323,7 @@ void PythonQtShell_QTableView::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5345,7 +5345,7 @@ void PythonQtShell_QTableView::rowsAboutToBeRemoved(const QModelIndex& parent0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5367,7 +5367,7 @@ void PythonQtShell_QTableView::rowsInserted(const QModelIndex& parent0, int st { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5389,7 +5389,7 @@ void PythonQtShell_QTableView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5411,7 +5411,7 @@ void PythonQtShell_QTableView::scrollTo(const QModelIndex& index0, QAbstractIte { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5433,7 +5433,7 @@ void PythonQtShell_QTableView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5455,7 +5455,7 @@ QList PythonQtShell_QTableView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5488,7 +5488,7 @@ void PythonQtShell_QTableView::selectionChanged(const QItemSelection& selected0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5510,7 +5510,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QTableView::selectionCommand( { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5543,7 +5543,7 @@ void PythonQtShell_QTableView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5565,7 +5565,7 @@ void PythonQtShell_QTableView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5587,7 +5587,7 @@ void PythonQtShell_QTableView::setSelection(const QRect& rect0, QItemSelectionM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5609,7 +5609,7 @@ void PythonQtShell_QTableView::setSelectionModel(QItemSelectionModel* selection { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5631,7 +5631,7 @@ void PythonQtShell_QTableView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5653,7 +5653,7 @@ void PythonQtShell_QTableView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5675,7 +5675,7 @@ QPainter* PythonQtShell_QTableView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5708,7 +5708,7 @@ void PythonQtShell_QTableView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5730,7 +5730,7 @@ QSize PythonQtShell_QTableView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5763,7 +5763,7 @@ int PythonQtShell_QTableView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5796,7 +5796,7 @@ int PythonQtShell_QTableView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5829,7 +5829,7 @@ void PythonQtShell_QTableView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5851,7 +5851,7 @@ void PythonQtShell_QTableView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5873,7 +5873,7 @@ void PythonQtShell_QTableView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5895,7 +5895,7 @@ void PythonQtShell_QTableView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5917,7 +5917,7 @@ void PythonQtShell_QTableView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5939,7 +5939,7 @@ void PythonQtShell_QTableView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5961,7 +5961,7 @@ int PythonQtShell_QTableView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5994,7 +5994,7 @@ void PythonQtShell_QTableView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6016,7 +6016,7 @@ void PythonQtShell_QTableView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6038,7 +6038,7 @@ QStyleOptionViewItem PythonQtShell_QTableView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6071,7 +6071,7 @@ bool PythonQtShell_QTableView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6104,7 +6104,7 @@ QSize PythonQtShell_QTableView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6137,7 +6137,7 @@ QRect PythonQtShell_QTableView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6170,7 +6170,7 @@ QRegion PythonQtShell_QTableView::visualRegionForSelection(const QItemSelection { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6203,7 +6203,7 @@ void PythonQtShell_QTableView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6398,7 +6398,7 @@ void PythonQtShell_QTableWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6420,7 +6420,7 @@ void PythonQtShell_QTableWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6442,7 +6442,7 @@ void PythonQtShell_QTableWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6464,7 +6464,7 @@ void PythonQtShell_QTableWidget::closeEditor(QWidget* editor0, QAbstractItemDel { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6486,7 +6486,7 @@ void PythonQtShell_QTableWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6508,7 +6508,7 @@ void PythonQtShell_QTableWidget::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6530,7 +6530,7 @@ void PythonQtShell_QTableWidget::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6552,7 +6552,7 @@ void PythonQtShell_QTableWidget::currentChanged(const QModelIndex& current0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6574,7 +6574,7 @@ void PythonQtShell_QTableWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6596,7 +6596,7 @@ void PythonQtShell_QTableWidget::dataChanged(const QModelIndex& topLeft0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6618,7 +6618,7 @@ int PythonQtShell_QTableWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6651,7 +6651,7 @@ void PythonQtShell_QTableWidget::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6673,7 +6673,7 @@ void PythonQtShell_QTableWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6695,7 +6695,7 @@ void PythonQtShell_QTableWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6717,7 +6717,7 @@ void PythonQtShell_QTableWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6739,7 +6739,7 @@ void PythonQtShell_QTableWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6761,7 +6761,7 @@ bool PythonQtShell_QTableWidget::dropMimeData(int row0, int column1, const QM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6794,7 +6794,7 @@ bool PythonQtShell_QTableWidget::edit(const QModelIndex& index0, QAbstractItem { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6827,7 +6827,7 @@ void PythonQtShell_QTableWidget::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6849,7 +6849,7 @@ void PythonQtShell_QTableWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6871,7 +6871,7 @@ bool PythonQtShell_QTableWidget::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6904,7 +6904,7 @@ bool PythonQtShell_QTableWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6937,7 +6937,7 @@ void PythonQtShell_QTableWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6959,7 +6959,7 @@ bool PythonQtShell_QTableWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6992,7 +6992,7 @@ void PythonQtShell_QTableWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7014,7 +7014,7 @@ bool PythonQtShell_QTableWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7047,7 +7047,7 @@ int PythonQtShell_QTableWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7080,7 +7080,7 @@ void PythonQtShell_QTableWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7102,7 +7102,7 @@ int PythonQtShell_QTableWidget::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7135,7 +7135,7 @@ void PythonQtShell_QTableWidget::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7157,7 +7157,7 @@ void PythonQtShell_QTableWidget::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7179,7 +7179,7 @@ QModelIndex PythonQtShell_QTableWidget::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7212,7 +7212,7 @@ void PythonQtShell_QTableWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7234,7 +7234,7 @@ void PythonQtShell_QTableWidget::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7256,7 +7256,7 @@ QVariant PythonQtShell_QTableWidget::inputMethodQuery(Qt::InputMethodQuery que { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7289,7 +7289,7 @@ bool PythonQtShell_QTableWidget::isIndexHidden(const QModelIndex& index0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7322,7 +7322,7 @@ void PythonQtShell_QTableWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7344,7 +7344,7 @@ void PythonQtShell_QTableWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7366,7 +7366,7 @@ void PythonQtShell_QTableWidget::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7388,7 +7388,7 @@ void PythonQtShell_QTableWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7410,7 +7410,7 @@ int PythonQtShell_QTableWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7443,7 +7443,7 @@ QMimeData* PythonQtShell_QTableWidget::mimeData(const QList { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7476,7 +7476,7 @@ QStringList PythonQtShell_QTableWidget::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7509,7 +7509,7 @@ QSize PythonQtShell_QTableWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7542,7 +7542,7 @@ void PythonQtShell_QTableWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7564,7 +7564,7 @@ void PythonQtShell_QTableWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7586,7 +7586,7 @@ void PythonQtShell_QTableWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7608,7 +7608,7 @@ void PythonQtShell_QTableWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7630,7 +7630,7 @@ QModelIndex PythonQtShell_QTableWidget::moveCursor(QAbstractItemView::CursorAct { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7663,7 +7663,7 @@ void PythonQtShell_QTableWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7685,7 +7685,7 @@ bool PythonQtShell_QTableWidget::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7718,7 +7718,7 @@ QPaintEngine* PythonQtShell_QTableWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7751,7 +7751,7 @@ void PythonQtShell_QTableWidget::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7773,7 +7773,7 @@ QPaintDevice* PythonQtShell_QTableWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7806,7 +7806,7 @@ void PythonQtShell_QTableWidget::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7828,7 +7828,7 @@ void PythonQtShell_QTableWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7850,7 +7850,7 @@ void PythonQtShell_QTableWidget::rowsAboutToBeRemoved(const QModelIndex& parent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7872,7 +7872,7 @@ void PythonQtShell_QTableWidget::rowsInserted(const QModelIndex& parent0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7894,7 +7894,7 @@ void PythonQtShell_QTableWidget::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7916,7 +7916,7 @@ void PythonQtShell_QTableWidget::scrollTo(const QModelIndex& index0, QAbstractI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7938,7 +7938,7 @@ void PythonQtShell_QTableWidget::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7960,7 +7960,7 @@ QList PythonQtShell_QTableWidget::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7993,7 +7993,7 @@ void PythonQtShell_QTableWidget::selectionChanged(const QItemSelection& selecte { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8015,7 +8015,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QTableWidget::selectionComman { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8048,7 +8048,7 @@ void PythonQtShell_QTableWidget::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8070,7 +8070,7 @@ void PythonQtShell_QTableWidget::setSelection(const QRect& rect0, QItemSelectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8092,7 +8092,7 @@ void PythonQtShell_QTableWidget::setSelectionModel(QItemSelectionModel* selecti { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8114,7 +8114,7 @@ void PythonQtShell_QTableWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8136,7 +8136,7 @@ void PythonQtShell_QTableWidget::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8158,7 +8158,7 @@ QPainter* PythonQtShell_QTableWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8191,7 +8191,7 @@ void PythonQtShell_QTableWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8213,7 +8213,7 @@ QSize PythonQtShell_QTableWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8246,7 +8246,7 @@ int PythonQtShell_QTableWidget::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8279,7 +8279,7 @@ int PythonQtShell_QTableWidget::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8312,7 +8312,7 @@ void PythonQtShell_QTableWidget::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8334,7 +8334,7 @@ Qt::DropActions PythonQtShell_QTableWidget::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8367,7 +8367,7 @@ void PythonQtShell_QTableWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8389,7 +8389,7 @@ void PythonQtShell_QTableWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8411,7 +8411,7 @@ void PythonQtShell_QTableWidget::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8433,7 +8433,7 @@ void PythonQtShell_QTableWidget::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8455,7 +8455,7 @@ void PythonQtShell_QTableWidget::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8477,7 +8477,7 @@ int PythonQtShell_QTableWidget::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8510,7 +8510,7 @@ void PythonQtShell_QTableWidget::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8532,7 +8532,7 @@ void PythonQtShell_QTableWidget::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8554,7 +8554,7 @@ QStyleOptionViewItem PythonQtShell_QTableWidget::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8587,7 +8587,7 @@ bool PythonQtShell_QTableWidget::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8620,7 +8620,7 @@ QSize PythonQtShell_QTableWidget::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8653,7 +8653,7 @@ QRect PythonQtShell_QTableWidget::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8686,7 +8686,7 @@ QRegion PythonQtShell_QTableWidget::visualRegionForSelection(const QItemSelecti { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8719,7 +8719,7 @@ void PythonQtShell_QTableWidget::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9013,7 +9013,7 @@ QTableWidgetItem* PythonQtShell_QTableWidgetItem::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9046,7 +9046,7 @@ QVariant PythonQtShell_QTableWidgetItem::data(int role0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9079,7 +9079,7 @@ void PythonQtShell_QTableWidgetItem::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9101,7 +9101,7 @@ void PythonQtShell_QTableWidgetItem::setData(int role0, const QVariant& value1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9123,7 +9123,7 @@ void PythonQtShell_QTableWidgetItem::write(QDataStream& out0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9511,7 +9511,7 @@ void PythonQtShell_QTapAndHoldGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9533,7 +9533,7 @@ void PythonQtShell_QTapAndHoldGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9555,7 +9555,7 @@ bool PythonQtShell_QTapAndHoldGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9588,7 +9588,7 @@ bool PythonQtShell_QTapAndHoldGesture::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9621,7 +9621,7 @@ void PythonQtShell_QTapAndHoldGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9686,7 +9686,7 @@ void PythonQtShell_QTapGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9708,7 +9708,7 @@ void PythonQtShell_QTapGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9730,7 +9730,7 @@ bool PythonQtShell_QTapGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9763,7 +9763,7 @@ bool PythonQtShell_QTapGesture::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9796,7 +9796,7 @@ void PythonQtShell_QTapGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10175,7 +10175,7 @@ void PythonQtShell_QTextBlockGroup::blockFormatChanged(const QTextBlock& block0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("blockFormatChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10197,7 +10197,7 @@ void PythonQtShell_QTextBlockGroup::blockInserted(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("blockInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10219,7 +10219,7 @@ void PythonQtShell_QTextBlockGroup::blockRemoved(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("blockRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10241,7 +10241,7 @@ void PythonQtShell_QTextBlockGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10263,7 +10263,7 @@ void PythonQtShell_QTextBlockGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10285,7 +10285,7 @@ bool PythonQtShell_QTextBlockGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10318,7 +10318,7 @@ bool PythonQtShell_QTextBlockGroup::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10351,7 +10351,7 @@ void PythonQtShell_QTextBlockGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10426,7 +10426,7 @@ void PythonQtShell_QTextBrowser::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10448,7 +10448,7 @@ void PythonQtShell_QTextBrowser::backward() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("backward"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10470,7 +10470,7 @@ bool PythonQtShell_QTextBrowser::canInsertFromMimeData(const QMimeData* source { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canInsertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10503,7 +10503,7 @@ void PythonQtShell_QTextBrowser::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10525,7 +10525,7 @@ void PythonQtShell_QTextBrowser::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10547,7 +10547,7 @@ void PythonQtShell_QTextBrowser::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10569,7 +10569,7 @@ void PythonQtShell_QTextBrowser::contextMenuEvent(QContextMenuEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10591,7 +10591,7 @@ QMimeData* PythonQtShell_QTextBrowser::createMimeDataFromSelection() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createMimeDataFromSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10624,7 +10624,7 @@ void PythonQtShell_QTextBrowser::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10646,7 +10646,7 @@ int PythonQtShell_QTextBrowser::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10679,7 +10679,7 @@ void PythonQtShell_QTextBrowser::doSetTextCursor(const QTextCursor& cursor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doSetTextCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10701,7 +10701,7 @@ void PythonQtShell_QTextBrowser::dragEnterEvent(QDragEnterEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10723,7 +10723,7 @@ void PythonQtShell_QTextBrowser::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10745,7 +10745,7 @@ void PythonQtShell_QTextBrowser::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10767,7 +10767,7 @@ void PythonQtShell_QTextBrowser::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10789,7 +10789,7 @@ void PythonQtShell_QTextBrowser::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10811,7 +10811,7 @@ bool PythonQtShell_QTextBrowser::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10844,7 +10844,7 @@ bool PythonQtShell_QTextBrowser::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10877,7 +10877,7 @@ void PythonQtShell_QTextBrowser::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10899,7 +10899,7 @@ bool PythonQtShell_QTextBrowser::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10932,7 +10932,7 @@ void PythonQtShell_QTextBrowser::focusOutEvent(QFocusEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10954,7 +10954,7 @@ void PythonQtShell_QTextBrowser::forward() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("forward"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10976,7 +10976,7 @@ bool PythonQtShell_QTextBrowser::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11009,7 +11009,7 @@ int PythonQtShell_QTextBrowser::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11042,7 +11042,7 @@ void PythonQtShell_QTextBrowser::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11064,7 +11064,7 @@ void PythonQtShell_QTextBrowser::home() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("home"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11086,7 +11086,7 @@ void PythonQtShell_QTextBrowser::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11108,7 +11108,7 @@ void PythonQtShell_QTextBrowser::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11130,7 +11130,7 @@ QVariant PythonQtShell_QTextBrowser::inputMethodQuery(Qt::InputMethodQuery pro { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11163,7 +11163,7 @@ void PythonQtShell_QTextBrowser::insertFromMimeData(const QMimeData* source0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11185,7 +11185,7 @@ void PythonQtShell_QTextBrowser::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11207,7 +11207,7 @@ void PythonQtShell_QTextBrowser::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11229,7 +11229,7 @@ void PythonQtShell_QTextBrowser::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11251,7 +11251,7 @@ QVariant PythonQtShell_QTextBrowser::loadResource(int type0, const QUrl& name { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11284,7 +11284,7 @@ int PythonQtShell_QTextBrowser::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11317,7 +11317,7 @@ QSize PythonQtShell_QTextBrowser::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11350,7 +11350,7 @@ void PythonQtShell_QTextBrowser::mouseDoubleClickEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11372,7 +11372,7 @@ void PythonQtShell_QTextBrowser::mouseMoveEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11394,7 +11394,7 @@ void PythonQtShell_QTextBrowser::mousePressEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11416,7 +11416,7 @@ void PythonQtShell_QTextBrowser::mouseReleaseEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11438,7 +11438,7 @@ void PythonQtShell_QTextBrowser::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11460,7 +11460,7 @@ bool PythonQtShell_QTextBrowser::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11493,7 +11493,7 @@ QPaintEngine* PythonQtShell_QTextBrowser::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11526,7 +11526,7 @@ void PythonQtShell_QTextBrowser::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11548,7 +11548,7 @@ QPaintDevice* PythonQtShell_QTextBrowser::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11581,7 +11581,7 @@ void PythonQtShell_QTextBrowser::reload() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reload"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11603,7 +11603,7 @@ void PythonQtShell_QTextBrowser::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11625,7 +11625,7 @@ void PythonQtShell_QTextBrowser::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11647,7 +11647,7 @@ void PythonQtShell_QTextBrowser::setSource(const QUrl& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11669,7 +11669,7 @@ void PythonQtShell_QTextBrowser::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11691,7 +11691,7 @@ void PythonQtShell_QTextBrowser::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11713,7 +11713,7 @@ QPainter* PythonQtShell_QTextBrowser::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11746,7 +11746,7 @@ void PythonQtShell_QTextBrowser::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11768,7 +11768,7 @@ QSize PythonQtShell_QTextBrowser::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11801,7 +11801,7 @@ void PythonQtShell_QTextBrowser::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11823,7 +11823,7 @@ void PythonQtShell_QTextBrowser::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11845,7 +11845,7 @@ bool PythonQtShell_QTextBrowser::viewportEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11878,7 +11878,7 @@ QSize PythonQtShell_QTextBrowser::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11911,7 +11911,7 @@ void PythonQtShell_QTextBrowser::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12712,7 +12712,7 @@ void PythonQtShell_QTextDocument::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12734,7 +12734,7 @@ void PythonQtShell_QTextDocument::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12756,7 +12756,7 @@ QTextObject* PythonQtShell_QTextDocument::createObject(const QTextFormat& f0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12789,7 +12789,7 @@ void PythonQtShell_QTextDocument::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12811,7 +12811,7 @@ bool PythonQtShell_QTextDocument::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12844,7 +12844,7 @@ bool PythonQtShell_QTextDocument::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12877,7 +12877,7 @@ QVariant PythonQtShell_QTextDocument::loadResource(int type0, const QUrl& nam { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12910,7 +12910,7 @@ void PythonQtShell_QTextDocument::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13461,7 +13461,7 @@ void PythonQtShell_QTextEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13483,7 +13483,7 @@ bool PythonQtShell_QTextEdit::canInsertFromMimeData(const QMimeData* source0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canInsertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13516,7 +13516,7 @@ void PythonQtShell_QTextEdit::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13538,7 +13538,7 @@ void PythonQtShell_QTextEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13560,7 +13560,7 @@ void PythonQtShell_QTextEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13582,7 +13582,7 @@ void PythonQtShell_QTextEdit::contextMenuEvent(QContextMenuEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13604,7 +13604,7 @@ QMimeData* PythonQtShell_QTextEdit::createMimeDataFromSelection() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createMimeDataFromSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13637,7 +13637,7 @@ void PythonQtShell_QTextEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13659,7 +13659,7 @@ int PythonQtShell_QTextEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13692,7 +13692,7 @@ void PythonQtShell_QTextEdit::doSetTextCursor(const QTextCursor& cursor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doSetTextCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13714,7 +13714,7 @@ void PythonQtShell_QTextEdit::dragEnterEvent(QDragEnterEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13736,7 +13736,7 @@ void PythonQtShell_QTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13758,7 +13758,7 @@ void PythonQtShell_QTextEdit::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13780,7 +13780,7 @@ void PythonQtShell_QTextEdit::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13802,7 +13802,7 @@ void PythonQtShell_QTextEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13824,7 +13824,7 @@ bool PythonQtShell_QTextEdit::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13857,7 +13857,7 @@ bool PythonQtShell_QTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13890,7 +13890,7 @@ void PythonQtShell_QTextEdit::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13912,7 +13912,7 @@ bool PythonQtShell_QTextEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13945,7 +13945,7 @@ void PythonQtShell_QTextEdit::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13967,7 +13967,7 @@ bool PythonQtShell_QTextEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14000,7 +14000,7 @@ int PythonQtShell_QTextEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14033,7 +14033,7 @@ void PythonQtShell_QTextEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14055,7 +14055,7 @@ void PythonQtShell_QTextEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14077,7 +14077,7 @@ void PythonQtShell_QTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14099,7 +14099,7 @@ QVariant PythonQtShell_QTextEdit::inputMethodQuery(Qt::InputMethodQuery proper { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14132,7 +14132,7 @@ void PythonQtShell_QTextEdit::insertFromMimeData(const QMimeData* source0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14154,7 +14154,7 @@ void PythonQtShell_QTextEdit::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14176,7 +14176,7 @@ void PythonQtShell_QTextEdit::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14198,7 +14198,7 @@ void PythonQtShell_QTextEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14220,7 +14220,7 @@ QVariant PythonQtShell_QTextEdit::loadResource(int type0, const QUrl& name1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14253,7 +14253,7 @@ int PythonQtShell_QTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14286,7 +14286,7 @@ QSize PythonQtShell_QTextEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14319,7 +14319,7 @@ void PythonQtShell_QTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14341,7 +14341,7 @@ void PythonQtShell_QTextEdit::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14363,7 +14363,7 @@ void PythonQtShell_QTextEdit::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14385,7 +14385,7 @@ void PythonQtShell_QTextEdit::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14407,7 +14407,7 @@ void PythonQtShell_QTextEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14429,7 +14429,7 @@ bool PythonQtShell_QTextEdit::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14462,7 +14462,7 @@ QPaintEngine* PythonQtShell_QTextEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14495,7 +14495,7 @@ void PythonQtShell_QTextEdit::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14517,7 +14517,7 @@ QPaintDevice* PythonQtShell_QTextEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14550,7 +14550,7 @@ void PythonQtShell_QTextEdit::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14572,7 +14572,7 @@ void PythonQtShell_QTextEdit::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14594,7 +14594,7 @@ void PythonQtShell_QTextEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14616,7 +14616,7 @@ void PythonQtShell_QTextEdit::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14638,7 +14638,7 @@ QPainter* PythonQtShell_QTextEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14671,7 +14671,7 @@ void PythonQtShell_QTextEdit::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14693,7 +14693,7 @@ QSize PythonQtShell_QTextEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14726,7 +14726,7 @@ void PythonQtShell_QTextEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14748,7 +14748,7 @@ void PythonQtShell_QTextEdit::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14770,7 +14770,7 @@ bool PythonQtShell_QTextEdit::viewportEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14803,7 +14803,7 @@ QSize PythonQtShell_QTextEdit::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14836,7 +14836,7 @@ void PythonQtShell_QTextEdit::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15295,7 +15295,7 @@ void PythonQtShell_QTextFrame::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15317,7 +15317,7 @@ void PythonQtShell_QTextFrame::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15339,7 +15339,7 @@ bool PythonQtShell_QTextFrame::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15372,7 +15372,7 @@ bool PythonQtShell_QTextFrame::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15405,7 +15405,7 @@ void PythonQtShell_QTextFrame::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp index af71aa61c..53890b5d0 100644 --- a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp +++ b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp @@ -506,7 +506,7 @@ void PythonQtShell_QTextList::blockFormatChanged(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("blockFormatChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -528,7 +528,7 @@ void PythonQtShell_QTextList::blockInserted(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("blockInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -550,7 +550,7 @@ void PythonQtShell_QTextList::blockRemoved(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("blockRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -572,7 +572,7 @@ void PythonQtShell_QTextList::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -594,7 +594,7 @@ void PythonQtShell_QTextList::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -616,7 +616,7 @@ bool PythonQtShell_QTextList::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -649,7 +649,7 @@ bool PythonQtShell_QTextList::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -682,7 +682,7 @@ void PythonQtShell_QTextList::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -831,7 +831,7 @@ void PythonQtShell_QTextObject::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -853,7 +853,7 @@ void PythonQtShell_QTextObject::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -875,7 +875,7 @@ bool PythonQtShell_QTextObject::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -908,7 +908,7 @@ bool PythonQtShell_QTextObject::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -941,7 +941,7 @@ void PythonQtShell_QTextObject::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1129,7 +1129,7 @@ void PythonQtShell_QTextTable::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1151,7 +1151,7 @@ void PythonQtShell_QTextTable::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1173,7 +1173,7 @@ bool PythonQtShell_QTextTable::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1206,7 +1206,7 @@ bool PythonQtShell_QTextTable::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1239,7 +1239,7 @@ void PythonQtShell_QTextTable::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1631,7 +1631,7 @@ void PythonQtShell_QTimeEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1653,7 +1653,7 @@ void PythonQtShell_QTimeEdit::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1675,7 +1675,7 @@ void PythonQtShell_QTimeEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1697,7 +1697,7 @@ void PythonQtShell_QTimeEdit::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1719,7 +1719,7 @@ void PythonQtShell_QTimeEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1741,7 +1741,7 @@ void PythonQtShell_QTimeEdit::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1763,7 +1763,7 @@ void PythonQtShell_QTimeEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1785,7 +1785,7 @@ QDateTime PythonQtShell_QTimeEdit::dateTimeFromText(const QString& text0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dateTimeFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1818,7 +1818,7 @@ int PythonQtShell_QTimeEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1851,7 +1851,7 @@ void PythonQtShell_QTimeEdit::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1873,7 +1873,7 @@ void PythonQtShell_QTimeEdit::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1895,7 +1895,7 @@ void PythonQtShell_QTimeEdit::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1917,7 +1917,7 @@ void PythonQtShell_QTimeEdit::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1939,7 +1939,7 @@ void PythonQtShell_QTimeEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1961,7 +1961,7 @@ bool PythonQtShell_QTimeEdit::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1994,7 +1994,7 @@ bool PythonQtShell_QTimeEdit::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2027,7 +2027,7 @@ void PythonQtShell_QTimeEdit::fixup(QString& input0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2049,7 +2049,7 @@ void PythonQtShell_QTimeEdit::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2071,7 +2071,7 @@ bool PythonQtShell_QTimeEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2104,7 +2104,7 @@ void PythonQtShell_QTimeEdit::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2126,7 +2126,7 @@ bool PythonQtShell_QTimeEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2159,7 +2159,7 @@ int PythonQtShell_QTimeEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2192,7 +2192,7 @@ void PythonQtShell_QTimeEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2214,7 +2214,7 @@ void PythonQtShell_QTimeEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2236,7 +2236,7 @@ void PythonQtShell_QTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2258,7 +2258,7 @@ QVariant PythonQtShell_QTimeEdit::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2291,7 +2291,7 @@ void PythonQtShell_QTimeEdit::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2313,7 +2313,7 @@ void PythonQtShell_QTimeEdit::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2335,7 +2335,7 @@ void PythonQtShell_QTimeEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2357,7 +2357,7 @@ int PythonQtShell_QTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2390,7 +2390,7 @@ void PythonQtShell_QTimeEdit::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2412,7 +2412,7 @@ void PythonQtShell_QTimeEdit::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2434,7 +2434,7 @@ void PythonQtShell_QTimeEdit::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2456,7 +2456,7 @@ void PythonQtShell_QTimeEdit::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2478,7 +2478,7 @@ void PythonQtShell_QTimeEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2500,7 +2500,7 @@ bool PythonQtShell_QTimeEdit::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2533,7 +2533,7 @@ QPaintEngine* PythonQtShell_QTimeEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2566,7 +2566,7 @@ void PythonQtShell_QTimeEdit::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2588,7 +2588,7 @@ QPaintDevice* PythonQtShell_QTimeEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2621,7 +2621,7 @@ void PythonQtShell_QTimeEdit::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2643,7 +2643,7 @@ void PythonQtShell_QTimeEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2665,7 +2665,7 @@ QPainter* PythonQtShell_QTimeEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2698,7 +2698,7 @@ void PythonQtShell_QTimeEdit::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2720,7 +2720,7 @@ void PythonQtShell_QTimeEdit::stepBy(int steps0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2742,7 +2742,7 @@ QAbstractSpinBox::StepEnabled PythonQtShell_QTimeEdit::stepEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2775,7 +2775,7 @@ void PythonQtShell_QTimeEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2797,7 +2797,7 @@ QString PythonQtShell_QTimeEdit::textFromDateTime(const QDateTime& dt0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textFromDateTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2830,7 +2830,7 @@ void PythonQtShell_QTimeEdit::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2852,7 +2852,7 @@ QValidator::State PythonQtShell_QTimeEdit::validate(QString& input0, int& pos { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2885,7 +2885,7 @@ void PythonQtShell_QTimeEdit::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2934,7 +2934,7 @@ void PythonQtShell_QToolBar::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2956,7 +2956,7 @@ void PythonQtShell_QToolBar::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2978,7 +2978,7 @@ void PythonQtShell_QToolBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3000,7 +3000,7 @@ void PythonQtShell_QToolBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3022,7 +3022,7 @@ void PythonQtShell_QToolBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3044,7 +3044,7 @@ void PythonQtShell_QToolBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3066,7 +3066,7 @@ int PythonQtShell_QToolBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3099,7 +3099,7 @@ void PythonQtShell_QToolBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3121,7 +3121,7 @@ void PythonQtShell_QToolBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3143,7 +3143,7 @@ void PythonQtShell_QToolBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3165,7 +3165,7 @@ void PythonQtShell_QToolBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3187,7 +3187,7 @@ void PythonQtShell_QToolBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3209,7 +3209,7 @@ bool PythonQtShell_QToolBar::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3242,7 +3242,7 @@ bool PythonQtShell_QToolBar::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3275,7 +3275,7 @@ void PythonQtShell_QToolBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3297,7 +3297,7 @@ bool PythonQtShell_QToolBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3330,7 +3330,7 @@ void PythonQtShell_QToolBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3352,7 +3352,7 @@ bool PythonQtShell_QToolBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3385,7 +3385,7 @@ int PythonQtShell_QToolBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3418,7 +3418,7 @@ void PythonQtShell_QToolBar::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3440,7 +3440,7 @@ void PythonQtShell_QToolBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3462,7 +3462,7 @@ void PythonQtShell_QToolBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3484,7 +3484,7 @@ QVariant PythonQtShell_QToolBar::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3517,7 +3517,7 @@ void PythonQtShell_QToolBar::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3539,7 +3539,7 @@ void PythonQtShell_QToolBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3561,7 +3561,7 @@ void PythonQtShell_QToolBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3583,7 +3583,7 @@ int PythonQtShell_QToolBar::metric(QPaintDevice::PaintDeviceMetric arg__1) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3616,7 +3616,7 @@ QSize PythonQtShell_QToolBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3649,7 +3649,7 @@ void PythonQtShell_QToolBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3671,7 +3671,7 @@ void PythonQtShell_QToolBar::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3693,7 +3693,7 @@ void PythonQtShell_QToolBar::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3715,7 +3715,7 @@ void PythonQtShell_QToolBar::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3737,7 +3737,7 @@ void PythonQtShell_QToolBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3759,7 +3759,7 @@ bool PythonQtShell_QToolBar::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3792,7 +3792,7 @@ QPaintEngine* PythonQtShell_QToolBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3825,7 +3825,7 @@ void PythonQtShell_QToolBar::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3847,7 +3847,7 @@ QPaintDevice* PythonQtShell_QToolBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3880,7 +3880,7 @@ void PythonQtShell_QToolBar::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3902,7 +3902,7 @@ void PythonQtShell_QToolBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3924,7 +3924,7 @@ QPainter* PythonQtShell_QToolBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3957,7 +3957,7 @@ void PythonQtShell_QToolBar::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3979,7 +3979,7 @@ QSize PythonQtShell_QToolBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4012,7 +4012,7 @@ void PythonQtShell_QToolBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4034,7 +4034,7 @@ void PythonQtShell_QToolBar::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4056,7 +4056,7 @@ void PythonQtShell_QToolBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4251,7 +4251,7 @@ void PythonQtShell_QToolBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4273,7 +4273,7 @@ void PythonQtShell_QToolBox::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4295,7 +4295,7 @@ void PythonQtShell_QToolBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4317,7 +4317,7 @@ void PythonQtShell_QToolBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4339,7 +4339,7 @@ void PythonQtShell_QToolBox::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4361,7 +4361,7 @@ void PythonQtShell_QToolBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4383,7 +4383,7 @@ int PythonQtShell_QToolBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4416,7 +4416,7 @@ void PythonQtShell_QToolBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4438,7 +4438,7 @@ void PythonQtShell_QToolBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4460,7 +4460,7 @@ void PythonQtShell_QToolBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4482,7 +4482,7 @@ void PythonQtShell_QToolBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4504,7 +4504,7 @@ void PythonQtShell_QToolBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4526,7 +4526,7 @@ bool PythonQtShell_QToolBox::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4559,7 +4559,7 @@ bool PythonQtShell_QToolBox::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4592,7 +4592,7 @@ void PythonQtShell_QToolBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4614,7 +4614,7 @@ bool PythonQtShell_QToolBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4647,7 +4647,7 @@ void PythonQtShell_QToolBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4669,7 +4669,7 @@ bool PythonQtShell_QToolBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4702,7 +4702,7 @@ int PythonQtShell_QToolBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4735,7 +4735,7 @@ void PythonQtShell_QToolBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4757,7 +4757,7 @@ void PythonQtShell_QToolBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4779,7 +4779,7 @@ void PythonQtShell_QToolBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4801,7 +4801,7 @@ QVariant PythonQtShell_QToolBox::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4834,7 +4834,7 @@ void PythonQtShell_QToolBox::itemInserted(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4856,7 +4856,7 @@ void PythonQtShell_QToolBox::itemRemoved(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4878,7 +4878,7 @@ void PythonQtShell_QToolBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4900,7 +4900,7 @@ void PythonQtShell_QToolBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4922,7 +4922,7 @@ void PythonQtShell_QToolBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4944,7 +4944,7 @@ int PythonQtShell_QToolBox::metric(QPaintDevice::PaintDeviceMetric arg__1) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4977,7 +4977,7 @@ QSize PythonQtShell_QToolBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5010,7 +5010,7 @@ void PythonQtShell_QToolBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5032,7 +5032,7 @@ void PythonQtShell_QToolBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5054,7 +5054,7 @@ void PythonQtShell_QToolBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5076,7 +5076,7 @@ void PythonQtShell_QToolBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5098,7 +5098,7 @@ void PythonQtShell_QToolBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5120,7 +5120,7 @@ bool PythonQtShell_QToolBox::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5153,7 +5153,7 @@ QPaintEngine* PythonQtShell_QToolBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5186,7 +5186,7 @@ void PythonQtShell_QToolBox::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5208,7 +5208,7 @@ QPaintDevice* PythonQtShell_QToolBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5241,7 +5241,7 @@ void PythonQtShell_QToolBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5263,7 +5263,7 @@ void PythonQtShell_QToolBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5285,7 +5285,7 @@ QPainter* PythonQtShell_QToolBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5318,7 +5318,7 @@ void PythonQtShell_QToolBox::showEvent(QShowEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5340,7 +5340,7 @@ QSize PythonQtShell_QToolBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5373,7 +5373,7 @@ void PythonQtShell_QToolBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5395,7 +5395,7 @@ void PythonQtShell_QToolBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5417,7 +5417,7 @@ void PythonQtShell_QToolBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5562,7 +5562,7 @@ void PythonQtShell_QToolButton::actionEvent(QActionEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5584,7 +5584,7 @@ void PythonQtShell_QToolButton::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5606,7 +5606,7 @@ void PythonQtShell_QToolButton::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5628,7 +5628,7 @@ void PythonQtShell_QToolButton::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5650,7 +5650,7 @@ void PythonQtShell_QToolButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5672,7 +5672,7 @@ void PythonQtShell_QToolButton::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5694,7 +5694,7 @@ void PythonQtShell_QToolButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5716,7 +5716,7 @@ int PythonQtShell_QToolButton::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5749,7 +5749,7 @@ void PythonQtShell_QToolButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5771,7 +5771,7 @@ void PythonQtShell_QToolButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5793,7 +5793,7 @@ void PythonQtShell_QToolButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5815,7 +5815,7 @@ void PythonQtShell_QToolButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5837,7 +5837,7 @@ void PythonQtShell_QToolButton::enterEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5859,7 +5859,7 @@ bool PythonQtShell_QToolButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5892,7 +5892,7 @@ bool PythonQtShell_QToolButton::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5925,7 +5925,7 @@ void PythonQtShell_QToolButton::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5947,7 +5947,7 @@ bool PythonQtShell_QToolButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5980,7 +5980,7 @@ void PythonQtShell_QToolButton::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6002,7 +6002,7 @@ bool PythonQtShell_QToolButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6035,7 +6035,7 @@ int PythonQtShell_QToolButton::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6068,7 +6068,7 @@ void PythonQtShell_QToolButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6090,7 +6090,7 @@ bool PythonQtShell_QToolButton::hitButton(const QPoint& pos0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6123,7 +6123,7 @@ void PythonQtShell_QToolButton::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6145,7 +6145,7 @@ void PythonQtShell_QToolButton::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6167,7 +6167,7 @@ QVariant PythonQtShell_QToolButton::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6200,7 +6200,7 @@ void PythonQtShell_QToolButton::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6222,7 +6222,7 @@ void PythonQtShell_QToolButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6244,7 +6244,7 @@ void PythonQtShell_QToolButton::leaveEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6266,7 +6266,7 @@ int PythonQtShell_QToolButton::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6299,7 +6299,7 @@ QSize PythonQtShell_QToolButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6332,7 +6332,7 @@ void PythonQtShell_QToolButton::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6354,7 +6354,7 @@ void PythonQtShell_QToolButton::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6376,7 +6376,7 @@ void PythonQtShell_QToolButton::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6398,7 +6398,7 @@ void PythonQtShell_QToolButton::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6420,7 +6420,7 @@ void PythonQtShell_QToolButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6442,7 +6442,7 @@ bool PythonQtShell_QToolButton::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6475,7 +6475,7 @@ void PythonQtShell_QToolButton::nextCheckState() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6497,7 +6497,7 @@ QPaintEngine* PythonQtShell_QToolButton::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6530,7 +6530,7 @@ void PythonQtShell_QToolButton::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6552,7 +6552,7 @@ QPaintDevice* PythonQtShell_QToolButton::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6585,7 +6585,7 @@ void PythonQtShell_QToolButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6607,7 +6607,7 @@ void PythonQtShell_QToolButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6629,7 +6629,7 @@ QPainter* PythonQtShell_QToolButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6662,7 +6662,7 @@ void PythonQtShell_QToolButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6684,7 +6684,7 @@ QSize PythonQtShell_QToolButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6717,7 +6717,7 @@ void PythonQtShell_QToolButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6739,7 +6739,7 @@ void PythonQtShell_QToolButton::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6761,7 +6761,7 @@ void PythonQtShell_QToolButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7608,7 +7608,7 @@ void PythonQtShell_QTreeView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7630,7 +7630,7 @@ void PythonQtShell_QTreeView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7652,7 +7652,7 @@ void PythonQtShell_QTreeView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7674,7 +7674,7 @@ void PythonQtShell_QTreeView::closeEditor(QWidget* editor0, QAbstractItemDelega { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7696,7 +7696,7 @@ void PythonQtShell_QTreeView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7718,7 +7718,7 @@ void PythonQtShell_QTreeView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7740,7 +7740,7 @@ void PythonQtShell_QTreeView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7762,7 +7762,7 @@ void PythonQtShell_QTreeView::currentChanged(const QModelIndex& current0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7784,7 +7784,7 @@ void PythonQtShell_QTreeView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7806,7 +7806,7 @@ void PythonQtShell_QTreeView::dataChanged(const QModelIndex& topLeft0, const QM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7828,7 +7828,7 @@ int PythonQtShell_QTreeView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7861,7 +7861,7 @@ void PythonQtShell_QTreeView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7883,7 +7883,7 @@ void PythonQtShell_QTreeView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7905,7 +7905,7 @@ void PythonQtShell_QTreeView::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7927,7 +7927,7 @@ void PythonQtShell_QTreeView::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7949,7 +7949,7 @@ void PythonQtShell_QTreeView::drawBranches(QPainter* painter0, const QRect& re { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawBranches"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7971,7 +7971,7 @@ void PythonQtShell_QTreeView::drawRow(QPainter* painter0, const QStyleOptionVie { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7993,7 +7993,7 @@ void PythonQtShell_QTreeView::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8015,7 +8015,7 @@ bool PythonQtShell_QTreeView::edit(const QModelIndex& index0, QAbstractItemVie { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8048,7 +8048,7 @@ void PythonQtShell_QTreeView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8070,7 +8070,7 @@ void PythonQtShell_QTreeView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8092,7 +8092,7 @@ bool PythonQtShell_QTreeView::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8125,7 +8125,7 @@ bool PythonQtShell_QTreeView::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8158,7 +8158,7 @@ void PythonQtShell_QTreeView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8180,7 +8180,7 @@ bool PythonQtShell_QTreeView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8213,7 +8213,7 @@ void PythonQtShell_QTreeView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8235,7 +8235,7 @@ bool PythonQtShell_QTreeView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8268,7 +8268,7 @@ int PythonQtShell_QTreeView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8301,7 +8301,7 @@ void PythonQtShell_QTreeView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8323,7 +8323,7 @@ int PythonQtShell_QTreeView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8356,7 +8356,7 @@ void PythonQtShell_QTreeView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8378,7 +8378,7 @@ void PythonQtShell_QTreeView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8400,7 +8400,7 @@ QModelIndex PythonQtShell_QTreeView::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8433,7 +8433,7 @@ void PythonQtShell_QTreeView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8455,7 +8455,7 @@ void PythonQtShell_QTreeView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8477,7 +8477,7 @@ QVariant PythonQtShell_QTreeView::inputMethodQuery(Qt::InputMethodQuery query0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8510,7 +8510,7 @@ bool PythonQtShell_QTreeView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8543,7 +8543,7 @@ void PythonQtShell_QTreeView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8565,7 +8565,7 @@ void PythonQtShell_QTreeView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8587,7 +8587,7 @@ void PythonQtShell_QTreeView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8609,7 +8609,7 @@ void PythonQtShell_QTreeView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8631,7 +8631,7 @@ int PythonQtShell_QTreeView::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8664,7 +8664,7 @@ QSize PythonQtShell_QTreeView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8697,7 +8697,7 @@ void PythonQtShell_QTreeView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8719,7 +8719,7 @@ void PythonQtShell_QTreeView::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8741,7 +8741,7 @@ void PythonQtShell_QTreeView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8763,7 +8763,7 @@ void PythonQtShell_QTreeView::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8785,7 +8785,7 @@ QModelIndex PythonQtShell_QTreeView::moveCursor(QAbstractItemView::CursorAction { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8818,7 +8818,7 @@ void PythonQtShell_QTreeView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8840,7 +8840,7 @@ bool PythonQtShell_QTreeView::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8873,7 +8873,7 @@ QPaintEngine* PythonQtShell_QTreeView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8906,7 +8906,7 @@ void PythonQtShell_QTreeView::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8928,7 +8928,7 @@ QPaintDevice* PythonQtShell_QTreeView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8961,7 +8961,7 @@ void PythonQtShell_QTreeView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8983,7 +8983,7 @@ void PythonQtShell_QTreeView::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9005,7 +9005,7 @@ void PythonQtShell_QTreeView::rowsAboutToBeRemoved(const QModelIndex& parent0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9027,7 +9027,7 @@ void PythonQtShell_QTreeView::rowsInserted(const QModelIndex& parent0, int sta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9049,7 +9049,7 @@ void PythonQtShell_QTreeView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9071,7 +9071,7 @@ void PythonQtShell_QTreeView::scrollTo(const QModelIndex& index0, QAbstractItem { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9093,7 +9093,7 @@ void PythonQtShell_QTreeView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9115,7 +9115,7 @@ QList PythonQtShell_QTreeView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9148,7 +9148,7 @@ void PythonQtShell_QTreeView::selectionChanged(const QItemSelection& selected0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9170,7 +9170,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QTreeView::selectionCommand(c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9203,7 +9203,7 @@ void PythonQtShell_QTreeView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9225,7 +9225,7 @@ void PythonQtShell_QTreeView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9247,7 +9247,7 @@ void PythonQtShell_QTreeView::setSelection(const QRect& rect0, QItemSelectionMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9269,7 +9269,7 @@ void PythonQtShell_QTreeView::setSelectionModel(QItemSelectionModel* selectionM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9291,7 +9291,7 @@ void PythonQtShell_QTreeView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9313,7 +9313,7 @@ void PythonQtShell_QTreeView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9335,7 +9335,7 @@ QPainter* PythonQtShell_QTreeView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9368,7 +9368,7 @@ void PythonQtShell_QTreeView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9390,7 +9390,7 @@ QSize PythonQtShell_QTreeView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9423,7 +9423,7 @@ int PythonQtShell_QTreeView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9456,7 +9456,7 @@ int PythonQtShell_QTreeView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9489,7 +9489,7 @@ void PythonQtShell_QTreeView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9511,7 +9511,7 @@ void PythonQtShell_QTreeView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9533,7 +9533,7 @@ void PythonQtShell_QTreeView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9555,7 +9555,7 @@ void PythonQtShell_QTreeView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9577,7 +9577,7 @@ void PythonQtShell_QTreeView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9599,7 +9599,7 @@ void PythonQtShell_QTreeView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9621,7 +9621,7 @@ int PythonQtShell_QTreeView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9654,7 +9654,7 @@ void PythonQtShell_QTreeView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9676,7 +9676,7 @@ void PythonQtShell_QTreeView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9698,7 +9698,7 @@ QStyleOptionViewItem PythonQtShell_QTreeView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9731,7 +9731,7 @@ bool PythonQtShell_QTreeView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9764,7 +9764,7 @@ QSize PythonQtShell_QTreeView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9797,7 +9797,7 @@ QRect PythonQtShell_QTreeView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9830,7 +9830,7 @@ QRegion PythonQtShell_QTreeView::visualRegionForSelection(const QItemSelection& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9863,7 +9863,7 @@ void PythonQtShell_QTreeView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10143,7 +10143,7 @@ void PythonQtShell_QTreeWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10165,7 +10165,7 @@ void PythonQtShell_QTreeWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10187,7 +10187,7 @@ void PythonQtShell_QTreeWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10209,7 +10209,7 @@ void PythonQtShell_QTreeWidget::closeEditor(QWidget* editor0, QAbstractItemDele { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10231,7 +10231,7 @@ void PythonQtShell_QTreeWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10253,7 +10253,7 @@ void PythonQtShell_QTreeWidget::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10275,7 +10275,7 @@ void PythonQtShell_QTreeWidget::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10297,7 +10297,7 @@ void PythonQtShell_QTreeWidget::currentChanged(const QModelIndex& current0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10319,7 +10319,7 @@ void PythonQtShell_QTreeWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10341,7 +10341,7 @@ void PythonQtShell_QTreeWidget::dataChanged(const QModelIndex& topLeft0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10363,7 +10363,7 @@ int PythonQtShell_QTreeWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10396,7 +10396,7 @@ void PythonQtShell_QTreeWidget::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10418,7 +10418,7 @@ void PythonQtShell_QTreeWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10440,7 +10440,7 @@ void PythonQtShell_QTreeWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10462,7 +10462,7 @@ void PythonQtShell_QTreeWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10484,7 +10484,7 @@ void PythonQtShell_QTreeWidget::drawBranches(QPainter* painter0, const QRect& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawBranches"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10506,7 +10506,7 @@ void PythonQtShell_QTreeWidget::drawRow(QPainter* painter0, const QStyleOptionV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10528,7 +10528,7 @@ void PythonQtShell_QTreeWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10550,7 +10550,7 @@ bool PythonQtShell_QTreeWidget::dropMimeData(QTreeWidgetItem* parent0, int in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10583,7 +10583,7 @@ bool PythonQtShell_QTreeWidget::edit(const QModelIndex& index0, QAbstractItemV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10616,7 +10616,7 @@ void PythonQtShell_QTreeWidget::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10638,7 +10638,7 @@ void PythonQtShell_QTreeWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10660,7 +10660,7 @@ bool PythonQtShell_QTreeWidget::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10693,7 +10693,7 @@ bool PythonQtShell_QTreeWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10726,7 +10726,7 @@ void PythonQtShell_QTreeWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10748,7 +10748,7 @@ bool PythonQtShell_QTreeWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10781,7 +10781,7 @@ void PythonQtShell_QTreeWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10803,7 +10803,7 @@ bool PythonQtShell_QTreeWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10836,7 +10836,7 @@ int PythonQtShell_QTreeWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10869,7 +10869,7 @@ void PythonQtShell_QTreeWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10891,7 +10891,7 @@ int PythonQtShell_QTreeWidget::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10924,7 +10924,7 @@ void PythonQtShell_QTreeWidget::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10946,7 +10946,7 @@ void PythonQtShell_QTreeWidget::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10968,7 +10968,7 @@ QModelIndex PythonQtShell_QTreeWidget::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11001,7 +11001,7 @@ void PythonQtShell_QTreeWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11023,7 +11023,7 @@ void PythonQtShell_QTreeWidget::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11045,7 +11045,7 @@ QVariant PythonQtShell_QTreeWidget::inputMethodQuery(Qt::InputMethodQuery quer { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11078,7 +11078,7 @@ bool PythonQtShell_QTreeWidget::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11111,7 +11111,7 @@ void PythonQtShell_QTreeWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11133,7 +11133,7 @@ void PythonQtShell_QTreeWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11155,7 +11155,7 @@ void PythonQtShell_QTreeWidget::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11177,7 +11177,7 @@ void PythonQtShell_QTreeWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11199,7 +11199,7 @@ int PythonQtShell_QTreeWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11232,7 +11232,7 @@ QMimeData* PythonQtShell_QTreeWidget::mimeData(const QList { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11265,7 +11265,7 @@ QStringList PythonQtShell_QTreeWidget::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11298,7 +11298,7 @@ QSize PythonQtShell_QTreeWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11331,7 +11331,7 @@ void PythonQtShell_QTreeWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11353,7 +11353,7 @@ void PythonQtShell_QTreeWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11375,7 +11375,7 @@ void PythonQtShell_QTreeWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11397,7 +11397,7 @@ void PythonQtShell_QTreeWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11419,7 +11419,7 @@ QModelIndex PythonQtShell_QTreeWidget::moveCursor(QAbstractItemView::CursorActi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11452,7 +11452,7 @@ void PythonQtShell_QTreeWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11474,7 +11474,7 @@ bool PythonQtShell_QTreeWidget::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11507,7 +11507,7 @@ QPaintEngine* PythonQtShell_QTreeWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11540,7 +11540,7 @@ void PythonQtShell_QTreeWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11562,7 +11562,7 @@ QPaintDevice* PythonQtShell_QTreeWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11595,7 +11595,7 @@ void PythonQtShell_QTreeWidget::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11617,7 +11617,7 @@ void PythonQtShell_QTreeWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11639,7 +11639,7 @@ void PythonQtShell_QTreeWidget::rowsAboutToBeRemoved(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11661,7 +11661,7 @@ void PythonQtShell_QTreeWidget::rowsInserted(const QModelIndex& parent0, int s { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11683,7 +11683,7 @@ void PythonQtShell_QTreeWidget::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11705,7 +11705,7 @@ void PythonQtShell_QTreeWidget::scrollTo(const QModelIndex& index0, QAbstractIt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11727,7 +11727,7 @@ void PythonQtShell_QTreeWidget::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11749,7 +11749,7 @@ QList PythonQtShell_QTreeWidget::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11782,7 +11782,7 @@ void PythonQtShell_QTreeWidget::selectionChanged(const QItemSelection& selected { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11804,7 +11804,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QTreeWidget::selectionCommand { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11837,7 +11837,7 @@ void PythonQtShell_QTreeWidget::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11859,7 +11859,7 @@ void PythonQtShell_QTreeWidget::setSelection(const QRect& rect0, QItemSelection { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11881,7 +11881,7 @@ void PythonQtShell_QTreeWidget::setSelectionModel(QItemSelectionModel* selectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11903,7 +11903,7 @@ void PythonQtShell_QTreeWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11925,7 +11925,7 @@ void PythonQtShell_QTreeWidget::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11947,7 +11947,7 @@ QPainter* PythonQtShell_QTreeWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11980,7 +11980,7 @@ void PythonQtShell_QTreeWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12002,7 +12002,7 @@ QSize PythonQtShell_QTreeWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12035,7 +12035,7 @@ int PythonQtShell_QTreeWidget::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12068,7 +12068,7 @@ int PythonQtShell_QTreeWidget::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12101,7 +12101,7 @@ void PythonQtShell_QTreeWidget::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12123,7 +12123,7 @@ Qt::DropActions PythonQtShell_QTreeWidget::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12156,7 +12156,7 @@ void PythonQtShell_QTreeWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12178,7 +12178,7 @@ void PythonQtShell_QTreeWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12200,7 +12200,7 @@ void PythonQtShell_QTreeWidget::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12222,7 +12222,7 @@ void PythonQtShell_QTreeWidget::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12244,7 +12244,7 @@ void PythonQtShell_QTreeWidget::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12266,7 +12266,7 @@ int PythonQtShell_QTreeWidget::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12299,7 +12299,7 @@ void PythonQtShell_QTreeWidget::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12321,7 +12321,7 @@ void PythonQtShell_QTreeWidget::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12343,7 +12343,7 @@ QStyleOptionViewItem PythonQtShell_QTreeWidget::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12376,7 +12376,7 @@ bool PythonQtShell_QTreeWidget::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12409,7 +12409,7 @@ QSize PythonQtShell_QTreeWidget::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12442,7 +12442,7 @@ QRect PythonQtShell_QTreeWidget::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12475,7 +12475,7 @@ QRegion PythonQtShell_QTreeWidget::visualRegionForSelection(const QItemSelectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12508,7 +12508,7 @@ void PythonQtShell_QTreeWidget::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12768,7 +12768,7 @@ QTreeWidgetItem* PythonQtShell_QTreeWidgetItem::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12801,7 +12801,7 @@ QVariant PythonQtShell_QTreeWidgetItem::data(int column0, int role1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12834,7 +12834,7 @@ void PythonQtShell_QTreeWidgetItem::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12856,7 +12856,7 @@ void PythonQtShell_QTreeWidgetItem::setData(int column0, int role1, const QVar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12878,7 +12878,7 @@ void PythonQtShell_QTreeWidgetItem::write(QDataStream& out0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13233,7 +13233,7 @@ int PythonQtShell_QUndoCommand::id() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("id"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13266,7 +13266,7 @@ bool PythonQtShell_QUndoCommand::mergeWith(const QUndoCommand* other0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mergeWith"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13299,7 +13299,7 @@ void PythonQtShell_QUndoCommand::redo() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13321,7 +13321,7 @@ void PythonQtShell_QUndoCommand::undo() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("undo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13402,7 +13402,7 @@ void PythonQtShell_QUndoGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13424,7 +13424,7 @@ void PythonQtShell_QUndoGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13446,7 +13446,7 @@ bool PythonQtShell_QUndoGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13479,7 +13479,7 @@ bool PythonQtShell_QUndoGroup::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13512,7 +13512,7 @@ void PythonQtShell_QUndoGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13612,7 +13612,7 @@ void PythonQtShell_QUndoStack::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13634,7 +13634,7 @@ void PythonQtShell_QUndoStack::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13656,7 +13656,7 @@ bool PythonQtShell_QUndoStack::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13689,7 +13689,7 @@ bool PythonQtShell_QUndoStack::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13722,7 +13722,7 @@ void PythonQtShell_QUndoStack::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp index e37f75bad..940469d94 100644 --- a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp +++ b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp @@ -72,7 +72,7 @@ void PythonQtShell_QUndoView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -94,7 +94,7 @@ void PythonQtShell_QUndoView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -116,7 +116,7 @@ void PythonQtShell_QUndoView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -138,7 +138,7 @@ void PythonQtShell_QUndoView::closeEditor(QWidget* editor0, QAbstractItemDelega { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -160,7 +160,7 @@ void PythonQtShell_QUndoView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -182,7 +182,7 @@ void PythonQtShell_QUndoView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -204,7 +204,7 @@ void PythonQtShell_QUndoView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -226,7 +226,7 @@ void PythonQtShell_QUndoView::currentChanged(const QModelIndex& current0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -248,7 +248,7 @@ void PythonQtShell_QUndoView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -270,7 +270,7 @@ void PythonQtShell_QUndoView::dataChanged(const QModelIndex& topLeft0, const QM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -292,7 +292,7 @@ int PythonQtShell_QUndoView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -325,7 +325,7 @@ void PythonQtShell_QUndoView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -347,7 +347,7 @@ void PythonQtShell_QUndoView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -369,7 +369,7 @@ void PythonQtShell_QUndoView::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -391,7 +391,7 @@ void PythonQtShell_QUndoView::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -413,7 +413,7 @@ void PythonQtShell_QUndoView::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -435,7 +435,7 @@ bool PythonQtShell_QUndoView::edit(const QModelIndex& index0, QAbstractItemVie { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -468,7 +468,7 @@ void PythonQtShell_QUndoView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -490,7 +490,7 @@ void PythonQtShell_QUndoView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -512,7 +512,7 @@ bool PythonQtShell_QUndoView::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -545,7 +545,7 @@ bool PythonQtShell_QUndoView::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -578,7 +578,7 @@ void PythonQtShell_QUndoView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -600,7 +600,7 @@ bool PythonQtShell_QUndoView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -633,7 +633,7 @@ void PythonQtShell_QUndoView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -655,7 +655,7 @@ bool PythonQtShell_QUndoView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -688,7 +688,7 @@ int PythonQtShell_QUndoView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -721,7 +721,7 @@ void PythonQtShell_QUndoView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -743,7 +743,7 @@ int PythonQtShell_QUndoView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -776,7 +776,7 @@ void PythonQtShell_QUndoView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -798,7 +798,7 @@ void PythonQtShell_QUndoView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -820,7 +820,7 @@ QModelIndex PythonQtShell_QUndoView::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -853,7 +853,7 @@ void PythonQtShell_QUndoView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -875,7 +875,7 @@ void PythonQtShell_QUndoView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -897,7 +897,7 @@ QVariant PythonQtShell_QUndoView::inputMethodQuery(Qt::InputMethodQuery query0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -930,7 +930,7 @@ bool PythonQtShell_QUndoView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -963,7 +963,7 @@ void PythonQtShell_QUndoView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -985,7 +985,7 @@ void PythonQtShell_QUndoView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1007,7 +1007,7 @@ void PythonQtShell_QUndoView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1029,7 +1029,7 @@ void PythonQtShell_QUndoView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1051,7 +1051,7 @@ int PythonQtShell_QUndoView::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1084,7 +1084,7 @@ QSize PythonQtShell_QUndoView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1117,7 +1117,7 @@ void PythonQtShell_QUndoView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1139,7 +1139,7 @@ void PythonQtShell_QUndoView::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1161,7 +1161,7 @@ void PythonQtShell_QUndoView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1183,7 +1183,7 @@ void PythonQtShell_QUndoView::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1205,7 +1205,7 @@ QModelIndex PythonQtShell_QUndoView::moveCursor(QAbstractItemView::CursorAction { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1238,7 +1238,7 @@ void PythonQtShell_QUndoView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1260,7 +1260,7 @@ bool PythonQtShell_QUndoView::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1293,7 +1293,7 @@ QPaintEngine* PythonQtShell_QUndoView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1326,7 +1326,7 @@ void PythonQtShell_QUndoView::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1348,7 +1348,7 @@ QPaintDevice* PythonQtShell_QUndoView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1381,7 +1381,7 @@ void PythonQtShell_QUndoView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1403,7 +1403,7 @@ void PythonQtShell_QUndoView::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1425,7 +1425,7 @@ void PythonQtShell_QUndoView::rowsAboutToBeRemoved(const QModelIndex& parent0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1447,7 +1447,7 @@ void PythonQtShell_QUndoView::rowsInserted(const QModelIndex& parent0, int sta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1469,7 +1469,7 @@ void PythonQtShell_QUndoView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1491,7 +1491,7 @@ void PythonQtShell_QUndoView::scrollTo(const QModelIndex& index0, QAbstractItem { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1513,7 +1513,7 @@ void PythonQtShell_QUndoView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1535,7 +1535,7 @@ QList PythonQtShell_QUndoView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1568,7 +1568,7 @@ void PythonQtShell_QUndoView::selectionChanged(const QItemSelection& selected0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1590,7 +1590,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QUndoView::selectionCommand(c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1623,7 +1623,7 @@ void PythonQtShell_QUndoView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1645,7 +1645,7 @@ void PythonQtShell_QUndoView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1667,7 +1667,7 @@ void PythonQtShell_QUndoView::setSelection(const QRect& rect0, QItemSelectionMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1689,7 +1689,7 @@ void PythonQtShell_QUndoView::setSelectionModel(QItemSelectionModel* selectionM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1711,7 +1711,7 @@ void PythonQtShell_QUndoView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1733,7 +1733,7 @@ void PythonQtShell_QUndoView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1755,7 +1755,7 @@ QPainter* PythonQtShell_QUndoView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1788,7 +1788,7 @@ void PythonQtShell_QUndoView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1810,7 +1810,7 @@ QSize PythonQtShell_QUndoView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1843,7 +1843,7 @@ int PythonQtShell_QUndoView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1876,7 +1876,7 @@ int PythonQtShell_QUndoView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1909,7 +1909,7 @@ void PythonQtShell_QUndoView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1931,7 +1931,7 @@ void PythonQtShell_QUndoView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1953,7 +1953,7 @@ void PythonQtShell_QUndoView::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1975,7 +1975,7 @@ void PythonQtShell_QUndoView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1997,7 +1997,7 @@ void PythonQtShell_QUndoView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2019,7 +2019,7 @@ void PythonQtShell_QUndoView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2041,7 +2041,7 @@ int PythonQtShell_QUndoView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2074,7 +2074,7 @@ void PythonQtShell_QUndoView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2096,7 +2096,7 @@ void PythonQtShell_QUndoView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2118,7 +2118,7 @@ QStyleOptionViewItem PythonQtShell_QUndoView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2151,7 +2151,7 @@ bool PythonQtShell_QUndoView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2184,7 +2184,7 @@ QSize PythonQtShell_QUndoView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2217,7 +2217,7 @@ QRect PythonQtShell_QUndoView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2250,7 +2250,7 @@ QRegion PythonQtShell_QUndoView::visualRegionForSelection(const QItemSelection& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2283,7 +2283,7 @@ void PythonQtShell_QUndoView::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2366,7 +2366,7 @@ void PythonQtShell_QVBoxLayout::addItem(QLayoutItem* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2388,7 +2388,7 @@ void PythonQtShell_QVBoxLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2410,7 +2410,7 @@ QSizePolicy::ControlTypes PythonQtShell_QVBoxLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2443,7 +2443,7 @@ int PythonQtShell_QVBoxLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2476,7 +2476,7 @@ void PythonQtShell_QVBoxLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2498,7 +2498,7 @@ bool PythonQtShell_QVBoxLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2531,7 +2531,7 @@ bool PythonQtShell_QVBoxLayout::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2564,7 +2564,7 @@ Qt::Orientations PythonQtShell_QVBoxLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2597,7 +2597,7 @@ QRect PythonQtShell_QVBoxLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2630,7 +2630,7 @@ bool PythonQtShell_QVBoxLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2663,7 +2663,7 @@ int PythonQtShell_QVBoxLayout::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2696,7 +2696,7 @@ int PythonQtShell_QVBoxLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2729,7 +2729,7 @@ void PythonQtShell_QVBoxLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2751,7 +2751,7 @@ bool PythonQtShell_QVBoxLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2784,7 +2784,7 @@ QLayoutItem* PythonQtShell_QVBoxLayout::itemAt(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2817,7 +2817,7 @@ QLayout* PythonQtShell_QVBoxLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2850,7 +2850,7 @@ QSize PythonQtShell_QVBoxLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2883,7 +2883,7 @@ int PythonQtShell_QVBoxLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2916,7 +2916,7 @@ QSize PythonQtShell_QVBoxLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2949,7 +2949,7 @@ void PythonQtShell_QVBoxLayout::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2971,7 +2971,7 @@ QSize PythonQtShell_QVBoxLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3004,7 +3004,7 @@ QLayoutItem* PythonQtShell_QVBoxLayout::takeAt(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3037,7 +3037,7 @@ void PythonQtShell_QVBoxLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3086,7 +3086,7 @@ void PythonQtShell_QValidator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3108,7 +3108,7 @@ void PythonQtShell_QValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3130,7 +3130,7 @@ bool PythonQtShell_QValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3163,7 +3163,7 @@ bool PythonQtShell_QValidator::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3196,7 +3196,7 @@ void PythonQtShell_QValidator::fixup(QString& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3218,7 +3218,7 @@ void PythonQtShell_QValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3240,7 +3240,7 @@ QValidator::State PythonQtShell_QValidator::validate(QString& arg__1, int& ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4126,7 +4126,7 @@ void PythonQtShell_QWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4148,7 +4148,7 @@ void PythonQtShell_QWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4170,7 +4170,7 @@ void PythonQtShell_QWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4192,7 +4192,7 @@ void PythonQtShell_QWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4214,7 +4214,7 @@ void PythonQtShell_QWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4236,7 +4236,7 @@ void PythonQtShell_QWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4258,7 +4258,7 @@ int PythonQtShell_QWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4291,7 +4291,7 @@ void PythonQtShell_QWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4313,7 +4313,7 @@ void PythonQtShell_QWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4335,7 +4335,7 @@ void PythonQtShell_QWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4357,7 +4357,7 @@ void PythonQtShell_QWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4379,7 +4379,7 @@ void PythonQtShell_QWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4401,7 +4401,7 @@ bool PythonQtShell_QWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4434,7 +4434,7 @@ bool PythonQtShell_QWidget::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4467,7 +4467,7 @@ void PythonQtShell_QWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4489,7 +4489,7 @@ bool PythonQtShell_QWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4522,7 +4522,7 @@ void PythonQtShell_QWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4544,7 +4544,7 @@ bool PythonQtShell_QWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4577,7 +4577,7 @@ int PythonQtShell_QWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4610,7 +4610,7 @@ void PythonQtShell_QWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4632,7 +4632,7 @@ void PythonQtShell_QWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4654,7 +4654,7 @@ void PythonQtShell_QWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4676,7 +4676,7 @@ QVariant PythonQtShell_QWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4709,7 +4709,7 @@ void PythonQtShell_QWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4731,7 +4731,7 @@ void PythonQtShell_QWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4753,7 +4753,7 @@ void PythonQtShell_QWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4775,7 +4775,7 @@ int PythonQtShell_QWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4808,7 +4808,7 @@ QSize PythonQtShell_QWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4841,7 +4841,7 @@ void PythonQtShell_QWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4863,7 +4863,7 @@ void PythonQtShell_QWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4885,7 +4885,7 @@ void PythonQtShell_QWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4907,7 +4907,7 @@ void PythonQtShell_QWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4929,7 +4929,7 @@ void PythonQtShell_QWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4951,7 +4951,7 @@ bool PythonQtShell_QWidget::nativeEvent(const QByteArray& eventType0, void* m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4984,7 +4984,7 @@ QPaintEngine* PythonQtShell_QWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5017,7 +5017,7 @@ void PythonQtShell_QWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5039,7 +5039,7 @@ QPaintDevice* PythonQtShell_QWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5072,7 +5072,7 @@ void PythonQtShell_QWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5094,7 +5094,7 @@ void PythonQtShell_QWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5116,7 +5116,7 @@ QPainter* PythonQtShell_QWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5149,7 +5149,7 @@ void PythonQtShell_QWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5171,7 +5171,7 @@ QSize PythonQtShell_QWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5204,7 +5204,7 @@ void PythonQtShell_QWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5226,7 +5226,7 @@ void PythonQtShell_QWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5248,7 +5248,7 @@ void PythonQtShell_QWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6535,7 +6535,7 @@ void PythonQtShell_QWidgetAction::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6557,7 +6557,7 @@ QWidget* PythonQtShell_QWidgetAction::createWidget(QWidget* parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6590,7 +6590,7 @@ void PythonQtShell_QWidgetAction::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6612,7 +6612,7 @@ void PythonQtShell_QWidgetAction::deleteWidget(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deleteWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6634,7 +6634,7 @@ bool PythonQtShell_QWidgetAction::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6667,7 +6667,7 @@ bool PythonQtShell_QWidgetAction::eventFilter(QObject* arg__1, QEvent* arg__2 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6700,7 +6700,7 @@ void PythonQtShell_QWidgetAction::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6780,7 +6780,7 @@ QSizePolicy::ControlTypes PythonQtShell_QWidgetItem::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6813,7 +6813,7 @@ Qt::Orientations PythonQtShell_QWidgetItem::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6846,7 +6846,7 @@ QRect PythonQtShell_QWidgetItem::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6879,7 +6879,7 @@ bool PythonQtShell_QWidgetItem::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6912,7 +6912,7 @@ int PythonQtShell_QWidgetItem::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6945,7 +6945,7 @@ void PythonQtShell_QWidgetItem::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6967,7 +6967,7 @@ bool PythonQtShell_QWidgetItem::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7000,7 +7000,7 @@ QLayout* PythonQtShell_QWidgetItem::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7033,7 +7033,7 @@ QSize PythonQtShell_QWidgetItem::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7066,7 +7066,7 @@ int PythonQtShell_QWidgetItem::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7099,7 +7099,7 @@ QSize PythonQtShell_QWidgetItem::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7132,7 +7132,7 @@ void PythonQtShell_QWidgetItem::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7154,7 +7154,7 @@ QSize PythonQtShell_QWidgetItem::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7187,7 +7187,7 @@ QSpacerItem* PythonQtShell_QWidgetItem::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7220,7 +7220,7 @@ QWidget* PythonQtShell_QWidgetItem::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7263,7 +7263,7 @@ void PythonQtShell_QWindow::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7285,7 +7285,7 @@ void PythonQtShell_QWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7307,7 +7307,7 @@ bool PythonQtShell_QWindow::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7340,7 +7340,7 @@ bool PythonQtShell_QWindow::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7373,7 +7373,7 @@ void PythonQtShell_QWindow::exposeEvent(QExposeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exposeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7395,7 +7395,7 @@ void PythonQtShell_QWindow::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7417,7 +7417,7 @@ QObject* PythonQtShell_QWindow::focusObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7450,7 +7450,7 @@ void PythonQtShell_QWindow::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7472,7 +7472,7 @@ QSurfaceFormat PythonQtShell_QWindow::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7505,7 +7505,7 @@ void PythonQtShell_QWindow::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7527,7 +7527,7 @@ void PythonQtShell_QWindow::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7549,7 +7549,7 @@ void PythonQtShell_QWindow::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7571,7 +7571,7 @@ void PythonQtShell_QWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7593,7 +7593,7 @@ void PythonQtShell_QWindow::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7615,7 +7615,7 @@ void PythonQtShell_QWindow::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7637,7 +7637,7 @@ void PythonQtShell_QWindow::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7659,7 +7659,7 @@ void PythonQtShell_QWindow::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7681,7 +7681,7 @@ bool PythonQtShell_QWindow::nativeEvent(const QByteArray& eventType0, void* m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7714,7 +7714,7 @@ void PythonQtShell_QWindow::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7736,7 +7736,7 @@ void PythonQtShell_QWindow::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7758,7 +7758,7 @@ QSize PythonQtShell_QWindow::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7791,7 +7791,7 @@ QSurface::SurfaceType PythonQtShell_QWindow::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7824,7 +7824,7 @@ void PythonQtShell_QWindow::tabletEvent(QTabletEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7846,7 +7846,7 @@ void PythonQtShell_QWindow::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7868,7 +7868,7 @@ void PythonQtShell_QWindow::touchEvent(QTouchEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7890,7 +7890,7 @@ void PythonQtShell_QWindow::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8427,7 +8427,7 @@ void PythonQtShell_QWizard::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8449,7 +8449,7 @@ void PythonQtShell_QWizard::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8471,7 +8471,7 @@ void PythonQtShell_QWizard::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8493,7 +8493,7 @@ void PythonQtShell_QWizard::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8515,7 +8515,7 @@ void PythonQtShell_QWizard::cleanupPage(int id0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cleanupPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8537,7 +8537,7 @@ void PythonQtShell_QWizard::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8559,7 +8559,7 @@ void PythonQtShell_QWizard::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8581,7 +8581,7 @@ void PythonQtShell_QWizard::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8603,7 +8603,7 @@ int PythonQtShell_QWizard::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8636,7 +8636,7 @@ void PythonQtShell_QWizard::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8658,7 +8658,7 @@ void PythonQtShell_QWizard::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8680,7 +8680,7 @@ void PythonQtShell_QWizard::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8702,7 +8702,7 @@ void PythonQtShell_QWizard::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8724,7 +8724,7 @@ void PythonQtShell_QWizard::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8746,7 +8746,7 @@ void PythonQtShell_QWizard::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8768,7 +8768,7 @@ bool PythonQtShell_QWizard::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8801,7 +8801,7 @@ bool PythonQtShell_QWizard::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8834,7 +8834,7 @@ int PythonQtShell_QWizard::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8867,7 +8867,7 @@ void PythonQtShell_QWizard::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8889,7 +8889,7 @@ bool PythonQtShell_QWizard::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8922,7 +8922,7 @@ void PythonQtShell_QWizard::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8944,7 +8944,7 @@ bool PythonQtShell_QWizard::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8977,7 +8977,7 @@ int PythonQtShell_QWizard::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9010,7 +9010,7 @@ void PythonQtShell_QWizard::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9032,7 +9032,7 @@ void PythonQtShell_QWizard::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9054,7 +9054,7 @@ void PythonQtShell_QWizard::initializePage(int id0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initializePage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9076,7 +9076,7 @@ void PythonQtShell_QWizard::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9098,7 +9098,7 @@ QVariant PythonQtShell_QWizard::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9131,7 +9131,7 @@ void PythonQtShell_QWizard::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9153,7 +9153,7 @@ void PythonQtShell_QWizard::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9175,7 +9175,7 @@ void PythonQtShell_QWizard::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9197,7 +9197,7 @@ int PythonQtShell_QWizard::metric(QPaintDevice::PaintDeviceMetric arg__1) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9230,7 +9230,7 @@ void PythonQtShell_QWizard::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9252,7 +9252,7 @@ void PythonQtShell_QWizard::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9274,7 +9274,7 @@ void PythonQtShell_QWizard::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9296,7 +9296,7 @@ void PythonQtShell_QWizard::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9318,7 +9318,7 @@ void PythonQtShell_QWizard::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9340,7 +9340,7 @@ bool PythonQtShell_QWizard::nativeEvent(const QByteArray& eventType0, void* m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9373,7 +9373,7 @@ int PythonQtShell_QWizard::nextId() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9406,7 +9406,7 @@ void PythonQtShell_QWizard::open() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9428,7 +9428,7 @@ QPaintEngine* PythonQtShell_QWizard::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9461,7 +9461,7 @@ void PythonQtShell_QWizard::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9483,7 +9483,7 @@ QPaintDevice* PythonQtShell_QWizard::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9516,7 +9516,7 @@ void PythonQtShell_QWizard::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9538,7 +9538,7 @@ void PythonQtShell_QWizard::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9560,7 +9560,7 @@ void PythonQtShell_QWizard::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9582,7 +9582,7 @@ QPainter* PythonQtShell_QWizard::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9615,7 +9615,7 @@ void PythonQtShell_QWizard::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9637,7 +9637,7 @@ QSize PythonQtShell_QWizard::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9670,7 +9670,7 @@ void PythonQtShell_QWizard::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9692,7 +9692,7 @@ void PythonQtShell_QWizard::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9714,7 +9714,7 @@ bool PythonQtShell_QWizard::validateCurrentPage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validateCurrentPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9747,7 +9747,7 @@ void PythonQtShell_QWizard::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9972,7 +9972,7 @@ void PythonQtShell_QWizardPage::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9994,7 +9994,7 @@ void PythonQtShell_QWizardPage::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10016,7 +10016,7 @@ void PythonQtShell_QWizardPage::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10038,7 +10038,7 @@ void PythonQtShell_QWizardPage::cleanupPage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cleanupPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10060,7 +10060,7 @@ void PythonQtShell_QWizardPage::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10082,7 +10082,7 @@ void PythonQtShell_QWizardPage::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10104,7 +10104,7 @@ void PythonQtShell_QWizardPage::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10126,7 +10126,7 @@ int PythonQtShell_QWizardPage::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10159,7 +10159,7 @@ void PythonQtShell_QWizardPage::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10181,7 +10181,7 @@ void PythonQtShell_QWizardPage::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10203,7 +10203,7 @@ void PythonQtShell_QWizardPage::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10225,7 +10225,7 @@ void PythonQtShell_QWizardPage::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10247,7 +10247,7 @@ void PythonQtShell_QWizardPage::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10269,7 +10269,7 @@ bool PythonQtShell_QWizardPage::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10302,7 +10302,7 @@ bool PythonQtShell_QWizardPage::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10335,7 +10335,7 @@ void PythonQtShell_QWizardPage::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10357,7 +10357,7 @@ bool PythonQtShell_QWizardPage::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10390,7 +10390,7 @@ void PythonQtShell_QWizardPage::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10412,7 +10412,7 @@ bool PythonQtShell_QWizardPage::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10445,7 +10445,7 @@ int PythonQtShell_QWizardPage::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10478,7 +10478,7 @@ void PythonQtShell_QWizardPage::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10500,7 +10500,7 @@ void PythonQtShell_QWizardPage::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10522,7 +10522,7 @@ void PythonQtShell_QWizardPage::initializePage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initializePage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10544,7 +10544,7 @@ void PythonQtShell_QWizardPage::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10566,7 +10566,7 @@ QVariant PythonQtShell_QWizardPage::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10599,7 +10599,7 @@ bool PythonQtShell_QWizardPage::isComplete() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isComplete"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10632,7 +10632,7 @@ void PythonQtShell_QWizardPage::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10654,7 +10654,7 @@ void PythonQtShell_QWizardPage::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10676,7 +10676,7 @@ void PythonQtShell_QWizardPage::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10698,7 +10698,7 @@ int PythonQtShell_QWizardPage::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10731,7 +10731,7 @@ QSize PythonQtShell_QWizardPage::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10764,7 +10764,7 @@ void PythonQtShell_QWizardPage::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10786,7 +10786,7 @@ void PythonQtShell_QWizardPage::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10808,7 +10808,7 @@ void PythonQtShell_QWizardPage::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10830,7 +10830,7 @@ void PythonQtShell_QWizardPage::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10852,7 +10852,7 @@ void PythonQtShell_QWizardPage::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10874,7 +10874,7 @@ bool PythonQtShell_QWizardPage::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10907,7 +10907,7 @@ int PythonQtShell_QWizardPage::nextId() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10940,7 +10940,7 @@ QPaintEngine* PythonQtShell_QWizardPage::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10973,7 +10973,7 @@ void PythonQtShell_QWizardPage::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10995,7 +10995,7 @@ QPaintDevice* PythonQtShell_QWizardPage::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11028,7 +11028,7 @@ void PythonQtShell_QWizardPage::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11050,7 +11050,7 @@ void PythonQtShell_QWizardPage::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11072,7 +11072,7 @@ QPainter* PythonQtShell_QWizardPage::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11105,7 +11105,7 @@ void PythonQtShell_QWizardPage::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11127,7 +11127,7 @@ QSize PythonQtShell_QWizardPage::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11160,7 +11160,7 @@ void PythonQtShell_QWizardPage::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11182,7 +11182,7 @@ void PythonQtShell_QWizardPage::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11204,7 +11204,7 @@ bool PythonQtShell_QWizardPage::validatePage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validatePage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11237,7 +11237,7 @@ void PythonQtShell_QWizardPage::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp index 6412b9123..911c653e4 100644 --- a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp +++ b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp @@ -224,7 +224,7 @@ void PythonQtShell_QFontDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -246,7 +246,7 @@ void PythonQtShell_QFontDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -268,7 +268,7 @@ void PythonQtShell_QFontDialog::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -290,7 +290,7 @@ void PythonQtShell_QFontDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -312,7 +312,7 @@ void PythonQtShell_QFontDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -334,7 +334,7 @@ void PythonQtShell_QFontDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -356,7 +356,7 @@ void PythonQtShell_QFontDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -378,7 +378,7 @@ int PythonQtShell_QFontDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -411,7 +411,7 @@ void PythonQtShell_QFontDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -433,7 +433,7 @@ void PythonQtShell_QFontDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -455,7 +455,7 @@ void PythonQtShell_QFontDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -477,7 +477,7 @@ void PythonQtShell_QFontDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -499,7 +499,7 @@ void PythonQtShell_QFontDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -521,7 +521,7 @@ void PythonQtShell_QFontDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -543,7 +543,7 @@ bool PythonQtShell_QFontDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -576,7 +576,7 @@ bool PythonQtShell_QFontDialog::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -609,7 +609,7 @@ int PythonQtShell_QFontDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -642,7 +642,7 @@ void PythonQtShell_QFontDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -664,7 +664,7 @@ bool PythonQtShell_QFontDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -697,7 +697,7 @@ void PythonQtShell_QFontDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -719,7 +719,7 @@ bool PythonQtShell_QFontDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -752,7 +752,7 @@ int PythonQtShell_QFontDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -785,7 +785,7 @@ void PythonQtShell_QFontDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -807,7 +807,7 @@ void PythonQtShell_QFontDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -829,7 +829,7 @@ void PythonQtShell_QFontDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -851,7 +851,7 @@ QVariant PythonQtShell_QFontDialog::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -884,7 +884,7 @@ void PythonQtShell_QFontDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -906,7 +906,7 @@ void PythonQtShell_QFontDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -928,7 +928,7 @@ void PythonQtShell_QFontDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -950,7 +950,7 @@ int PythonQtShell_QFontDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -983,7 +983,7 @@ void PythonQtShell_QFontDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1005,7 +1005,7 @@ void PythonQtShell_QFontDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1027,7 +1027,7 @@ void PythonQtShell_QFontDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1049,7 +1049,7 @@ void PythonQtShell_QFontDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1071,7 +1071,7 @@ void PythonQtShell_QFontDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1093,7 +1093,7 @@ bool PythonQtShell_QFontDialog::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1126,7 +1126,7 @@ QPaintEngine* PythonQtShell_QFontDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1159,7 +1159,7 @@ void PythonQtShell_QFontDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1181,7 +1181,7 @@ QPaintDevice* PythonQtShell_QFontDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1214,7 +1214,7 @@ void PythonQtShell_QFontDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1236,7 +1236,7 @@ void PythonQtShell_QFontDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1258,7 +1258,7 @@ void PythonQtShell_QFontDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1280,7 +1280,7 @@ QPainter* PythonQtShell_QFontDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1313,7 +1313,7 @@ void PythonQtShell_QFontDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1335,7 +1335,7 @@ void PythonQtShell_QFontDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1357,7 +1357,7 @@ void PythonQtShell_QFontDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1379,7 +1379,7 @@ void PythonQtShell_QFontDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1878,7 +1878,7 @@ void PythonQtShell_QFormLayout::addItem(QLayoutItem* item0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1900,7 +1900,7 @@ void PythonQtShell_QFormLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1922,7 +1922,7 @@ QSizePolicy::ControlTypes PythonQtShell_QFormLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1955,7 +1955,7 @@ int PythonQtShell_QFormLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1988,7 +1988,7 @@ void PythonQtShell_QFormLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2010,7 +2010,7 @@ bool PythonQtShell_QFormLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2043,7 +2043,7 @@ bool PythonQtShell_QFormLayout::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2076,7 +2076,7 @@ Qt::Orientations PythonQtShell_QFormLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2109,7 +2109,7 @@ QRect PythonQtShell_QFormLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2142,7 +2142,7 @@ bool PythonQtShell_QFormLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2175,7 +2175,7 @@ int PythonQtShell_QFormLayout::heightForWidth(int width0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2208,7 +2208,7 @@ int PythonQtShell_QFormLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2241,7 +2241,7 @@ void PythonQtShell_QFormLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2263,7 +2263,7 @@ bool PythonQtShell_QFormLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2296,7 +2296,7 @@ QLayoutItem* PythonQtShell_QFormLayout::itemAt(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2329,7 +2329,7 @@ QLayout* PythonQtShell_QFormLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2362,7 +2362,7 @@ QSize PythonQtShell_QFormLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2395,7 +2395,7 @@ QSize PythonQtShell_QFormLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2428,7 +2428,7 @@ void PythonQtShell_QFormLayout::setGeometry(const QRect& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2450,7 +2450,7 @@ QSize PythonQtShell_QFormLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2483,7 +2483,7 @@ QLayoutItem* PythonQtShell_QFormLayout::takeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2516,7 +2516,7 @@ void PythonQtShell_QFormLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2756,7 +2756,7 @@ void PythonQtShell_QFrame::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2778,7 +2778,7 @@ void PythonQtShell_QFrame::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2800,7 +2800,7 @@ void PythonQtShell_QFrame::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2822,7 +2822,7 @@ void PythonQtShell_QFrame::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2844,7 +2844,7 @@ void PythonQtShell_QFrame::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2866,7 +2866,7 @@ void PythonQtShell_QFrame::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2888,7 +2888,7 @@ int PythonQtShell_QFrame::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2921,7 +2921,7 @@ void PythonQtShell_QFrame::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2943,7 +2943,7 @@ void PythonQtShell_QFrame::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2965,7 +2965,7 @@ void PythonQtShell_QFrame::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2987,7 +2987,7 @@ void PythonQtShell_QFrame::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3009,7 +3009,7 @@ void PythonQtShell_QFrame::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3031,7 +3031,7 @@ bool PythonQtShell_QFrame::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3064,7 +3064,7 @@ bool PythonQtShell_QFrame::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3097,7 +3097,7 @@ void PythonQtShell_QFrame::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3119,7 +3119,7 @@ bool PythonQtShell_QFrame::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3152,7 +3152,7 @@ void PythonQtShell_QFrame::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3174,7 +3174,7 @@ bool PythonQtShell_QFrame::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3207,7 +3207,7 @@ int PythonQtShell_QFrame::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3240,7 +3240,7 @@ void PythonQtShell_QFrame::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3262,7 +3262,7 @@ void PythonQtShell_QFrame::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3284,7 +3284,7 @@ void PythonQtShell_QFrame::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3306,7 +3306,7 @@ QVariant PythonQtShell_QFrame::inputMethodQuery(Qt::InputMethodQuery arg__1) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3339,7 +3339,7 @@ void PythonQtShell_QFrame::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3361,7 +3361,7 @@ void PythonQtShell_QFrame::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3383,7 +3383,7 @@ void PythonQtShell_QFrame::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3405,7 +3405,7 @@ int PythonQtShell_QFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3438,7 +3438,7 @@ QSize PythonQtShell_QFrame::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3471,7 +3471,7 @@ void PythonQtShell_QFrame::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3493,7 +3493,7 @@ void PythonQtShell_QFrame::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3515,7 +3515,7 @@ void PythonQtShell_QFrame::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3537,7 +3537,7 @@ void PythonQtShell_QFrame::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3559,7 +3559,7 @@ void PythonQtShell_QFrame::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3581,7 +3581,7 @@ bool PythonQtShell_QFrame::nativeEvent(const QByteArray& eventType0, void* me { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3614,7 +3614,7 @@ QPaintEngine* PythonQtShell_QFrame::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3647,7 +3647,7 @@ void PythonQtShell_QFrame::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3669,7 +3669,7 @@ QPaintDevice* PythonQtShell_QFrame::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3702,7 +3702,7 @@ void PythonQtShell_QFrame::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3724,7 +3724,7 @@ void PythonQtShell_QFrame::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3746,7 +3746,7 @@ QPainter* PythonQtShell_QFrame::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3779,7 +3779,7 @@ void PythonQtShell_QFrame::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3801,7 +3801,7 @@ QSize PythonQtShell_QFrame::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3834,7 +3834,7 @@ void PythonQtShell_QFrame::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3856,7 +3856,7 @@ void PythonQtShell_QFrame::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3878,7 +3878,7 @@ void PythonQtShell_QFrame::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4003,7 +4003,7 @@ void PythonQtShell_QGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4025,7 +4025,7 @@ void PythonQtShell_QGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4047,7 +4047,7 @@ bool PythonQtShell_QGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4080,7 +4080,7 @@ bool PythonQtShell_QGesture::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4113,7 +4113,7 @@ void PythonQtShell_QGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4293,7 +4293,7 @@ QGesture* PythonQtShell_QGestureRecognizer::create(QObject* target0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4326,7 +4326,7 @@ QGestureRecognizer::Result PythonQtShell_QGestureRecognizer::recognize(QGesture { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("recognize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4359,7 +4359,7 @@ void PythonQtShell_QGestureRecognizer::reset(QGesture* state0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4639,7 +4639,7 @@ int PythonQtShell_QGraphicsAnchorLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4672,7 +4672,7 @@ void PythonQtShell_QGraphicsAnchorLayout::getContentsMargins(qreal* left0, qrea { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4694,7 +4694,7 @@ void PythonQtShell_QGraphicsAnchorLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4716,7 +4716,7 @@ QGraphicsLayoutItem* PythonQtShell_QGraphicsAnchorLayout::itemAt(int index0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4749,7 +4749,7 @@ void PythonQtShell_QGraphicsAnchorLayout::removeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4771,7 +4771,7 @@ void PythonQtShell_QGraphicsAnchorLayout::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4793,7 +4793,7 @@ QSizeF PythonQtShell_QGraphicsAnchorLayout::sizeHint(Qt::SizeHint which0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4826,7 +4826,7 @@ void PythonQtShell_QGraphicsAnchorLayout::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4848,7 +4848,7 @@ void PythonQtShell_QGraphicsAnchorLayout::widgetEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4935,7 +4935,7 @@ QRectF PythonQtShell_QGraphicsBlurEffect::boundingRectFor(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4968,7 +4968,7 @@ void PythonQtShell_QGraphicsBlurEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4990,7 +4990,7 @@ void PythonQtShell_QGraphicsBlurEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5012,7 +5012,7 @@ void PythonQtShell_QGraphicsBlurEffect::draw(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5034,7 +5034,7 @@ bool PythonQtShell_QGraphicsBlurEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5067,7 +5067,7 @@ bool PythonQtShell_QGraphicsBlurEffect::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5100,7 +5100,7 @@ void PythonQtShell_QGraphicsBlurEffect::sourceChanged(QGraphicsEffect::ChangeFla { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5122,7 +5122,7 @@ void PythonQtShell_QGraphicsBlurEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5177,7 +5177,7 @@ QRectF PythonQtShell_QGraphicsColorizeEffect::boundingRectFor(const QRectF& so { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5210,7 +5210,7 @@ void PythonQtShell_QGraphicsColorizeEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5232,7 +5232,7 @@ void PythonQtShell_QGraphicsColorizeEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5254,7 +5254,7 @@ void PythonQtShell_QGraphicsColorizeEffect::draw(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5276,7 +5276,7 @@ bool PythonQtShell_QGraphicsColorizeEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5309,7 +5309,7 @@ bool PythonQtShell_QGraphicsColorizeEffect::eventFilter(QObject* watched0, QEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5342,7 +5342,7 @@ void PythonQtShell_QGraphicsColorizeEffect::sourceChanged(QGraphicsEffect::Chang { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5364,7 +5364,7 @@ void PythonQtShell_QGraphicsColorizeEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5419,7 +5419,7 @@ QRectF PythonQtShell_QGraphicsDropShadowEffect::boundingRectFor(const QRectF& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5452,7 +5452,7 @@ void PythonQtShell_QGraphicsDropShadowEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5474,7 +5474,7 @@ void PythonQtShell_QGraphicsDropShadowEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5496,7 +5496,7 @@ void PythonQtShell_QGraphicsDropShadowEffect::draw(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5518,7 +5518,7 @@ bool PythonQtShell_QGraphicsDropShadowEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5551,7 +5551,7 @@ bool PythonQtShell_QGraphicsDropShadowEffect::eventFilter(QObject* watched0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5584,7 +5584,7 @@ void PythonQtShell_QGraphicsDropShadowEffect::sourceChanged(QGraphicsEffect::Cha { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5606,7 +5606,7 @@ void PythonQtShell_QGraphicsDropShadowEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5676,7 +5676,7 @@ QRectF PythonQtShell_QGraphicsEffect::boundingRectFor(const QRectF& sourceRect { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5709,7 +5709,7 @@ void PythonQtShell_QGraphicsEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5731,7 +5731,7 @@ void PythonQtShell_QGraphicsEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5753,7 +5753,7 @@ void PythonQtShell_QGraphicsEffect::draw(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5775,7 +5775,7 @@ bool PythonQtShell_QGraphicsEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5808,7 +5808,7 @@ bool PythonQtShell_QGraphicsEffect::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5841,7 +5841,7 @@ void PythonQtShell_QGraphicsEffect::sourceChanged(QGraphicsEffect::ChangeFlags { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5863,7 +5863,7 @@ void PythonQtShell_QGraphicsEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5958,7 +5958,7 @@ QRectF PythonQtShell_QGraphicsEllipseItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5991,7 +5991,7 @@ bool PythonQtShell_QGraphicsEllipseItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6024,7 +6024,7 @@ QVariant PythonQtShell_QGraphicsEllipseItem::extension(const QVariant& variant { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6057,7 +6057,7 @@ bool PythonQtShell_QGraphicsEllipseItem::isObscuredBy(const QGraphicsItem* ite { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6090,7 +6090,7 @@ QPainterPath PythonQtShell_QGraphicsEllipseItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6123,7 +6123,7 @@ void PythonQtShell_QGraphicsEllipseItem::paint(QPainter* painter0, const QStyle { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6145,7 +6145,7 @@ void PythonQtShell_QGraphicsEllipseItem::setExtension(QGraphicsItem::Extension { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6167,7 +6167,7 @@ QPainterPath PythonQtShell_QGraphicsEllipseItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6200,7 +6200,7 @@ bool PythonQtShell_QGraphicsEllipseItem::supportsExtension(QGraphicsItem::Exten { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6233,7 +6233,7 @@ int PythonQtShell_QGraphicsEllipseItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6359,7 +6359,7 @@ int PythonQtShell_QGraphicsGridLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6392,7 +6392,7 @@ void PythonQtShell_QGraphicsGridLayout::getContentsMargins(qreal* left0, qreal* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6414,7 +6414,7 @@ void PythonQtShell_QGraphicsGridLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6436,7 +6436,7 @@ QGraphicsLayoutItem* PythonQtShell_QGraphicsGridLayout::itemAt(int index0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6469,7 +6469,7 @@ void PythonQtShell_QGraphicsGridLayout::removeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6491,7 +6491,7 @@ void PythonQtShell_QGraphicsGridLayout::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6513,7 +6513,7 @@ QSizeF PythonQtShell_QGraphicsGridLayout::sizeHint(Qt::SizeHint which0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6546,7 +6546,7 @@ void PythonQtShell_QGraphicsGridLayout::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6568,7 +6568,7 @@ void PythonQtShell_QGraphicsGridLayout::widgetEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6805,7 +6805,7 @@ void PythonQtShell_QGraphicsItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6827,7 +6827,7 @@ QRectF PythonQtShell_QGraphicsItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6860,7 +6860,7 @@ bool PythonQtShell_QGraphicsItem::collidesWithItem(const QGraphicsItem* other0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6893,7 +6893,7 @@ bool PythonQtShell_QGraphicsItem::collidesWithPath(const QPainterPath& path0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6926,7 +6926,7 @@ bool PythonQtShell_QGraphicsItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6959,7 +6959,7 @@ void PythonQtShell_QGraphicsItem::contextMenuEvent(QGraphicsSceneContextMenuEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6981,7 +6981,7 @@ void PythonQtShell_QGraphicsItem::dragEnterEvent(QGraphicsSceneDragDropEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7003,7 +7003,7 @@ void PythonQtShell_QGraphicsItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7025,7 +7025,7 @@ void PythonQtShell_QGraphicsItem::dragMoveEvent(QGraphicsSceneDragDropEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7047,7 +7047,7 @@ void PythonQtShell_QGraphicsItem::dropEvent(QGraphicsSceneDragDropEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7069,7 +7069,7 @@ QVariant PythonQtShell_QGraphicsItem::extension(const QVariant& variant0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7102,7 +7102,7 @@ void PythonQtShell_QGraphicsItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7124,7 +7124,7 @@ void PythonQtShell_QGraphicsItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7146,7 +7146,7 @@ void PythonQtShell_QGraphicsItem::hoverEnterEvent(QGraphicsSceneHoverEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7168,7 +7168,7 @@ void PythonQtShell_QGraphicsItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7190,7 +7190,7 @@ void PythonQtShell_QGraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7212,7 +7212,7 @@ void PythonQtShell_QGraphicsItem::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7234,7 +7234,7 @@ QVariant PythonQtShell_QGraphicsItem::inputMethodQuery(Qt::InputMethodQuery qu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7267,7 +7267,7 @@ bool PythonQtShell_QGraphicsItem::isObscuredBy(const QGraphicsItem* item0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7300,7 +7300,7 @@ QVariant PythonQtShell_QGraphicsItem::itemChange(QGraphicsItem::GraphicsItemCha { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7336,7 +7336,7 @@ void PythonQtShell_QGraphicsItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7358,7 +7358,7 @@ void PythonQtShell_QGraphicsItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7380,7 +7380,7 @@ void PythonQtShell_QGraphicsItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7402,7 +7402,7 @@ void PythonQtShell_QGraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7424,7 +7424,7 @@ void PythonQtShell_QGraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7446,7 +7446,7 @@ void PythonQtShell_QGraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7468,7 +7468,7 @@ QPainterPath PythonQtShell_QGraphicsItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7501,7 +7501,7 @@ void PythonQtShell_QGraphicsItem::paint(QPainter* painter0, const QStyleOptionG { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7523,7 +7523,7 @@ bool PythonQtShell_QGraphicsItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7556,7 +7556,7 @@ bool PythonQtShell_QGraphicsItem::sceneEventFilter(QGraphicsItem* watched0, QE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7589,7 +7589,7 @@ void PythonQtShell_QGraphicsItem::setExtension(QGraphicsItem::Extension extensi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7611,7 +7611,7 @@ QPainterPath PythonQtShell_QGraphicsItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7644,7 +7644,7 @@ bool PythonQtShell_QGraphicsItem::supportsExtension(QGraphicsItem::Extension e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7677,7 +7677,7 @@ int PythonQtShell_QGraphicsItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7710,7 +7710,7 @@ void PythonQtShell_QGraphicsItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8784,7 +8784,7 @@ void PythonQtShell_QGraphicsItemAnimation::afterAnimationStep(qreal step0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("afterAnimationStep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8806,7 +8806,7 @@ void PythonQtShell_QGraphicsItemAnimation::beforeAnimationStep(qreal step0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("beforeAnimationStep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8828,7 +8828,7 @@ void PythonQtShell_QGraphicsItemAnimation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8850,7 +8850,7 @@ void PythonQtShell_QGraphicsItemAnimation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8872,7 +8872,7 @@ bool PythonQtShell_QGraphicsItemAnimation::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8905,7 +8905,7 @@ bool PythonQtShell_QGraphicsItemAnimation::eventFilter(QObject* watched0, QEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8938,7 +8938,7 @@ void PythonQtShell_QGraphicsItemAnimation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9113,7 +9113,7 @@ void PythonQtShell_QGraphicsItemGroup::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9135,7 +9135,7 @@ QRectF PythonQtShell_QGraphicsItemGroup::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9168,7 +9168,7 @@ bool PythonQtShell_QGraphicsItemGroup::collidesWithItem(const QGraphicsItem* o { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9201,7 +9201,7 @@ bool PythonQtShell_QGraphicsItemGroup::collidesWithPath(const QPainterPath& pa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9234,7 +9234,7 @@ bool PythonQtShell_QGraphicsItemGroup::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9267,7 +9267,7 @@ void PythonQtShell_QGraphicsItemGroup::contextMenuEvent(QGraphicsSceneContextMen { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9289,7 +9289,7 @@ void PythonQtShell_QGraphicsItemGroup::dragEnterEvent(QGraphicsSceneDragDropEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9311,7 +9311,7 @@ void PythonQtShell_QGraphicsItemGroup::dragLeaveEvent(QGraphicsSceneDragDropEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9333,7 +9333,7 @@ void PythonQtShell_QGraphicsItemGroup::dragMoveEvent(QGraphicsSceneDragDropEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9355,7 +9355,7 @@ void PythonQtShell_QGraphicsItemGroup::dropEvent(QGraphicsSceneDragDropEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9377,7 +9377,7 @@ QVariant PythonQtShell_QGraphicsItemGroup::extension(const QVariant& variant0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9410,7 +9410,7 @@ void PythonQtShell_QGraphicsItemGroup::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9432,7 +9432,7 @@ void PythonQtShell_QGraphicsItemGroup::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9454,7 +9454,7 @@ void PythonQtShell_QGraphicsItemGroup::hoverEnterEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9476,7 +9476,7 @@ void PythonQtShell_QGraphicsItemGroup::hoverLeaveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9498,7 +9498,7 @@ void PythonQtShell_QGraphicsItemGroup::hoverMoveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9520,7 +9520,7 @@ void PythonQtShell_QGraphicsItemGroup::inputMethodEvent(QInputMethodEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9542,7 +9542,7 @@ QVariant PythonQtShell_QGraphicsItemGroup::inputMethodQuery(Qt::InputMethodQuer { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9575,7 +9575,7 @@ bool PythonQtShell_QGraphicsItemGroup::isObscuredBy(const QGraphicsItem* item0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9608,7 +9608,7 @@ QVariant PythonQtShell_QGraphicsItemGroup::itemChange(QGraphicsItem::GraphicsIt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9644,7 +9644,7 @@ void PythonQtShell_QGraphicsItemGroup::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9666,7 +9666,7 @@ void PythonQtShell_QGraphicsItemGroup::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9688,7 +9688,7 @@ void PythonQtShell_QGraphicsItemGroup::mouseDoubleClickEvent(QGraphicsSceneMouse { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9710,7 +9710,7 @@ void PythonQtShell_QGraphicsItemGroup::mouseMoveEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9732,7 +9732,7 @@ void PythonQtShell_QGraphicsItemGroup::mousePressEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9754,7 +9754,7 @@ void PythonQtShell_QGraphicsItemGroup::mouseReleaseEvent(QGraphicsSceneMouseEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9776,7 +9776,7 @@ QPainterPath PythonQtShell_QGraphicsItemGroup::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9809,7 +9809,7 @@ void PythonQtShell_QGraphicsItemGroup::paint(QPainter* painter0, const QStyleOp { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9831,7 +9831,7 @@ bool PythonQtShell_QGraphicsItemGroup::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9864,7 +9864,7 @@ bool PythonQtShell_QGraphicsItemGroup::sceneEventFilter(QGraphicsItem* watched { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9897,7 +9897,7 @@ void PythonQtShell_QGraphicsItemGroup::setExtension(QGraphicsItem::Extension ex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9919,7 +9919,7 @@ QPainterPath PythonQtShell_QGraphicsItemGroup::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9952,7 +9952,7 @@ bool PythonQtShell_QGraphicsItemGroup::supportsExtension(QGraphicsItem::Extensi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9985,7 +9985,7 @@ int PythonQtShell_QGraphicsItemGroup::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10018,7 +10018,7 @@ void PythonQtShell_QGraphicsItemGroup::wheelEvent(QGraphicsSceneWheelEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10060,7 +10060,7 @@ int PythonQtShell_QGraphicsLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10093,7 +10093,7 @@ void PythonQtShell_QGraphicsLayout::getContentsMargins(qreal* left0, qreal* to { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10115,7 +10115,7 @@ void PythonQtShell_QGraphicsLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10137,7 +10137,7 @@ QGraphicsLayoutItem* PythonQtShell_QGraphicsLayout::itemAt(int i0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10170,7 +10170,7 @@ void PythonQtShell_QGraphicsLayout::removeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10192,7 +10192,7 @@ void PythonQtShell_QGraphicsLayout::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10214,7 +10214,7 @@ QSizeF PythonQtShell_QGraphicsLayout::sizeHint(Qt::SizeHint which0, const QSiz { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10247,7 +10247,7 @@ void PythonQtShell_QGraphicsLayout::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10269,7 +10269,7 @@ void PythonQtShell_QGraphicsLayout::widgetEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10356,7 +10356,7 @@ void PythonQtShell_QGraphicsLayoutItem::getContentsMargins(qreal* left0, qreal* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10378,7 +10378,7 @@ void PythonQtShell_QGraphicsLayoutItem::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10400,7 +10400,7 @@ QSizeF PythonQtShell_QGraphicsLayoutItem::sizeHint(Qt::SizeHint which0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10433,7 +10433,7 @@ void PythonQtShell_QGraphicsLayoutItem::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10655,7 +10655,7 @@ void PythonQtShell_QGraphicsLineItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10677,7 +10677,7 @@ QRectF PythonQtShell_QGraphicsLineItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10710,7 +10710,7 @@ bool PythonQtShell_QGraphicsLineItem::collidesWithItem(const QGraphicsItem* ot { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10743,7 +10743,7 @@ bool PythonQtShell_QGraphicsLineItem::collidesWithPath(const QPainterPath& pat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10776,7 +10776,7 @@ bool PythonQtShell_QGraphicsLineItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10809,7 +10809,7 @@ void PythonQtShell_QGraphicsLineItem::contextMenuEvent(QGraphicsSceneContextMenu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10831,7 +10831,7 @@ void PythonQtShell_QGraphicsLineItem::dragEnterEvent(QGraphicsSceneDragDropEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10853,7 +10853,7 @@ void PythonQtShell_QGraphicsLineItem::dragLeaveEvent(QGraphicsSceneDragDropEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10875,7 +10875,7 @@ void PythonQtShell_QGraphicsLineItem::dragMoveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10897,7 +10897,7 @@ void PythonQtShell_QGraphicsLineItem::dropEvent(QGraphicsSceneDragDropEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10919,7 +10919,7 @@ QVariant PythonQtShell_QGraphicsLineItem::extension(const QVariant& variant0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10952,7 +10952,7 @@ void PythonQtShell_QGraphicsLineItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10974,7 +10974,7 @@ void PythonQtShell_QGraphicsLineItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10996,7 +10996,7 @@ void PythonQtShell_QGraphicsLineItem::hoverEnterEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11018,7 +11018,7 @@ void PythonQtShell_QGraphicsLineItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11040,7 +11040,7 @@ void PythonQtShell_QGraphicsLineItem::hoverMoveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11062,7 +11062,7 @@ void PythonQtShell_QGraphicsLineItem::inputMethodEvent(QInputMethodEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11084,7 +11084,7 @@ QVariant PythonQtShell_QGraphicsLineItem::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11117,7 +11117,7 @@ bool PythonQtShell_QGraphicsLineItem::isObscuredBy(const QGraphicsItem* item0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11150,7 +11150,7 @@ QVariant PythonQtShell_QGraphicsLineItem::itemChange(QGraphicsItem::GraphicsIte { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11186,7 +11186,7 @@ void PythonQtShell_QGraphicsLineItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11208,7 +11208,7 @@ void PythonQtShell_QGraphicsLineItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11230,7 +11230,7 @@ void PythonQtShell_QGraphicsLineItem::mouseDoubleClickEvent(QGraphicsSceneMouseE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11252,7 +11252,7 @@ void PythonQtShell_QGraphicsLineItem::mouseMoveEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11274,7 +11274,7 @@ void PythonQtShell_QGraphicsLineItem::mousePressEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11296,7 +11296,7 @@ void PythonQtShell_QGraphicsLineItem::mouseReleaseEvent(QGraphicsSceneMouseEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11318,7 +11318,7 @@ QPainterPath PythonQtShell_QGraphicsLineItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11351,7 +11351,7 @@ void PythonQtShell_QGraphicsLineItem::paint(QPainter* painter0, const QStyleOpt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11373,7 +11373,7 @@ bool PythonQtShell_QGraphicsLineItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11406,7 +11406,7 @@ bool PythonQtShell_QGraphicsLineItem::sceneEventFilter(QGraphicsItem* watched0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11439,7 +11439,7 @@ void PythonQtShell_QGraphicsLineItem::setExtension(QGraphicsItem::Extension ext { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11461,7 +11461,7 @@ QPainterPath PythonQtShell_QGraphicsLineItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11494,7 +11494,7 @@ bool PythonQtShell_QGraphicsLineItem::supportsExtension(QGraphicsItem::Extensio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11527,7 +11527,7 @@ int PythonQtShell_QGraphicsLineItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11560,7 +11560,7 @@ void PythonQtShell_QGraphicsLineItem::wheelEvent(QGraphicsSceneWheelEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11625,7 +11625,7 @@ int PythonQtShell_QGraphicsLinearLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11658,7 +11658,7 @@ void PythonQtShell_QGraphicsLinearLayout::getContentsMargins(qreal* left0, qrea { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11680,7 +11680,7 @@ void PythonQtShell_QGraphicsLinearLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11702,7 +11702,7 @@ QGraphicsLayoutItem* PythonQtShell_QGraphicsLinearLayout::itemAt(int index0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11735,7 +11735,7 @@ void PythonQtShell_QGraphicsLinearLayout::removeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11757,7 +11757,7 @@ void PythonQtShell_QGraphicsLinearLayout::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11779,7 +11779,7 @@ QSizeF PythonQtShell_QGraphicsLinearLayout::sizeHint(Qt::SizeHint which0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11812,7 +11812,7 @@ void PythonQtShell_QGraphicsLinearLayout::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11834,7 +11834,7 @@ void PythonQtShell_QGraphicsLinearLayout::widgetEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11960,7 +11960,7 @@ void PythonQtShell_QGraphicsObject::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11982,7 +11982,7 @@ QRectF PythonQtShell_QGraphicsObject::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12015,7 +12015,7 @@ void PythonQtShell_QGraphicsObject::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12037,7 +12037,7 @@ bool PythonQtShell_QGraphicsObject::collidesWithItem(const QGraphicsItem* othe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12070,7 +12070,7 @@ bool PythonQtShell_QGraphicsObject::collidesWithPath(const QPainterPath& path0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12103,7 +12103,7 @@ bool PythonQtShell_QGraphicsObject::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12136,7 +12136,7 @@ void PythonQtShell_QGraphicsObject::contextMenuEvent(QGraphicsSceneContextMenuEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12158,7 +12158,7 @@ void PythonQtShell_QGraphicsObject::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12180,7 +12180,7 @@ void PythonQtShell_QGraphicsObject::dragEnterEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12202,7 +12202,7 @@ void PythonQtShell_QGraphicsObject::dragLeaveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12224,7 +12224,7 @@ void PythonQtShell_QGraphicsObject::dragMoveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12246,7 +12246,7 @@ void PythonQtShell_QGraphicsObject::dropEvent(QGraphicsSceneDragDropEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12268,7 +12268,7 @@ bool PythonQtShell_QGraphicsObject::event(QEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12301,7 +12301,7 @@ bool PythonQtShell_QGraphicsObject::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12334,7 +12334,7 @@ QVariant PythonQtShell_QGraphicsObject::extension(const QVariant& variant0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12367,7 +12367,7 @@ void PythonQtShell_QGraphicsObject::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12389,7 +12389,7 @@ void PythonQtShell_QGraphicsObject::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12411,7 +12411,7 @@ void PythonQtShell_QGraphicsObject::hoverEnterEvent(QGraphicsSceneHoverEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12433,7 +12433,7 @@ void PythonQtShell_QGraphicsObject::hoverLeaveEvent(QGraphicsSceneHoverEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12455,7 +12455,7 @@ void PythonQtShell_QGraphicsObject::hoverMoveEvent(QGraphicsSceneHoverEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12477,7 +12477,7 @@ void PythonQtShell_QGraphicsObject::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12499,7 +12499,7 @@ QVariant PythonQtShell_QGraphicsObject::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12532,7 +12532,7 @@ bool PythonQtShell_QGraphicsObject::isObscuredBy(const QGraphicsItem* item0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12565,7 +12565,7 @@ QVariant PythonQtShell_QGraphicsObject::itemChange(QGraphicsItem::GraphicsItemC { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12601,7 +12601,7 @@ void PythonQtShell_QGraphicsObject::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12623,7 +12623,7 @@ void PythonQtShell_QGraphicsObject::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12645,7 +12645,7 @@ void PythonQtShell_QGraphicsObject::mouseDoubleClickEvent(QGraphicsSceneMouseEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12667,7 +12667,7 @@ void PythonQtShell_QGraphicsObject::mouseMoveEvent(QGraphicsSceneMouseEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12689,7 +12689,7 @@ void PythonQtShell_QGraphicsObject::mousePressEvent(QGraphicsSceneMouseEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12711,7 +12711,7 @@ void PythonQtShell_QGraphicsObject::mouseReleaseEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12733,7 +12733,7 @@ QPainterPath PythonQtShell_QGraphicsObject::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12766,7 +12766,7 @@ void PythonQtShell_QGraphicsObject::paint(QPainter* painter0, const QStyleOptio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12788,7 +12788,7 @@ bool PythonQtShell_QGraphicsObject::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12821,7 +12821,7 @@ bool PythonQtShell_QGraphicsObject::sceneEventFilter(QGraphicsItem* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12854,7 +12854,7 @@ void PythonQtShell_QGraphicsObject::setExtension(QGraphicsItem::Extension exten { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12876,7 +12876,7 @@ QPainterPath PythonQtShell_QGraphicsObject::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12909,7 +12909,7 @@ bool PythonQtShell_QGraphicsObject::supportsExtension(QGraphicsItem::Extension { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12942,7 +12942,7 @@ void PythonQtShell_QGraphicsObject::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12964,7 +12964,7 @@ int PythonQtShell_QGraphicsObject::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12997,7 +12997,7 @@ void PythonQtShell_QGraphicsObject::wheelEvent(QGraphicsSceneWheelEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13059,7 +13059,7 @@ QRectF PythonQtShell_QGraphicsOpacityEffect::boundingRectFor(const QRectF& sou { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13092,7 +13092,7 @@ void PythonQtShell_QGraphicsOpacityEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13114,7 +13114,7 @@ void PythonQtShell_QGraphicsOpacityEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13136,7 +13136,7 @@ void PythonQtShell_QGraphicsOpacityEffect::draw(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13158,7 +13158,7 @@ bool PythonQtShell_QGraphicsOpacityEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13191,7 +13191,7 @@ bool PythonQtShell_QGraphicsOpacityEffect::eventFilter(QObject* watched0, QEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13224,7 +13224,7 @@ void PythonQtShell_QGraphicsOpacityEffect::sourceChanged(QGraphicsEffect::Change { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13246,7 +13246,7 @@ void PythonQtShell_QGraphicsOpacityEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13301,7 +13301,7 @@ QRectF PythonQtShell_QGraphicsPathItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13334,7 +13334,7 @@ bool PythonQtShell_QGraphicsPathItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13367,7 +13367,7 @@ QVariant PythonQtShell_QGraphicsPathItem::extension(const QVariant& variant0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13400,7 +13400,7 @@ bool PythonQtShell_QGraphicsPathItem::isObscuredBy(const QGraphicsItem* item0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13433,7 +13433,7 @@ QPainterPath PythonQtShell_QGraphicsPathItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13466,7 +13466,7 @@ void PythonQtShell_QGraphicsPathItem::paint(QPainter* painter0, const QStyleOpt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13488,7 +13488,7 @@ void PythonQtShell_QGraphicsPathItem::setExtension(QGraphicsItem::Extension ext { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13510,7 +13510,7 @@ QPainterPath PythonQtShell_QGraphicsPathItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13543,7 +13543,7 @@ bool PythonQtShell_QGraphicsPathItem::supportsExtension(QGraphicsItem::Extensio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13576,7 +13576,7 @@ int PythonQtShell_QGraphicsPathItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp index 1a068a1b0..18281a590 100644 --- a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp +++ b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp @@ -89,7 +89,7 @@ void PythonQtShell_QGraphicsPixmapItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -111,7 +111,7 @@ QRectF PythonQtShell_QGraphicsPixmapItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -144,7 +144,7 @@ bool PythonQtShell_QGraphicsPixmapItem::collidesWithItem(const QGraphicsItem* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -177,7 +177,7 @@ bool PythonQtShell_QGraphicsPixmapItem::collidesWithPath(const QPainterPath& p { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -210,7 +210,7 @@ bool PythonQtShell_QGraphicsPixmapItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -243,7 +243,7 @@ void PythonQtShell_QGraphicsPixmapItem::contextMenuEvent(QGraphicsSceneContextMe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -265,7 +265,7 @@ void PythonQtShell_QGraphicsPixmapItem::dragEnterEvent(QGraphicsSceneDragDropEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -287,7 +287,7 @@ void PythonQtShell_QGraphicsPixmapItem::dragLeaveEvent(QGraphicsSceneDragDropEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -309,7 +309,7 @@ void PythonQtShell_QGraphicsPixmapItem::dragMoveEvent(QGraphicsSceneDragDropEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -331,7 +331,7 @@ void PythonQtShell_QGraphicsPixmapItem::dropEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -353,7 +353,7 @@ QVariant PythonQtShell_QGraphicsPixmapItem::extension(const QVariant& variant0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -386,7 +386,7 @@ void PythonQtShell_QGraphicsPixmapItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -408,7 +408,7 @@ void PythonQtShell_QGraphicsPixmapItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -430,7 +430,7 @@ void PythonQtShell_QGraphicsPixmapItem::hoverEnterEvent(QGraphicsSceneHoverEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -452,7 +452,7 @@ void PythonQtShell_QGraphicsPixmapItem::hoverLeaveEvent(QGraphicsSceneHoverEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -474,7 +474,7 @@ void PythonQtShell_QGraphicsPixmapItem::hoverMoveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -496,7 +496,7 @@ void PythonQtShell_QGraphicsPixmapItem::inputMethodEvent(QInputMethodEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -518,7 +518,7 @@ QVariant PythonQtShell_QGraphicsPixmapItem::inputMethodQuery(Qt::InputMethodQue { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -551,7 +551,7 @@ bool PythonQtShell_QGraphicsPixmapItem::isObscuredBy(const QGraphicsItem* item { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -584,7 +584,7 @@ QVariant PythonQtShell_QGraphicsPixmapItem::itemChange(QGraphicsItem::GraphicsI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -620,7 +620,7 @@ void PythonQtShell_QGraphicsPixmapItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -642,7 +642,7 @@ void PythonQtShell_QGraphicsPixmapItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -664,7 +664,7 @@ void PythonQtShell_QGraphicsPixmapItem::mouseDoubleClickEvent(QGraphicsSceneMous { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -686,7 +686,7 @@ void PythonQtShell_QGraphicsPixmapItem::mouseMoveEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -708,7 +708,7 @@ void PythonQtShell_QGraphicsPixmapItem::mousePressEvent(QGraphicsSceneMouseEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -730,7 +730,7 @@ void PythonQtShell_QGraphicsPixmapItem::mouseReleaseEvent(QGraphicsSceneMouseEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -752,7 +752,7 @@ QPainterPath PythonQtShell_QGraphicsPixmapItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -785,7 +785,7 @@ void PythonQtShell_QGraphicsPixmapItem::paint(QPainter* painter0, const QStyleO { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -807,7 +807,7 @@ bool PythonQtShell_QGraphicsPixmapItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -840,7 +840,7 @@ bool PythonQtShell_QGraphicsPixmapItem::sceneEventFilter(QGraphicsItem* watche { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -873,7 +873,7 @@ void PythonQtShell_QGraphicsPixmapItem::setExtension(QGraphicsItem::Extension e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -895,7 +895,7 @@ QPainterPath PythonQtShell_QGraphicsPixmapItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -928,7 +928,7 @@ bool PythonQtShell_QGraphicsPixmapItem::supportsExtension(QGraphicsItem::Extens { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -961,7 +961,7 @@ int PythonQtShell_QGraphicsPixmapItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -994,7 +994,7 @@ void PythonQtShell_QGraphicsPixmapItem::wheelEvent(QGraphicsSceneWheelEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1075,7 +1075,7 @@ QRectF PythonQtShell_QGraphicsPolygonItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1108,7 +1108,7 @@ bool PythonQtShell_QGraphicsPolygonItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1141,7 +1141,7 @@ QVariant PythonQtShell_QGraphicsPolygonItem::extension(const QVariant& variant { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1174,7 +1174,7 @@ bool PythonQtShell_QGraphicsPolygonItem::isObscuredBy(const QGraphicsItem* ite { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1207,7 +1207,7 @@ QPainterPath PythonQtShell_QGraphicsPolygonItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1240,7 +1240,7 @@ void PythonQtShell_QGraphicsPolygonItem::paint(QPainter* painter0, const QStyle { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1262,7 +1262,7 @@ void PythonQtShell_QGraphicsPolygonItem::setExtension(QGraphicsItem::Extension { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1284,7 +1284,7 @@ QPainterPath PythonQtShell_QGraphicsPolygonItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1317,7 +1317,7 @@ bool PythonQtShell_QGraphicsPolygonItem::supportsExtension(QGraphicsItem::Exten { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1350,7 +1350,7 @@ int PythonQtShell_QGraphicsPolygonItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1457,7 +1457,7 @@ QRectF PythonQtShell_QGraphicsProxyWidget::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1490,7 +1490,7 @@ void PythonQtShell_QGraphicsProxyWidget::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1512,7 +1512,7 @@ void PythonQtShell_QGraphicsProxyWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1534,7 +1534,7 @@ void PythonQtShell_QGraphicsProxyWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1556,7 +1556,7 @@ void PythonQtShell_QGraphicsProxyWidget::contextMenuEvent(QGraphicsSceneContextM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1578,7 +1578,7 @@ void PythonQtShell_QGraphicsProxyWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1600,7 +1600,7 @@ void PythonQtShell_QGraphicsProxyWidget::dragEnterEvent(QGraphicsSceneDragDropEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1622,7 +1622,7 @@ void PythonQtShell_QGraphicsProxyWidget::dragLeaveEvent(QGraphicsSceneDragDropEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1644,7 +1644,7 @@ void PythonQtShell_QGraphicsProxyWidget::dragMoveEvent(QGraphicsSceneDragDropEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1666,7 +1666,7 @@ void PythonQtShell_QGraphicsProxyWidget::dropEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1688,7 +1688,7 @@ bool PythonQtShell_QGraphicsProxyWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1721,7 +1721,7 @@ bool PythonQtShell_QGraphicsProxyWidget::eventFilter(QObject* object0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1754,7 +1754,7 @@ void PythonQtShell_QGraphicsProxyWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1776,7 +1776,7 @@ bool PythonQtShell_QGraphicsProxyWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1809,7 +1809,7 @@ void PythonQtShell_QGraphicsProxyWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1831,7 +1831,7 @@ void PythonQtShell_QGraphicsProxyWidget::getContentsMargins(qreal* left0, qreal { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1853,7 +1853,7 @@ void PythonQtShell_QGraphicsProxyWidget::grabKeyboardEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("grabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1875,7 +1875,7 @@ void PythonQtShell_QGraphicsProxyWidget::grabMouseEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("grabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1897,7 +1897,7 @@ void PythonQtShell_QGraphicsProxyWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1919,7 +1919,7 @@ void PythonQtShell_QGraphicsProxyWidget::hoverEnterEvent(QGraphicsSceneHoverEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1941,7 +1941,7 @@ void PythonQtShell_QGraphicsProxyWidget::hoverLeaveEvent(QGraphicsSceneHoverEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1963,7 +1963,7 @@ void PythonQtShell_QGraphicsProxyWidget::hoverMoveEvent(QGraphicsSceneHoverEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1985,7 +1985,7 @@ void PythonQtShell_QGraphicsProxyWidget::initStyleOption(QStyleOption* option0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2007,7 +2007,7 @@ void PythonQtShell_QGraphicsProxyWidget::inputMethodEvent(QInputMethodEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2029,7 +2029,7 @@ QVariant PythonQtShell_QGraphicsProxyWidget::inputMethodQuery(Qt::InputMethodQu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2062,7 +2062,7 @@ QVariant PythonQtShell_QGraphicsProxyWidget::itemChange(QGraphicsItem::Graphics { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2098,7 +2098,7 @@ void PythonQtShell_QGraphicsProxyWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2120,7 +2120,7 @@ void PythonQtShell_QGraphicsProxyWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2142,7 +2142,7 @@ void PythonQtShell_QGraphicsProxyWidget::mouseDoubleClickEvent(QGraphicsSceneMou { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2164,7 +2164,7 @@ void PythonQtShell_QGraphicsProxyWidget::mouseMoveEvent(QGraphicsSceneMouseEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2186,7 +2186,7 @@ void PythonQtShell_QGraphicsProxyWidget::mousePressEvent(QGraphicsSceneMouseEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2208,7 +2208,7 @@ void PythonQtShell_QGraphicsProxyWidget::mouseReleaseEvent(QGraphicsSceneMouseEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2230,7 +2230,7 @@ void PythonQtShell_QGraphicsProxyWidget::moveEvent(QGraphicsSceneMoveEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2252,7 +2252,7 @@ void PythonQtShell_QGraphicsProxyWidget::paint(QPainter* painter0, const QStyle { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2274,7 +2274,7 @@ void PythonQtShell_QGraphicsProxyWidget::paintWindowFrame(QPainter* painter0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintWindowFrame"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2296,7 +2296,7 @@ void PythonQtShell_QGraphicsProxyWidget::polishEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polishEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2318,7 +2318,7 @@ QVariant PythonQtShell_QGraphicsProxyWidget::propertyChange(const QString& pro { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("propertyChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2351,7 +2351,7 @@ void PythonQtShell_QGraphicsProxyWidget::resizeEvent(QGraphicsSceneResizeEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2373,7 +2373,7 @@ bool PythonQtShell_QGraphicsProxyWidget::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2406,7 +2406,7 @@ void PythonQtShell_QGraphicsProxyWidget::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2428,7 +2428,7 @@ QPainterPath PythonQtShell_QGraphicsProxyWidget::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2461,7 +2461,7 @@ void PythonQtShell_QGraphicsProxyWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2483,7 +2483,7 @@ QSizeF PythonQtShell_QGraphicsProxyWidget::sizeHint(Qt::SizeHint which0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2516,7 +2516,7 @@ void PythonQtShell_QGraphicsProxyWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2538,7 +2538,7 @@ int PythonQtShell_QGraphicsProxyWidget::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2571,7 +2571,7 @@ void PythonQtShell_QGraphicsProxyWidget::ungrabKeyboardEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2593,7 +2593,7 @@ void PythonQtShell_QGraphicsProxyWidget::ungrabMouseEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ungrabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2615,7 +2615,7 @@ void PythonQtShell_QGraphicsProxyWidget::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2637,7 +2637,7 @@ void PythonQtShell_QGraphicsProxyWidget::wheelEvent(QGraphicsSceneWheelEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2659,7 +2659,7 @@ bool PythonQtShell_QGraphicsProxyWidget::windowFrameEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowFrameEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2692,7 +2692,7 @@ Qt::WindowFrameSection PythonQtShell_QGraphicsProxyWidget::windowFrameSectionAt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowFrameSectionAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2843,7 +2843,7 @@ QRectF PythonQtShell_QGraphicsRectItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2876,7 +2876,7 @@ bool PythonQtShell_QGraphicsRectItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2909,7 +2909,7 @@ QVariant PythonQtShell_QGraphicsRectItem::extension(const QVariant& variant0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2942,7 +2942,7 @@ bool PythonQtShell_QGraphicsRectItem::isObscuredBy(const QGraphicsItem* item0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2975,7 +2975,7 @@ QPainterPath PythonQtShell_QGraphicsRectItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3008,7 +3008,7 @@ void PythonQtShell_QGraphicsRectItem::paint(QPainter* painter0, const QStyleOpt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3030,7 +3030,7 @@ void PythonQtShell_QGraphicsRectItem::setExtension(QGraphicsItem::Extension ext { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3052,7 +3052,7 @@ QPainterPath PythonQtShell_QGraphicsRectItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3085,7 +3085,7 @@ bool PythonQtShell_QGraphicsRectItem::supportsExtension(QGraphicsItem::Extensio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3118,7 +3118,7 @@ int PythonQtShell_QGraphicsRectItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3224,7 +3224,7 @@ void PythonQtShell_QGraphicsRotation::applyTo(QMatrix4x4* matrix0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3246,7 +3246,7 @@ void PythonQtShell_QGraphicsRotation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3268,7 +3268,7 @@ void PythonQtShell_QGraphicsRotation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3290,7 +3290,7 @@ bool PythonQtShell_QGraphicsRotation::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3323,7 +3323,7 @@ bool PythonQtShell_QGraphicsRotation::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3356,7 +3356,7 @@ void PythonQtShell_QGraphicsRotation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3436,7 +3436,7 @@ void PythonQtShell_QGraphicsScale::applyTo(QMatrix4x4* matrix0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3458,7 +3458,7 @@ void PythonQtShell_QGraphicsScale::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3480,7 +3480,7 @@ void PythonQtShell_QGraphicsScale::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3502,7 +3502,7 @@ bool PythonQtShell_QGraphicsScale::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3535,7 +3535,7 @@ bool PythonQtShell_QGraphicsScale::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3568,7 +3568,7 @@ void PythonQtShell_QGraphicsScale::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3653,7 +3653,7 @@ void PythonQtShell_QGraphicsScene::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3675,7 +3675,7 @@ void PythonQtShell_QGraphicsScene::contextMenuEvent(QGraphicsSceneContextMenuEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3697,7 +3697,7 @@ void PythonQtShell_QGraphicsScene::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3719,7 +3719,7 @@ void PythonQtShell_QGraphicsScene::dragEnterEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3741,7 +3741,7 @@ void PythonQtShell_QGraphicsScene::dragLeaveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3763,7 +3763,7 @@ void PythonQtShell_QGraphicsScene::dragMoveEvent(QGraphicsSceneDragDropEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3785,7 +3785,7 @@ void PythonQtShell_QGraphicsScene::drawBackground(QPainter* painter0, const QRe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawBackground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3807,7 +3807,7 @@ void PythonQtShell_QGraphicsScene::drawForeground(QPainter* painter0, const QRe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawForeground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3829,7 +3829,7 @@ void PythonQtShell_QGraphicsScene::drawItems(QPainter* painter0, int numItems1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawItems"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3851,7 +3851,7 @@ void PythonQtShell_QGraphicsScene::dropEvent(QGraphicsSceneDragDropEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3873,7 +3873,7 @@ bool PythonQtShell_QGraphicsScene::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3906,7 +3906,7 @@ bool PythonQtShell_QGraphicsScene::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3939,7 +3939,7 @@ void PythonQtShell_QGraphicsScene::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3961,7 +3961,7 @@ void PythonQtShell_QGraphicsScene::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3983,7 +3983,7 @@ void PythonQtShell_QGraphicsScene::helpEvent(QGraphicsSceneHelpEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4005,7 +4005,7 @@ void PythonQtShell_QGraphicsScene::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4027,7 +4027,7 @@ QVariant PythonQtShell_QGraphicsScene::inputMethodQuery(Qt::InputMethodQuery q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4060,7 +4060,7 @@ void PythonQtShell_QGraphicsScene::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4082,7 +4082,7 @@ void PythonQtShell_QGraphicsScene::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4104,7 +4104,7 @@ void PythonQtShell_QGraphicsScene::mouseDoubleClickEvent(QGraphicsSceneMouseEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4126,7 +4126,7 @@ void PythonQtShell_QGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4148,7 +4148,7 @@ void PythonQtShell_QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4170,7 +4170,7 @@ void PythonQtShell_QGraphicsScene::mouseReleaseEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4192,7 +4192,7 @@ void PythonQtShell_QGraphicsScene::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4214,7 +4214,7 @@ void PythonQtShell_QGraphicsScene::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5271,7 +5271,7 @@ QRectF PythonQtShell_QGraphicsSimpleTextItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5304,7 +5304,7 @@ bool PythonQtShell_QGraphicsSimpleTextItem::contains(const QPointF& point0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5337,7 +5337,7 @@ QVariant PythonQtShell_QGraphicsSimpleTextItem::extension(const QVariant& vari { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5370,7 +5370,7 @@ bool PythonQtShell_QGraphicsSimpleTextItem::isObscuredBy(const QGraphicsItem* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5403,7 +5403,7 @@ QPainterPath PythonQtShell_QGraphicsSimpleTextItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5436,7 +5436,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::paint(QPainter* painter0, const QSt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5458,7 +5458,7 @@ void PythonQtShell_QGraphicsSimpleTextItem::setExtension(QGraphicsItem::Extensio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5480,7 +5480,7 @@ QPainterPath PythonQtShell_QGraphicsSimpleTextItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5513,7 +5513,7 @@ bool PythonQtShell_QGraphicsSimpleTextItem::supportsExtension(QGraphicsItem::Ex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5546,7 +5546,7 @@ int PythonQtShell_QGraphicsSimpleTextItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5653,7 +5653,7 @@ QRectF PythonQtShell_QGraphicsTextItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5686,7 +5686,7 @@ void PythonQtShell_QGraphicsTextItem::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5708,7 +5708,7 @@ bool PythonQtShell_QGraphicsTextItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5741,7 +5741,7 @@ void PythonQtShell_QGraphicsTextItem::contextMenuEvent(QGraphicsSceneContextMenu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5763,7 +5763,7 @@ void PythonQtShell_QGraphicsTextItem::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5785,7 +5785,7 @@ void PythonQtShell_QGraphicsTextItem::dragEnterEvent(QGraphicsSceneDragDropEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5807,7 +5807,7 @@ void PythonQtShell_QGraphicsTextItem::dragLeaveEvent(QGraphicsSceneDragDropEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5829,7 +5829,7 @@ void PythonQtShell_QGraphicsTextItem::dragMoveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5851,7 +5851,7 @@ void PythonQtShell_QGraphicsTextItem::dropEvent(QGraphicsSceneDragDropEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5873,7 +5873,7 @@ bool PythonQtShell_QGraphicsTextItem::event(QEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5906,7 +5906,7 @@ bool PythonQtShell_QGraphicsTextItem::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5939,7 +5939,7 @@ QVariant PythonQtShell_QGraphicsTextItem::extension(const QVariant& variant0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5972,7 +5972,7 @@ void PythonQtShell_QGraphicsTextItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5994,7 +5994,7 @@ void PythonQtShell_QGraphicsTextItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6016,7 +6016,7 @@ void PythonQtShell_QGraphicsTextItem::hoverEnterEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6038,7 +6038,7 @@ void PythonQtShell_QGraphicsTextItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6060,7 +6060,7 @@ void PythonQtShell_QGraphicsTextItem::hoverMoveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6082,7 +6082,7 @@ void PythonQtShell_QGraphicsTextItem::inputMethodEvent(QInputMethodEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6104,7 +6104,7 @@ QVariant PythonQtShell_QGraphicsTextItem::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6137,7 +6137,7 @@ bool PythonQtShell_QGraphicsTextItem::isObscuredBy(const QGraphicsItem* item0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6170,7 +6170,7 @@ void PythonQtShell_QGraphicsTextItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6192,7 +6192,7 @@ void PythonQtShell_QGraphicsTextItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6214,7 +6214,7 @@ void PythonQtShell_QGraphicsTextItem::mouseDoubleClickEvent(QGraphicsSceneMouseE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6236,7 +6236,7 @@ void PythonQtShell_QGraphicsTextItem::mouseMoveEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6258,7 +6258,7 @@ void PythonQtShell_QGraphicsTextItem::mousePressEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6280,7 +6280,7 @@ void PythonQtShell_QGraphicsTextItem::mouseReleaseEvent(QGraphicsSceneMouseEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6302,7 +6302,7 @@ QPainterPath PythonQtShell_QGraphicsTextItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6335,7 +6335,7 @@ void PythonQtShell_QGraphicsTextItem::paint(QPainter* painter0, const QStyleOpt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6357,7 +6357,7 @@ bool PythonQtShell_QGraphicsTextItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6390,7 +6390,7 @@ void PythonQtShell_QGraphicsTextItem::setExtension(QGraphicsItem::Extension ext { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6412,7 +6412,7 @@ QPainterPath PythonQtShell_QGraphicsTextItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6445,7 +6445,7 @@ bool PythonQtShell_QGraphicsTextItem::supportsExtension(QGraphicsItem::Extensio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6478,7 +6478,7 @@ void PythonQtShell_QGraphicsTextItem::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6500,7 +6500,7 @@ int PythonQtShell_QGraphicsTextItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6810,7 +6810,7 @@ void PythonQtShell_QGraphicsTransform::applyTo(QMatrix4x4* matrix0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6832,7 +6832,7 @@ void PythonQtShell_QGraphicsTransform::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6854,7 +6854,7 @@ void PythonQtShell_QGraphicsTransform::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6876,7 +6876,7 @@ bool PythonQtShell_QGraphicsTransform::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6909,7 +6909,7 @@ bool PythonQtShell_QGraphicsTransform::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6942,7 +6942,7 @@ void PythonQtShell_QGraphicsTransform::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6992,7 +6992,7 @@ void PythonQtShell_QGraphicsView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7014,7 +7014,7 @@ void PythonQtShell_QGraphicsView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7036,7 +7036,7 @@ void PythonQtShell_QGraphicsView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7058,7 +7058,7 @@ void PythonQtShell_QGraphicsView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7080,7 +7080,7 @@ void PythonQtShell_QGraphicsView::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7102,7 +7102,7 @@ void PythonQtShell_QGraphicsView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7124,7 +7124,7 @@ int PythonQtShell_QGraphicsView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7157,7 +7157,7 @@ void PythonQtShell_QGraphicsView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7179,7 +7179,7 @@ void PythonQtShell_QGraphicsView::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7201,7 +7201,7 @@ void PythonQtShell_QGraphicsView::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7223,7 +7223,7 @@ void PythonQtShell_QGraphicsView::drawBackground(QPainter* painter0, const QRec { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawBackground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7245,7 +7245,7 @@ void PythonQtShell_QGraphicsView::drawForeground(QPainter* painter0, const QRec { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawForeground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7267,7 +7267,7 @@ void PythonQtShell_QGraphicsView::drawItems(QPainter* painter0, int numItems1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawItems"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7289,7 +7289,7 @@ void PythonQtShell_QGraphicsView::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7311,7 +7311,7 @@ void PythonQtShell_QGraphicsView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7333,7 +7333,7 @@ bool PythonQtShell_QGraphicsView::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7366,7 +7366,7 @@ bool PythonQtShell_QGraphicsView::eventFilter(QObject* arg__1, QEvent* arg__2 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7399,7 +7399,7 @@ void PythonQtShell_QGraphicsView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7421,7 +7421,7 @@ bool PythonQtShell_QGraphicsView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7454,7 +7454,7 @@ void PythonQtShell_QGraphicsView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7476,7 +7476,7 @@ bool PythonQtShell_QGraphicsView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7509,7 +7509,7 @@ int PythonQtShell_QGraphicsView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7542,7 +7542,7 @@ void PythonQtShell_QGraphicsView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7564,7 +7564,7 @@ void PythonQtShell_QGraphicsView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7586,7 +7586,7 @@ void PythonQtShell_QGraphicsView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7608,7 +7608,7 @@ QVariant PythonQtShell_QGraphicsView::inputMethodQuery(Qt::InputMethodQuery qu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7641,7 +7641,7 @@ void PythonQtShell_QGraphicsView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7663,7 +7663,7 @@ void PythonQtShell_QGraphicsView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7685,7 +7685,7 @@ void PythonQtShell_QGraphicsView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7707,7 +7707,7 @@ int PythonQtShell_QGraphicsView::metric(QPaintDevice::PaintDeviceMetric arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7740,7 +7740,7 @@ QSize PythonQtShell_QGraphicsView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7773,7 +7773,7 @@ void PythonQtShell_QGraphicsView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7795,7 +7795,7 @@ void PythonQtShell_QGraphicsView::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7817,7 +7817,7 @@ void PythonQtShell_QGraphicsView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7839,7 +7839,7 @@ void PythonQtShell_QGraphicsView::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7861,7 +7861,7 @@ void PythonQtShell_QGraphicsView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7883,7 +7883,7 @@ bool PythonQtShell_QGraphicsView::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7916,7 +7916,7 @@ QPaintEngine* PythonQtShell_QGraphicsView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7949,7 +7949,7 @@ void PythonQtShell_QGraphicsView::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7971,7 +7971,7 @@ QPaintDevice* PythonQtShell_QGraphicsView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8004,7 +8004,7 @@ void PythonQtShell_QGraphicsView::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8026,7 +8026,7 @@ void PythonQtShell_QGraphicsView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8048,7 +8048,7 @@ void PythonQtShell_QGraphicsView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8070,7 +8070,7 @@ void PythonQtShell_QGraphicsView::setupViewport(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8092,7 +8092,7 @@ QPainter* PythonQtShell_QGraphicsView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8125,7 +8125,7 @@ void PythonQtShell_QGraphicsView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8147,7 +8147,7 @@ QSize PythonQtShell_QGraphicsView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8180,7 +8180,7 @@ void PythonQtShell_QGraphicsView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8202,7 +8202,7 @@ void PythonQtShell_QGraphicsView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8224,7 +8224,7 @@ bool PythonQtShell_QGraphicsView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8257,7 +8257,7 @@ QSize PythonQtShell_QGraphicsView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8290,7 +8290,7 @@ void PythonQtShell_QGraphicsView::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8734,7 +8734,7 @@ QRectF PythonQtShell_QGraphicsWidget::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8767,7 +8767,7 @@ void PythonQtShell_QGraphicsWidget::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8789,7 +8789,7 @@ void PythonQtShell_QGraphicsWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8811,7 +8811,7 @@ void PythonQtShell_QGraphicsWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8833,7 +8833,7 @@ void PythonQtShell_QGraphicsWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8855,7 +8855,7 @@ bool PythonQtShell_QGraphicsWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8888,7 +8888,7 @@ bool PythonQtShell_QGraphicsWidget::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8921,7 +8921,7 @@ void PythonQtShell_QGraphicsWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8943,7 +8943,7 @@ bool PythonQtShell_QGraphicsWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8976,7 +8976,7 @@ void PythonQtShell_QGraphicsWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8998,7 +8998,7 @@ void PythonQtShell_QGraphicsWidget::getContentsMargins(qreal* left0, qreal* to { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9020,7 +9020,7 @@ void PythonQtShell_QGraphicsWidget::grabKeyboardEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("grabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9042,7 +9042,7 @@ void PythonQtShell_QGraphicsWidget::grabMouseEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("grabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9064,7 +9064,7 @@ void PythonQtShell_QGraphicsWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9086,7 +9086,7 @@ void PythonQtShell_QGraphicsWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9108,7 +9108,7 @@ void PythonQtShell_QGraphicsWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9130,7 +9130,7 @@ void PythonQtShell_QGraphicsWidget::initStyleOption(QStyleOption* option0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9152,7 +9152,7 @@ QVariant PythonQtShell_QGraphicsWidget::itemChange(QGraphicsItem::GraphicsItemC { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9188,7 +9188,7 @@ void PythonQtShell_QGraphicsWidget::moveEvent(QGraphicsSceneMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9210,7 +9210,7 @@ void PythonQtShell_QGraphicsWidget::paint(QPainter* painter0, const QStyleOptio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9232,7 +9232,7 @@ void PythonQtShell_QGraphicsWidget::paintWindowFrame(QPainter* painter0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintWindowFrame"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9254,7 +9254,7 @@ void PythonQtShell_QGraphicsWidget::polishEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polishEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9276,7 +9276,7 @@ QVariant PythonQtShell_QGraphicsWidget::propertyChange(const QString& property { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("propertyChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9309,7 +9309,7 @@ void PythonQtShell_QGraphicsWidget::resizeEvent(QGraphicsSceneResizeEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9331,7 +9331,7 @@ bool PythonQtShell_QGraphicsWidget::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9364,7 +9364,7 @@ void PythonQtShell_QGraphicsWidget::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9386,7 +9386,7 @@ QPainterPath PythonQtShell_QGraphicsWidget::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9419,7 +9419,7 @@ void PythonQtShell_QGraphicsWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9441,7 +9441,7 @@ QSizeF PythonQtShell_QGraphicsWidget::sizeHint(Qt::SizeHint which0, const QSiz { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9474,7 +9474,7 @@ void PythonQtShell_QGraphicsWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9496,7 +9496,7 @@ int PythonQtShell_QGraphicsWidget::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9529,7 +9529,7 @@ void PythonQtShell_QGraphicsWidget::ungrabKeyboardEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9551,7 +9551,7 @@ void PythonQtShell_QGraphicsWidget::ungrabMouseEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ungrabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9573,7 +9573,7 @@ void PythonQtShell_QGraphicsWidget::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9595,7 +9595,7 @@ bool PythonQtShell_QGraphicsWidget::windowFrameEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowFrameEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9628,7 +9628,7 @@ Qt::WindowFrameSection PythonQtShell_QGraphicsWidget::windowFrameSectionAt(cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowFrameSectionAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10054,7 +10054,7 @@ void PythonQtShell_QGridLayout::addItem(QLayoutItem* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10076,7 +10076,7 @@ void PythonQtShell_QGridLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10098,7 +10098,7 @@ QSizePolicy::ControlTypes PythonQtShell_QGridLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10131,7 +10131,7 @@ int PythonQtShell_QGridLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10164,7 +10164,7 @@ void PythonQtShell_QGridLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10186,7 +10186,7 @@ bool PythonQtShell_QGridLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10219,7 +10219,7 @@ bool PythonQtShell_QGridLayout::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10252,7 +10252,7 @@ Qt::Orientations PythonQtShell_QGridLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10285,7 +10285,7 @@ QRect PythonQtShell_QGridLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10318,7 +10318,7 @@ bool PythonQtShell_QGridLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10351,7 +10351,7 @@ int PythonQtShell_QGridLayout::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10384,7 +10384,7 @@ int PythonQtShell_QGridLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10417,7 +10417,7 @@ void PythonQtShell_QGridLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10439,7 +10439,7 @@ bool PythonQtShell_QGridLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10472,7 +10472,7 @@ QLayoutItem* PythonQtShell_QGridLayout::itemAt(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10505,7 +10505,7 @@ QLayout* PythonQtShell_QGridLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10538,7 +10538,7 @@ QSize PythonQtShell_QGridLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10571,7 +10571,7 @@ int PythonQtShell_QGridLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10604,7 +10604,7 @@ QSize PythonQtShell_QGridLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10637,7 +10637,7 @@ void PythonQtShell_QGridLayout::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10659,7 +10659,7 @@ QSize PythonQtShell_QGridLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10692,7 +10692,7 @@ QLayoutItem* PythonQtShell_QGridLayout::takeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10725,7 +10725,7 @@ void PythonQtShell_QGridLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10924,7 +10924,7 @@ void PythonQtShell_QGroupBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10946,7 +10946,7 @@ void PythonQtShell_QGroupBox::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10968,7 +10968,7 @@ void PythonQtShell_QGroupBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10990,7 +10990,7 @@ void PythonQtShell_QGroupBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11012,7 +11012,7 @@ void PythonQtShell_QGroupBox::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11034,7 +11034,7 @@ void PythonQtShell_QGroupBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11056,7 +11056,7 @@ int PythonQtShell_QGroupBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11089,7 +11089,7 @@ void PythonQtShell_QGroupBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11111,7 +11111,7 @@ void PythonQtShell_QGroupBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11133,7 +11133,7 @@ void PythonQtShell_QGroupBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11155,7 +11155,7 @@ void PythonQtShell_QGroupBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11177,7 +11177,7 @@ void PythonQtShell_QGroupBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11199,7 +11199,7 @@ bool PythonQtShell_QGroupBox::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11232,7 +11232,7 @@ bool PythonQtShell_QGroupBox::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11265,7 +11265,7 @@ void PythonQtShell_QGroupBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11287,7 +11287,7 @@ bool PythonQtShell_QGroupBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11320,7 +11320,7 @@ void PythonQtShell_QGroupBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11342,7 +11342,7 @@ bool PythonQtShell_QGroupBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11375,7 +11375,7 @@ int PythonQtShell_QGroupBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11408,7 +11408,7 @@ void PythonQtShell_QGroupBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11430,7 +11430,7 @@ void PythonQtShell_QGroupBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11452,7 +11452,7 @@ void PythonQtShell_QGroupBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11474,7 +11474,7 @@ QVariant PythonQtShell_QGroupBox::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11507,7 +11507,7 @@ void PythonQtShell_QGroupBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11529,7 +11529,7 @@ void PythonQtShell_QGroupBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11551,7 +11551,7 @@ void PythonQtShell_QGroupBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11573,7 +11573,7 @@ int PythonQtShell_QGroupBox::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11606,7 +11606,7 @@ QSize PythonQtShell_QGroupBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11639,7 +11639,7 @@ void PythonQtShell_QGroupBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11661,7 +11661,7 @@ void PythonQtShell_QGroupBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11683,7 +11683,7 @@ void PythonQtShell_QGroupBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11705,7 +11705,7 @@ void PythonQtShell_QGroupBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11727,7 +11727,7 @@ void PythonQtShell_QGroupBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11749,7 +11749,7 @@ bool PythonQtShell_QGroupBox::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11782,7 +11782,7 @@ QPaintEngine* PythonQtShell_QGroupBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11815,7 +11815,7 @@ void PythonQtShell_QGroupBox::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11837,7 +11837,7 @@ QPaintDevice* PythonQtShell_QGroupBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11870,7 +11870,7 @@ void PythonQtShell_QGroupBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11892,7 +11892,7 @@ void PythonQtShell_QGroupBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11914,7 +11914,7 @@ QPainter* PythonQtShell_QGroupBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11947,7 +11947,7 @@ void PythonQtShell_QGroupBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11969,7 +11969,7 @@ QSize PythonQtShell_QGroupBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12002,7 +12002,7 @@ void PythonQtShell_QGroupBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12024,7 +12024,7 @@ void PythonQtShell_QGroupBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12046,7 +12046,7 @@ void PythonQtShell_QGroupBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12377,7 +12377,7 @@ void PythonQtShell_QHBoxLayout::addItem(QLayoutItem* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12399,7 +12399,7 @@ void PythonQtShell_QHBoxLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12421,7 +12421,7 @@ QSizePolicy::ControlTypes PythonQtShell_QHBoxLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12454,7 +12454,7 @@ int PythonQtShell_QHBoxLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12487,7 +12487,7 @@ void PythonQtShell_QHBoxLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12509,7 +12509,7 @@ bool PythonQtShell_QHBoxLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12542,7 +12542,7 @@ bool PythonQtShell_QHBoxLayout::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12575,7 +12575,7 @@ Qt::Orientations PythonQtShell_QHBoxLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12608,7 +12608,7 @@ QRect PythonQtShell_QHBoxLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12641,7 +12641,7 @@ bool PythonQtShell_QHBoxLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12674,7 +12674,7 @@ int PythonQtShell_QHBoxLayout::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12707,7 +12707,7 @@ int PythonQtShell_QHBoxLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12740,7 +12740,7 @@ void PythonQtShell_QHBoxLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12762,7 +12762,7 @@ bool PythonQtShell_QHBoxLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12795,7 +12795,7 @@ QLayoutItem* PythonQtShell_QHBoxLayout::itemAt(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12828,7 +12828,7 @@ QLayout* PythonQtShell_QHBoxLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12861,7 +12861,7 @@ QSize PythonQtShell_QHBoxLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12894,7 +12894,7 @@ int PythonQtShell_QHBoxLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12927,7 +12927,7 @@ QSize PythonQtShell_QHBoxLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12960,7 +12960,7 @@ void PythonQtShell_QHBoxLayout::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12982,7 +12982,7 @@ QSize PythonQtShell_QHBoxLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13015,7 +13015,7 @@ QLayoutItem* PythonQtShell_QHBoxLayout::takeAt(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13048,7 +13048,7 @@ void PythonQtShell_QHBoxLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13097,7 +13097,7 @@ void PythonQtShell_QHeaderView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13119,7 +13119,7 @@ void PythonQtShell_QHeaderView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13141,7 +13141,7 @@ void PythonQtShell_QHeaderView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13163,7 +13163,7 @@ void PythonQtShell_QHeaderView::closeEditor(QWidget* editor0, QAbstractItemDele { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13185,7 +13185,7 @@ void PythonQtShell_QHeaderView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13207,7 +13207,7 @@ void PythonQtShell_QHeaderView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13229,7 +13229,7 @@ void PythonQtShell_QHeaderView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13251,7 +13251,7 @@ void PythonQtShell_QHeaderView::currentChanged(const QModelIndex& current0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13273,7 +13273,7 @@ void PythonQtShell_QHeaderView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13295,7 +13295,7 @@ void PythonQtShell_QHeaderView::dataChanged(const QModelIndex& topLeft0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13317,7 +13317,7 @@ int PythonQtShell_QHeaderView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13350,7 +13350,7 @@ void PythonQtShell_QHeaderView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13372,7 +13372,7 @@ void PythonQtShell_QHeaderView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13394,7 +13394,7 @@ void PythonQtShell_QHeaderView::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13416,7 +13416,7 @@ void PythonQtShell_QHeaderView::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13438,7 +13438,7 @@ void PythonQtShell_QHeaderView::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13460,7 +13460,7 @@ bool PythonQtShell_QHeaderView::edit(const QModelIndex& index0, QAbstractItemV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13493,7 +13493,7 @@ void PythonQtShell_QHeaderView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13515,7 +13515,7 @@ void PythonQtShell_QHeaderView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13537,7 +13537,7 @@ bool PythonQtShell_QHeaderView::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13570,7 +13570,7 @@ bool PythonQtShell_QHeaderView::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13603,7 +13603,7 @@ void PythonQtShell_QHeaderView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13625,7 +13625,7 @@ bool PythonQtShell_QHeaderView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13658,7 +13658,7 @@ void PythonQtShell_QHeaderView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13680,7 +13680,7 @@ bool PythonQtShell_QHeaderView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13713,7 +13713,7 @@ int PythonQtShell_QHeaderView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13746,7 +13746,7 @@ void PythonQtShell_QHeaderView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13768,7 +13768,7 @@ int PythonQtShell_QHeaderView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13801,7 +13801,7 @@ void PythonQtShell_QHeaderView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13823,7 +13823,7 @@ void PythonQtShell_QHeaderView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13845,7 +13845,7 @@ QModelIndex PythonQtShell_QHeaderView::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13878,7 +13878,7 @@ void PythonQtShell_QHeaderView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13900,7 +13900,7 @@ void PythonQtShell_QHeaderView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13922,7 +13922,7 @@ QVariant PythonQtShell_QHeaderView::inputMethodQuery(Qt::InputMethodQuery quer { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13955,7 +13955,7 @@ bool PythonQtShell_QHeaderView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13988,7 +13988,7 @@ void PythonQtShell_QHeaderView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14010,7 +14010,7 @@ void PythonQtShell_QHeaderView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14032,7 +14032,7 @@ void PythonQtShell_QHeaderView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14054,7 +14054,7 @@ void PythonQtShell_QHeaderView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14076,7 +14076,7 @@ int PythonQtShell_QHeaderView::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14109,7 +14109,7 @@ QSize PythonQtShell_QHeaderView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14142,7 +14142,7 @@ void PythonQtShell_QHeaderView::mouseDoubleClickEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14164,7 +14164,7 @@ void PythonQtShell_QHeaderView::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14186,7 +14186,7 @@ void PythonQtShell_QHeaderView::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14208,7 +14208,7 @@ void PythonQtShell_QHeaderView::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14230,7 +14230,7 @@ QModelIndex PythonQtShell_QHeaderView::moveCursor(QAbstractItemView::CursorActi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14263,7 +14263,7 @@ void PythonQtShell_QHeaderView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14285,7 +14285,7 @@ bool PythonQtShell_QHeaderView::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14318,7 +14318,7 @@ QPaintEngine* PythonQtShell_QHeaderView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14351,7 +14351,7 @@ void PythonQtShell_QHeaderView::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14373,7 +14373,7 @@ void PythonQtShell_QHeaderView::paintSection(QPainter* painter0, const QRect& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintSection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14395,7 +14395,7 @@ QPaintDevice* PythonQtShell_QHeaderView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14428,7 +14428,7 @@ void PythonQtShell_QHeaderView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14450,7 +14450,7 @@ void PythonQtShell_QHeaderView::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14472,7 +14472,7 @@ void PythonQtShell_QHeaderView::rowsAboutToBeRemoved(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14494,7 +14494,7 @@ void PythonQtShell_QHeaderView::rowsInserted(const QModelIndex& parent0, int s { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14516,7 +14516,7 @@ void PythonQtShell_QHeaderView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14538,7 +14538,7 @@ void PythonQtShell_QHeaderView::scrollTo(const QModelIndex& index0, QAbstractIt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14560,7 +14560,7 @@ QSize PythonQtShell_QHeaderView::sectionSizeFromContents(int logicalIndex0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sectionSizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14593,7 +14593,7 @@ void PythonQtShell_QHeaderView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14615,7 +14615,7 @@ QList PythonQtShell_QHeaderView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14648,7 +14648,7 @@ void PythonQtShell_QHeaderView::selectionChanged(const QItemSelection& selected { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14670,7 +14670,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QHeaderView::selectionCommand { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14703,7 +14703,7 @@ void PythonQtShell_QHeaderView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14725,7 +14725,7 @@ void PythonQtShell_QHeaderView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14747,7 +14747,7 @@ void PythonQtShell_QHeaderView::setSelection(const QRect& rect0, QItemSelection { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14769,7 +14769,7 @@ void PythonQtShell_QHeaderView::setSelectionModel(QItemSelectionModel* selectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14791,7 +14791,7 @@ void PythonQtShell_QHeaderView::setVisible(bool v0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14813,7 +14813,7 @@ void PythonQtShell_QHeaderView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14835,7 +14835,7 @@ QPainter* PythonQtShell_QHeaderView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14868,7 +14868,7 @@ void PythonQtShell_QHeaderView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14890,7 +14890,7 @@ QSize PythonQtShell_QHeaderView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14923,7 +14923,7 @@ int PythonQtShell_QHeaderView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14956,7 +14956,7 @@ int PythonQtShell_QHeaderView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14989,7 +14989,7 @@ void PythonQtShell_QHeaderView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15011,7 +15011,7 @@ void PythonQtShell_QHeaderView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15033,7 +15033,7 @@ void PythonQtShell_QHeaderView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15055,7 +15055,7 @@ void PythonQtShell_QHeaderView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15077,7 +15077,7 @@ void PythonQtShell_QHeaderView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15099,7 +15099,7 @@ void PythonQtShell_QHeaderView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15121,7 +15121,7 @@ int PythonQtShell_QHeaderView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15154,7 +15154,7 @@ void PythonQtShell_QHeaderView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15176,7 +15176,7 @@ void PythonQtShell_QHeaderView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15198,7 +15198,7 @@ QStyleOptionViewItem PythonQtShell_QHeaderView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15231,7 +15231,7 @@ bool PythonQtShell_QHeaderView::viewportEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15264,7 +15264,7 @@ QSize PythonQtShell_QHeaderView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15297,7 +15297,7 @@ QRect PythonQtShell_QHeaderView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15330,7 +15330,7 @@ QRegion PythonQtShell_QHeaderView::visualRegionForSelection(const QItemSelectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15363,7 +15363,7 @@ void PythonQtShell_QHeaderView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp index 9a84a1640..447923c4e 100644 --- a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp +++ b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp @@ -91,7 +91,7 @@ QSize PythonQtShell_QIconEngine::actualSize(const QSize& size0, QIcon::Mode m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actualSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -124,7 +124,7 @@ void PythonQtShell_QIconEngine::addFile(const QString& fileName0, const QSize& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addFile"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -146,7 +146,7 @@ void PythonQtShell_QIconEngine::addPixmap(const QPixmap& pixmap0, QIcon::Mode { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -168,7 +168,7 @@ QList PythonQtShell_QIconEngine::availableSizes(QIcon::Mode mode0, QIc { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availableSizes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -201,7 +201,7 @@ QIconEngine* PythonQtShell_QIconEngine::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -234,7 +234,7 @@ QString PythonQtShell_QIconEngine::iconName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("iconName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -267,7 +267,7 @@ QString PythonQtShell_QIconEngine::key() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("key"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -300,7 +300,7 @@ void PythonQtShell_QIconEngine::paint(QPainter* painter0, const QRect& rect1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -322,7 +322,7 @@ QPixmap PythonQtShell_QIconEngine::pixmap(const QSize& size0, QIcon::Mode mod { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -355,7 +355,7 @@ bool PythonQtShell_QIconEngine::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -388,7 +388,7 @@ void PythonQtShell_QIconEngine::virtual_hook(int id0, void* data1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("virtual_hook"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -410,7 +410,7 @@ bool PythonQtShell_QIconEngine::write(QDataStream& out0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -513,7 +513,7 @@ bool PythonQtShell_QImageIOHandler::canRead() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -546,7 +546,7 @@ int PythonQtShell_QImageIOHandler::currentImageNumber() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentImageNumber"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -579,7 +579,7 @@ QRect PythonQtShell_QImageIOHandler::currentImageRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentImageRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -612,7 +612,7 @@ int PythonQtShell_QImageIOHandler::imageCount() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("imageCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -645,7 +645,7 @@ bool PythonQtShell_QImageIOHandler::jumpToImage(int imageNumber0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("jumpToImage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -678,7 +678,7 @@ bool PythonQtShell_QImageIOHandler::jumpToNextImage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("jumpToNextImage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -711,7 +711,7 @@ int PythonQtShell_QImageIOHandler::loopCount() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("loopCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -744,7 +744,7 @@ int PythonQtShell_QImageIOHandler::nextImageDelay() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextImageDelay"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -777,7 +777,7 @@ QVariant PythonQtShell_QImageIOHandler::option(QImageIOHandler::ImageOption op { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("option"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -810,7 +810,7 @@ bool PythonQtShell_QImageIOHandler::read(QImage* image0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -843,7 +843,7 @@ void PythonQtShell_QImageIOHandler::setOption(QImageIOHandler::ImageOption opti { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -865,7 +865,7 @@ bool PythonQtShell_QImageIOHandler::supportsOption(QImageIOHandler::ImageOption { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -898,7 +898,7 @@ bool PythonQtShell_QImageIOHandler::write(const QImage& image0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1026,7 +1026,7 @@ QImageIOPlugin::Capabilities PythonQtShell_QImageIOPlugin::capabilities(QIODevi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("capabilities"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1059,7 +1059,7 @@ void PythonQtShell_QImageIOPlugin::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1081,7 +1081,7 @@ QImageIOHandler* PythonQtShell_QImageIOPlugin::create(QIODevice* device0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1114,7 +1114,7 @@ void PythonQtShell_QImageIOPlugin::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1136,7 +1136,7 @@ bool PythonQtShell_QImageIOPlugin::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1169,7 +1169,7 @@ bool PythonQtShell_QImageIOPlugin::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1202,7 +1202,7 @@ void PythonQtShell_QImageIOPlugin::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1675,7 +1675,7 @@ void PythonQtShell_QInputDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1697,7 +1697,7 @@ void PythonQtShell_QInputDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1719,7 +1719,7 @@ void PythonQtShell_QInputDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1741,7 +1741,7 @@ void PythonQtShell_QInputDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1763,7 +1763,7 @@ void PythonQtShell_QInputDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1785,7 +1785,7 @@ void PythonQtShell_QInputDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1807,7 +1807,7 @@ void PythonQtShell_QInputDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1829,7 +1829,7 @@ int PythonQtShell_QInputDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1862,7 +1862,7 @@ void PythonQtShell_QInputDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1884,7 +1884,7 @@ void PythonQtShell_QInputDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1906,7 +1906,7 @@ void PythonQtShell_QInputDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1928,7 +1928,7 @@ void PythonQtShell_QInputDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1950,7 +1950,7 @@ void PythonQtShell_QInputDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1972,7 +1972,7 @@ void PythonQtShell_QInputDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1994,7 +1994,7 @@ bool PythonQtShell_QInputDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2027,7 +2027,7 @@ bool PythonQtShell_QInputDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2060,7 +2060,7 @@ int PythonQtShell_QInputDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2093,7 +2093,7 @@ void PythonQtShell_QInputDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2115,7 +2115,7 @@ bool PythonQtShell_QInputDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2148,7 +2148,7 @@ void PythonQtShell_QInputDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2170,7 +2170,7 @@ bool PythonQtShell_QInputDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2203,7 +2203,7 @@ int PythonQtShell_QInputDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2236,7 +2236,7 @@ void PythonQtShell_QInputDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2258,7 +2258,7 @@ void PythonQtShell_QInputDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2280,7 +2280,7 @@ void PythonQtShell_QInputDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2302,7 +2302,7 @@ QVariant PythonQtShell_QInputDialog::inputMethodQuery(Qt::InputMethodQuery arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2335,7 +2335,7 @@ void PythonQtShell_QInputDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2357,7 +2357,7 @@ void PythonQtShell_QInputDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2379,7 +2379,7 @@ void PythonQtShell_QInputDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2401,7 +2401,7 @@ int PythonQtShell_QInputDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2434,7 +2434,7 @@ QSize PythonQtShell_QInputDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2467,7 +2467,7 @@ void PythonQtShell_QInputDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2489,7 +2489,7 @@ void PythonQtShell_QInputDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2511,7 +2511,7 @@ void PythonQtShell_QInputDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2533,7 +2533,7 @@ void PythonQtShell_QInputDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2555,7 +2555,7 @@ void PythonQtShell_QInputDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2577,7 +2577,7 @@ bool PythonQtShell_QInputDialog::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2610,7 +2610,7 @@ QPaintEngine* PythonQtShell_QInputDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2643,7 +2643,7 @@ void PythonQtShell_QInputDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2665,7 +2665,7 @@ QPaintDevice* PythonQtShell_QInputDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2698,7 +2698,7 @@ void PythonQtShell_QInputDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2720,7 +2720,7 @@ void PythonQtShell_QInputDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2742,7 +2742,7 @@ void PythonQtShell_QInputDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2764,7 +2764,7 @@ QPainter* PythonQtShell_QInputDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2797,7 +2797,7 @@ void PythonQtShell_QInputDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2819,7 +2819,7 @@ QSize PythonQtShell_QInputDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2852,7 +2852,7 @@ void PythonQtShell_QInputDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2874,7 +2874,7 @@ void PythonQtShell_QInputDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2896,7 +2896,7 @@ void PythonQtShell_QInputDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3328,7 +3328,7 @@ void PythonQtShell_QIntValidator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3350,7 +3350,7 @@ void PythonQtShell_QIntValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3372,7 +3372,7 @@ bool PythonQtShell_QIntValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3405,7 +3405,7 @@ bool PythonQtShell_QIntValidator::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3438,7 +3438,7 @@ void PythonQtShell_QIntValidator::fixup(QString& input0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3460,7 +3460,7 @@ void PythonQtShell_QIntValidator::setRange(int bottom0, int top1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3482,7 +3482,7 @@ void PythonQtShell_QIntValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3504,7 +3504,7 @@ QValidator::State PythonQtShell_QIntValidator::validate(QString& arg__1, int& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3589,7 +3589,7 @@ void PythonQtShell_QItemDelegate::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3611,7 +3611,7 @@ QWidget* PythonQtShell_QItemDelegate::createEditor(QWidget* parent0, const QSt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3644,7 +3644,7 @@ void PythonQtShell_QItemDelegate::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3666,7 +3666,7 @@ void PythonQtShell_QItemDelegate::destroyEditor(QWidget* editor0, const QModelI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("destroyEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3688,7 +3688,7 @@ void PythonQtShell_QItemDelegate::drawCheck(QPainter* painter0, const QStyleOpt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawCheck"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3710,7 +3710,7 @@ void PythonQtShell_QItemDelegate::drawDecoration(QPainter* painter0, const QSty { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawDecoration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3732,7 +3732,7 @@ void PythonQtShell_QItemDelegate::drawDisplay(QPainter* painter0, const QStyleO { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawDisplay"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3754,7 +3754,7 @@ void PythonQtShell_QItemDelegate::drawFocus(QPainter* painter0, const QStyleOpt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawFocus"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3776,7 +3776,7 @@ bool PythonQtShell_QItemDelegate::editorEvent(QEvent* event0, QAbstractItemMod { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3809,7 +3809,7 @@ bool PythonQtShell_QItemDelegate::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3842,7 +3842,7 @@ bool PythonQtShell_QItemDelegate::eventFilter(QObject* object0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3875,7 +3875,7 @@ bool PythonQtShell_QItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3908,7 +3908,7 @@ void PythonQtShell_QItemDelegate::paint(QPainter* painter0, const QStyleOptionV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3930,7 +3930,7 @@ QVector PythonQtShell_QItemDelegate::paintingRoles() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintingRoles"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3963,7 +3963,7 @@ void PythonQtShell_QItemDelegate::setEditorData(QWidget* editor0, const QModelI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3985,7 +3985,7 @@ void PythonQtShell_QItemDelegate::setModelData(QWidget* editor0, QAbstractItemM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModelData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4007,7 +4007,7 @@ QSize PythonQtShell_QItemDelegate::sizeHint(const QStyleOptionViewItem& option { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4040,7 +4040,7 @@ void PythonQtShell_QItemDelegate::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4062,7 +4062,7 @@ void PythonQtShell_QItemDelegate::updateEditorGeometry(QWidget* editor0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4177,7 +4177,7 @@ QWidget* PythonQtShell_QItemEditorCreatorBase::createWidget(QWidget* parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4210,7 +4210,7 @@ QByteArray PythonQtShell_QItemEditorCreatorBase::valuePropertyName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("valuePropertyName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4263,7 +4263,7 @@ QWidget* PythonQtShell_QItemEditorFactory::createEditor(int userType0, QWidget { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4296,7 +4296,7 @@ QByteArray PythonQtShell_QItemEditorFactory::valuePropertyName(int userType0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("valuePropertyName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4639,7 +4639,7 @@ void PythonQtShell_QItemSelectionModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4661,7 +4661,7 @@ void PythonQtShell_QItemSelectionModel::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4683,7 +4683,7 @@ void PythonQtShell_QItemSelectionModel::clearCurrentIndex() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clearCurrentIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4705,7 +4705,7 @@ void PythonQtShell_QItemSelectionModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4727,7 +4727,7 @@ bool PythonQtShell_QItemSelectionModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4760,7 +4760,7 @@ bool PythonQtShell_QItemSelectionModel::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4793,7 +4793,7 @@ void PythonQtShell_QItemSelectionModel::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4815,7 +4815,7 @@ void PythonQtShell_QItemSelectionModel::select(const QItemSelection& selection0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4837,7 +4837,7 @@ void PythonQtShell_QItemSelectionModel::select(const QModelIndex& index0, QItem { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4859,7 +4859,7 @@ void PythonQtShell_QItemSelectionModel::setCurrentIndex(const QModelIndex& inde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setCurrentIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4881,7 +4881,7 @@ void PythonQtShell_QItemSelectionModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5199,7 +5199,7 @@ void PythonQtShell_QKeyEventTransition::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5221,7 +5221,7 @@ void PythonQtShell_QKeyEventTransition::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5243,7 +5243,7 @@ bool PythonQtShell_QKeyEventTransition::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5276,7 +5276,7 @@ bool PythonQtShell_QKeyEventTransition::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5309,7 +5309,7 @@ bool PythonQtShell_QKeyEventTransition::eventTest(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5342,7 +5342,7 @@ void PythonQtShell_QKeyEventTransition::onTransition(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5364,7 +5364,7 @@ void PythonQtShell_QKeyEventTransition::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5433,7 +5433,7 @@ void PythonQtShell_QKeySequenceEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5455,7 +5455,7 @@ void PythonQtShell_QKeySequenceEdit::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5477,7 +5477,7 @@ void PythonQtShell_QKeySequenceEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5499,7 +5499,7 @@ void PythonQtShell_QKeySequenceEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5521,7 +5521,7 @@ void PythonQtShell_QKeySequenceEdit::contextMenuEvent(QContextMenuEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5543,7 +5543,7 @@ void PythonQtShell_QKeySequenceEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5565,7 +5565,7 @@ int PythonQtShell_QKeySequenceEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5598,7 +5598,7 @@ void PythonQtShell_QKeySequenceEdit::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5620,7 +5620,7 @@ void PythonQtShell_QKeySequenceEdit::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5642,7 +5642,7 @@ void PythonQtShell_QKeySequenceEdit::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5664,7 +5664,7 @@ void PythonQtShell_QKeySequenceEdit::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5686,7 +5686,7 @@ void PythonQtShell_QKeySequenceEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5708,7 +5708,7 @@ bool PythonQtShell_QKeySequenceEdit::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5741,7 +5741,7 @@ bool PythonQtShell_QKeySequenceEdit::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5774,7 +5774,7 @@ void PythonQtShell_QKeySequenceEdit::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5796,7 +5796,7 @@ bool PythonQtShell_QKeySequenceEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5829,7 +5829,7 @@ void PythonQtShell_QKeySequenceEdit::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5851,7 +5851,7 @@ bool PythonQtShell_QKeySequenceEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5884,7 +5884,7 @@ int PythonQtShell_QKeySequenceEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5917,7 +5917,7 @@ void PythonQtShell_QKeySequenceEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5939,7 +5939,7 @@ void PythonQtShell_QKeySequenceEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5961,7 +5961,7 @@ void PythonQtShell_QKeySequenceEdit::inputMethodEvent(QInputMethodEvent* arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5983,7 +5983,7 @@ QVariant PythonQtShell_QKeySequenceEdit::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6016,7 +6016,7 @@ void PythonQtShell_QKeySequenceEdit::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6038,7 +6038,7 @@ void PythonQtShell_QKeySequenceEdit::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6060,7 +6060,7 @@ void PythonQtShell_QKeySequenceEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6082,7 +6082,7 @@ int PythonQtShell_QKeySequenceEdit::metric(QPaintDevice::PaintDeviceMetric arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6115,7 +6115,7 @@ QSize PythonQtShell_QKeySequenceEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6148,7 +6148,7 @@ void PythonQtShell_QKeySequenceEdit::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6170,7 +6170,7 @@ void PythonQtShell_QKeySequenceEdit::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6192,7 +6192,7 @@ void PythonQtShell_QKeySequenceEdit::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6214,7 +6214,7 @@ void PythonQtShell_QKeySequenceEdit::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6236,7 +6236,7 @@ void PythonQtShell_QKeySequenceEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6258,7 +6258,7 @@ bool PythonQtShell_QKeySequenceEdit::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6291,7 +6291,7 @@ QPaintEngine* PythonQtShell_QKeySequenceEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6324,7 +6324,7 @@ void PythonQtShell_QKeySequenceEdit::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6346,7 +6346,7 @@ QPaintDevice* PythonQtShell_QKeySequenceEdit::redirected(QPoint* offset0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6379,7 +6379,7 @@ void PythonQtShell_QKeySequenceEdit::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6401,7 +6401,7 @@ void PythonQtShell_QKeySequenceEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6423,7 +6423,7 @@ QPainter* PythonQtShell_QKeySequenceEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6456,7 +6456,7 @@ void PythonQtShell_QKeySequenceEdit::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6478,7 +6478,7 @@ QSize PythonQtShell_QKeySequenceEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6511,7 +6511,7 @@ void PythonQtShell_QKeySequenceEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6533,7 +6533,7 @@ void PythonQtShell_QKeySequenceEdit::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6555,7 +6555,7 @@ void PythonQtShell_QKeySequenceEdit::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6609,7 +6609,7 @@ void PythonQtShell_QLCDNumber::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6631,7 +6631,7 @@ void PythonQtShell_QLCDNumber::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6653,7 +6653,7 @@ void PythonQtShell_QLCDNumber::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6675,7 +6675,7 @@ void PythonQtShell_QLCDNumber::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6697,7 +6697,7 @@ void PythonQtShell_QLCDNumber::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6719,7 +6719,7 @@ void PythonQtShell_QLCDNumber::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6741,7 +6741,7 @@ int PythonQtShell_QLCDNumber::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6774,7 +6774,7 @@ void PythonQtShell_QLCDNumber::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6796,7 +6796,7 @@ void PythonQtShell_QLCDNumber::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6818,7 +6818,7 @@ void PythonQtShell_QLCDNumber::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6840,7 +6840,7 @@ void PythonQtShell_QLCDNumber::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6862,7 +6862,7 @@ void PythonQtShell_QLCDNumber::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6884,7 +6884,7 @@ bool PythonQtShell_QLCDNumber::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6917,7 +6917,7 @@ bool PythonQtShell_QLCDNumber::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6950,7 +6950,7 @@ void PythonQtShell_QLCDNumber::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6972,7 +6972,7 @@ bool PythonQtShell_QLCDNumber::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7005,7 +7005,7 @@ void PythonQtShell_QLCDNumber::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7027,7 +7027,7 @@ bool PythonQtShell_QLCDNumber::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7060,7 +7060,7 @@ int PythonQtShell_QLCDNumber::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7093,7 +7093,7 @@ void PythonQtShell_QLCDNumber::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7115,7 +7115,7 @@ void PythonQtShell_QLCDNumber::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7137,7 +7137,7 @@ void PythonQtShell_QLCDNumber::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7159,7 +7159,7 @@ QVariant PythonQtShell_QLCDNumber::inputMethodQuery(Qt::InputMethodQuery arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7192,7 +7192,7 @@ void PythonQtShell_QLCDNumber::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7214,7 +7214,7 @@ void PythonQtShell_QLCDNumber::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7236,7 +7236,7 @@ void PythonQtShell_QLCDNumber::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7258,7 +7258,7 @@ int PythonQtShell_QLCDNumber::metric(QPaintDevice::PaintDeviceMetric arg__1) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7291,7 +7291,7 @@ QSize PythonQtShell_QLCDNumber::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7324,7 +7324,7 @@ void PythonQtShell_QLCDNumber::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7346,7 +7346,7 @@ void PythonQtShell_QLCDNumber::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7368,7 +7368,7 @@ void PythonQtShell_QLCDNumber::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7390,7 +7390,7 @@ void PythonQtShell_QLCDNumber::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7412,7 +7412,7 @@ void PythonQtShell_QLCDNumber::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7434,7 +7434,7 @@ bool PythonQtShell_QLCDNumber::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7467,7 +7467,7 @@ QPaintEngine* PythonQtShell_QLCDNumber::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7500,7 +7500,7 @@ void PythonQtShell_QLCDNumber::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7522,7 +7522,7 @@ QPaintDevice* PythonQtShell_QLCDNumber::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7555,7 +7555,7 @@ void PythonQtShell_QLCDNumber::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7577,7 +7577,7 @@ void PythonQtShell_QLCDNumber::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7599,7 +7599,7 @@ QPainter* PythonQtShell_QLCDNumber::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7632,7 +7632,7 @@ void PythonQtShell_QLCDNumber::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7654,7 +7654,7 @@ QSize PythonQtShell_QLCDNumber::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7687,7 +7687,7 @@ void PythonQtShell_QLCDNumber::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7709,7 +7709,7 @@ void PythonQtShell_QLCDNumber::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7731,7 +7731,7 @@ void PythonQtShell_QLCDNumber::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7835,7 +7835,7 @@ void PythonQtShell_QLabel::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7857,7 +7857,7 @@ void PythonQtShell_QLabel::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7879,7 +7879,7 @@ void PythonQtShell_QLabel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7901,7 +7901,7 @@ void PythonQtShell_QLabel::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7923,7 +7923,7 @@ void PythonQtShell_QLabel::contextMenuEvent(QContextMenuEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7945,7 +7945,7 @@ void PythonQtShell_QLabel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7967,7 +7967,7 @@ int PythonQtShell_QLabel::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8000,7 +8000,7 @@ void PythonQtShell_QLabel::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8022,7 +8022,7 @@ void PythonQtShell_QLabel::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8044,7 +8044,7 @@ void PythonQtShell_QLabel::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8066,7 +8066,7 @@ void PythonQtShell_QLabel::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8088,7 +8088,7 @@ void PythonQtShell_QLabel::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8110,7 +8110,7 @@ bool PythonQtShell_QLabel::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8143,7 +8143,7 @@ bool PythonQtShell_QLabel::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8176,7 +8176,7 @@ void PythonQtShell_QLabel::focusInEvent(QFocusEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8198,7 +8198,7 @@ bool PythonQtShell_QLabel::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8231,7 +8231,7 @@ void PythonQtShell_QLabel::focusOutEvent(QFocusEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8253,7 +8253,7 @@ bool PythonQtShell_QLabel::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8286,7 +8286,7 @@ int PythonQtShell_QLabel::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8319,7 +8319,7 @@ void PythonQtShell_QLabel::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8341,7 +8341,7 @@ void PythonQtShell_QLabel::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8363,7 +8363,7 @@ void PythonQtShell_QLabel::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8385,7 +8385,7 @@ QVariant PythonQtShell_QLabel::inputMethodQuery(Qt::InputMethodQuery arg__1) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8418,7 +8418,7 @@ void PythonQtShell_QLabel::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8440,7 +8440,7 @@ void PythonQtShell_QLabel::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8462,7 +8462,7 @@ void PythonQtShell_QLabel::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8484,7 +8484,7 @@ int PythonQtShell_QLabel::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8517,7 +8517,7 @@ QSize PythonQtShell_QLabel::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8550,7 +8550,7 @@ void PythonQtShell_QLabel::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8572,7 +8572,7 @@ void PythonQtShell_QLabel::mouseMoveEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8594,7 +8594,7 @@ void PythonQtShell_QLabel::mousePressEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8616,7 +8616,7 @@ void PythonQtShell_QLabel::mouseReleaseEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8638,7 +8638,7 @@ void PythonQtShell_QLabel::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8660,7 +8660,7 @@ bool PythonQtShell_QLabel::nativeEvent(const QByteArray& eventType0, void* me { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8693,7 +8693,7 @@ QPaintEngine* PythonQtShell_QLabel::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8726,7 +8726,7 @@ void PythonQtShell_QLabel::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8748,7 +8748,7 @@ QPaintDevice* PythonQtShell_QLabel::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8781,7 +8781,7 @@ void PythonQtShell_QLabel::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8803,7 +8803,7 @@ void PythonQtShell_QLabel::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8825,7 +8825,7 @@ QPainter* PythonQtShell_QLabel::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8858,7 +8858,7 @@ void PythonQtShell_QLabel::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8880,7 +8880,7 @@ QSize PythonQtShell_QLabel::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8913,7 +8913,7 @@ void PythonQtShell_QLabel::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8935,7 +8935,7 @@ void PythonQtShell_QLabel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8957,7 +8957,7 @@ void PythonQtShell_QLabel::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9141,7 +9141,7 @@ void PythonQtShell_QLayout::addItem(QLayoutItem* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9163,7 +9163,7 @@ void PythonQtShell_QLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9185,7 +9185,7 @@ QSizePolicy::ControlTypes PythonQtShell_QLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9218,7 +9218,7 @@ int PythonQtShell_QLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9251,7 +9251,7 @@ void PythonQtShell_QLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9273,7 +9273,7 @@ bool PythonQtShell_QLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9306,7 +9306,7 @@ bool PythonQtShell_QLayout::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9339,7 +9339,7 @@ Qt::Orientations PythonQtShell_QLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9372,7 +9372,7 @@ QRect PythonQtShell_QLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9405,7 +9405,7 @@ bool PythonQtShell_QLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9438,7 +9438,7 @@ int PythonQtShell_QLayout::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9471,7 +9471,7 @@ int PythonQtShell_QLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9504,7 +9504,7 @@ void PythonQtShell_QLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9526,7 +9526,7 @@ bool PythonQtShell_QLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9559,7 +9559,7 @@ QLayoutItem* PythonQtShell_QLayout::itemAt(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9592,7 +9592,7 @@ QLayout* PythonQtShell_QLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9625,7 +9625,7 @@ QSize PythonQtShell_QLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9658,7 +9658,7 @@ int PythonQtShell_QLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9691,7 +9691,7 @@ QSize PythonQtShell_QLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9724,7 +9724,7 @@ void PythonQtShell_QLayout::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9746,7 +9746,7 @@ QSize PythonQtShell_QLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9779,7 +9779,7 @@ QSpacerItem* PythonQtShell_QLayout::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9812,7 +9812,7 @@ QLayoutItem* PythonQtShell_QLayout::takeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9845,7 +9845,7 @@ void PythonQtShell_QLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9867,7 +9867,7 @@ QWidget* PythonQtShell_QLayout::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10112,7 +10112,7 @@ QSizePolicy::ControlTypes PythonQtShell_QLayoutItem::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10145,7 +10145,7 @@ Qt::Orientations PythonQtShell_QLayoutItem::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10178,7 +10178,7 @@ QRect PythonQtShell_QLayoutItem::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10211,7 +10211,7 @@ bool PythonQtShell_QLayoutItem::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10244,7 +10244,7 @@ int PythonQtShell_QLayoutItem::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10277,7 +10277,7 @@ void PythonQtShell_QLayoutItem::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10299,7 +10299,7 @@ bool PythonQtShell_QLayoutItem::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10332,7 +10332,7 @@ QLayout* PythonQtShell_QLayoutItem::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10365,7 +10365,7 @@ QSize PythonQtShell_QLayoutItem::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10398,7 +10398,7 @@ int PythonQtShell_QLayoutItem::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10431,7 +10431,7 @@ QSize PythonQtShell_QLayoutItem::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10464,7 +10464,7 @@ void PythonQtShell_QLayoutItem::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10486,7 +10486,7 @@ QSize PythonQtShell_QLayoutItem::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10519,7 +10519,7 @@ QSpacerItem* PythonQtShell_QLayoutItem::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10552,7 +10552,7 @@ QWidget* PythonQtShell_QLayoutItem::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10680,7 +10680,7 @@ void PythonQtShell_QLineEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10702,7 +10702,7 @@ void PythonQtShell_QLineEdit::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10724,7 +10724,7 @@ void PythonQtShell_QLineEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10746,7 +10746,7 @@ void PythonQtShell_QLineEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10768,7 +10768,7 @@ void PythonQtShell_QLineEdit::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10790,7 +10790,7 @@ void PythonQtShell_QLineEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10812,7 +10812,7 @@ int PythonQtShell_QLineEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10845,7 +10845,7 @@ void PythonQtShell_QLineEdit::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10867,7 +10867,7 @@ void PythonQtShell_QLineEdit::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10889,7 +10889,7 @@ void PythonQtShell_QLineEdit::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10911,7 +10911,7 @@ void PythonQtShell_QLineEdit::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10933,7 +10933,7 @@ void PythonQtShell_QLineEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10955,7 +10955,7 @@ bool PythonQtShell_QLineEdit::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10988,7 +10988,7 @@ bool PythonQtShell_QLineEdit::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11021,7 +11021,7 @@ void PythonQtShell_QLineEdit::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11043,7 +11043,7 @@ bool PythonQtShell_QLineEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11076,7 +11076,7 @@ void PythonQtShell_QLineEdit::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11098,7 +11098,7 @@ bool PythonQtShell_QLineEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11131,7 +11131,7 @@ int PythonQtShell_QLineEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11164,7 +11164,7 @@ void PythonQtShell_QLineEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11186,7 +11186,7 @@ void PythonQtShell_QLineEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11208,7 +11208,7 @@ void PythonQtShell_QLineEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11230,7 +11230,7 @@ QVariant PythonQtShell_QLineEdit::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11263,7 +11263,7 @@ void PythonQtShell_QLineEdit::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11285,7 +11285,7 @@ void PythonQtShell_QLineEdit::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11307,7 +11307,7 @@ void PythonQtShell_QLineEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11329,7 +11329,7 @@ int PythonQtShell_QLineEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11362,7 +11362,7 @@ QSize PythonQtShell_QLineEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11395,7 +11395,7 @@ void PythonQtShell_QLineEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11417,7 +11417,7 @@ void PythonQtShell_QLineEdit::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11439,7 +11439,7 @@ void PythonQtShell_QLineEdit::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11461,7 +11461,7 @@ void PythonQtShell_QLineEdit::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11483,7 +11483,7 @@ void PythonQtShell_QLineEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11505,7 +11505,7 @@ bool PythonQtShell_QLineEdit::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11538,7 +11538,7 @@ QPaintEngine* PythonQtShell_QLineEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11571,7 +11571,7 @@ void PythonQtShell_QLineEdit::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11593,7 +11593,7 @@ QPaintDevice* PythonQtShell_QLineEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11626,7 +11626,7 @@ void PythonQtShell_QLineEdit::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11648,7 +11648,7 @@ void PythonQtShell_QLineEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11670,7 +11670,7 @@ QPainter* PythonQtShell_QLineEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11703,7 +11703,7 @@ void PythonQtShell_QLineEdit::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11725,7 +11725,7 @@ QSize PythonQtShell_QLineEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11758,7 +11758,7 @@ void PythonQtShell_QLineEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11780,7 +11780,7 @@ void PythonQtShell_QLineEdit::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11802,7 +11802,7 @@ void PythonQtShell_QLineEdit::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12190,7 +12190,7 @@ void PythonQtShell_QListView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12212,7 +12212,7 @@ void PythonQtShell_QListView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12234,7 +12234,7 @@ void PythonQtShell_QListView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12256,7 +12256,7 @@ void PythonQtShell_QListView::closeEditor(QWidget* editor0, QAbstractItemDelega { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12278,7 +12278,7 @@ void PythonQtShell_QListView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12300,7 +12300,7 @@ void PythonQtShell_QListView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12322,7 +12322,7 @@ void PythonQtShell_QListView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12344,7 +12344,7 @@ void PythonQtShell_QListView::currentChanged(const QModelIndex& current0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12366,7 +12366,7 @@ void PythonQtShell_QListView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12388,7 +12388,7 @@ void PythonQtShell_QListView::dataChanged(const QModelIndex& topLeft0, const QM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12410,7 +12410,7 @@ int PythonQtShell_QListView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12443,7 +12443,7 @@ void PythonQtShell_QListView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12465,7 +12465,7 @@ void PythonQtShell_QListView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12487,7 +12487,7 @@ void PythonQtShell_QListView::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12509,7 +12509,7 @@ void PythonQtShell_QListView::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12531,7 +12531,7 @@ void PythonQtShell_QListView::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12553,7 +12553,7 @@ bool PythonQtShell_QListView::edit(const QModelIndex& index0, QAbstractItemVie { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12586,7 +12586,7 @@ void PythonQtShell_QListView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12608,7 +12608,7 @@ void PythonQtShell_QListView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12630,7 +12630,7 @@ bool PythonQtShell_QListView::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12663,7 +12663,7 @@ bool PythonQtShell_QListView::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12696,7 +12696,7 @@ void PythonQtShell_QListView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12718,7 +12718,7 @@ bool PythonQtShell_QListView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12751,7 +12751,7 @@ void PythonQtShell_QListView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12773,7 +12773,7 @@ bool PythonQtShell_QListView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12806,7 +12806,7 @@ int PythonQtShell_QListView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12839,7 +12839,7 @@ void PythonQtShell_QListView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12861,7 +12861,7 @@ int PythonQtShell_QListView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12894,7 +12894,7 @@ void PythonQtShell_QListView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12916,7 +12916,7 @@ void PythonQtShell_QListView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12938,7 +12938,7 @@ QModelIndex PythonQtShell_QListView::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12971,7 +12971,7 @@ void PythonQtShell_QListView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12993,7 +12993,7 @@ void PythonQtShell_QListView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13015,7 +13015,7 @@ QVariant PythonQtShell_QListView::inputMethodQuery(Qt::InputMethodQuery query0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13048,7 +13048,7 @@ bool PythonQtShell_QListView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13081,7 +13081,7 @@ void PythonQtShell_QListView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13103,7 +13103,7 @@ void PythonQtShell_QListView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13125,7 +13125,7 @@ void PythonQtShell_QListView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13147,7 +13147,7 @@ void PythonQtShell_QListView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13169,7 +13169,7 @@ int PythonQtShell_QListView::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13202,7 +13202,7 @@ QSize PythonQtShell_QListView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13235,7 +13235,7 @@ void PythonQtShell_QListView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13257,7 +13257,7 @@ void PythonQtShell_QListView::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13279,7 +13279,7 @@ void PythonQtShell_QListView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13301,7 +13301,7 @@ void PythonQtShell_QListView::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13323,7 +13323,7 @@ QModelIndex PythonQtShell_QListView::moveCursor(QAbstractItemView::CursorAction { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13356,7 +13356,7 @@ void PythonQtShell_QListView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13378,7 +13378,7 @@ bool PythonQtShell_QListView::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13411,7 +13411,7 @@ QPaintEngine* PythonQtShell_QListView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13444,7 +13444,7 @@ void PythonQtShell_QListView::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13466,7 +13466,7 @@ QPaintDevice* PythonQtShell_QListView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13499,7 +13499,7 @@ void PythonQtShell_QListView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13521,7 +13521,7 @@ void PythonQtShell_QListView::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13543,7 +13543,7 @@ void PythonQtShell_QListView::rowsAboutToBeRemoved(const QModelIndex& parent0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13565,7 +13565,7 @@ void PythonQtShell_QListView::rowsInserted(const QModelIndex& parent0, int sta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13587,7 +13587,7 @@ void PythonQtShell_QListView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13609,7 +13609,7 @@ void PythonQtShell_QListView::scrollTo(const QModelIndex& index0, QAbstractItem { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13631,7 +13631,7 @@ void PythonQtShell_QListView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13653,7 +13653,7 @@ QList PythonQtShell_QListView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13686,7 +13686,7 @@ void PythonQtShell_QListView::selectionChanged(const QItemSelection& selected0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13708,7 +13708,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QListView::selectionCommand(c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13741,7 +13741,7 @@ void PythonQtShell_QListView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13763,7 +13763,7 @@ void PythonQtShell_QListView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13785,7 +13785,7 @@ void PythonQtShell_QListView::setSelection(const QRect& rect0, QItemSelectionMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13807,7 +13807,7 @@ void PythonQtShell_QListView::setSelectionModel(QItemSelectionModel* selectionM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13829,7 +13829,7 @@ void PythonQtShell_QListView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13851,7 +13851,7 @@ void PythonQtShell_QListView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13873,7 +13873,7 @@ QPainter* PythonQtShell_QListView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13906,7 +13906,7 @@ void PythonQtShell_QListView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13928,7 +13928,7 @@ QSize PythonQtShell_QListView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13961,7 +13961,7 @@ int PythonQtShell_QListView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13994,7 +13994,7 @@ int PythonQtShell_QListView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14027,7 +14027,7 @@ void PythonQtShell_QListView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14049,7 +14049,7 @@ void PythonQtShell_QListView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14071,7 +14071,7 @@ void PythonQtShell_QListView::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14093,7 +14093,7 @@ void PythonQtShell_QListView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14115,7 +14115,7 @@ void PythonQtShell_QListView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14137,7 +14137,7 @@ void PythonQtShell_QListView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14159,7 +14159,7 @@ int PythonQtShell_QListView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14192,7 +14192,7 @@ void PythonQtShell_QListView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14214,7 +14214,7 @@ void PythonQtShell_QListView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14236,7 +14236,7 @@ QStyleOptionViewItem PythonQtShell_QListView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14269,7 +14269,7 @@ bool PythonQtShell_QListView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14302,7 +14302,7 @@ QSize PythonQtShell_QListView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14335,7 +14335,7 @@ QRect PythonQtShell_QListView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14368,7 +14368,7 @@ QRegion PythonQtShell_QListView::visualRegionForSelection(const QItemSelection& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14401,7 +14401,7 @@ void PythonQtShell_QListView::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14611,7 +14611,7 @@ void PythonQtShell_QListWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14633,7 +14633,7 @@ void PythonQtShell_QListWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14655,7 +14655,7 @@ void PythonQtShell_QListWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14677,7 +14677,7 @@ void PythonQtShell_QListWidget::closeEditor(QWidget* editor0, QAbstractItemDele { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14699,7 +14699,7 @@ void PythonQtShell_QListWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14721,7 +14721,7 @@ void PythonQtShell_QListWidget::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14743,7 +14743,7 @@ void PythonQtShell_QListWidget::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14765,7 +14765,7 @@ void PythonQtShell_QListWidget::currentChanged(const QModelIndex& current0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14787,7 +14787,7 @@ void PythonQtShell_QListWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14809,7 +14809,7 @@ void PythonQtShell_QListWidget::dataChanged(const QModelIndex& topLeft0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14831,7 +14831,7 @@ int PythonQtShell_QListWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14864,7 +14864,7 @@ void PythonQtShell_QListWidget::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14886,7 +14886,7 @@ void PythonQtShell_QListWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14908,7 +14908,7 @@ void PythonQtShell_QListWidget::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14930,7 +14930,7 @@ void PythonQtShell_QListWidget::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14952,7 +14952,7 @@ void PythonQtShell_QListWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14974,7 +14974,7 @@ bool PythonQtShell_QListWidget::dropMimeData(int index0, const QMimeData* dat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15007,7 +15007,7 @@ bool PythonQtShell_QListWidget::edit(const QModelIndex& index0, QAbstractItemV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15040,7 +15040,7 @@ void PythonQtShell_QListWidget::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15062,7 +15062,7 @@ void PythonQtShell_QListWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15084,7 +15084,7 @@ bool PythonQtShell_QListWidget::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15117,7 +15117,7 @@ bool PythonQtShell_QListWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15150,7 +15150,7 @@ void PythonQtShell_QListWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15172,7 +15172,7 @@ bool PythonQtShell_QListWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15205,7 +15205,7 @@ void PythonQtShell_QListWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15227,7 +15227,7 @@ bool PythonQtShell_QListWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15260,7 +15260,7 @@ int PythonQtShell_QListWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15293,7 +15293,7 @@ void PythonQtShell_QListWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15315,7 +15315,7 @@ int PythonQtShell_QListWidget::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15348,7 +15348,7 @@ void PythonQtShell_QListWidget::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15370,7 +15370,7 @@ void PythonQtShell_QListWidget::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15392,7 +15392,7 @@ QModelIndex PythonQtShell_QListWidget::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15425,7 +15425,7 @@ void PythonQtShell_QListWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15447,7 +15447,7 @@ void PythonQtShell_QListWidget::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15469,7 +15469,7 @@ QVariant PythonQtShell_QListWidget::inputMethodQuery(Qt::InputMethodQuery quer { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15502,7 +15502,7 @@ bool PythonQtShell_QListWidget::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15535,7 +15535,7 @@ void PythonQtShell_QListWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15557,7 +15557,7 @@ void PythonQtShell_QListWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15579,7 +15579,7 @@ void PythonQtShell_QListWidget::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15601,7 +15601,7 @@ void PythonQtShell_QListWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15623,7 +15623,7 @@ int PythonQtShell_QListWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15656,7 +15656,7 @@ QMimeData* PythonQtShell_QListWidget::mimeData(const QList { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15689,7 +15689,7 @@ QStringList PythonQtShell_QListWidget::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15722,7 +15722,7 @@ QSize PythonQtShell_QListWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15755,7 +15755,7 @@ void PythonQtShell_QListWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15777,7 +15777,7 @@ void PythonQtShell_QListWidget::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15799,7 +15799,7 @@ void PythonQtShell_QListWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15821,7 +15821,7 @@ void PythonQtShell_QListWidget::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15843,7 +15843,7 @@ QModelIndex PythonQtShell_QListWidget::moveCursor(QAbstractItemView::CursorActi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15876,7 +15876,7 @@ void PythonQtShell_QListWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15898,7 +15898,7 @@ bool PythonQtShell_QListWidget::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15931,7 +15931,7 @@ QPaintEngine* PythonQtShell_QListWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15964,7 +15964,7 @@ void PythonQtShell_QListWidget::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15986,7 +15986,7 @@ QPaintDevice* PythonQtShell_QListWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16019,7 +16019,7 @@ void PythonQtShell_QListWidget::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16041,7 +16041,7 @@ void PythonQtShell_QListWidget::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16063,7 +16063,7 @@ void PythonQtShell_QListWidget::rowsAboutToBeRemoved(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16085,7 +16085,7 @@ void PythonQtShell_QListWidget::rowsInserted(const QModelIndex& parent0, int s { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16107,7 +16107,7 @@ void PythonQtShell_QListWidget::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16129,7 +16129,7 @@ void PythonQtShell_QListWidget::scrollTo(const QModelIndex& index0, QAbstractIt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16151,7 +16151,7 @@ void PythonQtShell_QListWidget::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16173,7 +16173,7 @@ QList PythonQtShell_QListWidget::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16206,7 +16206,7 @@ void PythonQtShell_QListWidget::selectionChanged(const QItemSelection& selected { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16228,7 +16228,7 @@ QItemSelectionModel::SelectionFlags PythonQtShell_QListWidget::selectionCommand { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16261,7 +16261,7 @@ void PythonQtShell_QListWidget::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16283,7 +16283,7 @@ void PythonQtShell_QListWidget::setSelection(const QRect& rect0, QItemSelection { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16305,7 +16305,7 @@ void PythonQtShell_QListWidget::setSelectionModel(QItemSelectionModel* selectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16327,7 +16327,7 @@ void PythonQtShell_QListWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16349,7 +16349,7 @@ void PythonQtShell_QListWidget::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16371,7 +16371,7 @@ QPainter* PythonQtShell_QListWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16404,7 +16404,7 @@ void PythonQtShell_QListWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16426,7 +16426,7 @@ QSize PythonQtShell_QListWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16459,7 +16459,7 @@ int PythonQtShell_QListWidget::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16492,7 +16492,7 @@ int PythonQtShell_QListWidget::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16525,7 +16525,7 @@ void PythonQtShell_QListWidget::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16547,7 +16547,7 @@ Qt::DropActions PythonQtShell_QListWidget::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16580,7 +16580,7 @@ void PythonQtShell_QListWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16602,7 +16602,7 @@ void PythonQtShell_QListWidget::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16624,7 +16624,7 @@ void PythonQtShell_QListWidget::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16646,7 +16646,7 @@ void PythonQtShell_QListWidget::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16668,7 +16668,7 @@ void PythonQtShell_QListWidget::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16690,7 +16690,7 @@ int PythonQtShell_QListWidget::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16723,7 +16723,7 @@ void PythonQtShell_QListWidget::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16745,7 +16745,7 @@ void PythonQtShell_QListWidget::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16767,7 +16767,7 @@ QStyleOptionViewItem PythonQtShell_QListWidget::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16800,7 +16800,7 @@ bool PythonQtShell_QListWidget::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16833,7 +16833,7 @@ QSize PythonQtShell_QListWidget::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16866,7 +16866,7 @@ QRect PythonQtShell_QListWidget::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16899,7 +16899,7 @@ QRegion PythonQtShell_QListWidget::visualRegionForSelection(const QItemSelectio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -16932,7 +16932,7 @@ void PythonQtShell_QListWidget::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17162,7 +17162,7 @@ QListWidgetItem* PythonQtShell_QListWidgetItem::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17195,7 +17195,7 @@ QVariant PythonQtShell_QListWidgetItem::data(int role0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17228,7 +17228,7 @@ void PythonQtShell_QListWidgetItem::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17250,7 +17250,7 @@ void PythonQtShell_QListWidgetItem::setData(int role0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -17272,7 +17272,7 @@ void PythonQtShell_QListWidgetItem::write(QDataStream& out0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp index accebc7d7..88a9fe78f 100644 --- a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp +++ b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp @@ -100,7 +100,7 @@ void PythonQtShell_QMainWindow::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -122,7 +122,7 @@ void PythonQtShell_QMainWindow::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -144,7 +144,7 @@ void PythonQtShell_QMainWindow::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -166,7 +166,7 @@ void PythonQtShell_QMainWindow::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -188,7 +188,7 @@ void PythonQtShell_QMainWindow::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -210,7 +210,7 @@ QMenu* PythonQtShell_QMainWindow::createPopupMenu() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createPopupMenu"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -243,7 +243,7 @@ void PythonQtShell_QMainWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -265,7 +265,7 @@ int PythonQtShell_QMainWindow::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -298,7 +298,7 @@ void PythonQtShell_QMainWindow::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -320,7 +320,7 @@ void PythonQtShell_QMainWindow::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -342,7 +342,7 @@ void PythonQtShell_QMainWindow::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -364,7 +364,7 @@ void PythonQtShell_QMainWindow::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -386,7 +386,7 @@ void PythonQtShell_QMainWindow::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -408,7 +408,7 @@ bool PythonQtShell_QMainWindow::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -441,7 +441,7 @@ bool PythonQtShell_QMainWindow::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -474,7 +474,7 @@ void PythonQtShell_QMainWindow::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -496,7 +496,7 @@ bool PythonQtShell_QMainWindow::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -529,7 +529,7 @@ void PythonQtShell_QMainWindow::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -551,7 +551,7 @@ bool PythonQtShell_QMainWindow::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -584,7 +584,7 @@ int PythonQtShell_QMainWindow::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -617,7 +617,7 @@ void PythonQtShell_QMainWindow::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -639,7 +639,7 @@ void PythonQtShell_QMainWindow::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -661,7 +661,7 @@ void PythonQtShell_QMainWindow::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -683,7 +683,7 @@ QVariant PythonQtShell_QMainWindow::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -716,7 +716,7 @@ void PythonQtShell_QMainWindow::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -738,7 +738,7 @@ void PythonQtShell_QMainWindow::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -760,7 +760,7 @@ void PythonQtShell_QMainWindow::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -782,7 +782,7 @@ int PythonQtShell_QMainWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -815,7 +815,7 @@ QSize PythonQtShell_QMainWindow::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -848,7 +848,7 @@ void PythonQtShell_QMainWindow::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -870,7 +870,7 @@ void PythonQtShell_QMainWindow::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -892,7 +892,7 @@ void PythonQtShell_QMainWindow::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -914,7 +914,7 @@ void PythonQtShell_QMainWindow::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -936,7 +936,7 @@ void PythonQtShell_QMainWindow::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -958,7 +958,7 @@ bool PythonQtShell_QMainWindow::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -991,7 +991,7 @@ QPaintEngine* PythonQtShell_QMainWindow::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1024,7 +1024,7 @@ void PythonQtShell_QMainWindow::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1046,7 +1046,7 @@ QPaintDevice* PythonQtShell_QMainWindow::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1079,7 +1079,7 @@ void PythonQtShell_QMainWindow::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1101,7 +1101,7 @@ void PythonQtShell_QMainWindow::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1123,7 +1123,7 @@ QPainter* PythonQtShell_QMainWindow::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1156,7 +1156,7 @@ void PythonQtShell_QMainWindow::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1178,7 +1178,7 @@ QSize PythonQtShell_QMainWindow::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1211,7 +1211,7 @@ void PythonQtShell_QMainWindow::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1233,7 +1233,7 @@ void PythonQtShell_QMainWindow::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1255,7 +1255,7 @@ void PythonQtShell_QMainWindow::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2055,7 +2055,7 @@ void PythonQtShell_QMdiArea::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2077,7 +2077,7 @@ void PythonQtShell_QMdiArea::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2099,7 +2099,7 @@ void PythonQtShell_QMdiArea::childEvent(QChildEvent* childEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2121,7 +2121,7 @@ void PythonQtShell_QMdiArea::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2143,7 +2143,7 @@ void PythonQtShell_QMdiArea::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2165,7 +2165,7 @@ void PythonQtShell_QMdiArea::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2187,7 +2187,7 @@ int PythonQtShell_QMdiArea::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2220,7 +2220,7 @@ void PythonQtShell_QMdiArea::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2242,7 +2242,7 @@ void PythonQtShell_QMdiArea::dragLeaveEvent(QDragLeaveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2264,7 +2264,7 @@ void PythonQtShell_QMdiArea::dragMoveEvent(QDragMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2286,7 +2286,7 @@ void PythonQtShell_QMdiArea::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2308,7 +2308,7 @@ void PythonQtShell_QMdiArea::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2330,7 +2330,7 @@ bool PythonQtShell_QMdiArea::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2363,7 +2363,7 @@ bool PythonQtShell_QMdiArea::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2396,7 +2396,7 @@ void PythonQtShell_QMdiArea::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2418,7 +2418,7 @@ bool PythonQtShell_QMdiArea::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2451,7 +2451,7 @@ void PythonQtShell_QMdiArea::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2473,7 +2473,7 @@ bool PythonQtShell_QMdiArea::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2506,7 +2506,7 @@ int PythonQtShell_QMdiArea::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2539,7 +2539,7 @@ void PythonQtShell_QMdiArea::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2561,7 +2561,7 @@ void PythonQtShell_QMdiArea::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2583,7 +2583,7 @@ void PythonQtShell_QMdiArea::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2605,7 +2605,7 @@ QVariant PythonQtShell_QMdiArea::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2638,7 +2638,7 @@ void PythonQtShell_QMdiArea::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2660,7 +2660,7 @@ void PythonQtShell_QMdiArea::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2682,7 +2682,7 @@ void PythonQtShell_QMdiArea::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2704,7 +2704,7 @@ int PythonQtShell_QMdiArea::metric(QPaintDevice::PaintDeviceMetric arg__1) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2737,7 +2737,7 @@ QSize PythonQtShell_QMdiArea::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2770,7 +2770,7 @@ void PythonQtShell_QMdiArea::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2792,7 +2792,7 @@ void PythonQtShell_QMdiArea::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2814,7 +2814,7 @@ void PythonQtShell_QMdiArea::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2836,7 +2836,7 @@ void PythonQtShell_QMdiArea::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2858,7 +2858,7 @@ void PythonQtShell_QMdiArea::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2880,7 +2880,7 @@ bool PythonQtShell_QMdiArea::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2913,7 +2913,7 @@ QPaintEngine* PythonQtShell_QMdiArea::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2946,7 +2946,7 @@ void PythonQtShell_QMdiArea::paintEvent(QPaintEvent* paintEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2968,7 +2968,7 @@ QPaintDevice* PythonQtShell_QMdiArea::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3001,7 +3001,7 @@ void PythonQtShell_QMdiArea::resizeEvent(QResizeEvent* resizeEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3023,7 +3023,7 @@ void PythonQtShell_QMdiArea::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3045,7 +3045,7 @@ void PythonQtShell_QMdiArea::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3067,7 +3067,7 @@ void PythonQtShell_QMdiArea::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3089,7 +3089,7 @@ QPainter* PythonQtShell_QMdiArea::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3122,7 +3122,7 @@ void PythonQtShell_QMdiArea::showEvent(QShowEvent* showEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3144,7 +3144,7 @@ QSize PythonQtShell_QMdiArea::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3177,7 +3177,7 @@ void PythonQtShell_QMdiArea::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3199,7 +3199,7 @@ void PythonQtShell_QMdiArea::timerEvent(QTimerEvent* timerEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3221,7 +3221,7 @@ bool PythonQtShell_QMdiArea::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3254,7 +3254,7 @@ QSize PythonQtShell_QMdiArea::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3287,7 +3287,7 @@ void PythonQtShell_QMdiArea::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3447,7 +3447,7 @@ void PythonQtShell_QMdiSubWindow::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3469,7 +3469,7 @@ void PythonQtShell_QMdiSubWindow::changeEvent(QEvent* changeEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3491,7 +3491,7 @@ void PythonQtShell_QMdiSubWindow::childEvent(QChildEvent* childEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3513,7 +3513,7 @@ void PythonQtShell_QMdiSubWindow::closeEvent(QCloseEvent* closeEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3535,7 +3535,7 @@ void PythonQtShell_QMdiSubWindow::contextMenuEvent(QContextMenuEvent* contextMe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3557,7 +3557,7 @@ void PythonQtShell_QMdiSubWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3579,7 +3579,7 @@ int PythonQtShell_QMdiSubWindow::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3612,7 +3612,7 @@ void PythonQtShell_QMdiSubWindow::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3634,7 +3634,7 @@ void PythonQtShell_QMdiSubWindow::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3656,7 +3656,7 @@ void PythonQtShell_QMdiSubWindow::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3678,7 +3678,7 @@ void PythonQtShell_QMdiSubWindow::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3700,7 +3700,7 @@ void PythonQtShell_QMdiSubWindow::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3722,7 +3722,7 @@ bool PythonQtShell_QMdiSubWindow::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3755,7 +3755,7 @@ bool PythonQtShell_QMdiSubWindow::eventFilter(QObject* object0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3788,7 +3788,7 @@ void PythonQtShell_QMdiSubWindow::focusInEvent(QFocusEvent* focusInEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3810,7 +3810,7 @@ bool PythonQtShell_QMdiSubWindow::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3843,7 +3843,7 @@ void PythonQtShell_QMdiSubWindow::focusOutEvent(QFocusEvent* focusOutEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3865,7 +3865,7 @@ bool PythonQtShell_QMdiSubWindow::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3898,7 +3898,7 @@ int PythonQtShell_QMdiSubWindow::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3931,7 +3931,7 @@ void PythonQtShell_QMdiSubWindow::hideEvent(QHideEvent* hideEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3953,7 +3953,7 @@ void PythonQtShell_QMdiSubWindow::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3975,7 +3975,7 @@ void PythonQtShell_QMdiSubWindow::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3997,7 +3997,7 @@ QVariant PythonQtShell_QMdiSubWindow::inputMethodQuery(Qt::InputMethodQuery ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4030,7 +4030,7 @@ void PythonQtShell_QMdiSubWindow::keyPressEvent(QKeyEvent* keyEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4052,7 +4052,7 @@ void PythonQtShell_QMdiSubWindow::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4074,7 +4074,7 @@ void PythonQtShell_QMdiSubWindow::leaveEvent(QEvent* leaveEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4096,7 +4096,7 @@ int PythonQtShell_QMdiSubWindow::metric(QPaintDevice::PaintDeviceMetric arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4129,7 +4129,7 @@ QSize PythonQtShell_QMdiSubWindow::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4162,7 +4162,7 @@ void PythonQtShell_QMdiSubWindow::mouseDoubleClickEvent(QMouseEvent* mouseEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4184,7 +4184,7 @@ void PythonQtShell_QMdiSubWindow::mouseMoveEvent(QMouseEvent* mouseEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4206,7 +4206,7 @@ void PythonQtShell_QMdiSubWindow::mousePressEvent(QMouseEvent* mouseEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4228,7 +4228,7 @@ void PythonQtShell_QMdiSubWindow::mouseReleaseEvent(QMouseEvent* mouseEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4250,7 +4250,7 @@ void PythonQtShell_QMdiSubWindow::moveEvent(QMoveEvent* moveEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4272,7 +4272,7 @@ bool PythonQtShell_QMdiSubWindow::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4305,7 +4305,7 @@ QPaintEngine* PythonQtShell_QMdiSubWindow::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4338,7 +4338,7 @@ void PythonQtShell_QMdiSubWindow::paintEvent(QPaintEvent* paintEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4360,7 +4360,7 @@ QPaintDevice* PythonQtShell_QMdiSubWindow::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4393,7 +4393,7 @@ void PythonQtShell_QMdiSubWindow::resizeEvent(QResizeEvent* resizeEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4415,7 +4415,7 @@ void PythonQtShell_QMdiSubWindow::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4437,7 +4437,7 @@ QPainter* PythonQtShell_QMdiSubWindow::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4470,7 +4470,7 @@ void PythonQtShell_QMdiSubWindow::showEvent(QShowEvent* showEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4492,7 +4492,7 @@ QSize PythonQtShell_QMdiSubWindow::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4525,7 +4525,7 @@ void PythonQtShell_QMdiSubWindow::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4547,7 +4547,7 @@ void PythonQtShell_QMdiSubWindow::timerEvent(QTimerEvent* timerEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4569,7 +4569,7 @@ void PythonQtShell_QMdiSubWindow::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4694,7 +4694,7 @@ void PythonQtShell_QMenu::actionEvent(QActionEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4716,7 +4716,7 @@ void PythonQtShell_QMenu::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4738,7 +4738,7 @@ void PythonQtShell_QMenu::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4760,7 +4760,7 @@ void PythonQtShell_QMenu::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4782,7 +4782,7 @@ void PythonQtShell_QMenu::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4804,7 +4804,7 @@ void PythonQtShell_QMenu::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4826,7 +4826,7 @@ int PythonQtShell_QMenu::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4859,7 +4859,7 @@ void PythonQtShell_QMenu::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4881,7 +4881,7 @@ void PythonQtShell_QMenu::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4903,7 +4903,7 @@ void PythonQtShell_QMenu::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4925,7 +4925,7 @@ void PythonQtShell_QMenu::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4947,7 +4947,7 @@ void PythonQtShell_QMenu::enterEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4969,7 +4969,7 @@ bool PythonQtShell_QMenu::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5002,7 +5002,7 @@ bool PythonQtShell_QMenu::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5035,7 +5035,7 @@ void PythonQtShell_QMenu::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5057,7 +5057,7 @@ bool PythonQtShell_QMenu::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5090,7 +5090,7 @@ void PythonQtShell_QMenu::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5112,7 +5112,7 @@ bool PythonQtShell_QMenu::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5145,7 +5145,7 @@ int PythonQtShell_QMenu::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5178,7 +5178,7 @@ void PythonQtShell_QMenu::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5200,7 +5200,7 @@ void PythonQtShell_QMenu::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5222,7 +5222,7 @@ void PythonQtShell_QMenu::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5244,7 +5244,7 @@ QVariant PythonQtShell_QMenu::inputMethodQuery(Qt::InputMethodQuery arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5277,7 +5277,7 @@ void PythonQtShell_QMenu::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5299,7 +5299,7 @@ void PythonQtShell_QMenu::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5321,7 +5321,7 @@ void PythonQtShell_QMenu::leaveEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5343,7 +5343,7 @@ int PythonQtShell_QMenu::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5376,7 +5376,7 @@ QSize PythonQtShell_QMenu::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5409,7 +5409,7 @@ void PythonQtShell_QMenu::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5431,7 +5431,7 @@ void PythonQtShell_QMenu::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5453,7 +5453,7 @@ void PythonQtShell_QMenu::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5475,7 +5475,7 @@ void PythonQtShell_QMenu::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5497,7 +5497,7 @@ void PythonQtShell_QMenu::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5519,7 +5519,7 @@ bool PythonQtShell_QMenu::nativeEvent(const QByteArray& eventType0, void* mes { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5552,7 +5552,7 @@ QPaintEngine* PythonQtShell_QMenu::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5585,7 +5585,7 @@ void PythonQtShell_QMenu::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5607,7 +5607,7 @@ QPaintDevice* PythonQtShell_QMenu::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5640,7 +5640,7 @@ void PythonQtShell_QMenu::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5662,7 +5662,7 @@ void PythonQtShell_QMenu::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5684,7 +5684,7 @@ QPainter* PythonQtShell_QMenu::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5717,7 +5717,7 @@ void PythonQtShell_QMenu::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5739,7 +5739,7 @@ QSize PythonQtShell_QMenu::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5772,7 +5772,7 @@ void PythonQtShell_QMenu::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5794,7 +5794,7 @@ void PythonQtShell_QMenu::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5816,7 +5816,7 @@ void PythonQtShell_QMenu::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6075,7 +6075,7 @@ void PythonQtShell_QMenuBar::actionEvent(QActionEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6097,7 +6097,7 @@ void PythonQtShell_QMenuBar::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6119,7 +6119,7 @@ void PythonQtShell_QMenuBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6141,7 +6141,7 @@ void PythonQtShell_QMenuBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6163,7 +6163,7 @@ void PythonQtShell_QMenuBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6185,7 +6185,7 @@ void PythonQtShell_QMenuBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6207,7 +6207,7 @@ int PythonQtShell_QMenuBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6240,7 +6240,7 @@ void PythonQtShell_QMenuBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6262,7 +6262,7 @@ void PythonQtShell_QMenuBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6284,7 +6284,7 @@ void PythonQtShell_QMenuBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6306,7 +6306,7 @@ void PythonQtShell_QMenuBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6328,7 +6328,7 @@ void PythonQtShell_QMenuBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6350,7 +6350,7 @@ bool PythonQtShell_QMenuBar::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6383,7 +6383,7 @@ bool PythonQtShell_QMenuBar::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6416,7 +6416,7 @@ void PythonQtShell_QMenuBar::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6438,7 +6438,7 @@ bool PythonQtShell_QMenuBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6471,7 +6471,7 @@ void PythonQtShell_QMenuBar::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6493,7 +6493,7 @@ bool PythonQtShell_QMenuBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6526,7 +6526,7 @@ int PythonQtShell_QMenuBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6559,7 +6559,7 @@ void PythonQtShell_QMenuBar::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6581,7 +6581,7 @@ void PythonQtShell_QMenuBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6603,7 +6603,7 @@ void PythonQtShell_QMenuBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6625,7 +6625,7 @@ QVariant PythonQtShell_QMenuBar::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6658,7 +6658,7 @@ void PythonQtShell_QMenuBar::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6680,7 +6680,7 @@ void PythonQtShell_QMenuBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6702,7 +6702,7 @@ void PythonQtShell_QMenuBar::leaveEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6724,7 +6724,7 @@ int PythonQtShell_QMenuBar::metric(QPaintDevice::PaintDeviceMetric arg__1) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6757,7 +6757,7 @@ void PythonQtShell_QMenuBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6779,7 +6779,7 @@ void PythonQtShell_QMenuBar::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6801,7 +6801,7 @@ void PythonQtShell_QMenuBar::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6823,7 +6823,7 @@ void PythonQtShell_QMenuBar::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6845,7 +6845,7 @@ void PythonQtShell_QMenuBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6867,7 +6867,7 @@ bool PythonQtShell_QMenuBar::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6900,7 +6900,7 @@ QPaintEngine* PythonQtShell_QMenuBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6933,7 +6933,7 @@ void PythonQtShell_QMenuBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6955,7 +6955,7 @@ QPaintDevice* PythonQtShell_QMenuBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6988,7 +6988,7 @@ void PythonQtShell_QMenuBar::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7010,7 +7010,7 @@ void PythonQtShell_QMenuBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7032,7 +7032,7 @@ QPainter* PythonQtShell_QMenuBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7065,7 +7065,7 @@ void PythonQtShell_QMenuBar::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7087,7 +7087,7 @@ void PythonQtShell_QMenuBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7109,7 +7109,7 @@ void PythonQtShell_QMenuBar::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7131,7 +7131,7 @@ void PythonQtShell_QMenuBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7286,7 +7286,7 @@ void PythonQtShell_QMessageBox::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7308,7 +7308,7 @@ void PythonQtShell_QMessageBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7330,7 +7330,7 @@ void PythonQtShell_QMessageBox::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7352,7 +7352,7 @@ void PythonQtShell_QMessageBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7374,7 +7374,7 @@ void PythonQtShell_QMessageBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7396,7 +7396,7 @@ void PythonQtShell_QMessageBox::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7418,7 +7418,7 @@ void PythonQtShell_QMessageBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7440,7 +7440,7 @@ int PythonQtShell_QMessageBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7473,7 +7473,7 @@ void PythonQtShell_QMessageBox::done(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7495,7 +7495,7 @@ void PythonQtShell_QMessageBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7517,7 +7517,7 @@ void PythonQtShell_QMessageBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7539,7 +7539,7 @@ void PythonQtShell_QMessageBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7561,7 +7561,7 @@ void PythonQtShell_QMessageBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7583,7 +7583,7 @@ void PythonQtShell_QMessageBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7605,7 +7605,7 @@ bool PythonQtShell_QMessageBox::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7638,7 +7638,7 @@ bool PythonQtShell_QMessageBox::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7671,7 +7671,7 @@ int PythonQtShell_QMessageBox::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7704,7 +7704,7 @@ void PythonQtShell_QMessageBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7726,7 +7726,7 @@ bool PythonQtShell_QMessageBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7759,7 +7759,7 @@ void PythonQtShell_QMessageBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7781,7 +7781,7 @@ bool PythonQtShell_QMessageBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7814,7 +7814,7 @@ int PythonQtShell_QMessageBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7847,7 +7847,7 @@ void PythonQtShell_QMessageBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7869,7 +7869,7 @@ void PythonQtShell_QMessageBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7891,7 +7891,7 @@ void PythonQtShell_QMessageBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7913,7 +7913,7 @@ QVariant PythonQtShell_QMessageBox::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7946,7 +7946,7 @@ void PythonQtShell_QMessageBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7968,7 +7968,7 @@ void PythonQtShell_QMessageBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7990,7 +7990,7 @@ void PythonQtShell_QMessageBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8012,7 +8012,7 @@ int PythonQtShell_QMessageBox::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8045,7 +8045,7 @@ void PythonQtShell_QMessageBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8067,7 +8067,7 @@ void PythonQtShell_QMessageBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8089,7 +8089,7 @@ void PythonQtShell_QMessageBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8111,7 +8111,7 @@ void PythonQtShell_QMessageBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8133,7 +8133,7 @@ void PythonQtShell_QMessageBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8155,7 +8155,7 @@ bool PythonQtShell_QMessageBox::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8188,7 +8188,7 @@ QPaintEngine* PythonQtShell_QMessageBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8221,7 +8221,7 @@ void PythonQtShell_QMessageBox::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8243,7 +8243,7 @@ QPaintDevice* PythonQtShell_QMessageBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8276,7 +8276,7 @@ void PythonQtShell_QMessageBox::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8298,7 +8298,7 @@ void PythonQtShell_QMessageBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8320,7 +8320,7 @@ void PythonQtShell_QMessageBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8342,7 +8342,7 @@ QPainter* PythonQtShell_QMessageBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8375,7 +8375,7 @@ void PythonQtShell_QMessageBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8397,7 +8397,7 @@ void PythonQtShell_QMessageBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8419,7 +8419,7 @@ void PythonQtShell_QMessageBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8441,7 +8441,7 @@ void PythonQtShell_QMessageBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8797,7 +8797,7 @@ void PythonQtShell_QMouseEventTransition::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8819,7 +8819,7 @@ void PythonQtShell_QMouseEventTransition::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8841,7 +8841,7 @@ bool PythonQtShell_QMouseEventTransition::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8874,7 +8874,7 @@ bool PythonQtShell_QMouseEventTransition::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8907,7 +8907,7 @@ bool PythonQtShell_QMouseEventTransition::eventTest(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8940,7 +8940,7 @@ void PythonQtShell_QMouseEventTransition::onTransition(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8962,7 +8962,7 @@ void PythonQtShell_QMouseEventTransition::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9061,7 +9061,7 @@ void PythonQtShell_QMovie::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9083,7 +9083,7 @@ void PythonQtShell_QMovie::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9105,7 +9105,7 @@ bool PythonQtShell_QMovie::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9138,7 +9138,7 @@ bool PythonQtShell_QMovie::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9171,7 +9171,7 @@ void PythonQtShell_QMovie::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9389,7 +9389,7 @@ void PythonQtShell_QOffscreenSurface::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9411,7 +9411,7 @@ void PythonQtShell_QOffscreenSurface::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9433,7 +9433,7 @@ bool PythonQtShell_QOffscreenSurface::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9466,7 +9466,7 @@ bool PythonQtShell_QOffscreenSurface::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9499,7 +9499,7 @@ QSurfaceFormat PythonQtShell_QOffscreenSurface::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9532,7 +9532,7 @@ QSize PythonQtShell_QOffscreenSurface::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9565,7 +9565,7 @@ QSurface::SurfaceType PythonQtShell_QOffscreenSurface::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9598,7 +9598,7 @@ void PythonQtShell_QOffscreenSurface::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9782,7 +9782,7 @@ void PythonQtShell_QOpenGLContext::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9804,7 +9804,7 @@ void PythonQtShell_QOpenGLContext::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9826,7 +9826,7 @@ bool PythonQtShell_QOpenGLContext::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9859,7 +9859,7 @@ bool PythonQtShell_QOpenGLContext::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9892,7 +9892,7 @@ void PythonQtShell_QOpenGLContext::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10319,7 +10319,7 @@ int PythonQtShell_QOpenGLPaintDevice::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10352,7 +10352,7 @@ void PythonQtShell_QOpenGLPaintDevice::ensureActiveTarget() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ensureActiveTarget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10374,7 +10374,7 @@ void PythonQtShell_QOpenGLPaintDevice::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10396,7 +10396,7 @@ int PythonQtShell_QOpenGLPaintDevice::metric(QPaintDevice::PaintDeviceMetric m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10429,7 +10429,7 @@ QPaintEngine* PythonQtShell_QOpenGLPaintDevice::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10462,7 +10462,7 @@ QPaintDevice* PythonQtShell_QOpenGLPaintDevice::redirected(QPoint* offset0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10495,7 +10495,7 @@ QPainter* PythonQtShell_QOpenGLPaintDevice::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10601,7 +10601,7 @@ void PythonQtShell_QOpenGLShader::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10623,7 +10623,7 @@ void PythonQtShell_QOpenGLShader::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10645,7 +10645,7 @@ bool PythonQtShell_QOpenGLShader::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10678,7 +10678,7 @@ bool PythonQtShell_QOpenGLShader::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10711,7 +10711,7 @@ void PythonQtShell_QOpenGLShader::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10806,7 +10806,7 @@ void PythonQtShell_QOpenGLShaderProgram::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10828,7 +10828,7 @@ void PythonQtShell_QOpenGLShaderProgram::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10850,7 +10850,7 @@ bool PythonQtShell_QOpenGLShaderProgram::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10883,7 +10883,7 @@ bool PythonQtShell_QOpenGLShaderProgram::eventFilter(QObject* watched0, QEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10916,7 +10916,7 @@ bool PythonQtShell_QOpenGLShaderProgram::link() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("link"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10949,7 +10949,7 @@ void PythonQtShell_QOpenGLShaderProgram::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11974,7 +11974,7 @@ void PythonQtShell_QOpenGLTimeMonitor::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11996,7 +11996,7 @@ void PythonQtShell_QOpenGLTimeMonitor::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12018,7 +12018,7 @@ bool PythonQtShell_QOpenGLTimeMonitor::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12051,7 +12051,7 @@ bool PythonQtShell_QOpenGLTimeMonitor::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12084,7 +12084,7 @@ void PythonQtShell_QOpenGLTimeMonitor::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12184,7 +12184,7 @@ void PythonQtShell_QOpenGLTimerQuery::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12206,7 +12206,7 @@ void PythonQtShell_QOpenGLTimerQuery::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12228,7 +12228,7 @@ bool PythonQtShell_QOpenGLTimerQuery::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12261,7 +12261,7 @@ bool PythonQtShell_QOpenGLTimerQuery::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12294,7 +12294,7 @@ void PythonQtShell_QOpenGLTimerQuery::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12448,7 +12448,7 @@ void PythonQtShell_QOpenGLVertexArrayObject::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12470,7 +12470,7 @@ void PythonQtShell_QOpenGLVertexArrayObject::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12492,7 +12492,7 @@ bool PythonQtShell_QOpenGLVertexArrayObject::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12525,7 +12525,7 @@ bool PythonQtShell_QOpenGLVertexArrayObject::eventFilter(QObject* watched0, QE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12558,7 +12558,7 @@ void PythonQtShell_QOpenGLVertexArrayObject::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12633,7 +12633,7 @@ void PythonQtShell_QOpenGLWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12655,7 +12655,7 @@ void PythonQtShell_QOpenGLWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12677,7 +12677,7 @@ void PythonQtShell_QOpenGLWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12699,7 +12699,7 @@ void PythonQtShell_QOpenGLWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12721,7 +12721,7 @@ void PythonQtShell_QOpenGLWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12743,7 +12743,7 @@ void PythonQtShell_QOpenGLWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12765,7 +12765,7 @@ int PythonQtShell_QOpenGLWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12798,7 +12798,7 @@ void PythonQtShell_QOpenGLWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12820,7 +12820,7 @@ void PythonQtShell_QOpenGLWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12842,7 +12842,7 @@ void PythonQtShell_QOpenGLWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12864,7 +12864,7 @@ void PythonQtShell_QOpenGLWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12886,7 +12886,7 @@ void PythonQtShell_QOpenGLWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12908,7 +12908,7 @@ bool PythonQtShell_QOpenGLWidget::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12941,7 +12941,7 @@ bool PythonQtShell_QOpenGLWidget::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12974,7 +12974,7 @@ void PythonQtShell_QOpenGLWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12996,7 +12996,7 @@ bool PythonQtShell_QOpenGLWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13029,7 +13029,7 @@ void PythonQtShell_QOpenGLWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13051,7 +13051,7 @@ bool PythonQtShell_QOpenGLWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13084,7 +13084,7 @@ int PythonQtShell_QOpenGLWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13117,7 +13117,7 @@ void PythonQtShell_QOpenGLWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13139,7 +13139,7 @@ void PythonQtShell_QOpenGLWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13161,7 +13161,7 @@ void PythonQtShell_QOpenGLWidget::initializeGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initializeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13183,7 +13183,7 @@ void PythonQtShell_QOpenGLWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13205,7 +13205,7 @@ QVariant PythonQtShell_QOpenGLWidget::inputMethodQuery(Qt::InputMethodQuery ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13238,7 +13238,7 @@ void PythonQtShell_QOpenGLWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13260,7 +13260,7 @@ void PythonQtShell_QOpenGLWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13282,7 +13282,7 @@ void PythonQtShell_QOpenGLWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13304,7 +13304,7 @@ int PythonQtShell_QOpenGLWidget::metric(QPaintDevice::PaintDeviceMetric metric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13337,7 +13337,7 @@ QSize PythonQtShell_QOpenGLWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13370,7 +13370,7 @@ void PythonQtShell_QOpenGLWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13392,7 +13392,7 @@ void PythonQtShell_QOpenGLWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13414,7 +13414,7 @@ void PythonQtShell_QOpenGLWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13436,7 +13436,7 @@ void PythonQtShell_QOpenGLWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13458,7 +13458,7 @@ void PythonQtShell_QOpenGLWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13480,7 +13480,7 @@ bool PythonQtShell_QOpenGLWidget::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13513,7 +13513,7 @@ QPaintEngine* PythonQtShell_QOpenGLWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13546,7 +13546,7 @@ void PythonQtShell_QOpenGLWidget::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13568,7 +13568,7 @@ void PythonQtShell_QOpenGLWidget::paintGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13590,7 +13590,7 @@ QPaintDevice* PythonQtShell_QOpenGLWidget::redirected(QPoint* p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13623,7 +13623,7 @@ void PythonQtShell_QOpenGLWidget::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13645,7 +13645,7 @@ void PythonQtShell_QOpenGLWidget::resizeGL(int w0, int h1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13667,7 +13667,7 @@ void PythonQtShell_QOpenGLWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13689,7 +13689,7 @@ QPainter* PythonQtShell_QOpenGLWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13722,7 +13722,7 @@ void PythonQtShell_QOpenGLWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13744,7 +13744,7 @@ QSize PythonQtShell_QOpenGLWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13777,7 +13777,7 @@ void PythonQtShell_QOpenGLWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13799,7 +13799,7 @@ void PythonQtShell_QOpenGLWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13821,7 +13821,7 @@ void PythonQtShell_QOpenGLWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13931,7 +13931,7 @@ void PythonQtShell_QOpenGLWindow::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13953,7 +13953,7 @@ void PythonQtShell_QOpenGLWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13975,7 +13975,7 @@ bool PythonQtShell_QOpenGLWindow::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14008,7 +14008,7 @@ bool PythonQtShell_QOpenGLWindow::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14041,7 +14041,7 @@ void PythonQtShell_QOpenGLWindow::exposeEvent(QExposeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exposeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14063,7 +14063,7 @@ void PythonQtShell_QOpenGLWindow::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14085,7 +14085,7 @@ QObject* PythonQtShell_QOpenGLWindow::focusObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14118,7 +14118,7 @@ void PythonQtShell_QOpenGLWindow::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14140,7 +14140,7 @@ QSurfaceFormat PythonQtShell_QOpenGLWindow::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14173,7 +14173,7 @@ void PythonQtShell_QOpenGLWindow::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14195,7 +14195,7 @@ void PythonQtShell_QOpenGLWindow::initializeGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initializeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14217,7 +14217,7 @@ void PythonQtShell_QOpenGLWindow::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14239,7 +14239,7 @@ void PythonQtShell_QOpenGLWindow::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14261,7 +14261,7 @@ int PythonQtShell_QOpenGLWindow::metric(QPaintDevice::PaintDeviceMetric metric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14294,7 +14294,7 @@ void PythonQtShell_QOpenGLWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14316,7 +14316,7 @@ void PythonQtShell_QOpenGLWindow::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14338,7 +14338,7 @@ void PythonQtShell_QOpenGLWindow::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14360,7 +14360,7 @@ void PythonQtShell_QOpenGLWindow::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14382,7 +14382,7 @@ void PythonQtShell_QOpenGLWindow::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14404,7 +14404,7 @@ bool PythonQtShell_QOpenGLWindow::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14437,7 +14437,7 @@ void PythonQtShell_QOpenGLWindow::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14459,7 +14459,7 @@ void PythonQtShell_QOpenGLWindow::paintGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14481,7 +14481,7 @@ void PythonQtShell_QOpenGLWindow::paintOverGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintOverGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14503,7 +14503,7 @@ void PythonQtShell_QOpenGLWindow::paintUnderGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintUnderGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14525,7 +14525,7 @@ QPaintDevice* PythonQtShell_QOpenGLWindow::redirected(QPoint* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14558,7 +14558,7 @@ void PythonQtShell_QOpenGLWindow::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14580,7 +14580,7 @@ void PythonQtShell_QOpenGLWindow::resizeGL(int w0, int h1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14602,7 +14602,7 @@ void PythonQtShell_QOpenGLWindow::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14624,7 +14624,7 @@ QSize PythonQtShell_QOpenGLWindow::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14657,7 +14657,7 @@ QSurface::SurfaceType PythonQtShell_QOpenGLWindow::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14690,7 +14690,7 @@ void PythonQtShell_QOpenGLWindow::tabletEvent(QTabletEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14712,7 +14712,7 @@ void PythonQtShell_QOpenGLWindow::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14734,7 +14734,7 @@ void PythonQtShell_QOpenGLWindow::touchEvent(QTouchEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14756,7 +14756,7 @@ void PythonQtShell_QOpenGLWindow::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp index 450726159..e8817b4c7 100644 --- a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp +++ b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp @@ -90,7 +90,7 @@ void PythonQtShell_QPageSetupDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -112,7 +112,7 @@ void PythonQtShell_QPageSetupDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -134,7 +134,7 @@ void PythonQtShell_QPageSetupDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -156,7 +156,7 @@ void PythonQtShell_QPageSetupDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -178,7 +178,7 @@ void PythonQtShell_QPageSetupDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -200,7 +200,7 @@ void PythonQtShell_QPageSetupDialog::contextMenuEvent(QContextMenuEvent* arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -222,7 +222,7 @@ void PythonQtShell_QPageSetupDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -244,7 +244,7 @@ int PythonQtShell_QPageSetupDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -277,7 +277,7 @@ void PythonQtShell_QPageSetupDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -299,7 +299,7 @@ void PythonQtShell_QPageSetupDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -321,7 +321,7 @@ void PythonQtShell_QPageSetupDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -343,7 +343,7 @@ void PythonQtShell_QPageSetupDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -365,7 +365,7 @@ void PythonQtShell_QPageSetupDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -387,7 +387,7 @@ void PythonQtShell_QPageSetupDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -409,7 +409,7 @@ bool PythonQtShell_QPageSetupDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -442,7 +442,7 @@ bool PythonQtShell_QPageSetupDialog::eventFilter(QObject* arg__1, QEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -475,7 +475,7 @@ int PythonQtShell_QPageSetupDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -508,7 +508,7 @@ void PythonQtShell_QPageSetupDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -530,7 +530,7 @@ bool PythonQtShell_QPageSetupDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -563,7 +563,7 @@ void PythonQtShell_QPageSetupDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -585,7 +585,7 @@ bool PythonQtShell_QPageSetupDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -618,7 +618,7 @@ int PythonQtShell_QPageSetupDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -651,7 +651,7 @@ void PythonQtShell_QPageSetupDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -673,7 +673,7 @@ void PythonQtShell_QPageSetupDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -695,7 +695,7 @@ void PythonQtShell_QPageSetupDialog::inputMethodEvent(QInputMethodEvent* arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -717,7 +717,7 @@ QVariant PythonQtShell_QPageSetupDialog::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -750,7 +750,7 @@ void PythonQtShell_QPageSetupDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -772,7 +772,7 @@ void PythonQtShell_QPageSetupDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -794,7 +794,7 @@ void PythonQtShell_QPageSetupDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -816,7 +816,7 @@ int PythonQtShell_QPageSetupDialog::metric(QPaintDevice::PaintDeviceMetric arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -849,7 +849,7 @@ void PythonQtShell_QPageSetupDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -871,7 +871,7 @@ void PythonQtShell_QPageSetupDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -893,7 +893,7 @@ void PythonQtShell_QPageSetupDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -915,7 +915,7 @@ void PythonQtShell_QPageSetupDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -937,7 +937,7 @@ void PythonQtShell_QPageSetupDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -959,7 +959,7 @@ bool PythonQtShell_QPageSetupDialog::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -992,7 +992,7 @@ QPaintEngine* PythonQtShell_QPageSetupDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1025,7 +1025,7 @@ void PythonQtShell_QPageSetupDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1047,7 +1047,7 @@ QPaintDevice* PythonQtShell_QPageSetupDialog::redirected(QPoint* offset0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1080,7 +1080,7 @@ void PythonQtShell_QPageSetupDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1102,7 +1102,7 @@ void PythonQtShell_QPageSetupDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1124,7 +1124,7 @@ void PythonQtShell_QPageSetupDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1146,7 +1146,7 @@ QPainter* PythonQtShell_QPageSetupDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1179,7 +1179,7 @@ void PythonQtShell_QPageSetupDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1201,7 +1201,7 @@ void PythonQtShell_QPageSetupDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1223,7 +1223,7 @@ void PythonQtShell_QPageSetupDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1245,7 +1245,7 @@ void PythonQtShell_QPageSetupDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1473,7 +1473,7 @@ int PythonQtShell_QPagedPaintDevice::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1506,7 +1506,7 @@ void PythonQtShell_QPagedPaintDevice::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1528,7 +1528,7 @@ int PythonQtShell_QPagedPaintDevice::metric(QPaintDevice::PaintDeviceMetric me { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1561,7 +1561,7 @@ bool PythonQtShell_QPagedPaintDevice::newPage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1594,7 +1594,7 @@ QPaintEngine* PythonQtShell_QPagedPaintDevice::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1627,7 +1627,7 @@ QPaintDevice* PythonQtShell_QPagedPaintDevice::redirected(QPoint* offset0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1660,7 +1660,7 @@ void PythonQtShell_QPagedPaintDevice::setMargins(const QPagedPaintDevice::Margin { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1682,7 +1682,7 @@ void PythonQtShell_QPagedPaintDevice::setPageSize(QPagedPaintDevice::PageSize s { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPageSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1704,7 +1704,7 @@ void PythonQtShell_QPagedPaintDevice::setPageSizeMM(const QSizeF& size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPageSizeMM"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1726,7 +1726,7 @@ QPainter* PythonQtShell_QPagedPaintDevice::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1849,7 +1849,7 @@ int PythonQtShell_QPaintDevice::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1882,7 +1882,7 @@ void PythonQtShell_QPaintDevice::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1904,7 +1904,7 @@ int PythonQtShell_QPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1937,7 +1937,7 @@ QPaintEngine* PythonQtShell_QPaintDevice::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1970,7 +1970,7 @@ QPaintDevice* PythonQtShell_QPaintDevice::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2003,7 +2003,7 @@ QPainter* PythonQtShell_QPaintDevice::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2163,7 +2163,7 @@ bool PythonQtShell_QPaintEngine::begin(QPaintDevice* pdev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("begin"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2196,7 +2196,7 @@ QPoint PythonQtShell_QPaintEngine::coordinateOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("coordinateOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2229,7 +2229,7 @@ void PythonQtShell_QPaintEngine::drawEllipse(const QRect& r0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawEllipse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2251,7 +2251,7 @@ void PythonQtShell_QPaintEngine::drawEllipse(const QRectF& r0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawEllipse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2273,7 +2273,7 @@ void PythonQtShell_QPaintEngine::drawImage(const QRectF& r0, const QImage& pm1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawImage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2295,7 +2295,7 @@ void PythonQtShell_QPaintEngine::drawLines(const QLine* lines0, int lineCount1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawLines"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2317,7 +2317,7 @@ void PythonQtShell_QPaintEngine::drawLines(const QLineF* lines0, int lineCount { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawLines"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2339,7 +2339,7 @@ void PythonQtShell_QPaintEngine::drawPath(const QPainterPath& path0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2361,7 +2361,7 @@ void PythonQtShell_QPaintEngine::drawPixmap(const QRectF& r0, const QPixmap& p { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2383,7 +2383,7 @@ void PythonQtShell_QPaintEngine::drawPoints(const QPoint* points0, int pointCo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawPoints"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2405,7 +2405,7 @@ void PythonQtShell_QPaintEngine::drawPoints(const QPointF* points0, int pointC { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawPoints"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2427,7 +2427,7 @@ void PythonQtShell_QPaintEngine::drawPolygon(const QPoint* points0, int pointC { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawPolygon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2449,7 +2449,7 @@ void PythonQtShell_QPaintEngine::drawPolygon(const QPointF* points0, int point { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawPolygon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2471,7 +2471,7 @@ void PythonQtShell_QPaintEngine::drawRects(const QRect* rects0, int rectCount1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawRects"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2493,7 +2493,7 @@ void PythonQtShell_QPaintEngine::drawRects(const QRectF* rects0, int rectCount { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawRects"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2515,7 +2515,7 @@ void PythonQtShell_QPaintEngine::drawTextItem(const QPointF& p0, const QTextIte { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawTextItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2537,7 +2537,7 @@ void PythonQtShell_QPaintEngine::drawTiledPixmap(const QRectF& r0, const QPixma { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawTiledPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2559,7 +2559,7 @@ bool PythonQtShell_QPaintEngine::end() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("end"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2592,7 +2592,7 @@ QPaintEngine::Type PythonQtShell_QPaintEngine::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2625,7 +2625,7 @@ void PythonQtShell_QPaintEngine::updateState(const QPaintEngineState& state0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4467,7 +4467,7 @@ void PythonQtShell_QPanGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4489,7 +4489,7 @@ void PythonQtShell_QPanGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4511,7 +4511,7 @@ bool PythonQtShell_QPanGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4544,7 +4544,7 @@ bool PythonQtShell_QPanGesture::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4577,7 +4577,7 @@ void PythonQtShell_QPanGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4657,7 +4657,7 @@ void PythonQtShell_QPdfWriter::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4679,7 +4679,7 @@ void PythonQtShell_QPdfWriter::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4701,7 +4701,7 @@ int PythonQtShell_QPdfWriter::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4734,7 +4734,7 @@ bool PythonQtShell_QPdfWriter::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4767,7 +4767,7 @@ bool PythonQtShell_QPdfWriter::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4800,7 +4800,7 @@ void PythonQtShell_QPdfWriter::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4822,7 +4822,7 @@ int PythonQtShell_QPdfWriter::metric(QPaintDevice::PaintDeviceMetric id0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4855,7 +4855,7 @@ bool PythonQtShell_QPdfWriter::newPage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4888,7 +4888,7 @@ QPaintEngine* PythonQtShell_QPdfWriter::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4921,7 +4921,7 @@ QPaintDevice* PythonQtShell_QPdfWriter::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4954,7 +4954,7 @@ void PythonQtShell_QPdfWriter::setMargins(const QPagedPaintDevice::Margins& m0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4976,7 +4976,7 @@ void PythonQtShell_QPdfWriter::setPageSize(QPagedPaintDevice::PageSize size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPageSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4998,7 +4998,7 @@ void PythonQtShell_QPdfWriter::setPageSizeMM(const QSizeF& size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPageSizeMM"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5020,7 +5020,7 @@ QPainter* PythonQtShell_QPdfWriter::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5053,7 +5053,7 @@ void PythonQtShell_QPdfWriter::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5132,7 +5132,7 @@ int PythonQtShell_QPicture::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5165,7 +5165,7 @@ void PythonQtShell_QPicture::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5187,7 +5187,7 @@ int PythonQtShell_QPicture::metric(QPaintDevice::PaintDeviceMetric m0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5220,7 +5220,7 @@ QPaintEngine* PythonQtShell_QPicture::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5253,7 +5253,7 @@ QPaintDevice* PythonQtShell_QPicture::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5286,7 +5286,7 @@ QPainter* PythonQtShell_QPicture::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5398,7 +5398,7 @@ void PythonQtShell_QPictureFormatPlugin::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5420,7 +5420,7 @@ void PythonQtShell_QPictureFormatPlugin::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5442,7 +5442,7 @@ bool PythonQtShell_QPictureFormatPlugin::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5475,7 +5475,7 @@ bool PythonQtShell_QPictureFormatPlugin::eventFilter(QObject* watched0, QEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5508,7 +5508,7 @@ bool PythonQtShell_QPictureFormatPlugin::installIOHandler(const QString& forma { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("installIOHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5541,7 +5541,7 @@ bool PythonQtShell_QPictureFormatPlugin::loadPicture(const QString& format0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("loadPicture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5574,7 +5574,7 @@ bool PythonQtShell_QPictureFormatPlugin::savePicture(const QString& format0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("savePicture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5607,7 +5607,7 @@ void PythonQtShell_QPictureFormatPlugin::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5801,7 +5801,7 @@ void PythonQtShell_QPinchGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5823,7 +5823,7 @@ void PythonQtShell_QPinchGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5845,7 +5845,7 @@ bool PythonQtShell_QPinchGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5878,7 +5878,7 @@ bool PythonQtShell_QPinchGesture::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5911,7 +5911,7 @@ void PythonQtShell_QPinchGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6276,7 +6276,7 @@ QRectF PythonQtShell_QPlainTextDocumentLayout::blockBoundingRect(const QTextBlo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("blockBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6309,7 +6309,7 @@ void PythonQtShell_QPlainTextDocumentLayout::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6331,7 +6331,7 @@ void PythonQtShell_QPlainTextDocumentLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6353,7 +6353,7 @@ void PythonQtShell_QPlainTextDocumentLayout::documentChanged(int from0, int ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("documentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6375,7 +6375,7 @@ QSizeF PythonQtShell_QPlainTextDocumentLayout::documentSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("documentSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6408,7 +6408,7 @@ void PythonQtShell_QPlainTextDocumentLayout::draw(QPainter* arg__1, const QAbst { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6430,7 +6430,7 @@ void PythonQtShell_QPlainTextDocumentLayout::drawInlineObject(QPainter* painter { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6452,7 +6452,7 @@ bool PythonQtShell_QPlainTextDocumentLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6485,7 +6485,7 @@ bool PythonQtShell_QPlainTextDocumentLayout::eventFilter(QObject* watched0, QE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6518,7 +6518,7 @@ QRectF PythonQtShell_QPlainTextDocumentLayout::frameBoundingRect(QTextFrame* a { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("frameBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6551,7 +6551,7 @@ int PythonQtShell_QPlainTextDocumentLayout::hitTest(const QPointF& arg__1, Qt: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6584,7 +6584,7 @@ int PythonQtShell_QPlainTextDocumentLayout::pageCount() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pageCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6617,7 +6617,7 @@ void PythonQtShell_QPlainTextDocumentLayout::positionInlineObject(QTextInlineObj { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("positionInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6639,7 +6639,7 @@ void PythonQtShell_QPlainTextDocumentLayout::resizeInlineObject(QTextInlineObjec { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6661,7 +6661,7 @@ void PythonQtShell_QPlainTextDocumentLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6726,7 +6726,7 @@ void PythonQtShell_QPlainTextEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6748,7 +6748,7 @@ bool PythonQtShell_QPlainTextEdit::canInsertFromMimeData(const QMimeData* sour { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canInsertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6781,7 +6781,7 @@ void PythonQtShell_QPlainTextEdit::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6803,7 +6803,7 @@ void PythonQtShell_QPlainTextEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6825,7 +6825,7 @@ void PythonQtShell_QPlainTextEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6847,7 +6847,7 @@ void PythonQtShell_QPlainTextEdit::contextMenuEvent(QContextMenuEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6869,7 +6869,7 @@ QMimeData* PythonQtShell_QPlainTextEdit::createMimeDataFromSelection() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createMimeDataFromSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6902,7 +6902,7 @@ void PythonQtShell_QPlainTextEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6924,7 +6924,7 @@ int PythonQtShell_QPlainTextEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6957,7 +6957,7 @@ void PythonQtShell_QPlainTextEdit::doSetTextCursor(const QTextCursor& cursor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doSetTextCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6979,7 +6979,7 @@ void PythonQtShell_QPlainTextEdit::dragEnterEvent(QDragEnterEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7001,7 +7001,7 @@ void PythonQtShell_QPlainTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7023,7 +7023,7 @@ void PythonQtShell_QPlainTextEdit::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7045,7 +7045,7 @@ void PythonQtShell_QPlainTextEdit::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7067,7 +7067,7 @@ void PythonQtShell_QPlainTextEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7089,7 +7089,7 @@ bool PythonQtShell_QPlainTextEdit::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7122,7 +7122,7 @@ bool PythonQtShell_QPlainTextEdit::eventFilter(QObject* arg__1, QEvent* arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7155,7 +7155,7 @@ void PythonQtShell_QPlainTextEdit::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7177,7 +7177,7 @@ bool PythonQtShell_QPlainTextEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7210,7 +7210,7 @@ void PythonQtShell_QPlainTextEdit::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7232,7 +7232,7 @@ bool PythonQtShell_QPlainTextEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7265,7 +7265,7 @@ int PythonQtShell_QPlainTextEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7298,7 +7298,7 @@ void PythonQtShell_QPlainTextEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7320,7 +7320,7 @@ void PythonQtShell_QPlainTextEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7342,7 +7342,7 @@ void PythonQtShell_QPlainTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7364,7 +7364,7 @@ QVariant PythonQtShell_QPlainTextEdit::inputMethodQuery(Qt::InputMethodQuery p { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7397,7 +7397,7 @@ void PythonQtShell_QPlainTextEdit::insertFromMimeData(const QMimeData* source0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7419,7 +7419,7 @@ void PythonQtShell_QPlainTextEdit::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7441,7 +7441,7 @@ void PythonQtShell_QPlainTextEdit::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7463,7 +7463,7 @@ void PythonQtShell_QPlainTextEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7485,7 +7485,7 @@ QVariant PythonQtShell_QPlainTextEdit::loadResource(int type0, const QUrl& na { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7518,7 +7518,7 @@ int PythonQtShell_QPlainTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7551,7 +7551,7 @@ QSize PythonQtShell_QPlainTextEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7584,7 +7584,7 @@ void PythonQtShell_QPlainTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7606,7 +7606,7 @@ void PythonQtShell_QPlainTextEdit::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7628,7 +7628,7 @@ void PythonQtShell_QPlainTextEdit::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7650,7 +7650,7 @@ void PythonQtShell_QPlainTextEdit::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7672,7 +7672,7 @@ void PythonQtShell_QPlainTextEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7694,7 +7694,7 @@ bool PythonQtShell_QPlainTextEdit::nativeEvent(const QByteArray& eventType0, v { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7727,7 +7727,7 @@ QPaintEngine* PythonQtShell_QPlainTextEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7760,7 +7760,7 @@ void PythonQtShell_QPlainTextEdit::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7782,7 +7782,7 @@ QPaintDevice* PythonQtShell_QPlainTextEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7815,7 +7815,7 @@ void PythonQtShell_QPlainTextEdit::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7837,7 +7837,7 @@ void PythonQtShell_QPlainTextEdit::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7859,7 +7859,7 @@ void PythonQtShell_QPlainTextEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7881,7 +7881,7 @@ void PythonQtShell_QPlainTextEdit::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7903,7 +7903,7 @@ QPainter* PythonQtShell_QPlainTextEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7936,7 +7936,7 @@ void PythonQtShell_QPlainTextEdit::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7958,7 +7958,7 @@ QSize PythonQtShell_QPlainTextEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7991,7 +7991,7 @@ void PythonQtShell_QPlainTextEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8013,7 +8013,7 @@ void PythonQtShell_QPlainTextEdit::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8035,7 +8035,7 @@ bool PythonQtShell_QPlainTextEdit::viewportEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8068,7 +8068,7 @@ QSize PythonQtShell_QPlainTextEdit::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8101,7 +8101,7 @@ void PythonQtShell_QPlainTextEdit::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8848,7 +8848,7 @@ void PythonQtShell_QPrintDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8870,7 +8870,7 @@ void PythonQtShell_QPrintDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8892,7 +8892,7 @@ void PythonQtShell_QPrintDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8914,7 +8914,7 @@ void PythonQtShell_QPrintDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8936,7 +8936,7 @@ void PythonQtShell_QPrintDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8958,7 +8958,7 @@ void PythonQtShell_QPrintDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8980,7 +8980,7 @@ void PythonQtShell_QPrintDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9002,7 +9002,7 @@ int PythonQtShell_QPrintDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9035,7 +9035,7 @@ void PythonQtShell_QPrintDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9057,7 +9057,7 @@ void PythonQtShell_QPrintDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9079,7 +9079,7 @@ void PythonQtShell_QPrintDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9101,7 +9101,7 @@ void PythonQtShell_QPrintDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9123,7 +9123,7 @@ void PythonQtShell_QPrintDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9145,7 +9145,7 @@ void PythonQtShell_QPrintDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9167,7 +9167,7 @@ bool PythonQtShell_QPrintDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9200,7 +9200,7 @@ bool PythonQtShell_QPrintDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9233,7 +9233,7 @@ int PythonQtShell_QPrintDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9266,7 +9266,7 @@ void PythonQtShell_QPrintDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9288,7 +9288,7 @@ bool PythonQtShell_QPrintDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9321,7 +9321,7 @@ void PythonQtShell_QPrintDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9343,7 +9343,7 @@ bool PythonQtShell_QPrintDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9376,7 +9376,7 @@ int PythonQtShell_QPrintDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9409,7 +9409,7 @@ void PythonQtShell_QPrintDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9431,7 +9431,7 @@ void PythonQtShell_QPrintDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9453,7 +9453,7 @@ void PythonQtShell_QPrintDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9475,7 +9475,7 @@ QVariant PythonQtShell_QPrintDialog::inputMethodQuery(Qt::InputMethodQuery arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9508,7 +9508,7 @@ void PythonQtShell_QPrintDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9530,7 +9530,7 @@ void PythonQtShell_QPrintDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9552,7 +9552,7 @@ void PythonQtShell_QPrintDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9574,7 +9574,7 @@ int PythonQtShell_QPrintDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9607,7 +9607,7 @@ void PythonQtShell_QPrintDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9629,7 +9629,7 @@ void PythonQtShell_QPrintDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9651,7 +9651,7 @@ void PythonQtShell_QPrintDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9673,7 +9673,7 @@ void PythonQtShell_QPrintDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9695,7 +9695,7 @@ void PythonQtShell_QPrintDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9717,7 +9717,7 @@ bool PythonQtShell_QPrintDialog::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9750,7 +9750,7 @@ QPaintEngine* PythonQtShell_QPrintDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9783,7 +9783,7 @@ void PythonQtShell_QPrintDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9805,7 +9805,7 @@ QPaintDevice* PythonQtShell_QPrintDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9838,7 +9838,7 @@ void PythonQtShell_QPrintDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9860,7 +9860,7 @@ void PythonQtShell_QPrintDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9882,7 +9882,7 @@ void PythonQtShell_QPrintDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9904,7 +9904,7 @@ QPainter* PythonQtShell_QPrintDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9937,7 +9937,7 @@ void PythonQtShell_QPrintDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9959,7 +9959,7 @@ void PythonQtShell_QPrintDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9981,7 +9981,7 @@ void PythonQtShell_QPrintDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10003,7 +10003,7 @@ void PythonQtShell_QPrintDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10077,7 +10077,7 @@ bool PythonQtShell_QPrintEngine::abort() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("abort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10110,7 +10110,7 @@ int PythonQtShell_QPrintEngine::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10143,7 +10143,7 @@ bool PythonQtShell_QPrintEngine::newPage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10176,7 +10176,7 @@ QPrinter::PrinterState PythonQtShell_QPrintEngine::printerState() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("printerState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10209,7 +10209,7 @@ QVariant PythonQtShell_QPrintEngine::property(QPrintEngine::PrintEngineProperty { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("property"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10242,7 +10242,7 @@ void PythonQtShell_QPrintEngine::setProperty(QPrintEngine::PrintEnginePropertyKe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10304,7 +10304,7 @@ void PythonQtShell_QPrintPreviewDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10326,7 +10326,7 @@ void PythonQtShell_QPrintPreviewDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10348,7 +10348,7 @@ void PythonQtShell_QPrintPreviewDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10370,7 +10370,7 @@ void PythonQtShell_QPrintPreviewDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10392,7 +10392,7 @@ void PythonQtShell_QPrintPreviewDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10414,7 +10414,7 @@ void PythonQtShell_QPrintPreviewDialog::contextMenuEvent(QContextMenuEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10436,7 +10436,7 @@ void PythonQtShell_QPrintPreviewDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10458,7 +10458,7 @@ int PythonQtShell_QPrintPreviewDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10491,7 +10491,7 @@ void PythonQtShell_QPrintPreviewDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10513,7 +10513,7 @@ void PythonQtShell_QPrintPreviewDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10535,7 +10535,7 @@ void PythonQtShell_QPrintPreviewDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10557,7 +10557,7 @@ void PythonQtShell_QPrintPreviewDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10579,7 +10579,7 @@ void PythonQtShell_QPrintPreviewDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10601,7 +10601,7 @@ void PythonQtShell_QPrintPreviewDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10623,7 +10623,7 @@ bool PythonQtShell_QPrintPreviewDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10656,7 +10656,7 @@ bool PythonQtShell_QPrintPreviewDialog::eventFilter(QObject* arg__1, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10689,7 +10689,7 @@ int PythonQtShell_QPrintPreviewDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10722,7 +10722,7 @@ void PythonQtShell_QPrintPreviewDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10744,7 +10744,7 @@ bool PythonQtShell_QPrintPreviewDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10777,7 +10777,7 @@ void PythonQtShell_QPrintPreviewDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10799,7 +10799,7 @@ bool PythonQtShell_QPrintPreviewDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10832,7 +10832,7 @@ int PythonQtShell_QPrintPreviewDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10865,7 +10865,7 @@ void PythonQtShell_QPrintPreviewDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10887,7 +10887,7 @@ void PythonQtShell_QPrintPreviewDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10909,7 +10909,7 @@ void PythonQtShell_QPrintPreviewDialog::inputMethodEvent(QInputMethodEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10931,7 +10931,7 @@ QVariant PythonQtShell_QPrintPreviewDialog::inputMethodQuery(Qt::InputMethodQue { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10964,7 +10964,7 @@ void PythonQtShell_QPrintPreviewDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10986,7 +10986,7 @@ void PythonQtShell_QPrintPreviewDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11008,7 +11008,7 @@ void PythonQtShell_QPrintPreviewDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11030,7 +11030,7 @@ int PythonQtShell_QPrintPreviewDialog::metric(QPaintDevice::PaintDeviceMetric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11063,7 +11063,7 @@ void PythonQtShell_QPrintPreviewDialog::mouseDoubleClickEvent(QMouseEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11085,7 +11085,7 @@ void PythonQtShell_QPrintPreviewDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11107,7 +11107,7 @@ void PythonQtShell_QPrintPreviewDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11129,7 +11129,7 @@ void PythonQtShell_QPrintPreviewDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11151,7 +11151,7 @@ void PythonQtShell_QPrintPreviewDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11173,7 +11173,7 @@ bool PythonQtShell_QPrintPreviewDialog::nativeEvent(const QByteArray& eventTyp { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11206,7 +11206,7 @@ QPaintEngine* PythonQtShell_QPrintPreviewDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11239,7 +11239,7 @@ void PythonQtShell_QPrintPreviewDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11261,7 +11261,7 @@ QPaintDevice* PythonQtShell_QPrintPreviewDialog::redirected(QPoint* offset0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11294,7 +11294,7 @@ void PythonQtShell_QPrintPreviewDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11316,7 +11316,7 @@ void PythonQtShell_QPrintPreviewDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11338,7 +11338,7 @@ void PythonQtShell_QPrintPreviewDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11360,7 +11360,7 @@ QPainter* PythonQtShell_QPrintPreviewDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11393,7 +11393,7 @@ void PythonQtShell_QPrintPreviewDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11415,7 +11415,7 @@ void PythonQtShell_QPrintPreviewDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11437,7 +11437,7 @@ void PythonQtShell_QPrintPreviewDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11459,7 +11459,7 @@ void PythonQtShell_QPrintPreviewDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp index 7b3316541..6100ee817 100644 --- a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp +++ b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp @@ -87,7 +87,7 @@ void PythonQtShell_QPrintPreviewWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -109,7 +109,7 @@ void PythonQtShell_QPrintPreviewWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -131,7 +131,7 @@ void PythonQtShell_QPrintPreviewWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -153,7 +153,7 @@ void PythonQtShell_QPrintPreviewWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -175,7 +175,7 @@ void PythonQtShell_QPrintPreviewWidget::contextMenuEvent(QContextMenuEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -197,7 +197,7 @@ void PythonQtShell_QPrintPreviewWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -219,7 +219,7 @@ int PythonQtShell_QPrintPreviewWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -252,7 +252,7 @@ void PythonQtShell_QPrintPreviewWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -274,7 +274,7 @@ void PythonQtShell_QPrintPreviewWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -296,7 +296,7 @@ void PythonQtShell_QPrintPreviewWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -318,7 +318,7 @@ void PythonQtShell_QPrintPreviewWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -340,7 +340,7 @@ void PythonQtShell_QPrintPreviewWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -362,7 +362,7 @@ bool PythonQtShell_QPrintPreviewWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -395,7 +395,7 @@ bool PythonQtShell_QPrintPreviewWidget::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -428,7 +428,7 @@ void PythonQtShell_QPrintPreviewWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -450,7 +450,7 @@ bool PythonQtShell_QPrintPreviewWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -483,7 +483,7 @@ void PythonQtShell_QPrintPreviewWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -505,7 +505,7 @@ bool PythonQtShell_QPrintPreviewWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -538,7 +538,7 @@ int PythonQtShell_QPrintPreviewWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -571,7 +571,7 @@ void PythonQtShell_QPrintPreviewWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -593,7 +593,7 @@ void PythonQtShell_QPrintPreviewWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -615,7 +615,7 @@ void PythonQtShell_QPrintPreviewWidget::inputMethodEvent(QInputMethodEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -637,7 +637,7 @@ QVariant PythonQtShell_QPrintPreviewWidget::inputMethodQuery(Qt::InputMethodQue { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -670,7 +670,7 @@ void PythonQtShell_QPrintPreviewWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -692,7 +692,7 @@ void PythonQtShell_QPrintPreviewWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -714,7 +714,7 @@ void PythonQtShell_QPrintPreviewWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -736,7 +736,7 @@ int PythonQtShell_QPrintPreviewWidget::metric(QPaintDevice::PaintDeviceMetric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -769,7 +769,7 @@ QSize PythonQtShell_QPrintPreviewWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -802,7 +802,7 @@ void PythonQtShell_QPrintPreviewWidget::mouseDoubleClickEvent(QMouseEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -824,7 +824,7 @@ void PythonQtShell_QPrintPreviewWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -846,7 +846,7 @@ void PythonQtShell_QPrintPreviewWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -868,7 +868,7 @@ void PythonQtShell_QPrintPreviewWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -890,7 +890,7 @@ void PythonQtShell_QPrintPreviewWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -912,7 +912,7 @@ bool PythonQtShell_QPrintPreviewWidget::nativeEvent(const QByteArray& eventTyp { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -945,7 +945,7 @@ QPaintEngine* PythonQtShell_QPrintPreviewWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -978,7 +978,7 @@ void PythonQtShell_QPrintPreviewWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1000,7 +1000,7 @@ QPaintDevice* PythonQtShell_QPrintPreviewWidget::redirected(QPoint* offset0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1033,7 +1033,7 @@ void PythonQtShell_QPrintPreviewWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1055,7 +1055,7 @@ void PythonQtShell_QPrintPreviewWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1077,7 +1077,7 @@ QPainter* PythonQtShell_QPrintPreviewWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1110,7 +1110,7 @@ void PythonQtShell_QPrintPreviewWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1132,7 +1132,7 @@ QSize PythonQtShell_QPrintPreviewWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1165,7 +1165,7 @@ void PythonQtShell_QPrintPreviewWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1187,7 +1187,7 @@ void PythonQtShell_QPrintPreviewWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1209,7 +1209,7 @@ void PythonQtShell_QPrintPreviewWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1288,7 +1288,7 @@ int PythonQtShell_QPrinter::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1321,7 +1321,7 @@ void PythonQtShell_QPrinter::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1343,7 +1343,7 @@ int PythonQtShell_QPrinter::metric(QPaintDevice::PaintDeviceMetric arg__1) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1376,7 +1376,7 @@ bool PythonQtShell_QPrinter::newPage() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1409,7 +1409,7 @@ QPaintEngine* PythonQtShell_QPrinter::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1442,7 +1442,7 @@ QPaintDevice* PythonQtShell_QPrinter::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1475,7 +1475,7 @@ void PythonQtShell_QPrinter::setMargins(const QPagedPaintDevice::Margins& m0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1497,7 +1497,7 @@ void PythonQtShell_QPrinter::setPageSize(QPagedPaintDevice::PageSize arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPageSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1519,7 +1519,7 @@ void PythonQtShell_QPrinter::setPageSizeMM(const QSizeF& size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPageSizeMM"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1541,7 +1541,7 @@ QPainter* PythonQtShell_QPrinter::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2037,7 +2037,7 @@ void PythonQtShell_QProgressBar::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2059,7 +2059,7 @@ void PythonQtShell_QProgressBar::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2081,7 +2081,7 @@ void PythonQtShell_QProgressBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2103,7 +2103,7 @@ void PythonQtShell_QProgressBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2125,7 +2125,7 @@ void PythonQtShell_QProgressBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2147,7 +2147,7 @@ void PythonQtShell_QProgressBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2169,7 +2169,7 @@ int PythonQtShell_QProgressBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2202,7 +2202,7 @@ void PythonQtShell_QProgressBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2224,7 +2224,7 @@ void PythonQtShell_QProgressBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2246,7 +2246,7 @@ void PythonQtShell_QProgressBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2268,7 +2268,7 @@ void PythonQtShell_QProgressBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2290,7 +2290,7 @@ void PythonQtShell_QProgressBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2312,7 +2312,7 @@ bool PythonQtShell_QProgressBar::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2345,7 +2345,7 @@ bool PythonQtShell_QProgressBar::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2378,7 +2378,7 @@ void PythonQtShell_QProgressBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2400,7 +2400,7 @@ bool PythonQtShell_QProgressBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2433,7 +2433,7 @@ void PythonQtShell_QProgressBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2455,7 +2455,7 @@ bool PythonQtShell_QProgressBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2488,7 +2488,7 @@ int PythonQtShell_QProgressBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2521,7 +2521,7 @@ void PythonQtShell_QProgressBar::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2543,7 +2543,7 @@ void PythonQtShell_QProgressBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2565,7 +2565,7 @@ void PythonQtShell_QProgressBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2587,7 +2587,7 @@ QVariant PythonQtShell_QProgressBar::inputMethodQuery(Qt::InputMethodQuery arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2620,7 +2620,7 @@ void PythonQtShell_QProgressBar::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2642,7 +2642,7 @@ void PythonQtShell_QProgressBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2664,7 +2664,7 @@ void PythonQtShell_QProgressBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2686,7 +2686,7 @@ int PythonQtShell_QProgressBar::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2719,7 +2719,7 @@ QSize PythonQtShell_QProgressBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2752,7 +2752,7 @@ void PythonQtShell_QProgressBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2774,7 +2774,7 @@ void PythonQtShell_QProgressBar::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2796,7 +2796,7 @@ void PythonQtShell_QProgressBar::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2818,7 +2818,7 @@ void PythonQtShell_QProgressBar::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2840,7 +2840,7 @@ void PythonQtShell_QProgressBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2862,7 +2862,7 @@ bool PythonQtShell_QProgressBar::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2895,7 +2895,7 @@ QPaintEngine* PythonQtShell_QProgressBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2928,7 +2928,7 @@ void PythonQtShell_QProgressBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2950,7 +2950,7 @@ QPaintDevice* PythonQtShell_QProgressBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2983,7 +2983,7 @@ void PythonQtShell_QProgressBar::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3005,7 +3005,7 @@ void PythonQtShell_QProgressBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3027,7 +3027,7 @@ QPainter* PythonQtShell_QProgressBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3060,7 +3060,7 @@ void PythonQtShell_QProgressBar::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3082,7 +3082,7 @@ QSize PythonQtShell_QProgressBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3115,7 +3115,7 @@ void PythonQtShell_QProgressBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3137,7 +3137,7 @@ QString PythonQtShell_QProgressBar::text() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("text"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3170,7 +3170,7 @@ void PythonQtShell_QProgressBar::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3192,7 +3192,7 @@ void PythonQtShell_QProgressBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3332,7 +3332,7 @@ void PythonQtShell_QProgressDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3354,7 +3354,7 @@ void PythonQtShell_QProgressDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3376,7 +3376,7 @@ void PythonQtShell_QProgressDialog::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3398,7 +3398,7 @@ void PythonQtShell_QProgressDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3420,7 +3420,7 @@ void PythonQtShell_QProgressDialog::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3442,7 +3442,7 @@ void PythonQtShell_QProgressDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3464,7 +3464,7 @@ void PythonQtShell_QProgressDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3486,7 +3486,7 @@ int PythonQtShell_QProgressDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3519,7 +3519,7 @@ void PythonQtShell_QProgressDialog::done(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3541,7 +3541,7 @@ void PythonQtShell_QProgressDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3563,7 +3563,7 @@ void PythonQtShell_QProgressDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3585,7 +3585,7 @@ void PythonQtShell_QProgressDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3607,7 +3607,7 @@ void PythonQtShell_QProgressDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3629,7 +3629,7 @@ void PythonQtShell_QProgressDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3651,7 +3651,7 @@ bool PythonQtShell_QProgressDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3684,7 +3684,7 @@ bool PythonQtShell_QProgressDialog::eventFilter(QObject* arg__1, QEvent* arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3717,7 +3717,7 @@ int PythonQtShell_QProgressDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3750,7 +3750,7 @@ void PythonQtShell_QProgressDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3772,7 +3772,7 @@ bool PythonQtShell_QProgressDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3805,7 +3805,7 @@ void PythonQtShell_QProgressDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3827,7 +3827,7 @@ bool PythonQtShell_QProgressDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3860,7 +3860,7 @@ int PythonQtShell_QProgressDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3893,7 +3893,7 @@ void PythonQtShell_QProgressDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3915,7 +3915,7 @@ void PythonQtShell_QProgressDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3937,7 +3937,7 @@ void PythonQtShell_QProgressDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3959,7 +3959,7 @@ QVariant PythonQtShell_QProgressDialog::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3992,7 +3992,7 @@ void PythonQtShell_QProgressDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4014,7 +4014,7 @@ void PythonQtShell_QProgressDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4036,7 +4036,7 @@ void PythonQtShell_QProgressDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4058,7 +4058,7 @@ int PythonQtShell_QProgressDialog::metric(QPaintDevice::PaintDeviceMetric arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4091,7 +4091,7 @@ void PythonQtShell_QProgressDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4113,7 +4113,7 @@ void PythonQtShell_QProgressDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4135,7 +4135,7 @@ void PythonQtShell_QProgressDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4157,7 +4157,7 @@ void PythonQtShell_QProgressDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4179,7 +4179,7 @@ void PythonQtShell_QProgressDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4201,7 +4201,7 @@ bool PythonQtShell_QProgressDialog::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4234,7 +4234,7 @@ QPaintEngine* PythonQtShell_QProgressDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4267,7 +4267,7 @@ void PythonQtShell_QProgressDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4289,7 +4289,7 @@ QPaintDevice* PythonQtShell_QProgressDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4322,7 +4322,7 @@ void PythonQtShell_QProgressDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4344,7 +4344,7 @@ void PythonQtShell_QProgressDialog::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4366,7 +4366,7 @@ void PythonQtShell_QProgressDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4388,7 +4388,7 @@ QPainter* PythonQtShell_QProgressDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4421,7 +4421,7 @@ void PythonQtShell_QProgressDialog::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4443,7 +4443,7 @@ QSize PythonQtShell_QProgressDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4476,7 +4476,7 @@ void PythonQtShell_QProgressDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4498,7 +4498,7 @@ void PythonQtShell_QProgressDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4520,7 +4520,7 @@ void PythonQtShell_QProgressDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4639,7 +4639,7 @@ void PythonQtShell_QProxyStyle::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4661,7 +4661,7 @@ void PythonQtShell_QProxyStyle::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4683,7 +4683,7 @@ void PythonQtShell_QProxyStyle::drawComplexControl(QStyle::ComplexControl contr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4705,7 +4705,7 @@ void PythonQtShell_QProxyStyle::drawControl(QStyle::ControlElement element0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4727,7 +4727,7 @@ void PythonQtShell_QProxyStyle::drawItemPixmap(QPainter* painter0, const QRect& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawItemPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4749,7 +4749,7 @@ void PythonQtShell_QProxyStyle::drawItemText(QPainter* painter0, const QRect& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawItemText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4771,7 +4771,7 @@ void PythonQtShell_QProxyStyle::drawPrimitive(QStyle::PrimitiveElement element0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawPrimitive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4793,7 +4793,7 @@ bool PythonQtShell_QProxyStyle::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4826,7 +4826,7 @@ bool PythonQtShell_QProxyStyle::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4859,7 +4859,7 @@ QPixmap PythonQtShell_QProxyStyle::generatedIconPixmap(QIcon::Mode iconMode0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("generatedIconPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4892,7 +4892,7 @@ QStyle::SubControl PythonQtShell_QProxyStyle::hitTestComplexControl(QStyle::Com { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitTestComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4925,7 +4925,7 @@ QRect PythonQtShell_QProxyStyle::itemPixmapRect(const QRect& r0, int flags1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemPixmapRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4958,7 +4958,7 @@ QRect PythonQtShell_QProxyStyle::itemTextRect(const QFontMetrics& fm0, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemTextRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4991,7 +4991,7 @@ int PythonQtShell_QProxyStyle::layoutSpacing(QSizePolicy::ControlType control1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layoutSpacing"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5024,7 +5024,7 @@ int PythonQtShell_QProxyStyle::pixelMetric(QStyle::PixelMetric metric0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pixelMetric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5057,7 +5057,7 @@ void PythonQtShell_QProxyStyle::polish(QApplication* app0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5079,7 +5079,7 @@ void PythonQtShell_QProxyStyle::polish(QPalette& pal0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5101,7 +5101,7 @@ void PythonQtShell_QProxyStyle::polish(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5123,7 +5123,7 @@ QSize PythonQtShell_QProxyStyle::sizeFromContents(QStyle::ContentsType type0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5156,7 +5156,7 @@ QIcon PythonQtShell_QProxyStyle::standardIcon(QStyle::StandardPixmap standardI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("standardIcon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5189,7 +5189,7 @@ QPalette PythonQtShell_QProxyStyle::standardPalette() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("standardPalette"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5222,7 +5222,7 @@ QPixmap PythonQtShell_QProxyStyle::standardPixmap(QStyle::StandardPixmap stand { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("standardPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5255,7 +5255,7 @@ int PythonQtShell_QProxyStyle::styleHint(QStyle::StyleHint hint0, const QStyle { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("styleHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5288,7 +5288,7 @@ QRect PythonQtShell_QProxyStyle::subControlRect(QStyle::ComplexControl cc0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("subControlRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5321,7 +5321,7 @@ QRect PythonQtShell_QProxyStyle::subElementRect(QStyle::SubElement element0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("subElementRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5354,7 +5354,7 @@ void PythonQtShell_QProxyStyle::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5376,7 +5376,7 @@ void PythonQtShell_QProxyStyle::unpolish(QApplication* app0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5398,7 +5398,7 @@ void PythonQtShell_QProxyStyle::unpolish(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5462,7 +5462,7 @@ void PythonQtShell_QPushButton::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5484,7 +5484,7 @@ void PythonQtShell_QPushButton::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5506,7 +5506,7 @@ void PythonQtShell_QPushButton::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5528,7 +5528,7 @@ void PythonQtShell_QPushButton::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5550,7 +5550,7 @@ void PythonQtShell_QPushButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5572,7 +5572,7 @@ void PythonQtShell_QPushButton::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5594,7 +5594,7 @@ void PythonQtShell_QPushButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5616,7 +5616,7 @@ int PythonQtShell_QPushButton::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5649,7 +5649,7 @@ void PythonQtShell_QPushButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5671,7 +5671,7 @@ void PythonQtShell_QPushButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5693,7 +5693,7 @@ void PythonQtShell_QPushButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5715,7 +5715,7 @@ void PythonQtShell_QPushButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5737,7 +5737,7 @@ void PythonQtShell_QPushButton::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5759,7 +5759,7 @@ bool PythonQtShell_QPushButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5792,7 +5792,7 @@ bool PythonQtShell_QPushButton::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5825,7 +5825,7 @@ void PythonQtShell_QPushButton::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5847,7 +5847,7 @@ bool PythonQtShell_QPushButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5880,7 +5880,7 @@ void PythonQtShell_QPushButton::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5902,7 +5902,7 @@ bool PythonQtShell_QPushButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5935,7 +5935,7 @@ int PythonQtShell_QPushButton::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5968,7 +5968,7 @@ void PythonQtShell_QPushButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5990,7 +5990,7 @@ bool PythonQtShell_QPushButton::hitButton(const QPoint& pos0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6023,7 +6023,7 @@ void PythonQtShell_QPushButton::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6045,7 +6045,7 @@ void PythonQtShell_QPushButton::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6067,7 +6067,7 @@ QVariant PythonQtShell_QPushButton::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6100,7 +6100,7 @@ void PythonQtShell_QPushButton::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6122,7 +6122,7 @@ void PythonQtShell_QPushButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6144,7 +6144,7 @@ void PythonQtShell_QPushButton::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6166,7 +6166,7 @@ int PythonQtShell_QPushButton::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6199,7 +6199,7 @@ QSize PythonQtShell_QPushButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6232,7 +6232,7 @@ void PythonQtShell_QPushButton::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6254,7 +6254,7 @@ void PythonQtShell_QPushButton::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6276,7 +6276,7 @@ void PythonQtShell_QPushButton::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6298,7 +6298,7 @@ void PythonQtShell_QPushButton::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6320,7 +6320,7 @@ void PythonQtShell_QPushButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6342,7 +6342,7 @@ bool PythonQtShell_QPushButton::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6375,7 +6375,7 @@ void PythonQtShell_QPushButton::nextCheckState() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6397,7 +6397,7 @@ QPaintEngine* PythonQtShell_QPushButton::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6430,7 +6430,7 @@ void PythonQtShell_QPushButton::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6452,7 +6452,7 @@ QPaintDevice* PythonQtShell_QPushButton::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6485,7 +6485,7 @@ void PythonQtShell_QPushButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6507,7 +6507,7 @@ void PythonQtShell_QPushButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6529,7 +6529,7 @@ QPainter* PythonQtShell_QPushButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6562,7 +6562,7 @@ void PythonQtShell_QPushButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6584,7 +6584,7 @@ QSize PythonQtShell_QPushButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6617,7 +6617,7 @@ void PythonQtShell_QPushButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6639,7 +6639,7 @@ void PythonQtShell_QPushButton::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6661,7 +6661,7 @@ void PythonQtShell_QPushButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7139,7 +7139,7 @@ void PythonQtShell_QRadioButton::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7161,7 +7161,7 @@ void PythonQtShell_QRadioButton::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7183,7 +7183,7 @@ void PythonQtShell_QRadioButton::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7205,7 +7205,7 @@ void PythonQtShell_QRadioButton::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7227,7 +7227,7 @@ void PythonQtShell_QRadioButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7249,7 +7249,7 @@ void PythonQtShell_QRadioButton::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7271,7 +7271,7 @@ void PythonQtShell_QRadioButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7293,7 +7293,7 @@ int PythonQtShell_QRadioButton::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7326,7 +7326,7 @@ void PythonQtShell_QRadioButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7348,7 +7348,7 @@ void PythonQtShell_QRadioButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7370,7 +7370,7 @@ void PythonQtShell_QRadioButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7392,7 +7392,7 @@ void PythonQtShell_QRadioButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7414,7 +7414,7 @@ void PythonQtShell_QRadioButton::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7436,7 +7436,7 @@ bool PythonQtShell_QRadioButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7469,7 +7469,7 @@ bool PythonQtShell_QRadioButton::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7502,7 +7502,7 @@ void PythonQtShell_QRadioButton::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7524,7 +7524,7 @@ bool PythonQtShell_QRadioButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7557,7 +7557,7 @@ void PythonQtShell_QRadioButton::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7579,7 +7579,7 @@ bool PythonQtShell_QRadioButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7612,7 +7612,7 @@ int PythonQtShell_QRadioButton::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7645,7 +7645,7 @@ void PythonQtShell_QRadioButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7667,7 +7667,7 @@ bool PythonQtShell_QRadioButton::hitButton(const QPoint& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7700,7 +7700,7 @@ void PythonQtShell_QRadioButton::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7722,7 +7722,7 @@ void PythonQtShell_QRadioButton::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7744,7 +7744,7 @@ QVariant PythonQtShell_QRadioButton::inputMethodQuery(Qt::InputMethodQuery arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7777,7 +7777,7 @@ void PythonQtShell_QRadioButton::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7799,7 +7799,7 @@ void PythonQtShell_QRadioButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7821,7 +7821,7 @@ void PythonQtShell_QRadioButton::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7843,7 +7843,7 @@ int PythonQtShell_QRadioButton::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7876,7 +7876,7 @@ QSize PythonQtShell_QRadioButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7909,7 +7909,7 @@ void PythonQtShell_QRadioButton::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7931,7 +7931,7 @@ void PythonQtShell_QRadioButton::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7953,7 +7953,7 @@ void PythonQtShell_QRadioButton::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7975,7 +7975,7 @@ void PythonQtShell_QRadioButton::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7997,7 +7997,7 @@ void PythonQtShell_QRadioButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8019,7 +8019,7 @@ bool PythonQtShell_QRadioButton::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8052,7 +8052,7 @@ void PythonQtShell_QRadioButton::nextCheckState() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8074,7 +8074,7 @@ QPaintEngine* PythonQtShell_QRadioButton::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8107,7 +8107,7 @@ void PythonQtShell_QRadioButton::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8129,7 +8129,7 @@ QPaintDevice* PythonQtShell_QRadioButton::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8162,7 +8162,7 @@ void PythonQtShell_QRadioButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8184,7 +8184,7 @@ void PythonQtShell_QRadioButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8206,7 +8206,7 @@ QPainter* PythonQtShell_QRadioButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8239,7 +8239,7 @@ void PythonQtShell_QRadioButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8261,7 +8261,7 @@ QSize PythonQtShell_QRadioButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8294,7 +8294,7 @@ void PythonQtShell_QRadioButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8316,7 +8316,7 @@ void PythonQtShell_QRadioButton::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8338,7 +8338,7 @@ void PythonQtShell_QRadioButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8402,7 +8402,7 @@ void PythonQtShell_QRasterWindow::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8424,7 +8424,7 @@ void PythonQtShell_QRasterWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8446,7 +8446,7 @@ bool PythonQtShell_QRasterWindow::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8479,7 +8479,7 @@ bool PythonQtShell_QRasterWindow::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8512,7 +8512,7 @@ void PythonQtShell_QRasterWindow::exposeEvent(QExposeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exposeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8534,7 +8534,7 @@ void PythonQtShell_QRasterWindow::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8556,7 +8556,7 @@ QObject* PythonQtShell_QRasterWindow::focusObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8589,7 +8589,7 @@ void PythonQtShell_QRasterWindow::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8611,7 +8611,7 @@ QSurfaceFormat PythonQtShell_QRasterWindow::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8644,7 +8644,7 @@ void PythonQtShell_QRasterWindow::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8666,7 +8666,7 @@ void PythonQtShell_QRasterWindow::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8688,7 +8688,7 @@ void PythonQtShell_QRasterWindow::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8710,7 +8710,7 @@ int PythonQtShell_QRasterWindow::metric(QPaintDevice::PaintDeviceMetric metric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8743,7 +8743,7 @@ void PythonQtShell_QRasterWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8765,7 +8765,7 @@ void PythonQtShell_QRasterWindow::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8787,7 +8787,7 @@ void PythonQtShell_QRasterWindow::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8809,7 +8809,7 @@ void PythonQtShell_QRasterWindow::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8831,7 +8831,7 @@ void PythonQtShell_QRasterWindow::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8853,7 +8853,7 @@ bool PythonQtShell_QRasterWindow::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8886,7 +8886,7 @@ void PythonQtShell_QRasterWindow::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8908,7 +8908,7 @@ QPaintDevice* PythonQtShell_QRasterWindow::redirected(QPoint* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8941,7 +8941,7 @@ void PythonQtShell_QRasterWindow::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8963,7 +8963,7 @@ void PythonQtShell_QRasterWindow::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8985,7 +8985,7 @@ QSize PythonQtShell_QRasterWindow::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9018,7 +9018,7 @@ QSurface::SurfaceType PythonQtShell_QRasterWindow::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9051,7 +9051,7 @@ void PythonQtShell_QRasterWindow::tabletEvent(QTabletEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9073,7 +9073,7 @@ void PythonQtShell_QRasterWindow::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9095,7 +9095,7 @@ void PythonQtShell_QRasterWindow::touchEvent(QTouchEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9117,7 +9117,7 @@ void PythonQtShell_QRasterWindow::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9370,7 +9370,7 @@ void PythonQtShell_QRegExpValidator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9392,7 +9392,7 @@ void PythonQtShell_QRegExpValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9414,7 +9414,7 @@ bool PythonQtShell_QRegExpValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9447,7 +9447,7 @@ bool PythonQtShell_QRegExpValidator::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9480,7 +9480,7 @@ void PythonQtShell_QRegExpValidator::fixup(QString& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9502,7 +9502,7 @@ void PythonQtShell_QRegExpValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9524,7 +9524,7 @@ QValidator::State PythonQtShell_QRegExpValidator::validate(QString& input0, in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9594,7 +9594,7 @@ void PythonQtShell_QRegularExpressionValidator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9616,7 +9616,7 @@ void PythonQtShell_QRegularExpressionValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9638,7 +9638,7 @@ bool PythonQtShell_QRegularExpressionValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9671,7 +9671,7 @@ bool PythonQtShell_QRegularExpressionValidator::eventFilter(QObject* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9704,7 +9704,7 @@ void PythonQtShell_QRegularExpressionValidator::fixup(QString& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9726,7 +9726,7 @@ void PythonQtShell_QRegularExpressionValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9748,7 +9748,7 @@ QValidator::State PythonQtShell_QRegularExpressionValidator::validate(QString& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9958,7 +9958,7 @@ void PythonQtShell_QRubberBand::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9980,7 +9980,7 @@ void PythonQtShell_QRubberBand::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10002,7 +10002,7 @@ void PythonQtShell_QRubberBand::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10024,7 +10024,7 @@ void PythonQtShell_QRubberBand::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10046,7 +10046,7 @@ void PythonQtShell_QRubberBand::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10068,7 +10068,7 @@ void PythonQtShell_QRubberBand::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10090,7 +10090,7 @@ int PythonQtShell_QRubberBand::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10123,7 +10123,7 @@ void PythonQtShell_QRubberBand::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10145,7 +10145,7 @@ void PythonQtShell_QRubberBand::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10167,7 +10167,7 @@ void PythonQtShell_QRubberBand::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10189,7 +10189,7 @@ void PythonQtShell_QRubberBand::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10211,7 +10211,7 @@ void PythonQtShell_QRubberBand::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10233,7 +10233,7 @@ bool PythonQtShell_QRubberBand::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10266,7 +10266,7 @@ bool PythonQtShell_QRubberBand::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10299,7 +10299,7 @@ void PythonQtShell_QRubberBand::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10321,7 +10321,7 @@ bool PythonQtShell_QRubberBand::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10354,7 +10354,7 @@ void PythonQtShell_QRubberBand::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10376,7 +10376,7 @@ bool PythonQtShell_QRubberBand::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10409,7 +10409,7 @@ int PythonQtShell_QRubberBand::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10442,7 +10442,7 @@ void PythonQtShell_QRubberBand::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10464,7 +10464,7 @@ void PythonQtShell_QRubberBand::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10486,7 +10486,7 @@ void PythonQtShell_QRubberBand::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10508,7 +10508,7 @@ QVariant PythonQtShell_QRubberBand::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10541,7 +10541,7 @@ void PythonQtShell_QRubberBand::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10563,7 +10563,7 @@ void PythonQtShell_QRubberBand::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10585,7 +10585,7 @@ void PythonQtShell_QRubberBand::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10607,7 +10607,7 @@ int PythonQtShell_QRubberBand::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10640,7 +10640,7 @@ QSize PythonQtShell_QRubberBand::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10673,7 +10673,7 @@ void PythonQtShell_QRubberBand::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10695,7 +10695,7 @@ void PythonQtShell_QRubberBand::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10717,7 +10717,7 @@ void PythonQtShell_QRubberBand::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10739,7 +10739,7 @@ void PythonQtShell_QRubberBand::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10761,7 +10761,7 @@ void PythonQtShell_QRubberBand::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10783,7 +10783,7 @@ bool PythonQtShell_QRubberBand::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10816,7 +10816,7 @@ QPaintEngine* PythonQtShell_QRubberBand::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10849,7 +10849,7 @@ void PythonQtShell_QRubberBand::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10871,7 +10871,7 @@ QPaintDevice* PythonQtShell_QRubberBand::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10904,7 +10904,7 @@ void PythonQtShell_QRubberBand::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10926,7 +10926,7 @@ void PythonQtShell_QRubberBand::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10948,7 +10948,7 @@ QPainter* PythonQtShell_QRubberBand::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10981,7 +10981,7 @@ void PythonQtShell_QRubberBand::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11003,7 +11003,7 @@ QSize PythonQtShell_QRubberBand::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11036,7 +11036,7 @@ void PythonQtShell_QRubberBand::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11058,7 +11058,7 @@ void PythonQtShell_QRubberBand::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11080,7 +11080,7 @@ void PythonQtShell_QRubberBand::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11345,7 +11345,7 @@ void PythonQtShell_QScrollArea::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11367,7 +11367,7 @@ void PythonQtShell_QScrollArea::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11389,7 +11389,7 @@ void PythonQtShell_QScrollArea::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11411,7 +11411,7 @@ void PythonQtShell_QScrollArea::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11433,7 +11433,7 @@ void PythonQtShell_QScrollArea::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11455,7 +11455,7 @@ void PythonQtShell_QScrollArea::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11477,7 +11477,7 @@ int PythonQtShell_QScrollArea::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11510,7 +11510,7 @@ void PythonQtShell_QScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11532,7 +11532,7 @@ void PythonQtShell_QScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11554,7 +11554,7 @@ void PythonQtShell_QScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11576,7 +11576,7 @@ void PythonQtShell_QScrollArea::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11598,7 +11598,7 @@ void PythonQtShell_QScrollArea::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11620,7 +11620,7 @@ bool PythonQtShell_QScrollArea::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11653,7 +11653,7 @@ bool PythonQtShell_QScrollArea::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11686,7 +11686,7 @@ void PythonQtShell_QScrollArea::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11708,7 +11708,7 @@ bool PythonQtShell_QScrollArea::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11741,7 +11741,7 @@ void PythonQtShell_QScrollArea::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11763,7 +11763,7 @@ bool PythonQtShell_QScrollArea::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11796,7 +11796,7 @@ int PythonQtShell_QScrollArea::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11829,7 +11829,7 @@ void PythonQtShell_QScrollArea::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11851,7 +11851,7 @@ void PythonQtShell_QScrollArea::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11873,7 +11873,7 @@ void PythonQtShell_QScrollArea::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11895,7 +11895,7 @@ QVariant PythonQtShell_QScrollArea::inputMethodQuery(Qt::InputMethodQuery arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11928,7 +11928,7 @@ void PythonQtShell_QScrollArea::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11950,7 +11950,7 @@ void PythonQtShell_QScrollArea::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11972,7 +11972,7 @@ void PythonQtShell_QScrollArea::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11994,7 +11994,7 @@ int PythonQtShell_QScrollArea::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12027,7 +12027,7 @@ QSize PythonQtShell_QScrollArea::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12060,7 +12060,7 @@ void PythonQtShell_QScrollArea::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12082,7 +12082,7 @@ void PythonQtShell_QScrollArea::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12104,7 +12104,7 @@ void PythonQtShell_QScrollArea::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12126,7 +12126,7 @@ void PythonQtShell_QScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12148,7 +12148,7 @@ void PythonQtShell_QScrollArea::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12170,7 +12170,7 @@ bool PythonQtShell_QScrollArea::nativeEvent(const QByteArray& eventType0, void { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12203,7 +12203,7 @@ QPaintEngine* PythonQtShell_QScrollArea::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12236,7 +12236,7 @@ void PythonQtShell_QScrollArea::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12258,7 +12258,7 @@ QPaintDevice* PythonQtShell_QScrollArea::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12291,7 +12291,7 @@ void PythonQtShell_QScrollArea::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12313,7 +12313,7 @@ void PythonQtShell_QScrollArea::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12335,7 +12335,7 @@ void PythonQtShell_QScrollArea::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12357,7 +12357,7 @@ void PythonQtShell_QScrollArea::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12379,7 +12379,7 @@ QPainter* PythonQtShell_QScrollArea::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12412,7 +12412,7 @@ void PythonQtShell_QScrollArea::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12434,7 +12434,7 @@ QSize PythonQtShell_QScrollArea::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12467,7 +12467,7 @@ void PythonQtShell_QScrollArea::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12489,7 +12489,7 @@ void PythonQtShell_QScrollArea::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12511,7 +12511,7 @@ bool PythonQtShell_QScrollArea::viewportEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12544,7 +12544,7 @@ QSize PythonQtShell_QScrollArea::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12577,7 +12577,7 @@ void PythonQtShell_QScrollArea::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12667,7 +12667,7 @@ void PythonQtShell_QScrollBar::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12689,7 +12689,7 @@ void PythonQtShell_QScrollBar::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12711,7 +12711,7 @@ void PythonQtShell_QScrollBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12733,7 +12733,7 @@ void PythonQtShell_QScrollBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12755,7 +12755,7 @@ void PythonQtShell_QScrollBar::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12777,7 +12777,7 @@ void PythonQtShell_QScrollBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12799,7 +12799,7 @@ int PythonQtShell_QScrollBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12832,7 +12832,7 @@ void PythonQtShell_QScrollBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12854,7 +12854,7 @@ void PythonQtShell_QScrollBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12876,7 +12876,7 @@ void PythonQtShell_QScrollBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12898,7 +12898,7 @@ void PythonQtShell_QScrollBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12920,7 +12920,7 @@ void PythonQtShell_QScrollBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12942,7 +12942,7 @@ bool PythonQtShell_QScrollBar::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12975,7 +12975,7 @@ bool PythonQtShell_QScrollBar::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13008,7 +13008,7 @@ void PythonQtShell_QScrollBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13030,7 +13030,7 @@ bool PythonQtShell_QScrollBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13063,7 +13063,7 @@ void PythonQtShell_QScrollBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13085,7 +13085,7 @@ bool PythonQtShell_QScrollBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13118,7 +13118,7 @@ int PythonQtShell_QScrollBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13151,7 +13151,7 @@ void PythonQtShell_QScrollBar::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13173,7 +13173,7 @@ void PythonQtShell_QScrollBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13195,7 +13195,7 @@ void PythonQtShell_QScrollBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13217,7 +13217,7 @@ QVariant PythonQtShell_QScrollBar::inputMethodQuery(Qt::InputMethodQuery arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13250,7 +13250,7 @@ void PythonQtShell_QScrollBar::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13272,7 +13272,7 @@ void PythonQtShell_QScrollBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13294,7 +13294,7 @@ void PythonQtShell_QScrollBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13316,7 +13316,7 @@ int PythonQtShell_QScrollBar::metric(QPaintDevice::PaintDeviceMetric arg__1) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13349,7 +13349,7 @@ QSize PythonQtShell_QScrollBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13382,7 +13382,7 @@ void PythonQtShell_QScrollBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13404,7 +13404,7 @@ void PythonQtShell_QScrollBar::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13426,7 +13426,7 @@ void PythonQtShell_QScrollBar::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13448,7 +13448,7 @@ void PythonQtShell_QScrollBar::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13470,7 +13470,7 @@ void PythonQtShell_QScrollBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13492,7 +13492,7 @@ bool PythonQtShell_QScrollBar::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13525,7 +13525,7 @@ QPaintEngine* PythonQtShell_QScrollBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13558,7 +13558,7 @@ void PythonQtShell_QScrollBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13580,7 +13580,7 @@ QPaintDevice* PythonQtShell_QScrollBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13613,7 +13613,7 @@ void PythonQtShell_QScrollBar::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13635,7 +13635,7 @@ void PythonQtShell_QScrollBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13657,7 +13657,7 @@ QPainter* PythonQtShell_QScrollBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13690,7 +13690,7 @@ void PythonQtShell_QScrollBar::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13712,7 +13712,7 @@ QSize PythonQtShell_QScrollBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13745,7 +13745,7 @@ void PythonQtShell_QScrollBar::sliderChange(QAbstractSlider::SliderChange chang { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sliderChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13767,7 +13767,7 @@ void PythonQtShell_QScrollBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13789,7 +13789,7 @@ void PythonQtShell_QScrollBar::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13811,7 +13811,7 @@ void PythonQtShell_QScrollBar::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14160,7 +14160,7 @@ void PythonQtShell_QShortcut::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14182,7 +14182,7 @@ void PythonQtShell_QShortcut::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14204,7 +14204,7 @@ bool PythonQtShell_QShortcut::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14237,7 +14237,7 @@ bool PythonQtShell_QShortcut::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14270,7 +14270,7 @@ void PythonQtShell_QShortcut::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14410,7 +14410,7 @@ void PythonQtShell_QSizeGrip::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14432,7 +14432,7 @@ void PythonQtShell_QSizeGrip::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14454,7 +14454,7 @@ void PythonQtShell_QSizeGrip::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14476,7 +14476,7 @@ void PythonQtShell_QSizeGrip::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14498,7 +14498,7 @@ void PythonQtShell_QSizeGrip::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14520,7 +14520,7 @@ void PythonQtShell_QSizeGrip::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14542,7 +14542,7 @@ int PythonQtShell_QSizeGrip::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14575,7 +14575,7 @@ void PythonQtShell_QSizeGrip::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14597,7 +14597,7 @@ void PythonQtShell_QSizeGrip::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14619,7 +14619,7 @@ void PythonQtShell_QSizeGrip::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14641,7 +14641,7 @@ void PythonQtShell_QSizeGrip::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14663,7 +14663,7 @@ void PythonQtShell_QSizeGrip::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14685,7 +14685,7 @@ bool PythonQtShell_QSizeGrip::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14718,7 +14718,7 @@ bool PythonQtShell_QSizeGrip::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14751,7 +14751,7 @@ void PythonQtShell_QSizeGrip::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14773,7 +14773,7 @@ bool PythonQtShell_QSizeGrip::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14806,7 +14806,7 @@ void PythonQtShell_QSizeGrip::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14828,7 +14828,7 @@ bool PythonQtShell_QSizeGrip::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14861,7 +14861,7 @@ int PythonQtShell_QSizeGrip::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14894,7 +14894,7 @@ void PythonQtShell_QSizeGrip::hideEvent(QHideEvent* hideEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14916,7 +14916,7 @@ void PythonQtShell_QSizeGrip::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14938,7 +14938,7 @@ void PythonQtShell_QSizeGrip::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14960,7 +14960,7 @@ QVariant PythonQtShell_QSizeGrip::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14993,7 +14993,7 @@ void PythonQtShell_QSizeGrip::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15015,7 +15015,7 @@ void PythonQtShell_QSizeGrip::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15037,7 +15037,7 @@ void PythonQtShell_QSizeGrip::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15059,7 +15059,7 @@ int PythonQtShell_QSizeGrip::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15092,7 +15092,7 @@ QSize PythonQtShell_QSizeGrip::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15125,7 +15125,7 @@ void PythonQtShell_QSizeGrip::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15147,7 +15147,7 @@ void PythonQtShell_QSizeGrip::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15169,7 +15169,7 @@ void PythonQtShell_QSizeGrip::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15191,7 +15191,7 @@ void PythonQtShell_QSizeGrip::mouseReleaseEvent(QMouseEvent* mouseEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15213,7 +15213,7 @@ void PythonQtShell_QSizeGrip::moveEvent(QMoveEvent* moveEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15235,7 +15235,7 @@ bool PythonQtShell_QSizeGrip::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15268,7 +15268,7 @@ QPaintEngine* PythonQtShell_QSizeGrip::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15301,7 +15301,7 @@ void PythonQtShell_QSizeGrip::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15323,7 +15323,7 @@ QPaintDevice* PythonQtShell_QSizeGrip::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15356,7 +15356,7 @@ void PythonQtShell_QSizeGrip::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15378,7 +15378,7 @@ void PythonQtShell_QSizeGrip::setVisible(bool arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15400,7 +15400,7 @@ QPainter* PythonQtShell_QSizeGrip::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15433,7 +15433,7 @@ void PythonQtShell_QSizeGrip::showEvent(QShowEvent* showEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15455,7 +15455,7 @@ QSize PythonQtShell_QSizeGrip::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15488,7 +15488,7 @@ void PythonQtShell_QSizeGrip::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15510,7 +15510,7 @@ void PythonQtShell_QSizeGrip::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -15532,7 +15532,7 @@ void PythonQtShell_QSizeGrip::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp index fcbdb07db..bf8a7a9c8 100644 --- a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp +++ b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp @@ -75,7 +75,7 @@ void PythonQtShell_QSlider::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -97,7 +97,7 @@ void PythonQtShell_QSlider::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -119,7 +119,7 @@ void PythonQtShell_QSlider::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -141,7 +141,7 @@ void PythonQtShell_QSlider::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -163,7 +163,7 @@ void PythonQtShell_QSlider::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -185,7 +185,7 @@ void PythonQtShell_QSlider::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -207,7 +207,7 @@ int PythonQtShell_QSlider::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -240,7 +240,7 @@ void PythonQtShell_QSlider::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -262,7 +262,7 @@ void PythonQtShell_QSlider::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -284,7 +284,7 @@ void PythonQtShell_QSlider::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -306,7 +306,7 @@ void PythonQtShell_QSlider::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -328,7 +328,7 @@ void PythonQtShell_QSlider::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -350,7 +350,7 @@ bool PythonQtShell_QSlider::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -383,7 +383,7 @@ bool PythonQtShell_QSlider::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -416,7 +416,7 @@ void PythonQtShell_QSlider::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -438,7 +438,7 @@ bool PythonQtShell_QSlider::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -471,7 +471,7 @@ void PythonQtShell_QSlider::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -493,7 +493,7 @@ bool PythonQtShell_QSlider::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -526,7 +526,7 @@ int PythonQtShell_QSlider::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -559,7 +559,7 @@ void PythonQtShell_QSlider::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -581,7 +581,7 @@ void PythonQtShell_QSlider::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -603,7 +603,7 @@ void PythonQtShell_QSlider::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -625,7 +625,7 @@ QVariant PythonQtShell_QSlider::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -658,7 +658,7 @@ void PythonQtShell_QSlider::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -680,7 +680,7 @@ void PythonQtShell_QSlider::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -702,7 +702,7 @@ void PythonQtShell_QSlider::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -724,7 +724,7 @@ int PythonQtShell_QSlider::metric(QPaintDevice::PaintDeviceMetric arg__1) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -757,7 +757,7 @@ QSize PythonQtShell_QSlider::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -790,7 +790,7 @@ void PythonQtShell_QSlider::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -812,7 +812,7 @@ void PythonQtShell_QSlider::mouseMoveEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -834,7 +834,7 @@ void PythonQtShell_QSlider::mousePressEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -856,7 +856,7 @@ void PythonQtShell_QSlider::mouseReleaseEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -878,7 +878,7 @@ void PythonQtShell_QSlider::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -900,7 +900,7 @@ bool PythonQtShell_QSlider::nativeEvent(const QByteArray& eventType0, void* m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -933,7 +933,7 @@ QPaintEngine* PythonQtShell_QSlider::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -966,7 +966,7 @@ void PythonQtShell_QSlider::paintEvent(QPaintEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -988,7 +988,7 @@ QPaintDevice* PythonQtShell_QSlider::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1021,7 +1021,7 @@ void PythonQtShell_QSlider::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1043,7 +1043,7 @@ void PythonQtShell_QSlider::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1065,7 +1065,7 @@ QPainter* PythonQtShell_QSlider::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1098,7 +1098,7 @@ void PythonQtShell_QSlider::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1120,7 +1120,7 @@ QSize PythonQtShell_QSlider::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1153,7 +1153,7 @@ void PythonQtShell_QSlider::sliderChange(QAbstractSlider::SliderChange change0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sliderChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1175,7 +1175,7 @@ void PythonQtShell_QSlider::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1197,7 +1197,7 @@ void PythonQtShell_QSlider::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1219,7 +1219,7 @@ void PythonQtShell_QSlider::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1303,7 +1303,7 @@ QModelIndex PythonQtShell_QSortFilterProxyModel::buddy(const QModelIndex& inde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1336,7 +1336,7 @@ bool PythonQtShell_QSortFilterProxyModel::canDropMimeData(const QMimeData* dat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1369,7 +1369,7 @@ bool PythonQtShell_QSortFilterProxyModel::canFetchMore(const QModelIndex& pare { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1402,7 +1402,7 @@ void PythonQtShell_QSortFilterProxyModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1424,7 +1424,7 @@ int PythonQtShell_QSortFilterProxyModel::columnCount(const QModelIndex& parent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1457,7 +1457,7 @@ void PythonQtShell_QSortFilterProxyModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1479,7 +1479,7 @@ QVariant PythonQtShell_QSortFilterProxyModel::data(const QModelIndex& index0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1512,7 +1512,7 @@ bool PythonQtShell_QSortFilterProxyModel::dropMimeData(const QMimeData* data0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1545,7 +1545,7 @@ bool PythonQtShell_QSortFilterProxyModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1578,7 +1578,7 @@ bool PythonQtShell_QSortFilterProxyModel::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1611,7 +1611,7 @@ void PythonQtShell_QSortFilterProxyModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1633,7 +1633,7 @@ bool PythonQtShell_QSortFilterProxyModel::filterAcceptsColumn(int source_colum { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("filterAcceptsColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1666,7 +1666,7 @@ bool PythonQtShell_QSortFilterProxyModel::filterAcceptsRow(int source_row0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("filterAcceptsRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1699,7 +1699,7 @@ Qt::ItemFlags PythonQtShell_QSortFilterProxyModel::flags(const QModelIndex& in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1732,7 +1732,7 @@ bool PythonQtShell_QSortFilterProxyModel::hasChildren(const QModelIndex& paren { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1765,7 +1765,7 @@ QVariant PythonQtShell_QSortFilterProxyModel::headerData(int section0, Qt::Ori { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1798,7 +1798,7 @@ QModelIndex PythonQtShell_QSortFilterProxyModel::index(int row0, int column1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1831,7 +1831,7 @@ bool PythonQtShell_QSortFilterProxyModel::insertColumns(int column0, int coun { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1864,7 +1864,7 @@ bool PythonQtShell_QSortFilterProxyModel::insertRows(int row0, int count1, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1897,7 +1897,7 @@ QMap PythonQtShell_QSortFilterProxyModel::itemData(const QMode { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1930,7 +1930,7 @@ bool PythonQtShell_QSortFilterProxyModel::lessThan(const QModelIndex& source_l { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("lessThan"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1963,7 +1963,7 @@ QModelIndex PythonQtShell_QSortFilterProxyModel::mapFromSource(const QModelInde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1996,7 +1996,7 @@ QItemSelection PythonQtShell_QSortFilterProxyModel::mapSelectionFromSource(cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapSelectionFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2029,7 +2029,7 @@ QItemSelection PythonQtShell_QSortFilterProxyModel::mapSelectionToSource(const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapSelectionToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2062,7 +2062,7 @@ QModelIndex PythonQtShell_QSortFilterProxyModel::mapToSource(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2095,7 +2095,7 @@ QList PythonQtShell_QSortFilterProxyModel::match(const QModelInde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2128,7 +2128,7 @@ QMimeData* PythonQtShell_QSortFilterProxyModel::mimeData(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2161,7 +2161,7 @@ QStringList PythonQtShell_QSortFilterProxyModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2194,7 +2194,7 @@ bool PythonQtShell_QSortFilterProxyModel::moveColumns(const QModelIndex& sourc { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2227,7 +2227,7 @@ bool PythonQtShell_QSortFilterProxyModel::moveRows(const QModelIndex& sourcePa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2260,7 +2260,7 @@ QModelIndex PythonQtShell_QSortFilterProxyModel::parent(const QModelIndex& chi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2293,7 +2293,7 @@ bool PythonQtShell_QSortFilterProxyModel::removeColumns(int column0, int coun { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2326,7 +2326,7 @@ bool PythonQtShell_QSortFilterProxyModel::removeRows(int row0, int count1, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2359,7 +2359,7 @@ void PythonQtShell_QSortFilterProxyModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2381,7 +2381,7 @@ QHash PythonQtShell_QSortFilterProxyModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2414,7 +2414,7 @@ int PythonQtShell_QSortFilterProxyModel::rowCount(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2447,7 +2447,7 @@ bool PythonQtShell_QSortFilterProxyModel::setData(const QModelIndex& index0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2480,7 +2480,7 @@ bool PythonQtShell_QSortFilterProxyModel::setHeaderData(int section0, Qt::Orie { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2513,7 +2513,7 @@ bool PythonQtShell_QSortFilterProxyModel::setItemData(const QModelIndex& index { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2546,7 +2546,7 @@ void PythonQtShell_QSortFilterProxyModel::setSourceModel(QAbstractItemModel* so { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSourceModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2568,7 +2568,7 @@ QModelIndex PythonQtShell_QSortFilterProxyModel::sibling(int row0, int column { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2601,7 +2601,7 @@ void PythonQtShell_QSortFilterProxyModel::sort(int column0, Qt::SortOrder orde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2623,7 +2623,7 @@ QSize PythonQtShell_QSortFilterProxyModel::span(const QModelIndex& index0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2656,7 +2656,7 @@ bool PythonQtShell_QSortFilterProxyModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2689,7 +2689,7 @@ Qt::DropActions PythonQtShell_QSortFilterProxyModel::supportedDragActions() con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2722,7 +2722,7 @@ Qt::DropActions PythonQtShell_QSortFilterProxyModel::supportedDropActions() con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2755,7 +2755,7 @@ void PythonQtShell_QSortFilterProxyModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2910,7 +2910,7 @@ QSizePolicy::ControlTypes PythonQtShell_QSpacerItem::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2943,7 +2943,7 @@ Qt::Orientations PythonQtShell_QSpacerItem::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2976,7 +2976,7 @@ QRect PythonQtShell_QSpacerItem::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3009,7 +3009,7 @@ bool PythonQtShell_QSpacerItem::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3042,7 +3042,7 @@ int PythonQtShell_QSpacerItem::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3075,7 +3075,7 @@ void PythonQtShell_QSpacerItem::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3097,7 +3097,7 @@ bool PythonQtShell_QSpacerItem::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3130,7 +3130,7 @@ QLayout* PythonQtShell_QSpacerItem::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3163,7 +3163,7 @@ QSize PythonQtShell_QSpacerItem::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3196,7 +3196,7 @@ int PythonQtShell_QSpacerItem::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3229,7 +3229,7 @@ QSize PythonQtShell_QSpacerItem::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3262,7 +3262,7 @@ void PythonQtShell_QSpacerItem::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3284,7 +3284,7 @@ QSize PythonQtShell_QSpacerItem::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3317,7 +3317,7 @@ QSpacerItem* PythonQtShell_QSpacerItem::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3350,7 +3350,7 @@ QWidget* PythonQtShell_QSpacerItem::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3403,7 +3403,7 @@ void PythonQtShell_QSpinBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3425,7 +3425,7 @@ void PythonQtShell_QSpinBox::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3447,7 +3447,7 @@ void PythonQtShell_QSpinBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3469,7 +3469,7 @@ void PythonQtShell_QSpinBox::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3491,7 +3491,7 @@ void PythonQtShell_QSpinBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3513,7 +3513,7 @@ void PythonQtShell_QSpinBox::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3535,7 +3535,7 @@ void PythonQtShell_QSpinBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3557,7 +3557,7 @@ int PythonQtShell_QSpinBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3590,7 +3590,7 @@ void PythonQtShell_QSpinBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3612,7 +3612,7 @@ void PythonQtShell_QSpinBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3634,7 +3634,7 @@ void PythonQtShell_QSpinBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3656,7 +3656,7 @@ void PythonQtShell_QSpinBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3678,7 +3678,7 @@ void PythonQtShell_QSpinBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3700,7 +3700,7 @@ bool PythonQtShell_QSpinBox::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3733,7 +3733,7 @@ bool PythonQtShell_QSpinBox::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3766,7 +3766,7 @@ void PythonQtShell_QSpinBox::fixup(QString& str0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3788,7 +3788,7 @@ void PythonQtShell_QSpinBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3810,7 +3810,7 @@ bool PythonQtShell_QSpinBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3843,7 +3843,7 @@ void PythonQtShell_QSpinBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3865,7 +3865,7 @@ bool PythonQtShell_QSpinBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3898,7 +3898,7 @@ int PythonQtShell_QSpinBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3931,7 +3931,7 @@ void PythonQtShell_QSpinBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3953,7 +3953,7 @@ void PythonQtShell_QSpinBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3975,7 +3975,7 @@ void PythonQtShell_QSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3997,7 +3997,7 @@ QVariant PythonQtShell_QSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4030,7 +4030,7 @@ void PythonQtShell_QSpinBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4052,7 +4052,7 @@ void PythonQtShell_QSpinBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4074,7 +4074,7 @@ void PythonQtShell_QSpinBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4096,7 +4096,7 @@ int PythonQtShell_QSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4129,7 +4129,7 @@ void PythonQtShell_QSpinBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4151,7 +4151,7 @@ void PythonQtShell_QSpinBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4173,7 +4173,7 @@ void PythonQtShell_QSpinBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4195,7 +4195,7 @@ void PythonQtShell_QSpinBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4217,7 +4217,7 @@ void PythonQtShell_QSpinBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4239,7 +4239,7 @@ bool PythonQtShell_QSpinBox::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4272,7 +4272,7 @@ QPaintEngine* PythonQtShell_QSpinBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4305,7 +4305,7 @@ void PythonQtShell_QSpinBox::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4327,7 +4327,7 @@ QPaintDevice* PythonQtShell_QSpinBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4360,7 +4360,7 @@ void PythonQtShell_QSpinBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4382,7 +4382,7 @@ void PythonQtShell_QSpinBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4404,7 +4404,7 @@ QPainter* PythonQtShell_QSpinBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4437,7 +4437,7 @@ void PythonQtShell_QSpinBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4459,7 +4459,7 @@ void PythonQtShell_QSpinBox::stepBy(int steps0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4481,7 +4481,7 @@ QAbstractSpinBox::StepEnabled PythonQtShell_QSpinBox::stepEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4514,7 +4514,7 @@ void PythonQtShell_QSpinBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4536,7 +4536,7 @@ QString PythonQtShell_QSpinBox::textFromValue(int val0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textFromValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4569,7 +4569,7 @@ void PythonQtShell_QSpinBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4591,7 +4591,7 @@ QValidator::State PythonQtShell_QSpinBox::validate(QString& input0, int& pos1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4624,7 +4624,7 @@ int PythonQtShell_QSpinBox::valueFromText(const QString& text0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("valueFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4657,7 +4657,7 @@ void PythonQtShell_QSpinBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4787,7 +4787,7 @@ void PythonQtShell_QSplashScreen::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4809,7 +4809,7 @@ void PythonQtShell_QSplashScreen::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4831,7 +4831,7 @@ void PythonQtShell_QSplashScreen::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4853,7 +4853,7 @@ void PythonQtShell_QSplashScreen::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4875,7 +4875,7 @@ void PythonQtShell_QSplashScreen::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4897,7 +4897,7 @@ void PythonQtShell_QSplashScreen::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4919,7 +4919,7 @@ int PythonQtShell_QSplashScreen::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4952,7 +4952,7 @@ void PythonQtShell_QSplashScreen::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4974,7 +4974,7 @@ void PythonQtShell_QSplashScreen::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4996,7 +4996,7 @@ void PythonQtShell_QSplashScreen::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5018,7 +5018,7 @@ void PythonQtShell_QSplashScreen::drawContents(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("drawContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5040,7 +5040,7 @@ void PythonQtShell_QSplashScreen::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5062,7 +5062,7 @@ void PythonQtShell_QSplashScreen::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5084,7 +5084,7 @@ bool PythonQtShell_QSplashScreen::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5117,7 +5117,7 @@ bool PythonQtShell_QSplashScreen::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5150,7 +5150,7 @@ void PythonQtShell_QSplashScreen::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5172,7 +5172,7 @@ bool PythonQtShell_QSplashScreen::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5205,7 +5205,7 @@ void PythonQtShell_QSplashScreen::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5227,7 +5227,7 @@ bool PythonQtShell_QSplashScreen::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5260,7 +5260,7 @@ int PythonQtShell_QSplashScreen::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5293,7 +5293,7 @@ void PythonQtShell_QSplashScreen::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5315,7 +5315,7 @@ void PythonQtShell_QSplashScreen::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5337,7 +5337,7 @@ void PythonQtShell_QSplashScreen::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5359,7 +5359,7 @@ QVariant PythonQtShell_QSplashScreen::inputMethodQuery(Qt::InputMethodQuery ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5392,7 +5392,7 @@ void PythonQtShell_QSplashScreen::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5414,7 +5414,7 @@ void PythonQtShell_QSplashScreen::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5436,7 +5436,7 @@ void PythonQtShell_QSplashScreen::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5458,7 +5458,7 @@ int PythonQtShell_QSplashScreen::metric(QPaintDevice::PaintDeviceMetric arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5491,7 +5491,7 @@ QSize PythonQtShell_QSplashScreen::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5524,7 +5524,7 @@ void PythonQtShell_QSplashScreen::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5546,7 +5546,7 @@ void PythonQtShell_QSplashScreen::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5568,7 +5568,7 @@ void PythonQtShell_QSplashScreen::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5590,7 +5590,7 @@ void PythonQtShell_QSplashScreen::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5612,7 +5612,7 @@ void PythonQtShell_QSplashScreen::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5634,7 +5634,7 @@ bool PythonQtShell_QSplashScreen::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5667,7 +5667,7 @@ QPaintEngine* PythonQtShell_QSplashScreen::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5700,7 +5700,7 @@ void PythonQtShell_QSplashScreen::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5722,7 +5722,7 @@ QPaintDevice* PythonQtShell_QSplashScreen::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5755,7 +5755,7 @@ void PythonQtShell_QSplashScreen::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5777,7 +5777,7 @@ void PythonQtShell_QSplashScreen::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5799,7 +5799,7 @@ QPainter* PythonQtShell_QSplashScreen::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5832,7 +5832,7 @@ void PythonQtShell_QSplashScreen::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5854,7 +5854,7 @@ QSize PythonQtShell_QSplashScreen::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5887,7 +5887,7 @@ void PythonQtShell_QSplashScreen::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5909,7 +5909,7 @@ void PythonQtShell_QSplashScreen::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5931,7 +5931,7 @@ void PythonQtShell_QSplashScreen::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6005,7 +6005,7 @@ void PythonQtShell_QSplitter::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6027,7 +6027,7 @@ void PythonQtShell_QSplitter::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6049,7 +6049,7 @@ void PythonQtShell_QSplitter::childEvent(QChildEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6071,7 +6071,7 @@ void PythonQtShell_QSplitter::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6093,7 +6093,7 @@ void PythonQtShell_QSplitter::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6115,7 +6115,7 @@ QSplitterHandle* PythonQtShell_QSplitter::createHandle() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createHandle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6148,7 +6148,7 @@ void PythonQtShell_QSplitter::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6170,7 +6170,7 @@ int PythonQtShell_QSplitter::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6203,7 +6203,7 @@ void PythonQtShell_QSplitter::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6225,7 +6225,7 @@ void PythonQtShell_QSplitter::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6247,7 +6247,7 @@ void PythonQtShell_QSplitter::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6269,7 +6269,7 @@ void PythonQtShell_QSplitter::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6291,7 +6291,7 @@ void PythonQtShell_QSplitter::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6313,7 +6313,7 @@ bool PythonQtShell_QSplitter::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6346,7 +6346,7 @@ bool PythonQtShell_QSplitter::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6379,7 +6379,7 @@ void PythonQtShell_QSplitter::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6401,7 +6401,7 @@ bool PythonQtShell_QSplitter::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6434,7 +6434,7 @@ void PythonQtShell_QSplitter::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6456,7 +6456,7 @@ bool PythonQtShell_QSplitter::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6489,7 +6489,7 @@ int PythonQtShell_QSplitter::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6522,7 +6522,7 @@ void PythonQtShell_QSplitter::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6544,7 +6544,7 @@ void PythonQtShell_QSplitter::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6566,7 +6566,7 @@ void PythonQtShell_QSplitter::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6588,7 +6588,7 @@ QVariant PythonQtShell_QSplitter::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6621,7 +6621,7 @@ void PythonQtShell_QSplitter::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6643,7 +6643,7 @@ void PythonQtShell_QSplitter::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6665,7 +6665,7 @@ void PythonQtShell_QSplitter::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6687,7 +6687,7 @@ int PythonQtShell_QSplitter::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6720,7 +6720,7 @@ QSize PythonQtShell_QSplitter::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6753,7 +6753,7 @@ void PythonQtShell_QSplitter::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6775,7 +6775,7 @@ void PythonQtShell_QSplitter::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6797,7 +6797,7 @@ void PythonQtShell_QSplitter::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6819,7 +6819,7 @@ void PythonQtShell_QSplitter::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6841,7 +6841,7 @@ void PythonQtShell_QSplitter::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6863,7 +6863,7 @@ bool PythonQtShell_QSplitter::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6896,7 +6896,7 @@ QPaintEngine* PythonQtShell_QSplitter::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6929,7 +6929,7 @@ void PythonQtShell_QSplitter::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6951,7 +6951,7 @@ QPaintDevice* PythonQtShell_QSplitter::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6984,7 +6984,7 @@ void PythonQtShell_QSplitter::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7006,7 +7006,7 @@ void PythonQtShell_QSplitter::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7028,7 +7028,7 @@ QPainter* PythonQtShell_QSplitter::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7061,7 +7061,7 @@ void PythonQtShell_QSplitter::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7083,7 +7083,7 @@ QSize PythonQtShell_QSplitter::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7116,7 +7116,7 @@ void PythonQtShell_QSplitter::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7138,7 +7138,7 @@ void PythonQtShell_QSplitter::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7160,7 +7160,7 @@ void PythonQtShell_QSplitter::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7354,7 +7354,7 @@ void PythonQtShell_QSplitterHandle::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7376,7 +7376,7 @@ void PythonQtShell_QSplitterHandle::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7398,7 +7398,7 @@ void PythonQtShell_QSplitterHandle::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7420,7 +7420,7 @@ void PythonQtShell_QSplitterHandle::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7442,7 +7442,7 @@ void PythonQtShell_QSplitterHandle::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7464,7 +7464,7 @@ void PythonQtShell_QSplitterHandle::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7486,7 +7486,7 @@ int PythonQtShell_QSplitterHandle::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7519,7 +7519,7 @@ void PythonQtShell_QSplitterHandle::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7541,7 +7541,7 @@ void PythonQtShell_QSplitterHandle::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7563,7 +7563,7 @@ void PythonQtShell_QSplitterHandle::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7585,7 +7585,7 @@ void PythonQtShell_QSplitterHandle::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7607,7 +7607,7 @@ void PythonQtShell_QSplitterHandle::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7629,7 +7629,7 @@ bool PythonQtShell_QSplitterHandle::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7662,7 +7662,7 @@ bool PythonQtShell_QSplitterHandle::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7695,7 +7695,7 @@ void PythonQtShell_QSplitterHandle::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7717,7 +7717,7 @@ bool PythonQtShell_QSplitterHandle::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7750,7 +7750,7 @@ void PythonQtShell_QSplitterHandle::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7772,7 +7772,7 @@ bool PythonQtShell_QSplitterHandle::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7805,7 +7805,7 @@ int PythonQtShell_QSplitterHandle::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7838,7 +7838,7 @@ void PythonQtShell_QSplitterHandle::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7860,7 +7860,7 @@ void PythonQtShell_QSplitterHandle::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7882,7 +7882,7 @@ void PythonQtShell_QSplitterHandle::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7904,7 +7904,7 @@ QVariant PythonQtShell_QSplitterHandle::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7937,7 +7937,7 @@ void PythonQtShell_QSplitterHandle::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7959,7 +7959,7 @@ void PythonQtShell_QSplitterHandle::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7981,7 +7981,7 @@ void PythonQtShell_QSplitterHandle::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8003,7 +8003,7 @@ int PythonQtShell_QSplitterHandle::metric(QPaintDevice::PaintDeviceMetric arg_ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8036,7 +8036,7 @@ QSize PythonQtShell_QSplitterHandle::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8069,7 +8069,7 @@ void PythonQtShell_QSplitterHandle::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8091,7 +8091,7 @@ void PythonQtShell_QSplitterHandle::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8113,7 +8113,7 @@ void PythonQtShell_QSplitterHandle::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8135,7 +8135,7 @@ void PythonQtShell_QSplitterHandle::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8157,7 +8157,7 @@ void PythonQtShell_QSplitterHandle::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8179,7 +8179,7 @@ bool PythonQtShell_QSplitterHandle::nativeEvent(const QByteArray& eventType0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8212,7 +8212,7 @@ QPaintEngine* PythonQtShell_QSplitterHandle::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8245,7 +8245,7 @@ void PythonQtShell_QSplitterHandle::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8267,7 +8267,7 @@ QPaintDevice* PythonQtShell_QSplitterHandle::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8300,7 +8300,7 @@ void PythonQtShell_QSplitterHandle::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8322,7 +8322,7 @@ void PythonQtShell_QSplitterHandle::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8344,7 +8344,7 @@ QPainter* PythonQtShell_QSplitterHandle::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8377,7 +8377,7 @@ void PythonQtShell_QSplitterHandle::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8399,7 +8399,7 @@ QSize PythonQtShell_QSplitterHandle::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8432,7 +8432,7 @@ void PythonQtShell_QSplitterHandle::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8454,7 +8454,7 @@ void PythonQtShell_QSplitterHandle::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8476,7 +8476,7 @@ void PythonQtShell_QSplitterHandle::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8556,7 +8556,7 @@ void PythonQtShell_QStackedLayout::addItem(QLayoutItem* item0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8578,7 +8578,7 @@ void PythonQtShell_QStackedLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8600,7 +8600,7 @@ QSizePolicy::ControlTypes PythonQtShell_QStackedLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8633,7 +8633,7 @@ int PythonQtShell_QStackedLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8666,7 +8666,7 @@ void PythonQtShell_QStackedLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8688,7 +8688,7 @@ bool PythonQtShell_QStackedLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8721,7 +8721,7 @@ bool PythonQtShell_QStackedLayout::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8754,7 +8754,7 @@ Qt::Orientations PythonQtShell_QStackedLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8787,7 +8787,7 @@ QRect PythonQtShell_QStackedLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8820,7 +8820,7 @@ bool PythonQtShell_QStackedLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8853,7 +8853,7 @@ int PythonQtShell_QStackedLayout::heightForWidth(int width0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8886,7 +8886,7 @@ int PythonQtShell_QStackedLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8919,7 +8919,7 @@ void PythonQtShell_QStackedLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8941,7 +8941,7 @@ bool PythonQtShell_QStackedLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8974,7 +8974,7 @@ QLayoutItem* PythonQtShell_QStackedLayout::itemAt(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9007,7 +9007,7 @@ QLayout* PythonQtShell_QStackedLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9040,7 +9040,7 @@ QSize PythonQtShell_QStackedLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9073,7 +9073,7 @@ QSize PythonQtShell_QStackedLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9106,7 +9106,7 @@ void PythonQtShell_QStackedLayout::setGeometry(const QRect& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9128,7 +9128,7 @@ QSize PythonQtShell_QStackedLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9161,7 +9161,7 @@ QLayoutItem* PythonQtShell_QStackedLayout::takeAt(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9194,7 +9194,7 @@ void PythonQtShell_QStackedLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9297,7 +9297,7 @@ void PythonQtShell_QStackedWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9319,7 +9319,7 @@ void PythonQtShell_QStackedWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9341,7 +9341,7 @@ void PythonQtShell_QStackedWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9363,7 +9363,7 @@ void PythonQtShell_QStackedWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9385,7 +9385,7 @@ void PythonQtShell_QStackedWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9407,7 +9407,7 @@ void PythonQtShell_QStackedWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9429,7 +9429,7 @@ int PythonQtShell_QStackedWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9462,7 +9462,7 @@ void PythonQtShell_QStackedWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9484,7 +9484,7 @@ void PythonQtShell_QStackedWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9506,7 +9506,7 @@ void PythonQtShell_QStackedWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9528,7 +9528,7 @@ void PythonQtShell_QStackedWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9550,7 +9550,7 @@ void PythonQtShell_QStackedWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9572,7 +9572,7 @@ bool PythonQtShell_QStackedWidget::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9605,7 +9605,7 @@ bool PythonQtShell_QStackedWidget::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9638,7 +9638,7 @@ void PythonQtShell_QStackedWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9660,7 +9660,7 @@ bool PythonQtShell_QStackedWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9693,7 +9693,7 @@ void PythonQtShell_QStackedWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9715,7 +9715,7 @@ bool PythonQtShell_QStackedWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9748,7 +9748,7 @@ int PythonQtShell_QStackedWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9781,7 +9781,7 @@ void PythonQtShell_QStackedWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9803,7 +9803,7 @@ void PythonQtShell_QStackedWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9825,7 +9825,7 @@ void PythonQtShell_QStackedWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9847,7 +9847,7 @@ QVariant PythonQtShell_QStackedWidget::inputMethodQuery(Qt::InputMethodQuery a { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9880,7 +9880,7 @@ void PythonQtShell_QStackedWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9902,7 +9902,7 @@ void PythonQtShell_QStackedWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9924,7 +9924,7 @@ void PythonQtShell_QStackedWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9946,7 +9946,7 @@ int PythonQtShell_QStackedWidget::metric(QPaintDevice::PaintDeviceMetric arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9979,7 +9979,7 @@ QSize PythonQtShell_QStackedWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10012,7 +10012,7 @@ void PythonQtShell_QStackedWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10034,7 +10034,7 @@ void PythonQtShell_QStackedWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10056,7 +10056,7 @@ void PythonQtShell_QStackedWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10078,7 +10078,7 @@ void PythonQtShell_QStackedWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10100,7 +10100,7 @@ void PythonQtShell_QStackedWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10122,7 +10122,7 @@ bool PythonQtShell_QStackedWidget::nativeEvent(const QByteArray& eventType0, v { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10155,7 +10155,7 @@ QPaintEngine* PythonQtShell_QStackedWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10188,7 +10188,7 @@ void PythonQtShell_QStackedWidget::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10210,7 +10210,7 @@ QPaintDevice* PythonQtShell_QStackedWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10243,7 +10243,7 @@ void PythonQtShell_QStackedWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10265,7 +10265,7 @@ void PythonQtShell_QStackedWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10287,7 +10287,7 @@ QPainter* PythonQtShell_QStackedWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10320,7 +10320,7 @@ void PythonQtShell_QStackedWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10342,7 +10342,7 @@ QSize PythonQtShell_QStackedWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10375,7 +10375,7 @@ void PythonQtShell_QStackedWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10397,7 +10397,7 @@ void PythonQtShell_QStackedWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10419,7 +10419,7 @@ void PythonQtShell_QStackedWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10504,7 +10504,7 @@ QStandardItem* PythonQtShell_QStandardItem::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10537,7 +10537,7 @@ QVariant PythonQtShell_QStandardItem::data(int role0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10570,7 +10570,7 @@ void PythonQtShell_QStandardItem::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10592,7 +10592,7 @@ void PythonQtShell_QStandardItem::setData(const QVariant& value0, int role1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10614,7 +10614,7 @@ int PythonQtShell_QStandardItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -10647,7 +10647,7 @@ void PythonQtShell_QStandardItem::write(QDataStream& out0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11125,7 +11125,7 @@ QModelIndex PythonQtShell_QStandardItemModel::buddy(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11158,7 +11158,7 @@ bool PythonQtShell_QStandardItemModel::canDropMimeData(const QMimeData* data0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11191,7 +11191,7 @@ bool PythonQtShell_QStandardItemModel::canFetchMore(const QModelIndex& parent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11224,7 +11224,7 @@ void PythonQtShell_QStandardItemModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11246,7 +11246,7 @@ int PythonQtShell_QStandardItemModel::columnCount(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11279,7 +11279,7 @@ void PythonQtShell_QStandardItemModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11301,7 +11301,7 @@ QVariant PythonQtShell_QStandardItemModel::data(const QModelIndex& index0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11334,7 +11334,7 @@ bool PythonQtShell_QStandardItemModel::dropMimeData(const QMimeData* data0, Qt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11367,7 +11367,7 @@ bool PythonQtShell_QStandardItemModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11400,7 +11400,7 @@ bool PythonQtShell_QStandardItemModel::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11433,7 +11433,7 @@ void PythonQtShell_QStandardItemModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11455,7 +11455,7 @@ Qt::ItemFlags PythonQtShell_QStandardItemModel::flags(const QModelIndex& index { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11488,7 +11488,7 @@ bool PythonQtShell_QStandardItemModel::hasChildren(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11521,7 +11521,7 @@ QVariant PythonQtShell_QStandardItemModel::headerData(int section0, Qt::Orient { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11554,7 +11554,7 @@ QModelIndex PythonQtShell_QStandardItemModel::index(int row0, int column1, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11587,7 +11587,7 @@ bool PythonQtShell_QStandardItemModel::insertColumns(int column0, int count1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11620,7 +11620,7 @@ bool PythonQtShell_QStandardItemModel::insertRows(int row0, int count1, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11653,7 +11653,7 @@ QMap PythonQtShell_QStandardItemModel::itemData(const QModelIn { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11686,7 +11686,7 @@ QList PythonQtShell_QStandardItemModel::match(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11719,7 +11719,7 @@ QMimeData* PythonQtShell_QStandardItemModel::mimeData(const QList { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11752,7 +11752,7 @@ QStringList PythonQtShell_QStandardItemModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11785,7 +11785,7 @@ bool PythonQtShell_QStandardItemModel::moveColumns(const QModelIndex& sourcePa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11818,7 +11818,7 @@ bool PythonQtShell_QStandardItemModel::moveRows(const QModelIndex& sourceParen { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11851,7 +11851,7 @@ QModelIndex PythonQtShell_QStandardItemModel::parent(const QModelIndex& child0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11884,7 +11884,7 @@ bool PythonQtShell_QStandardItemModel::removeColumns(int column0, int count1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11917,7 +11917,7 @@ bool PythonQtShell_QStandardItemModel::removeRows(int row0, int count1, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11950,7 +11950,7 @@ void PythonQtShell_QStandardItemModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -11972,7 +11972,7 @@ QHash PythonQtShell_QStandardItemModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12005,7 +12005,7 @@ int PythonQtShell_QStandardItemModel::rowCount(const QModelIndex& parent0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12038,7 +12038,7 @@ bool PythonQtShell_QStandardItemModel::setData(const QModelIndex& index0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12071,7 +12071,7 @@ bool PythonQtShell_QStandardItemModel::setHeaderData(int section0, Qt::Orienta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12104,7 +12104,7 @@ bool PythonQtShell_QStandardItemModel::setItemData(const QModelIndex& index0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12137,7 +12137,7 @@ QModelIndex PythonQtShell_QStandardItemModel::sibling(int row0, int column1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12170,7 +12170,7 @@ void PythonQtShell_QStandardItemModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12192,7 +12192,7 @@ QSize PythonQtShell_QStandardItemModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12225,7 +12225,7 @@ bool PythonQtShell_QStandardItemModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12258,7 +12258,7 @@ Qt::DropActions PythonQtShell_QStandardItemModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12291,7 +12291,7 @@ Qt::DropActions PythonQtShell_QStandardItemModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12324,7 +12324,7 @@ void PythonQtShell_QStandardItemModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12627,7 +12627,7 @@ void PythonQtShell_QStatusBar::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12649,7 +12649,7 @@ void PythonQtShell_QStatusBar::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12671,7 +12671,7 @@ void PythonQtShell_QStatusBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12693,7 +12693,7 @@ void PythonQtShell_QStatusBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12715,7 +12715,7 @@ void PythonQtShell_QStatusBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12737,7 +12737,7 @@ void PythonQtShell_QStatusBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12759,7 +12759,7 @@ int PythonQtShell_QStatusBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12792,7 +12792,7 @@ void PythonQtShell_QStatusBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12814,7 +12814,7 @@ void PythonQtShell_QStatusBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12836,7 +12836,7 @@ void PythonQtShell_QStatusBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12858,7 +12858,7 @@ void PythonQtShell_QStatusBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12880,7 +12880,7 @@ void PythonQtShell_QStatusBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12902,7 +12902,7 @@ bool PythonQtShell_QStatusBar::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12935,7 +12935,7 @@ bool PythonQtShell_QStatusBar::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12968,7 +12968,7 @@ void PythonQtShell_QStatusBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -12990,7 +12990,7 @@ bool PythonQtShell_QStatusBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13023,7 +13023,7 @@ void PythonQtShell_QStatusBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13045,7 +13045,7 @@ bool PythonQtShell_QStatusBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13078,7 +13078,7 @@ int PythonQtShell_QStatusBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13111,7 +13111,7 @@ void PythonQtShell_QStatusBar::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13133,7 +13133,7 @@ void PythonQtShell_QStatusBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13155,7 +13155,7 @@ void PythonQtShell_QStatusBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13177,7 +13177,7 @@ QVariant PythonQtShell_QStatusBar::inputMethodQuery(Qt::InputMethodQuery arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13210,7 +13210,7 @@ void PythonQtShell_QStatusBar::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13232,7 +13232,7 @@ void PythonQtShell_QStatusBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13254,7 +13254,7 @@ void PythonQtShell_QStatusBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13276,7 +13276,7 @@ int PythonQtShell_QStatusBar::metric(QPaintDevice::PaintDeviceMetric arg__1) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13309,7 +13309,7 @@ QSize PythonQtShell_QStatusBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13342,7 +13342,7 @@ void PythonQtShell_QStatusBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13364,7 +13364,7 @@ void PythonQtShell_QStatusBar::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13386,7 +13386,7 @@ void PythonQtShell_QStatusBar::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13408,7 +13408,7 @@ void PythonQtShell_QStatusBar::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13430,7 +13430,7 @@ void PythonQtShell_QStatusBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13452,7 +13452,7 @@ bool PythonQtShell_QStatusBar::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13485,7 +13485,7 @@ QPaintEngine* PythonQtShell_QStatusBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13518,7 +13518,7 @@ void PythonQtShell_QStatusBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13540,7 +13540,7 @@ QPaintDevice* PythonQtShell_QStatusBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13573,7 +13573,7 @@ void PythonQtShell_QStatusBar::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13595,7 +13595,7 @@ void PythonQtShell_QStatusBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13617,7 +13617,7 @@ QPainter* PythonQtShell_QStatusBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13650,7 +13650,7 @@ void PythonQtShell_QStatusBar::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13672,7 +13672,7 @@ QSize PythonQtShell_QStatusBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13705,7 +13705,7 @@ void PythonQtShell_QStatusBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13727,7 +13727,7 @@ void PythonQtShell_QStatusBar::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13749,7 +13749,7 @@ void PythonQtShell_QStatusBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13855,7 +13855,7 @@ QModelIndex PythonQtShell_QStringListModel::buddy(const QModelIndex& index0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13888,7 +13888,7 @@ bool PythonQtShell_QStringListModel::canDropMimeData(const QMimeData* data0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13921,7 +13921,7 @@ bool PythonQtShell_QStringListModel::canFetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13954,7 +13954,7 @@ void PythonQtShell_QStringListModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13976,7 +13976,7 @@ void PythonQtShell_QStringListModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -13998,7 +13998,7 @@ QVariant PythonQtShell_QStringListModel::data(const QModelIndex& index0, int { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14031,7 +14031,7 @@ bool PythonQtShell_QStringListModel::dropMimeData(const QMimeData* data0, Qt:: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14064,7 +14064,7 @@ bool PythonQtShell_QStringListModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14097,7 +14097,7 @@ bool PythonQtShell_QStringListModel::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14130,7 +14130,7 @@ void PythonQtShell_QStringListModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14152,7 +14152,7 @@ Qt::ItemFlags PythonQtShell_QStringListModel::flags(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14185,7 +14185,7 @@ QVariant PythonQtShell_QStringListModel::headerData(int section0, Qt::Orientat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14218,7 +14218,7 @@ QModelIndex PythonQtShell_QStringListModel::index(int row0, int column1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14251,7 +14251,7 @@ bool PythonQtShell_QStringListModel::insertColumns(int column0, int count1, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14284,7 +14284,7 @@ bool PythonQtShell_QStringListModel::insertRows(int row0, int count1, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14317,7 +14317,7 @@ QMap PythonQtShell_QStringListModel::itemData(const QModelInde { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14350,7 +14350,7 @@ QList PythonQtShell_QStringListModel::match(const QModelIndex& s { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14383,7 +14383,7 @@ QMimeData* PythonQtShell_QStringListModel::mimeData(const QList& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14416,7 +14416,7 @@ QStringList PythonQtShell_QStringListModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14449,7 +14449,7 @@ bool PythonQtShell_QStringListModel::moveColumns(const QModelIndex& sourcePare { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14482,7 +14482,7 @@ bool PythonQtShell_QStringListModel::moveRows(const QModelIndex& sourceParent0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14515,7 +14515,7 @@ bool PythonQtShell_QStringListModel::removeColumns(int column0, int count1, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14548,7 +14548,7 @@ bool PythonQtShell_QStringListModel::removeRows(int row0, int count1, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14581,7 +14581,7 @@ void PythonQtShell_QStringListModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14603,7 +14603,7 @@ QHash PythonQtShell_QStringListModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14636,7 +14636,7 @@ int PythonQtShell_QStringListModel::rowCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14669,7 +14669,7 @@ bool PythonQtShell_QStringListModel::setData(const QModelIndex& index0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14702,7 +14702,7 @@ bool PythonQtShell_QStringListModel::setHeaderData(int section0, Qt::Orientati { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14735,7 +14735,7 @@ bool PythonQtShell_QStringListModel::setItemData(const QModelIndex& index0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14768,7 +14768,7 @@ QModelIndex PythonQtShell_QStringListModel::sibling(int row0, int column1, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14801,7 +14801,7 @@ void PythonQtShell_QStringListModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14823,7 +14823,7 @@ QSize PythonQtShell_QStringListModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14856,7 +14856,7 @@ bool PythonQtShell_QStringListModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14889,7 +14889,7 @@ Qt::DropActions PythonQtShell_QStringListModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14922,7 +14922,7 @@ Qt::DropActions PythonQtShell_QStringListModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -14955,7 +14955,7 @@ void PythonQtShell_QStringListModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp index 456f08af8..d498a6463 100644 --- a/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp +++ b/generated_cpp_56/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp @@ -509,7 +509,7 @@ void PythonQtShell_QStylePlugin::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -531,7 +531,7 @@ QStyle* PythonQtShell_QStylePlugin::create(const QString& key0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -564,7 +564,7 @@ void PythonQtShell_QStylePlugin::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -586,7 +586,7 @@ bool PythonQtShell_QStylePlugin::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -619,7 +619,7 @@ bool PythonQtShell_QStylePlugin::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -652,7 +652,7 @@ void PythonQtShell_QStylePlugin::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -702,7 +702,7 @@ void PythonQtShell_QStyledItemDelegate::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -724,7 +724,7 @@ QWidget* PythonQtShell_QStyledItemDelegate::createEditor(QWidget* parent0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -757,7 +757,7 @@ void PythonQtShell_QStyledItemDelegate::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -779,7 +779,7 @@ void PythonQtShell_QStyledItemDelegate::destroyEditor(QWidget* editor0, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("destroyEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -801,7 +801,7 @@ QString PythonQtShell_QStyledItemDelegate::displayText(const QVariant& value0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("displayText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -834,7 +834,7 @@ bool PythonQtShell_QStyledItemDelegate::editorEvent(QEvent* event0, QAbstractI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("editorEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -867,7 +867,7 @@ bool PythonQtShell_QStyledItemDelegate::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -900,7 +900,7 @@ bool PythonQtShell_QStyledItemDelegate::eventFilter(QObject* object0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -933,7 +933,7 @@ bool PythonQtShell_QStyledItemDelegate::helpEvent(QHelpEvent* event0, QAbstrac { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -966,7 +966,7 @@ void PythonQtShell_QStyledItemDelegate::initStyleOption(QStyleOptionViewItem* o { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -988,7 +988,7 @@ void PythonQtShell_QStyledItemDelegate::paint(QPainter* painter0, const QStyleO { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1010,7 +1010,7 @@ QVector PythonQtShell_QStyledItemDelegate::paintingRoles() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintingRoles"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1043,7 +1043,7 @@ void PythonQtShell_QStyledItemDelegate::setEditorData(QWidget* editor0, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1065,7 +1065,7 @@ void PythonQtShell_QStyledItemDelegate::setModelData(QWidget* editor0, QAbstrac { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setModelData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1087,7 +1087,7 @@ QSize PythonQtShell_QStyledItemDelegate::sizeHint(const QStyleOptionViewItem& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1120,7 +1120,7 @@ void PythonQtShell_QStyledItemDelegate::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1142,7 +1142,7 @@ void PythonQtShell_QStyledItemDelegate::updateEditorGeometry(QWidget* editor0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateEditorGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1207,7 +1207,7 @@ QSurfaceFormat PythonQtShell_QSurface::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1240,7 +1240,7 @@ QSize PythonQtShell_QSurface::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1273,7 +1273,7 @@ QPlatformSurface* PythonQtShell_QSurface::surfaceHandle() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surfaceHandle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1306,7 +1306,7 @@ QSurface::SurfaceType PythonQtShell_QSurface::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp b/generated_cpp_56/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp index 524a18f8c..5e8218031 100644 --- a/generated_cpp_56/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp +++ b/generated_cpp_56/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp @@ -56,7 +56,7 @@ int PythonQtShell_QBitmap::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -89,7 +89,7 @@ int PythonQtShell_QBitmap::metric(QPaintDevice::PaintDeviceMetric arg__1) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -122,7 +122,7 @@ QPaintEngine* PythonQtShell_QBitmap::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1455,7 +1455,7 @@ int PythonQtShell_QImage::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1488,7 +1488,7 @@ void PythonQtShell_QImage::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1510,7 +1510,7 @@ int PythonQtShell_QImage::metric(QPaintDevice::PaintDeviceMetric metric0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1543,7 +1543,7 @@ QPaintEngine* PythonQtShell_QImage::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1576,7 +1576,7 @@ QPaintDevice* PythonQtShell_QImage::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1609,7 +1609,7 @@ QPainter* PythonQtShell_QImage::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2821,7 +2821,7 @@ int PythonQtShell_QPixmap::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2854,7 +2854,7 @@ void PythonQtShell_QPixmap::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2876,7 +2876,7 @@ int PythonQtShell_QPixmap::metric(QPaintDevice::PaintDeviceMetric arg__1) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2909,7 +2909,7 @@ QPaintEngine* PythonQtShell_QPixmap::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2942,7 +2942,7 @@ QPaintDevice* PythonQtShell_QPixmap::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2975,7 +2975,7 @@ QPainter* PythonQtShell_QPixmap::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp b/generated_cpp_56/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp index 3b2d86de0..507456502 100644 --- a/generated_cpp_56/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp +++ b/generated_cpp_56/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp @@ -46,7 +46,7 @@ void PythonQtShell_QAbstractAudioDeviceInfo::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -68,7 +68,7 @@ void PythonQtShell_QAbstractAudioDeviceInfo::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -90,7 +90,7 @@ QString PythonQtShell_QAbstractAudioDeviceInfo::deviceName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deviceName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -123,7 +123,7 @@ bool PythonQtShell_QAbstractAudioDeviceInfo::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -156,7 +156,7 @@ bool PythonQtShell_QAbstractAudioDeviceInfo::eventFilter(QObject* watched0, QE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -189,7 +189,7 @@ bool PythonQtShell_QAbstractAudioDeviceInfo::isFormatSupported(const QAudioForm { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isFormatSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -222,7 +222,7 @@ QAudioFormat PythonQtShell_QAbstractAudioDeviceInfo::preferredFormat() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preferredFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -255,7 +255,7 @@ QList PythonQtShell_QAbstractAudioDeviceInfo::supportedB { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedByteOrders"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -288,7 +288,7 @@ QList PythonQtShell_QAbstractAudioDeviceInfo::supportedChannelCounts() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedChannelCounts"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -321,7 +321,7 @@ QStringList PythonQtShell_QAbstractAudioDeviceInfo::supportedCodecs() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedCodecs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -354,7 +354,7 @@ QList PythonQtShell_QAbstractAudioDeviceInfo::supportedSampleRates() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedSampleRates"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -387,7 +387,7 @@ QList PythonQtShell_QAbstractAudioDeviceInfo::supportedSampleSizes() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedSampleSizes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -420,7 +420,7 @@ QList PythonQtShell_QAbstractAudioDeviceInfo::suppor { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedSampleTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -453,7 +453,7 @@ void PythonQtShell_QAbstractAudioDeviceInfo::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -543,7 +543,7 @@ int PythonQtShell_QAbstractAudioInput::bufferSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -576,7 +576,7 @@ int PythonQtShell_QAbstractAudioInput::bytesReady() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesReady"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -609,7 +609,7 @@ void PythonQtShell_QAbstractAudioInput::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -631,7 +631,7 @@ void PythonQtShell_QAbstractAudioInput::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -653,7 +653,7 @@ qint64 PythonQtShell_QAbstractAudioInput::elapsedUSecs() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("elapsedUSecs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -686,7 +686,7 @@ QAudio::Error PythonQtShell_QAbstractAudioInput::error() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("error"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -719,7 +719,7 @@ bool PythonQtShell_QAbstractAudioInput::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -752,7 +752,7 @@ bool PythonQtShell_QAbstractAudioInput::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -785,7 +785,7 @@ QAudioFormat PythonQtShell_QAbstractAudioInput::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -818,7 +818,7 @@ int PythonQtShell_QAbstractAudioInput::notifyInterval() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("notifyInterval"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -851,7 +851,7 @@ int PythonQtShell_QAbstractAudioInput::periodSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("periodSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -884,7 +884,7 @@ qint64 PythonQtShell_QAbstractAudioInput::processedUSecs() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("processedUSecs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -917,7 +917,7 @@ void PythonQtShell_QAbstractAudioInput::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -939,7 +939,7 @@ void PythonQtShell_QAbstractAudioInput::resume() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -961,7 +961,7 @@ void PythonQtShell_QAbstractAudioInput::setBufferSize(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -983,7 +983,7 @@ void PythonQtShell_QAbstractAudioInput::setFormat(const QAudioFormat& fmt0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1005,7 +1005,7 @@ void PythonQtShell_QAbstractAudioInput::setNotifyInterval(int milliSeconds0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setNotifyInterval"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1027,7 +1027,7 @@ void PythonQtShell_QAbstractAudioInput::setVolume(qreal arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVolume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1049,7 +1049,7 @@ QIODevice* PythonQtShell_QAbstractAudioInput::start() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("start"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1082,7 +1082,7 @@ void PythonQtShell_QAbstractAudioInput::start(QIODevice* device0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("start"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1104,7 +1104,7 @@ QAudio::State PythonQtShell_QAbstractAudioInput::state() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("state"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1137,7 +1137,7 @@ void PythonQtShell_QAbstractAudioInput::stop() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stop"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1159,7 +1159,7 @@ void PythonQtShell_QAbstractAudioInput::suspend() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("suspend"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1181,7 +1181,7 @@ void PythonQtShell_QAbstractAudioInput::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1203,7 +1203,7 @@ qreal PythonQtShell_QAbstractAudioInput::volume() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("volume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1359,7 +1359,7 @@ int PythonQtShell_QAbstractAudioOutput::bufferSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1392,7 +1392,7 @@ int PythonQtShell_QAbstractAudioOutput::bytesFree() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesFree"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1425,7 +1425,7 @@ QString PythonQtShell_QAbstractAudioOutput::category() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("category"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1458,7 +1458,7 @@ void PythonQtShell_QAbstractAudioOutput::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1480,7 +1480,7 @@ void PythonQtShell_QAbstractAudioOutput::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1502,7 +1502,7 @@ qint64 PythonQtShell_QAbstractAudioOutput::elapsedUSecs() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("elapsedUSecs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1535,7 +1535,7 @@ QAudio::Error PythonQtShell_QAbstractAudioOutput::error() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("error"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1568,7 +1568,7 @@ bool PythonQtShell_QAbstractAudioOutput::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1601,7 +1601,7 @@ bool PythonQtShell_QAbstractAudioOutput::eventFilter(QObject* watched0, QEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1634,7 +1634,7 @@ QAudioFormat PythonQtShell_QAbstractAudioOutput::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1667,7 +1667,7 @@ int PythonQtShell_QAbstractAudioOutput::notifyInterval() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("notifyInterval"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1700,7 +1700,7 @@ int PythonQtShell_QAbstractAudioOutput::periodSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("periodSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1733,7 +1733,7 @@ qint64 PythonQtShell_QAbstractAudioOutput::processedUSecs() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("processedUSecs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1766,7 +1766,7 @@ void PythonQtShell_QAbstractAudioOutput::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1788,7 +1788,7 @@ void PythonQtShell_QAbstractAudioOutput::resume() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1810,7 +1810,7 @@ void PythonQtShell_QAbstractAudioOutput::setBufferSize(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1832,7 +1832,7 @@ void PythonQtShell_QAbstractAudioOutput::setCategory(const QString& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setCategory"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1854,7 +1854,7 @@ void PythonQtShell_QAbstractAudioOutput::setFormat(const QAudioFormat& fmt0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1876,7 +1876,7 @@ void PythonQtShell_QAbstractAudioOutput::setNotifyInterval(int milliSeconds0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setNotifyInterval"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1898,7 +1898,7 @@ void PythonQtShell_QAbstractAudioOutput::setVolume(qreal arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVolume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1920,7 +1920,7 @@ QIODevice* PythonQtShell_QAbstractAudioOutput::start() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("start"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1953,7 +1953,7 @@ void PythonQtShell_QAbstractAudioOutput::start(QIODevice* device0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("start"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1975,7 +1975,7 @@ QAudio::State PythonQtShell_QAbstractAudioOutput::state() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("state"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2008,7 +2008,7 @@ void PythonQtShell_QAbstractAudioOutput::stop() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stop"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2030,7 +2030,7 @@ void PythonQtShell_QAbstractAudioOutput::suspend() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("suspend"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2052,7 +2052,7 @@ void PythonQtShell_QAbstractAudioOutput::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2074,7 +2074,7 @@ qreal PythonQtShell_QAbstractAudioOutput::volume() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("volume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2240,7 +2240,7 @@ QVariant PythonQtShell_QAbstractVideoBuffer::handle() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("handle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2273,7 +2273,7 @@ uchar* PythonQtShell_QAbstractVideoBuffer::map(QAbstractVideoBuffer::MapMode m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("map"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2306,7 +2306,7 @@ QAbstractVideoBuffer::MapMode PythonQtShell_QAbstractVideoBuffer::mapMode() con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mapMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2339,7 +2339,7 @@ void PythonQtShell_QAbstractVideoBuffer::release() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("release"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2361,7 +2361,7 @@ void PythonQtShell_QAbstractVideoBuffer::unmap() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2423,7 +2423,7 @@ void PythonQtShell_QAbstractVideoSurface::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2445,7 +2445,7 @@ void PythonQtShell_QAbstractVideoSurface::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2467,7 +2467,7 @@ bool PythonQtShell_QAbstractVideoSurface::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2500,7 +2500,7 @@ bool PythonQtShell_QAbstractVideoSurface::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2533,7 +2533,7 @@ bool PythonQtShell_QAbstractVideoSurface::isFormatSupported(const QVideoSurface { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isFormatSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2566,7 +2566,7 @@ QVideoSurfaceFormat PythonQtShell_QAbstractVideoSurface::nearestFormat(const QV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nearestFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2599,7 +2599,7 @@ bool PythonQtShell_QAbstractVideoSurface::present(const QVideoFrame& frame0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("present"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2632,7 +2632,7 @@ bool PythonQtShell_QAbstractVideoSurface::start(const QVideoSurfaceFormat& for { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("start"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2665,7 +2665,7 @@ void PythonQtShell_QAbstractVideoSurface::stop() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stop"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2687,7 +2687,7 @@ QList PythonQtShell_QAbstractVideoSurface::supported { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedPixelFormats"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2720,7 +2720,7 @@ void PythonQtShell_QAbstractVideoSurface::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2900,7 +2900,7 @@ QMultimedia::AvailabilityStatus PythonQtShell_QAudioDecoder::availability() con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2933,7 +2933,7 @@ bool PythonQtShell_QAudioDecoder::bind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2966,7 +2966,7 @@ void PythonQtShell_QAudioDecoder::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2988,7 +2988,7 @@ void PythonQtShell_QAudioDecoder::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3010,7 +3010,7 @@ bool PythonQtShell_QAudioDecoder::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3043,7 +3043,7 @@ bool PythonQtShell_QAudioDecoder::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3076,7 +3076,7 @@ bool PythonQtShell_QAudioDecoder::isAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3109,7 +3109,7 @@ QMediaService* PythonQtShell_QAudioDecoder::service() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3142,7 +3142,7 @@ void PythonQtShell_QAudioDecoder::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3164,7 +3164,7 @@ void PythonQtShell_QAudioDecoder::unbind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3279,7 +3279,7 @@ QAudioFormat PythonQtShell_QAudioDecoderControl::audioFormat() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("audioFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3312,7 +3312,7 @@ bool PythonQtShell_QAudioDecoderControl::bufferAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bufferAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3345,7 +3345,7 @@ void PythonQtShell_QAudioDecoderControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3367,7 +3367,7 @@ void PythonQtShell_QAudioDecoderControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3389,7 +3389,7 @@ qint64 PythonQtShell_QAudioDecoderControl::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3422,7 +3422,7 @@ bool PythonQtShell_QAudioDecoderControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3455,7 +3455,7 @@ bool PythonQtShell_QAudioDecoderControl::eventFilter(QObject* watched0, QEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3488,7 +3488,7 @@ qint64 PythonQtShell_QAudioDecoderControl::position() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("position"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3521,7 +3521,7 @@ QAudioBuffer PythonQtShell_QAudioDecoderControl::read() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3554,7 +3554,7 @@ void PythonQtShell_QAudioDecoderControl::setAudioFormat(const QAudioFormat& for { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setAudioFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3576,7 +3576,7 @@ void PythonQtShell_QAudioDecoderControl::setSourceDevice(QIODevice* device0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSourceDevice"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3598,7 +3598,7 @@ void PythonQtShell_QAudioDecoderControl::setSourceFilename(const QString& fileN { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSourceFilename"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3620,7 +3620,7 @@ QIODevice* PythonQtShell_QAudioDecoderControl::sourceDevice() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sourceDevice"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3653,7 +3653,7 @@ QString PythonQtShell_QAudioDecoderControl::sourceFilename() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sourceFilename"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3686,7 +3686,7 @@ void PythonQtShell_QAudioDecoderControl::start() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("start"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3708,7 +3708,7 @@ QAudioDecoder::State PythonQtShell_QAudioDecoderControl::state() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("state"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3741,7 +3741,7 @@ void PythonQtShell_QAudioDecoderControl::stop() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stop"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3763,7 +3763,7 @@ void PythonQtShell_QAudioDecoderControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4078,7 +4078,7 @@ QAudioEncoderSettings PythonQtShell_QAudioEncoderSettingsControl::audioSettings { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("audioSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4111,7 +4111,7 @@ void PythonQtShell_QAudioEncoderSettingsControl::childEvent(QChildEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4133,7 +4133,7 @@ QString PythonQtShell_QAudioEncoderSettingsControl::codecDescription(const QStr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("codecDescription"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4166,7 +4166,7 @@ void PythonQtShell_QAudioEncoderSettingsControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4188,7 +4188,7 @@ bool PythonQtShell_QAudioEncoderSettingsControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4221,7 +4221,7 @@ bool PythonQtShell_QAudioEncoderSettingsControl::eventFilter(QObject* watched0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4254,7 +4254,7 @@ void PythonQtShell_QAudioEncoderSettingsControl::setAudioSettings(const QAudioEn { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setAudioSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4276,7 +4276,7 @@ QStringList PythonQtShell_QAudioEncoderSettingsControl::supportedAudioCodecs() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedAudioCodecs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4309,7 +4309,7 @@ QList PythonQtShell_QAudioEncoderSettingsControl::supportedSampleRates(co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedSampleRates"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4342,7 +4342,7 @@ void PythonQtShell_QAudioEncoderSettingsControl::timerEvent(QTimerEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4544,7 +4544,7 @@ void PythonQtShell_QAudioInput::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4566,7 +4566,7 @@ void PythonQtShell_QAudioInput::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4588,7 +4588,7 @@ bool PythonQtShell_QAudioInput::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4621,7 +4621,7 @@ bool PythonQtShell_QAudioInput::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4654,7 +4654,7 @@ void PythonQtShell_QAudioInput::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4798,7 +4798,7 @@ QString PythonQtShell_QAudioInputSelectorControl::activeInput() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("activeInput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4831,7 +4831,7 @@ QList PythonQtShell_QAudioInputSelectorControl::availableInputs() con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availableInputs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4864,7 +4864,7 @@ void PythonQtShell_QAudioInputSelectorControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4886,7 +4886,7 @@ void PythonQtShell_QAudioInputSelectorControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4908,7 +4908,7 @@ QString PythonQtShell_QAudioInputSelectorControl::defaultInput() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("defaultInput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4941,7 +4941,7 @@ bool PythonQtShell_QAudioInputSelectorControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4974,7 +4974,7 @@ bool PythonQtShell_QAudioInputSelectorControl::eventFilter(QObject* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5007,7 +5007,7 @@ QString PythonQtShell_QAudioInputSelectorControl::inputDescription(const QStrin { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputDescription"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5040,7 +5040,7 @@ void PythonQtShell_QAudioInputSelectorControl::setActiveInput(const QString& na { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setActiveInput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5062,7 +5062,7 @@ void PythonQtShell_QAudioInputSelectorControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5127,7 +5127,7 @@ void PythonQtShell_QAudioOutput::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5149,7 +5149,7 @@ void PythonQtShell_QAudioOutput::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5171,7 +5171,7 @@ bool PythonQtShell_QAudioOutput::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5204,7 +5204,7 @@ bool PythonQtShell_QAudioOutput::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5237,7 +5237,7 @@ void PythonQtShell_QAudioOutput::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5391,7 +5391,7 @@ QString PythonQtShell_QAudioOutputSelectorControl::activeOutput() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("activeOutput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5424,7 +5424,7 @@ QList PythonQtShell_QAudioOutputSelectorControl::availableOutputs() c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availableOutputs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5457,7 +5457,7 @@ void PythonQtShell_QAudioOutputSelectorControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5479,7 +5479,7 @@ void PythonQtShell_QAudioOutputSelectorControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5501,7 +5501,7 @@ QString PythonQtShell_QAudioOutputSelectorControl::defaultOutput() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("defaultOutput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5534,7 +5534,7 @@ bool PythonQtShell_QAudioOutputSelectorControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5567,7 +5567,7 @@ bool PythonQtShell_QAudioOutputSelectorControl::eventFilter(QObject* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5600,7 +5600,7 @@ QString PythonQtShell_QAudioOutputSelectorControl::outputDescription(const QStr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("outputDescription"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5633,7 +5633,7 @@ void PythonQtShell_QAudioOutputSelectorControl::setActiveOutput(const QString& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setActiveOutput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5655,7 +5655,7 @@ void PythonQtShell_QAudioOutputSelectorControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5720,7 +5720,7 @@ void PythonQtShell_QAudioProbe::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5742,7 +5742,7 @@ void PythonQtShell_QAudioProbe::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5764,7 +5764,7 @@ bool PythonQtShell_QAudioProbe::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5797,7 +5797,7 @@ bool PythonQtShell_QAudioProbe::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5830,7 +5830,7 @@ void PythonQtShell_QAudioProbe::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5890,7 +5890,7 @@ void PythonQtShell_QAudioRecorder::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5912,7 +5912,7 @@ void PythonQtShell_QAudioRecorder::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5934,7 +5934,7 @@ bool PythonQtShell_QAudioRecorder::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5967,7 +5967,7 @@ bool PythonQtShell_QAudioRecorder::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6000,7 +6000,7 @@ QMediaObject* PythonQtShell_QAudioRecorder::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6033,7 +6033,7 @@ bool PythonQtShell_QAudioRecorder::setMediaObject(QMediaObject* object0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6066,7 +6066,7 @@ void PythonQtShell_QAudioRecorder::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6131,7 +6131,7 @@ QAudio::Role PythonQtShell_QAudioRoleControl::audioRole() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("audioRole"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6164,7 +6164,7 @@ void PythonQtShell_QAudioRoleControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6186,7 +6186,7 @@ void PythonQtShell_QAudioRoleControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6208,7 +6208,7 @@ bool PythonQtShell_QAudioRoleControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6241,7 +6241,7 @@ bool PythonQtShell_QAudioRoleControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6274,7 +6274,7 @@ void PythonQtShell_QAudioRoleControl::setAudioRole(QAudio::Role role0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setAudioRole"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6296,7 +6296,7 @@ QList PythonQtShell_QAudioRoleControl::supportedAudioRoles() con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedAudioRoles"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6329,7 +6329,7 @@ void PythonQtShell_QAudioRoleControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6389,7 +6389,7 @@ QList PythonQtShell_QAudioSystemFactoryInterface::availableDevices { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availableDevices"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6422,7 +6422,7 @@ QAbstractAudioDeviceInfo* PythonQtShell_QAudioSystemFactoryInterface::createDev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createDeviceInfo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6455,7 +6455,7 @@ QAbstractAudioInput* PythonQtShell_QAudioSystemFactoryInterface::createInput(co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createInput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6488,7 +6488,7 @@ QAbstractAudioOutput* PythonQtShell_QAudioSystemFactoryInterface::createOutput( { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createOutput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6551,7 +6551,7 @@ QList PythonQtShell_QAudioSystemPlugin::availableDevices(QAudio::M { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availableDevices"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6584,7 +6584,7 @@ QAbstractAudioDeviceInfo* PythonQtShell_QAudioSystemPlugin::createDeviceInfo(co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createDeviceInfo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6617,7 +6617,7 @@ QAbstractAudioInput* PythonQtShell_QAudioSystemPlugin::createInput(const QByteA { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createInput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6650,7 +6650,7 @@ QAbstractAudioOutput* PythonQtShell_QAudioSystemPlugin::createOutput(const QByt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createOutput"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6726,7 +6726,7 @@ QMultimedia::AvailabilityStatus PythonQtShell_QCamera::availability() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6759,7 +6759,7 @@ bool PythonQtShell_QCamera::bind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6792,7 +6792,7 @@ void PythonQtShell_QCamera::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6814,7 +6814,7 @@ void PythonQtShell_QCamera::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6836,7 +6836,7 @@ bool PythonQtShell_QCamera::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6869,7 +6869,7 @@ bool PythonQtShell_QCamera::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6902,7 +6902,7 @@ bool PythonQtShell_QCamera::isAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6935,7 +6935,7 @@ QMediaService* PythonQtShell_QCamera::service() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6968,7 +6968,7 @@ void PythonQtShell_QCamera::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6990,7 +6990,7 @@ void PythonQtShell_QCamera::unbind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7167,7 +7167,7 @@ QVideoFrame::PixelFormat PythonQtShell_QCameraCaptureBufferFormatControl::buffe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bufferFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7200,7 +7200,7 @@ void PythonQtShell_QCameraCaptureBufferFormatControl::childEvent(QChildEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7222,7 +7222,7 @@ void PythonQtShell_QCameraCaptureBufferFormatControl::customEvent(QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7244,7 +7244,7 @@ bool PythonQtShell_QCameraCaptureBufferFormatControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7277,7 +7277,7 @@ bool PythonQtShell_QCameraCaptureBufferFormatControl::eventFilter(QObject* wat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7310,7 +7310,7 @@ void PythonQtShell_QCameraCaptureBufferFormatControl::setBufferFormat(QVideoFram { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setBufferFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7332,7 +7332,7 @@ QList PythonQtShell_QCameraCaptureBufferFormatContro { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedBufferFormats"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7365,7 +7365,7 @@ void PythonQtShell_QCameraCaptureBufferFormatControl::timerEvent(QTimerEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7425,7 +7425,7 @@ QCameraImageCapture::CaptureDestinations PythonQtShell_QCameraCaptureDestinatio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("captureDestination"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7458,7 +7458,7 @@ void PythonQtShell_QCameraCaptureDestinationControl::childEvent(QChildEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7480,7 +7480,7 @@ void PythonQtShell_QCameraCaptureDestinationControl::customEvent(QEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7502,7 +7502,7 @@ bool PythonQtShell_QCameraCaptureDestinationControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7535,7 +7535,7 @@ bool PythonQtShell_QCameraCaptureDestinationControl::eventFilter(QObject* watc { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7568,7 +7568,7 @@ bool PythonQtShell_QCameraCaptureDestinationControl::isCaptureDestinationSuppor { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isCaptureDestinationSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7601,7 +7601,7 @@ void PythonQtShell_QCameraCaptureDestinationControl::setCaptureDestination(QCame { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setCaptureDestination"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7623,7 +7623,7 @@ void PythonQtShell_QCameraCaptureDestinationControl::timerEvent(QTimerEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7683,7 +7683,7 @@ bool PythonQtShell_QCameraControl::canChangeProperty(QCameraControl::PropertyCh { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canChangeProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7716,7 +7716,7 @@ QCamera::CaptureModes PythonQtShell_QCameraControl::captureMode() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("captureMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7749,7 +7749,7 @@ void PythonQtShell_QCameraControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7771,7 +7771,7 @@ void PythonQtShell_QCameraControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7793,7 +7793,7 @@ bool PythonQtShell_QCameraControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7826,7 +7826,7 @@ bool PythonQtShell_QCameraControl::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7859,7 +7859,7 @@ bool PythonQtShell_QCameraControl::isCaptureModeSupported(QCamera::CaptureModes { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isCaptureModeSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7892,7 +7892,7 @@ void PythonQtShell_QCameraControl::setCaptureMode(QCamera::CaptureModes arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setCaptureMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7914,7 +7914,7 @@ void PythonQtShell_QCameraControl::setState(QCamera::State state0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7936,7 +7936,7 @@ QCamera::State PythonQtShell_QCameraControl::state() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("state"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7969,7 +7969,7 @@ QCamera::Status PythonQtShell_QCameraControl::status() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("status"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8002,7 +8002,7 @@ void PythonQtShell_QCameraControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8184,7 +8184,7 @@ QVariant PythonQtShell_QCameraExposureControl::actualValue(QCameraExposureContr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actualValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8217,7 +8217,7 @@ void PythonQtShell_QCameraExposureControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8239,7 +8239,7 @@ void PythonQtShell_QCameraExposureControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8261,7 +8261,7 @@ bool PythonQtShell_QCameraExposureControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8294,7 +8294,7 @@ bool PythonQtShell_QCameraExposureControl::eventFilter(QObject* watched0, QEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8327,7 +8327,7 @@ bool PythonQtShell_QCameraExposureControl::isParameterSupported(QCameraExposure { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isParameterSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8360,7 +8360,7 @@ QVariant PythonQtShell_QCameraExposureControl::requestedValue(QCameraExposureCo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("requestedValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8393,7 +8393,7 @@ bool PythonQtShell_QCameraExposureControl::setValue(QCameraExposureControl::Exp { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8426,7 +8426,7 @@ QList PythonQtShell_QCameraExposureControl::supportedParameterRange( { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedParameterRange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8459,7 +8459,7 @@ void PythonQtShell_QCameraExposureControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8529,7 +8529,7 @@ void PythonQtShell_QCameraFeedbackControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8551,7 +8551,7 @@ void PythonQtShell_QCameraFeedbackControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8573,7 +8573,7 @@ bool PythonQtShell_QCameraFeedbackControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8606,7 +8606,7 @@ bool PythonQtShell_QCameraFeedbackControl::eventFilter(QObject* watched0, QEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8639,7 +8639,7 @@ bool PythonQtShell_QCameraFeedbackControl::isEventFeedbackEnabled(QCameraFeedba { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEventFeedbackEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8672,7 +8672,7 @@ bool PythonQtShell_QCameraFeedbackControl::isEventFeedbackLocked(QCameraFeedbac { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isEventFeedbackLocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8705,7 +8705,7 @@ void PythonQtShell_QCameraFeedbackControl::resetEventFeedback(QCameraFeedbackCon { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resetEventFeedback"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8727,7 +8727,7 @@ bool PythonQtShell_QCameraFeedbackControl::setEventFeedbackEnabled(QCameraFeedb { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEventFeedbackEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8760,7 +8760,7 @@ bool PythonQtShell_QCameraFeedbackControl::setEventFeedbackSound(QCameraFeedbac { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEventFeedbackSound"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8793,7 +8793,7 @@ void PythonQtShell_QCameraFeedbackControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8863,7 +8863,7 @@ void PythonQtShell_QCameraFlashControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8885,7 +8885,7 @@ void PythonQtShell_QCameraFlashControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8907,7 +8907,7 @@ bool PythonQtShell_QCameraFlashControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8940,7 +8940,7 @@ bool PythonQtShell_QCameraFlashControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8973,7 +8973,7 @@ QCameraExposure::FlashModes PythonQtShell_QCameraFlashControl::flashMode() cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flashMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9006,7 +9006,7 @@ bool PythonQtShell_QCameraFlashControl::isFlashModeSupported(QCameraExposure::F { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isFlashModeSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9039,7 +9039,7 @@ bool PythonQtShell_QCameraFlashControl::isFlashReady() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isFlashReady"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9072,7 +9072,7 @@ void PythonQtShell_QCameraFlashControl::setFlashMode(QCameraExposure::FlashModes { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFlashMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9094,7 +9094,7 @@ void PythonQtShell_QCameraFlashControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp b/generated_cpp_56/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp index 81710d13d..bcbe506d7 100644 --- a/generated_cpp_56/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp +++ b/generated_cpp_56/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp @@ -150,7 +150,7 @@ void PythonQtShell_QCameraFocusControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -172,7 +172,7 @@ void PythonQtShell_QCameraFocusControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -194,7 +194,7 @@ QPointF PythonQtShell_QCameraFocusControl::customFocusPoint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customFocusPoint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -227,7 +227,7 @@ bool PythonQtShell_QCameraFocusControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -260,7 +260,7 @@ bool PythonQtShell_QCameraFocusControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -293,7 +293,7 @@ QCameraFocus::FocusModes PythonQtShell_QCameraFocusControl::focusMode() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -326,7 +326,7 @@ QCameraFocus::FocusPointMode PythonQtShell_QCameraFocusControl::focusPointMode( { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusPointMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -359,7 +359,7 @@ QList PythonQtShell_QCameraFocusControl::focusZones() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusZones"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -392,7 +392,7 @@ bool PythonQtShell_QCameraFocusControl::isFocusModeSupported(QCameraFocus::Focu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isFocusModeSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -425,7 +425,7 @@ bool PythonQtShell_QCameraFocusControl::isFocusPointModeSupported(QCameraFocus: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isFocusPointModeSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -458,7 +458,7 @@ void PythonQtShell_QCameraFocusControl::setCustomFocusPoint(const QPointF& poin { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setCustomFocusPoint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -480,7 +480,7 @@ void PythonQtShell_QCameraFocusControl::setFocusMode(QCameraFocus::FocusModes m { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFocusMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -502,7 +502,7 @@ void PythonQtShell_QCameraFocusControl::setFocusPointMode(QCameraFocus::FocusPoi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFocusPointMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -524,7 +524,7 @@ void PythonQtShell_QCameraFocusControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -663,7 +663,7 @@ void PythonQtShell_QCameraImageCapture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -685,7 +685,7 @@ void PythonQtShell_QCameraImageCapture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -707,7 +707,7 @@ bool PythonQtShell_QCameraImageCapture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -740,7 +740,7 @@ bool PythonQtShell_QCameraImageCapture::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -773,7 +773,7 @@ QMediaObject* PythonQtShell_QCameraImageCapture::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -806,7 +806,7 @@ bool PythonQtShell_QCameraImageCapture::setMediaObject(QMediaObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -839,7 +839,7 @@ void PythonQtShell_QCameraImageCapture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -964,7 +964,7 @@ void PythonQtShell_QCameraImageCaptureControl::cancelCapture() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cancelCapture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -986,7 +986,7 @@ int PythonQtShell_QCameraImageCaptureControl::capture(const QString& fileName0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("capture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1019,7 +1019,7 @@ void PythonQtShell_QCameraImageCaptureControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1041,7 +1041,7 @@ void PythonQtShell_QCameraImageCaptureControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1063,7 +1063,7 @@ QCameraImageCapture::DriveMode PythonQtShell_QCameraImageCaptureControl::driveM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("driveMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1096,7 +1096,7 @@ bool PythonQtShell_QCameraImageCaptureControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1129,7 +1129,7 @@ bool PythonQtShell_QCameraImageCaptureControl::eventFilter(QObject* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1162,7 +1162,7 @@ bool PythonQtShell_QCameraImageCaptureControl::isReadyForCapture() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isReadyForCapture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1195,7 +1195,7 @@ void PythonQtShell_QCameraImageCaptureControl::setDriveMode(QCameraImageCapture: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDriveMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1217,7 +1217,7 @@ void PythonQtShell_QCameraImageCaptureControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1374,7 +1374,7 @@ void PythonQtShell_QCameraImageProcessingControl::childEvent(QChildEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1396,7 +1396,7 @@ void PythonQtShell_QCameraImageProcessingControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1418,7 +1418,7 @@ bool PythonQtShell_QCameraImageProcessingControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1451,7 +1451,7 @@ bool PythonQtShell_QCameraImageProcessingControl::eventFilter(QObject* watched { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1484,7 +1484,7 @@ bool PythonQtShell_QCameraImageProcessingControl::isParameterSupported(QCameraI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isParameterSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1517,7 +1517,7 @@ bool PythonQtShell_QCameraImageProcessingControl::isParameterValueSupported(QCa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isParameterValueSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1550,7 +1550,7 @@ QVariant PythonQtShell_QCameraImageProcessingControl::parameter(QCameraImagePro { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parameter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1583,7 +1583,7 @@ void PythonQtShell_QCameraImageProcessingControl::setParameter(QCameraImageProce { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setParameter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1605,7 +1605,7 @@ void PythonQtShell_QCameraImageProcessingControl::timerEvent(QTimerEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1741,7 +1741,7 @@ int PythonQtShell_QCameraInfoControl::cameraOrientation(const QString& deviceN { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cameraOrientation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1774,7 +1774,7 @@ QCamera::Position PythonQtShell_QCameraInfoControl::cameraPosition(const QStrin { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cameraPosition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1807,7 +1807,7 @@ void PythonQtShell_QCameraInfoControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1829,7 +1829,7 @@ void PythonQtShell_QCameraInfoControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1851,7 +1851,7 @@ bool PythonQtShell_QCameraInfoControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1884,7 +1884,7 @@ bool PythonQtShell_QCameraInfoControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1917,7 +1917,7 @@ void PythonQtShell_QCameraInfoControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1972,7 +1972,7 @@ void PythonQtShell_QCameraLocksControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1994,7 +1994,7 @@ void PythonQtShell_QCameraLocksControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2016,7 +2016,7 @@ bool PythonQtShell_QCameraLocksControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2049,7 +2049,7 @@ bool PythonQtShell_QCameraLocksControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2082,7 +2082,7 @@ QCamera::LockStatus PythonQtShell_QCameraLocksControl::lockStatus(QCamera::Lock { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("lockStatus"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2115,7 +2115,7 @@ void PythonQtShell_QCameraLocksControl::searchAndLock(QCamera::LockTypes locks0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("searchAndLock"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2137,7 +2137,7 @@ QCamera::LockTypes PythonQtShell_QCameraLocksControl::supportedLocks() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedLocks"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2170,7 +2170,7 @@ void PythonQtShell_QCameraLocksControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2192,7 +2192,7 @@ void PythonQtShell_QCameraLocksControl::unlock(QCamera::LockTypes locks0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unlock"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2257,7 +2257,7 @@ void PythonQtShell_QCameraViewfinder::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2279,7 +2279,7 @@ void PythonQtShell_QCameraViewfinder::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2301,7 +2301,7 @@ void PythonQtShell_QCameraViewfinder::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2323,7 +2323,7 @@ void PythonQtShell_QCameraViewfinder::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2345,7 +2345,7 @@ void PythonQtShell_QCameraViewfinder::contextMenuEvent(QContextMenuEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2367,7 +2367,7 @@ void PythonQtShell_QCameraViewfinder::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2389,7 +2389,7 @@ int PythonQtShell_QCameraViewfinder::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2422,7 +2422,7 @@ void PythonQtShell_QCameraViewfinder::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2444,7 +2444,7 @@ void PythonQtShell_QCameraViewfinder::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2466,7 +2466,7 @@ void PythonQtShell_QCameraViewfinder::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2488,7 +2488,7 @@ void PythonQtShell_QCameraViewfinder::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2510,7 +2510,7 @@ void PythonQtShell_QCameraViewfinder::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2532,7 +2532,7 @@ bool PythonQtShell_QCameraViewfinder::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2565,7 +2565,7 @@ bool PythonQtShell_QCameraViewfinder::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2598,7 +2598,7 @@ void PythonQtShell_QCameraViewfinder::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2620,7 +2620,7 @@ bool PythonQtShell_QCameraViewfinder::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2653,7 +2653,7 @@ void PythonQtShell_QCameraViewfinder::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2675,7 +2675,7 @@ bool PythonQtShell_QCameraViewfinder::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2708,7 +2708,7 @@ int PythonQtShell_QCameraViewfinder::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2741,7 +2741,7 @@ void PythonQtShell_QCameraViewfinder::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2763,7 +2763,7 @@ void PythonQtShell_QCameraViewfinder::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2785,7 +2785,7 @@ void PythonQtShell_QCameraViewfinder::inputMethodEvent(QInputMethodEvent* arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2807,7 +2807,7 @@ QVariant PythonQtShell_QCameraViewfinder::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2840,7 +2840,7 @@ void PythonQtShell_QCameraViewfinder::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2862,7 +2862,7 @@ void PythonQtShell_QCameraViewfinder::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2884,7 +2884,7 @@ void PythonQtShell_QCameraViewfinder::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2906,7 +2906,7 @@ QMediaObject* PythonQtShell_QCameraViewfinder::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2939,7 +2939,7 @@ int PythonQtShell_QCameraViewfinder::metric(QPaintDevice::PaintDeviceMetric ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2972,7 +2972,7 @@ QSize PythonQtShell_QCameraViewfinder::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3005,7 +3005,7 @@ void PythonQtShell_QCameraViewfinder::mouseDoubleClickEvent(QMouseEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3027,7 +3027,7 @@ void PythonQtShell_QCameraViewfinder::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3049,7 +3049,7 @@ void PythonQtShell_QCameraViewfinder::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3071,7 +3071,7 @@ void PythonQtShell_QCameraViewfinder::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3093,7 +3093,7 @@ void PythonQtShell_QCameraViewfinder::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3115,7 +3115,7 @@ bool PythonQtShell_QCameraViewfinder::nativeEvent(const QByteArray& eventType0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3148,7 +3148,7 @@ QPaintEngine* PythonQtShell_QCameraViewfinder::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3181,7 +3181,7 @@ void PythonQtShell_QCameraViewfinder::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3203,7 +3203,7 @@ QPaintDevice* PythonQtShell_QCameraViewfinder::redirected(QPoint* offset0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3236,7 +3236,7 @@ void PythonQtShell_QCameraViewfinder::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3258,7 +3258,7 @@ bool PythonQtShell_QCameraViewfinder::setMediaObject(QMediaObject* object0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3291,7 +3291,7 @@ void PythonQtShell_QCameraViewfinder::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3313,7 +3313,7 @@ QPainter* PythonQtShell_QCameraViewfinder::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3346,7 +3346,7 @@ void PythonQtShell_QCameraViewfinder::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3368,7 +3368,7 @@ void PythonQtShell_QCameraViewfinder::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3390,7 +3390,7 @@ void PythonQtShell_QCameraViewfinder::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3412,7 +3412,7 @@ void PythonQtShell_QCameraViewfinder::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3542,7 +3542,7 @@ void PythonQtShell_QCameraViewfinderSettingsControl::childEvent(QChildEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3564,7 +3564,7 @@ void PythonQtShell_QCameraViewfinderSettingsControl::customEvent(QEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3586,7 +3586,7 @@ bool PythonQtShell_QCameraViewfinderSettingsControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3619,7 +3619,7 @@ bool PythonQtShell_QCameraViewfinderSettingsControl::eventFilter(QObject* watc { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3652,7 +3652,7 @@ bool PythonQtShell_QCameraViewfinderSettingsControl::isViewfinderParameterSuppo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isViewfinderParameterSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3685,7 +3685,7 @@ void PythonQtShell_QCameraViewfinderSettingsControl::setViewfinderParameter(QCam { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setViewfinderParameter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3707,7 +3707,7 @@ void PythonQtShell_QCameraViewfinderSettingsControl::timerEvent(QTimerEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3729,7 +3729,7 @@ QVariant PythonQtShell_QCameraViewfinderSettingsControl::viewfinderParameter(QC { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewfinderParameter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3800,7 +3800,7 @@ void PythonQtShell_QCameraViewfinderSettingsControl2::childEvent(QChildEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3822,7 +3822,7 @@ void PythonQtShell_QCameraViewfinderSettingsControl2::customEvent(QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3844,7 +3844,7 @@ bool PythonQtShell_QCameraViewfinderSettingsControl2::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3877,7 +3877,7 @@ bool PythonQtShell_QCameraViewfinderSettingsControl2::eventFilter(QObject* wat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3910,7 +3910,7 @@ void PythonQtShell_QCameraViewfinderSettingsControl2::setViewfinderSettings(cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setViewfinderSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3932,7 +3932,7 @@ QList PythonQtShell_QCameraViewfinderSettingsContro { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedViewfinderSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3965,7 +3965,7 @@ void PythonQtShell_QCameraViewfinderSettingsControl2::timerEvent(QTimerEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3987,7 +3987,7 @@ QCameraViewfinderSettings PythonQtShell_QCameraViewfinderSettingsControl2::view { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("viewfinderSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4058,7 +4058,7 @@ void PythonQtShell_QCameraZoomControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4080,7 +4080,7 @@ qreal PythonQtShell_QCameraZoomControl::currentDigitalZoom() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentDigitalZoom"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4113,7 +4113,7 @@ qreal PythonQtShell_QCameraZoomControl::currentOpticalZoom() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentOpticalZoom"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4146,7 +4146,7 @@ void PythonQtShell_QCameraZoomControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4168,7 +4168,7 @@ bool PythonQtShell_QCameraZoomControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4201,7 +4201,7 @@ bool PythonQtShell_QCameraZoomControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4234,7 +4234,7 @@ qreal PythonQtShell_QCameraZoomControl::maximumDigitalZoom() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumDigitalZoom"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4267,7 +4267,7 @@ qreal PythonQtShell_QCameraZoomControl::maximumOpticalZoom() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("maximumOpticalZoom"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4300,7 +4300,7 @@ qreal PythonQtShell_QCameraZoomControl::requestedDigitalZoom() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("requestedDigitalZoom"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4333,7 +4333,7 @@ qreal PythonQtShell_QCameraZoomControl::requestedOpticalZoom() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("requestedOpticalZoom"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4366,7 +4366,7 @@ void PythonQtShell_QCameraZoomControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4388,7 +4388,7 @@ void PythonQtShell_QCameraZoomControl::zoomTo(qreal optical0, qreal digital1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("zoomTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4487,7 +4487,7 @@ void PythonQtShell_QGraphicsVideoItem::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4509,7 +4509,7 @@ void PythonQtShell_QGraphicsVideoItem::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4531,7 +4531,7 @@ bool PythonQtShell_QGraphicsVideoItem::event(QEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4564,7 +4564,7 @@ bool PythonQtShell_QGraphicsVideoItem::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4597,7 +4597,7 @@ QMediaObject* PythonQtShell_QGraphicsVideoItem::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4630,7 +4630,7 @@ bool PythonQtShell_QGraphicsVideoItem::setMediaObject(QMediaObject* object0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4663,7 +4663,7 @@ void PythonQtShell_QGraphicsVideoItem::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4758,7 +4758,7 @@ void PythonQtShell_QImageEncoderControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4780,7 +4780,7 @@ void PythonQtShell_QImageEncoderControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4802,7 +4802,7 @@ bool PythonQtShell_QImageEncoderControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4835,7 +4835,7 @@ bool PythonQtShell_QImageEncoderControl::eventFilter(QObject* watched0, QEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4868,7 +4868,7 @@ QString PythonQtShell_QImageEncoderControl::imageCodecDescription(const QString { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("imageCodecDescription"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4901,7 +4901,7 @@ QImageEncoderSettings PythonQtShell_QImageEncoderControl::imageSettings() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("imageSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4934,7 +4934,7 @@ void PythonQtShell_QImageEncoderControl::setImageSettings(const QImageEncoderSet { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setImageSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4956,7 +4956,7 @@ QStringList PythonQtShell_QImageEncoderControl::supportedImageCodecs() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedImageCodecs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4989,7 +4989,7 @@ QList PythonQtShell_QImageEncoderControl::supportedResolutions(const QI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedResolutions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5022,7 +5022,7 @@ void PythonQtShell_QImageEncoderControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5177,7 +5177,7 @@ void PythonQtShell_QMediaAudioProbeControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5199,7 +5199,7 @@ void PythonQtShell_QMediaAudioProbeControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5221,7 +5221,7 @@ bool PythonQtShell_QMediaAudioProbeControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5254,7 +5254,7 @@ bool PythonQtShell_QMediaAudioProbeControl::eventFilter(QObject* watched0, QEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5287,7 +5287,7 @@ void PythonQtShell_QMediaAudioProbeControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5332,7 +5332,7 @@ QMultimedia::AvailabilityStatus PythonQtShell_QMediaAvailabilityControl::availa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5365,7 +5365,7 @@ void PythonQtShell_QMediaAvailabilityControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5387,7 +5387,7 @@ void PythonQtShell_QMediaAvailabilityControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5409,7 +5409,7 @@ bool PythonQtShell_QMediaAvailabilityControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5442,7 +5442,7 @@ bool PythonQtShell_QMediaAvailabilityControl::eventFilter(QObject* watched0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5475,7 +5475,7 @@ void PythonQtShell_QMediaAvailabilityControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5525,7 +5525,7 @@ QMediaObject* PythonQtShell_QMediaBindableInterface::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5558,7 +5558,7 @@ bool PythonQtShell_QMediaBindableInterface::setMediaObject(QMediaObject* objec { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5611,7 +5611,7 @@ void PythonQtShell_QMediaContainerControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5633,7 +5633,7 @@ QString PythonQtShell_QMediaContainerControl::containerDescription(const QStrin { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("containerDescription"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5666,7 +5666,7 @@ QString PythonQtShell_QMediaContainerControl::containerFormat() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("containerFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5699,7 +5699,7 @@ void PythonQtShell_QMediaContainerControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5721,7 +5721,7 @@ bool PythonQtShell_QMediaContainerControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5754,7 +5754,7 @@ bool PythonQtShell_QMediaContainerControl::eventFilter(QObject* watched0, QEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5787,7 +5787,7 @@ void PythonQtShell_QMediaContainerControl::setContainerFormat(const QString& fo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setContainerFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5809,7 +5809,7 @@ QStringList PythonQtShell_QMediaContainerControl::supportedContainers() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedContainers"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5842,7 +5842,7 @@ void PythonQtShell_QMediaContainerControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5982,7 +5982,7 @@ void PythonQtShell_QMediaControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6004,7 +6004,7 @@ void PythonQtShell_QMediaControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6026,7 +6026,7 @@ bool PythonQtShell_QMediaControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6059,7 +6059,7 @@ bool PythonQtShell_QMediaControl::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6092,7 +6092,7 @@ void PythonQtShell_QMediaControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6137,7 +6137,7 @@ void PythonQtShell_QMediaGaplessPlaybackControl::childEvent(QChildEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6159,7 +6159,7 @@ qreal PythonQtShell_QMediaGaplessPlaybackControl::crossfadeTime() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("crossfadeTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6192,7 +6192,7 @@ void PythonQtShell_QMediaGaplessPlaybackControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6214,7 +6214,7 @@ bool PythonQtShell_QMediaGaplessPlaybackControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6247,7 +6247,7 @@ bool PythonQtShell_QMediaGaplessPlaybackControl::eventFilter(QObject* watched0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6280,7 +6280,7 @@ bool PythonQtShell_QMediaGaplessPlaybackControl::isCrossfadeSupported() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isCrossfadeSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6313,7 +6313,7 @@ QMediaContent PythonQtShell_QMediaGaplessPlaybackControl::nextMedia() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextMedia"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6346,7 +6346,7 @@ void PythonQtShell_QMediaGaplessPlaybackControl::setCrossfadeTime(qreal crossfa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setCrossfadeTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6368,7 +6368,7 @@ void PythonQtShell_QMediaGaplessPlaybackControl::setNextMedia(const QMediaConten { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setNextMedia"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6390,7 +6390,7 @@ void PythonQtShell_QMediaGaplessPlaybackControl::timerEvent(QTimerEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6460,7 +6460,7 @@ void PythonQtShell_QMediaNetworkAccessControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6482,7 +6482,7 @@ QNetworkConfiguration PythonQtShell_QMediaNetworkAccessControl::currentConfigur { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("currentConfiguration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6515,7 +6515,7 @@ void PythonQtShell_QMediaNetworkAccessControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6537,7 +6537,7 @@ bool PythonQtShell_QMediaNetworkAccessControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6570,7 +6570,7 @@ bool PythonQtShell_QMediaNetworkAccessControl::eventFilter(QObject* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6603,7 +6603,7 @@ void PythonQtShell_QMediaNetworkAccessControl::setConfigurations(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setConfigurations"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6625,7 +6625,7 @@ void PythonQtShell_QMediaNetworkAccessControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6680,7 +6680,7 @@ QMultimedia::AvailabilityStatus PythonQtShell_QMediaObject::availability() cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6713,7 +6713,7 @@ bool PythonQtShell_QMediaObject::bind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6746,7 +6746,7 @@ void PythonQtShell_QMediaObject::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6768,7 +6768,7 @@ void PythonQtShell_QMediaObject::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6790,7 +6790,7 @@ bool PythonQtShell_QMediaObject::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6823,7 +6823,7 @@ bool PythonQtShell_QMediaObject::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6856,7 +6856,7 @@ bool PythonQtShell_QMediaObject::isAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6889,7 +6889,7 @@ QMediaService* PythonQtShell_QMediaObject::service() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6922,7 +6922,7 @@ void PythonQtShell_QMediaObject::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6944,7 +6944,7 @@ void PythonQtShell_QMediaObject::unbind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7049,7 +7049,7 @@ QMultimedia::AvailabilityStatus PythonQtShell_QMediaPlayer::availability() cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7082,7 +7082,7 @@ bool PythonQtShell_QMediaPlayer::bind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7115,7 +7115,7 @@ void PythonQtShell_QMediaPlayer::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7137,7 +7137,7 @@ void PythonQtShell_QMediaPlayer::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7159,7 +7159,7 @@ bool PythonQtShell_QMediaPlayer::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7192,7 +7192,7 @@ bool PythonQtShell_QMediaPlayer::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7225,7 +7225,7 @@ bool PythonQtShell_QMediaPlayer::isAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7258,7 +7258,7 @@ QMediaService* PythonQtShell_QMediaPlayer::service() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7291,7 +7291,7 @@ void PythonQtShell_QMediaPlayer::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7313,7 +7313,7 @@ void PythonQtShell_QMediaPlayer::unbind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7488,7 +7488,7 @@ QMediaTimeRange PythonQtShell_QMediaPlayerControl::availablePlaybackRanges() co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availablePlaybackRanges"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7521,7 +7521,7 @@ int PythonQtShell_QMediaPlayerControl::bufferStatus() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bufferStatus"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7554,7 +7554,7 @@ void PythonQtShell_QMediaPlayerControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7576,7 +7576,7 @@ void PythonQtShell_QMediaPlayerControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7598,7 +7598,7 @@ qint64 PythonQtShell_QMediaPlayerControl::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7631,7 +7631,7 @@ bool PythonQtShell_QMediaPlayerControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7664,7 +7664,7 @@ bool PythonQtShell_QMediaPlayerControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7697,7 +7697,7 @@ bool PythonQtShell_QMediaPlayerControl::isAudioAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAudioAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7730,7 +7730,7 @@ bool PythonQtShell_QMediaPlayerControl::isMuted() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isMuted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7763,7 +7763,7 @@ bool PythonQtShell_QMediaPlayerControl::isSeekable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSeekable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7796,7 +7796,7 @@ bool PythonQtShell_QMediaPlayerControl::isVideoAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isVideoAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7829,7 +7829,7 @@ QMediaContent PythonQtShell_QMediaPlayerControl::media() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("media"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7862,7 +7862,7 @@ QMediaPlayer::MediaStatus PythonQtShell_QMediaPlayerControl::mediaStatus() cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaStatus"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7895,7 +7895,7 @@ const QIODevice* PythonQtShell_QMediaPlayerControl::mediaStream() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaStream"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7928,7 +7928,7 @@ void PythonQtShell_QMediaPlayerControl::pause() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pause"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7950,7 +7950,7 @@ void PythonQtShell_QMediaPlayerControl::play() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("play"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7972,7 +7972,7 @@ qreal PythonQtShell_QMediaPlayerControl::playbackRate() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("playbackRate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8005,7 +8005,7 @@ qint64 PythonQtShell_QMediaPlayerControl::position() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("position"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8038,7 +8038,7 @@ void PythonQtShell_QMediaPlayerControl::setMedia(const QMediaContent& media0, Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMedia"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8060,7 +8060,7 @@ void PythonQtShell_QMediaPlayerControl::setMuted(bool muted0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMuted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8082,7 +8082,7 @@ void PythonQtShell_QMediaPlayerControl::setPlaybackRate(qreal rate0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPlaybackRate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8104,7 +8104,7 @@ void PythonQtShell_QMediaPlayerControl::setPosition(qint64 position0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setPosition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8126,7 +8126,7 @@ void PythonQtShell_QMediaPlayerControl::setVolume(int volume0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVolume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8148,7 +8148,7 @@ QMediaPlayer::State PythonQtShell_QMediaPlayerControl::state() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("state"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8181,7 +8181,7 @@ void PythonQtShell_QMediaPlayerControl::stop() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stop"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8203,7 +8203,7 @@ void PythonQtShell_QMediaPlayerControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8225,7 +8225,7 @@ int PythonQtShell_QMediaPlayerControl::volume() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("volume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp b/generated_cpp_56/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp index ba50b10b6..c255b880b 100644 --- a/generated_cpp_56/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp +++ b/generated_cpp_56/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp @@ -38,7 +38,7 @@ void PythonQtShell_QMediaPlaylist::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -60,7 +60,7 @@ void PythonQtShell_QMediaPlaylist::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -82,7 +82,7 @@ bool PythonQtShell_QMediaPlaylist::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -115,7 +115,7 @@ bool PythonQtShell_QMediaPlaylist::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -148,7 +148,7 @@ QMediaObject* PythonQtShell_QMediaPlaylist::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -181,7 +181,7 @@ bool PythonQtShell_QMediaPlaylist::setMediaObject(QMediaObject* object0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -214,7 +214,7 @@ void PythonQtShell_QMediaPlaylist::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -379,7 +379,7 @@ void PythonQtShell_QMediaRecorder::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -401,7 +401,7 @@ void PythonQtShell_QMediaRecorder::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -423,7 +423,7 @@ bool PythonQtShell_QMediaRecorder::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -456,7 +456,7 @@ bool PythonQtShell_QMediaRecorder::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -489,7 +489,7 @@ QMediaObject* PythonQtShell_QMediaRecorder::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -522,7 +522,7 @@ bool PythonQtShell_QMediaRecorder::setMediaObject(QMediaObject* object0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -555,7 +555,7 @@ void PythonQtShell_QMediaRecorder::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -765,7 +765,7 @@ void PythonQtShell_QMediaRecorderControl::applySettings() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("applySettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -787,7 +787,7 @@ void PythonQtShell_QMediaRecorderControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -809,7 +809,7 @@ void PythonQtShell_QMediaRecorderControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -831,7 +831,7 @@ qint64 PythonQtShell_QMediaRecorderControl::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -864,7 +864,7 @@ bool PythonQtShell_QMediaRecorderControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -897,7 +897,7 @@ bool PythonQtShell_QMediaRecorderControl::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -930,7 +930,7 @@ bool PythonQtShell_QMediaRecorderControl::isMuted() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isMuted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -963,7 +963,7 @@ QUrl PythonQtShell_QMediaRecorderControl::outputLocation() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("outputLocation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -996,7 +996,7 @@ void PythonQtShell_QMediaRecorderControl::setMuted(bool muted0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMuted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1018,7 +1018,7 @@ bool PythonQtShell_QMediaRecorderControl::setOutputLocation(const QUrl& locati { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setOutputLocation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1051,7 +1051,7 @@ void PythonQtShell_QMediaRecorderControl::setState(QMediaRecorder::State state0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1073,7 +1073,7 @@ void PythonQtShell_QMediaRecorderControl::setVolume(qreal volume0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVolume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1095,7 +1095,7 @@ QMediaRecorder::State PythonQtShell_QMediaRecorderControl::state() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("state"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1128,7 +1128,7 @@ QMediaRecorder::Status PythonQtShell_QMediaRecorderControl::status() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("status"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1161,7 +1161,7 @@ void PythonQtShell_QMediaRecorderControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1183,7 +1183,7 @@ qreal PythonQtShell_QMediaRecorderControl::volume() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("volume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1427,7 +1427,7 @@ void PythonQtShell_QMediaService::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1449,7 +1449,7 @@ void PythonQtShell_QMediaService::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1471,7 +1471,7 @@ bool PythonQtShell_QMediaService::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1504,7 +1504,7 @@ bool PythonQtShell_QMediaService::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1537,7 +1537,7 @@ void PythonQtShell_QMediaService::releaseControl(QMediaControl* control0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("releaseControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1559,7 +1559,7 @@ QMediaControl* PythonQtShell_QMediaService::requestControl(const char* name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("requestControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1592,7 +1592,7 @@ void PythonQtShell_QMediaService::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1647,7 +1647,7 @@ int PythonQtShell_QMediaServiceCameraInfoInterface::cameraOrientation(const QBy { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cameraOrientation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1680,7 +1680,7 @@ QCamera::Position PythonQtShell_QMediaServiceCameraInfoInterface::cameraPositio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cameraPosition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1733,7 +1733,7 @@ QByteArray PythonQtShell_QMediaServiceDefaultDeviceInterface::defaultDevice(con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("defaultDevice"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1781,7 +1781,7 @@ QMediaService* PythonQtShell_QMediaServiceProviderFactoryInterface::create(cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1814,7 +1814,7 @@ void PythonQtShell_QMediaServiceProviderFactoryInterface::release(QMediaService* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("release"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1923,7 +1923,7 @@ QMediaService* PythonQtShell_QMediaServiceProviderPlugin::create(const QString& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1956,7 +1956,7 @@ void PythonQtShell_QMediaServiceProviderPlugin::release(QMediaService* service0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("release"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2011,7 +2011,7 @@ QString PythonQtShell_QMediaServiceSupportedDevicesInterface::deviceDescription { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deviceDescription"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2044,7 +2044,7 @@ QList PythonQtShell_QMediaServiceSupportedDevicesInterface::device { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devices"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2097,7 +2097,7 @@ QMultimedia::SupportEstimate PythonQtShell_QMediaServiceSupportedFormatsInterfa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasSupport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2130,7 +2130,7 @@ QStringList PythonQtShell_QMediaServiceSupportedFormatsInterface::supportedMime { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedMimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2183,7 +2183,7 @@ void PythonQtShell_QMediaStreamsControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2205,7 +2205,7 @@ void PythonQtShell_QMediaStreamsControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2227,7 +2227,7 @@ bool PythonQtShell_QMediaStreamsControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2260,7 +2260,7 @@ bool PythonQtShell_QMediaStreamsControl::eventFilter(QObject* watched0, QEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2293,7 +2293,7 @@ bool PythonQtShell_QMediaStreamsControl::isActive(int streamNumber0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isActive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2326,7 +2326,7 @@ QVariant PythonQtShell_QMediaStreamsControl::metaData(int streamNumber0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2359,7 +2359,7 @@ void PythonQtShell_QMediaStreamsControl::setActive(int streamNumber0, bool sta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setActive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2381,7 +2381,7 @@ int PythonQtShell_QMediaStreamsControl::streamCount() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("streamCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2414,7 +2414,7 @@ QMediaStreamsControl::StreamType PythonQtShell_QMediaStreamsControl::streamType { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("streamType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2447,7 +2447,7 @@ void PythonQtShell_QMediaStreamsControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2701,7 +2701,7 @@ void PythonQtShell_QMediaVideoProbeControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2723,7 +2723,7 @@ void PythonQtShell_QMediaVideoProbeControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2745,7 +2745,7 @@ bool PythonQtShell_QMediaVideoProbeControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2778,7 +2778,7 @@ bool PythonQtShell_QMediaVideoProbeControl::eventFilter(QObject* watched0, QEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2811,7 +2811,7 @@ void PythonQtShell_QMediaVideoProbeControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2856,7 +2856,7 @@ QStringList PythonQtShell_QMetaDataReaderControl::availableMetaData() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availableMetaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2889,7 +2889,7 @@ void PythonQtShell_QMetaDataReaderControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2911,7 +2911,7 @@ void PythonQtShell_QMetaDataReaderControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2933,7 +2933,7 @@ bool PythonQtShell_QMetaDataReaderControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2966,7 +2966,7 @@ bool PythonQtShell_QMetaDataReaderControl::eventFilter(QObject* watched0, QEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2999,7 +2999,7 @@ bool PythonQtShell_QMetaDataReaderControl::isMetaDataAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isMetaDataAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3032,7 +3032,7 @@ QVariant PythonQtShell_QMetaDataReaderControl::metaData(const QString& key0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3065,7 +3065,7 @@ void PythonQtShell_QMetaDataReaderControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3125,7 +3125,7 @@ QStringList PythonQtShell_QMetaDataWriterControl::availableMetaData() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availableMetaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3158,7 +3158,7 @@ void PythonQtShell_QMetaDataWriterControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3180,7 +3180,7 @@ void PythonQtShell_QMetaDataWriterControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3202,7 +3202,7 @@ bool PythonQtShell_QMetaDataWriterControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3235,7 +3235,7 @@ bool PythonQtShell_QMetaDataWriterControl::eventFilter(QObject* watched0, QEve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3268,7 +3268,7 @@ bool PythonQtShell_QMetaDataWriterControl::isMetaDataAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isMetaDataAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3301,7 +3301,7 @@ bool PythonQtShell_QMetaDataWriterControl::isWritable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isWritable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3334,7 +3334,7 @@ QVariant PythonQtShell_QMetaDataWriterControl::metaData(const QString& key0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3367,7 +3367,7 @@ void PythonQtShell_QMetaDataWriterControl::setMetaData(const QString& key0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMetaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3389,7 +3389,7 @@ void PythonQtShell_QMetaDataWriterControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3461,7 +3461,7 @@ void PythonQtShell_QRadioData::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3483,7 +3483,7 @@ void PythonQtShell_QRadioData::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3505,7 +3505,7 @@ bool PythonQtShell_QRadioData::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3538,7 +3538,7 @@ bool PythonQtShell_QRadioData::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3571,7 +3571,7 @@ QMediaObject* PythonQtShell_QRadioData::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3604,7 +3604,7 @@ bool PythonQtShell_QRadioData::setMediaObject(QMediaObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3637,7 +3637,7 @@ void PythonQtShell_QRadioData::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3727,7 +3727,7 @@ void PythonQtShell_QRadioDataControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3749,7 +3749,7 @@ void PythonQtShell_QRadioDataControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3771,7 +3771,7 @@ QRadioData::Error PythonQtShell_QRadioDataControl::error() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("error"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3804,7 +3804,7 @@ QString PythonQtShell_QRadioDataControl::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3837,7 +3837,7 @@ bool PythonQtShell_QRadioDataControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3870,7 +3870,7 @@ bool PythonQtShell_QRadioDataControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3903,7 +3903,7 @@ bool PythonQtShell_QRadioDataControl::isAlternativeFrequenciesEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAlternativeFrequenciesEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3936,7 +3936,7 @@ QRadioData::ProgramType PythonQtShell_QRadioDataControl::programType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("programType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3969,7 +3969,7 @@ QString PythonQtShell_QRadioDataControl::programTypeName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("programTypeName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4002,7 +4002,7 @@ QString PythonQtShell_QRadioDataControl::radioText() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("radioText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4035,7 +4035,7 @@ void PythonQtShell_QRadioDataControl::setAlternativeFrequenciesEnabled(bool ena { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setAlternativeFrequenciesEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4057,7 +4057,7 @@ QString PythonQtShell_QRadioDataControl::stationId() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stationId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4090,7 +4090,7 @@ QString PythonQtShell_QRadioDataControl::stationName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stationName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4123,7 +4123,7 @@ void PythonQtShell_QRadioDataControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4213,7 +4213,7 @@ QMultimedia::AvailabilityStatus PythonQtShell_QRadioTuner::availability() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("availability"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4246,7 +4246,7 @@ bool PythonQtShell_QRadioTuner::bind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4279,7 +4279,7 @@ void PythonQtShell_QRadioTuner::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4301,7 +4301,7 @@ void PythonQtShell_QRadioTuner::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4323,7 +4323,7 @@ bool PythonQtShell_QRadioTuner::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4356,7 +4356,7 @@ bool PythonQtShell_QRadioTuner::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4389,7 +4389,7 @@ bool PythonQtShell_QRadioTuner::isAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4422,7 +4422,7 @@ QMediaService* PythonQtShell_QRadioTuner::service() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("service"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4455,7 +4455,7 @@ void PythonQtShell_QRadioTuner::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4477,7 +4477,7 @@ void PythonQtShell_QRadioTuner::unbind(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unbind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4607,7 +4607,7 @@ QRadioTuner::Band PythonQtShell_QRadioTunerControl::band() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("band"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4640,7 +4640,7 @@ void PythonQtShell_QRadioTunerControl::cancelSearch() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cancelSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4662,7 +4662,7 @@ void PythonQtShell_QRadioTunerControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4684,7 +4684,7 @@ void PythonQtShell_QRadioTunerControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4706,7 +4706,7 @@ QRadioTuner::Error PythonQtShell_QRadioTunerControl::error() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("error"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4739,7 +4739,7 @@ QString PythonQtShell_QRadioTunerControl::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4772,7 +4772,7 @@ bool PythonQtShell_QRadioTunerControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4805,7 +4805,7 @@ bool PythonQtShell_QRadioTunerControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4838,7 +4838,7 @@ int PythonQtShell_QRadioTunerControl::frequency() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("frequency"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4871,7 +4871,7 @@ QPair PythonQtShell_QRadioTunerControl::frequencyRange(QRadioTuner: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("frequencyRange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4904,7 +4904,7 @@ int PythonQtShell_QRadioTunerControl::frequencyStep(QRadioTuner::Band b0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("frequencyStep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4937,7 +4937,7 @@ bool PythonQtShell_QRadioTunerControl::isAntennaConnected() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAntennaConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4970,7 +4970,7 @@ bool PythonQtShell_QRadioTunerControl::isBandSupported(QRadioTuner::Band b0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isBandSupported"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5003,7 +5003,7 @@ bool PythonQtShell_QRadioTunerControl::isMuted() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isMuted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5036,7 +5036,7 @@ bool PythonQtShell_QRadioTunerControl::isSearching() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSearching"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5069,7 +5069,7 @@ bool PythonQtShell_QRadioTunerControl::isStereo() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isStereo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5102,7 +5102,7 @@ void PythonQtShell_QRadioTunerControl::searchAllStations(QRadioTuner::SearchMode { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("searchAllStations"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5124,7 +5124,7 @@ void PythonQtShell_QRadioTunerControl::searchBackward() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("searchBackward"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5146,7 +5146,7 @@ void PythonQtShell_QRadioTunerControl::searchForward() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("searchForward"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5168,7 +5168,7 @@ void PythonQtShell_QRadioTunerControl::setBand(QRadioTuner::Band b0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setBand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5190,7 +5190,7 @@ void PythonQtShell_QRadioTunerControl::setFrequency(int frequency0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFrequency"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5212,7 +5212,7 @@ void PythonQtShell_QRadioTunerControl::setMuted(bool muted0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMuted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5234,7 +5234,7 @@ void PythonQtShell_QRadioTunerControl::setStereoMode(QRadioTuner::StereoMode mo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setStereoMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5256,7 +5256,7 @@ void PythonQtShell_QRadioTunerControl::setVolume(int volume0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVolume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5278,7 +5278,7 @@ int PythonQtShell_QRadioTunerControl::signalStrength() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("signalStrength"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5311,7 +5311,7 @@ void PythonQtShell_QRadioTunerControl::start() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("start"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5333,7 +5333,7 @@ QRadioTuner::State PythonQtShell_QRadioTunerControl::state() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("state"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5366,7 +5366,7 @@ QRadioTuner::StereoMode PythonQtShell_QRadioTunerControl::stereoMode() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stereoMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5399,7 +5399,7 @@ void PythonQtShell_QRadioTunerControl::stop() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stop"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5421,7 +5421,7 @@ void PythonQtShell_QRadioTunerControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5443,7 +5443,7 @@ int PythonQtShell_QRadioTunerControl::volume() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("volume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5629,7 +5629,7 @@ void PythonQtShell_QSound::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5651,7 +5651,7 @@ void PythonQtShell_QSound::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5673,7 +5673,7 @@ bool PythonQtShell_QSound::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5706,7 +5706,7 @@ bool PythonQtShell_QSound::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5739,7 +5739,7 @@ void PythonQtShell_QSound::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5814,7 +5814,7 @@ void PythonQtShell_QSoundEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5836,7 +5836,7 @@ void PythonQtShell_QSoundEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5858,7 +5858,7 @@ bool PythonQtShell_QSoundEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5891,7 +5891,7 @@ bool PythonQtShell_QSoundEffect::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5924,7 +5924,7 @@ void PythonQtShell_QSoundEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6044,7 +6044,7 @@ void PythonQtShell_QVideoDeviceSelectorControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6066,7 +6066,7 @@ void PythonQtShell_QVideoDeviceSelectorControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6088,7 +6088,7 @@ int PythonQtShell_QVideoDeviceSelectorControl::defaultDevice() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("defaultDevice"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6121,7 +6121,7 @@ int PythonQtShell_QVideoDeviceSelectorControl::deviceCount() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deviceCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6154,7 +6154,7 @@ QString PythonQtShell_QVideoDeviceSelectorControl::deviceDescription(int index { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deviceDescription"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6187,7 +6187,7 @@ QString PythonQtShell_QVideoDeviceSelectorControl::deviceName(int index0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deviceName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6220,7 +6220,7 @@ bool PythonQtShell_QVideoDeviceSelectorControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6253,7 +6253,7 @@ bool PythonQtShell_QVideoDeviceSelectorControl::eventFilter(QObject* watched0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6286,7 +6286,7 @@ int PythonQtShell_QVideoDeviceSelectorControl::selectedDevice() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectedDevice"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6319,7 +6319,7 @@ void PythonQtShell_QVideoDeviceSelectorControl::setSelectedDevice(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelectedDevice"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6341,7 +6341,7 @@ void PythonQtShell_QVideoDeviceSelectorControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6526,7 +6526,7 @@ void PythonQtShell_QVideoEncoderSettingsControl::childEvent(QChildEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6548,7 +6548,7 @@ void PythonQtShell_QVideoEncoderSettingsControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6570,7 +6570,7 @@ bool PythonQtShell_QVideoEncoderSettingsControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6603,7 +6603,7 @@ bool PythonQtShell_QVideoEncoderSettingsControl::eventFilter(QObject* watched0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6636,7 +6636,7 @@ void PythonQtShell_QVideoEncoderSettingsControl::setVideoSettings(const QVideoEn { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVideoSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6658,7 +6658,7 @@ QList PythonQtShell_QVideoEncoderSettingsControl::supportedFrameRates(c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedFrameRates"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6691,7 +6691,7 @@ QList PythonQtShell_QVideoEncoderSettingsControl::supportedResolutions( { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedResolutions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6724,7 +6724,7 @@ QStringList PythonQtShell_QVideoEncoderSettingsControl::supportedVideoCodecs() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedVideoCodecs"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6757,7 +6757,7 @@ void PythonQtShell_QVideoEncoderSettingsControl::timerEvent(QTimerEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6779,7 +6779,7 @@ QString PythonQtShell_QVideoEncoderSettingsControl::videoCodecDescription(const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("videoCodecDescription"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6812,7 +6812,7 @@ QVideoEncoderSettings PythonQtShell_QVideoEncoderSettingsControl::videoSettings { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("videoSettings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7102,7 +7102,7 @@ void PythonQtShell_QVideoProbe::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7124,7 +7124,7 @@ void PythonQtShell_QVideoProbe::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7146,7 +7146,7 @@ bool PythonQtShell_QVideoProbe::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7179,7 +7179,7 @@ bool PythonQtShell_QVideoProbe::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7212,7 +7212,7 @@ void PythonQtShell_QVideoProbe::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp b/generated_cpp_56/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp index 019eed9de..b69d0ca91 100644 --- a/generated_cpp_56/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp +++ b/generated_cpp_56/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp @@ -48,7 +48,7 @@ void PythonQtShell_QVideoRendererControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -70,7 +70,7 @@ void PythonQtShell_QVideoRendererControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -92,7 +92,7 @@ bool PythonQtShell_QVideoRendererControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -125,7 +125,7 @@ bool PythonQtShell_QVideoRendererControl::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -158,7 +158,7 @@ void PythonQtShell_QVideoRendererControl::setSurface(QAbstractVideoSurface* sur { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSurface"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -180,7 +180,7 @@ QAbstractVideoSurface* PythonQtShell_QVideoRendererControl::surface() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surface"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -213,7 +213,7 @@ void PythonQtShell_QVideoRendererControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -419,7 +419,7 @@ void PythonQtShell_QVideoWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -441,7 +441,7 @@ void PythonQtShell_QVideoWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -463,7 +463,7 @@ void PythonQtShell_QVideoWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -485,7 +485,7 @@ void PythonQtShell_QVideoWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -507,7 +507,7 @@ void PythonQtShell_QVideoWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -529,7 +529,7 @@ void PythonQtShell_QVideoWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -551,7 +551,7 @@ int PythonQtShell_QVideoWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -584,7 +584,7 @@ void PythonQtShell_QVideoWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -606,7 +606,7 @@ void PythonQtShell_QVideoWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -628,7 +628,7 @@ void PythonQtShell_QVideoWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -650,7 +650,7 @@ void PythonQtShell_QVideoWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -672,7 +672,7 @@ void PythonQtShell_QVideoWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -694,7 +694,7 @@ bool PythonQtShell_QVideoWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -727,7 +727,7 @@ bool PythonQtShell_QVideoWidget::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -760,7 +760,7 @@ void PythonQtShell_QVideoWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -782,7 +782,7 @@ bool PythonQtShell_QVideoWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -815,7 +815,7 @@ void PythonQtShell_QVideoWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -837,7 +837,7 @@ bool PythonQtShell_QVideoWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -870,7 +870,7 @@ int PythonQtShell_QVideoWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -903,7 +903,7 @@ void PythonQtShell_QVideoWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -925,7 +925,7 @@ void PythonQtShell_QVideoWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -947,7 +947,7 @@ void PythonQtShell_QVideoWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -969,7 +969,7 @@ QVariant PythonQtShell_QVideoWidget::inputMethodQuery(Qt::InputMethodQuery arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1002,7 +1002,7 @@ void PythonQtShell_QVideoWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1024,7 +1024,7 @@ void PythonQtShell_QVideoWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1046,7 +1046,7 @@ void PythonQtShell_QVideoWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1068,7 +1068,7 @@ QMediaObject* PythonQtShell_QVideoWidget::mediaObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1101,7 +1101,7 @@ int PythonQtShell_QVideoWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1134,7 +1134,7 @@ QSize PythonQtShell_QVideoWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1167,7 +1167,7 @@ void PythonQtShell_QVideoWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1189,7 +1189,7 @@ void PythonQtShell_QVideoWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1211,7 +1211,7 @@ void PythonQtShell_QVideoWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1233,7 +1233,7 @@ void PythonQtShell_QVideoWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1255,7 +1255,7 @@ void PythonQtShell_QVideoWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1277,7 +1277,7 @@ bool PythonQtShell_QVideoWidget::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1310,7 +1310,7 @@ QPaintEngine* PythonQtShell_QVideoWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1343,7 +1343,7 @@ void PythonQtShell_QVideoWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1365,7 +1365,7 @@ QPaintDevice* PythonQtShell_QVideoWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1398,7 +1398,7 @@ void PythonQtShell_QVideoWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1420,7 +1420,7 @@ bool PythonQtShell_QVideoWidget::setMediaObject(QMediaObject* object0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setMediaObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1453,7 +1453,7 @@ void PythonQtShell_QVideoWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1475,7 +1475,7 @@ QPainter* PythonQtShell_QVideoWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1508,7 +1508,7 @@ void PythonQtShell_QVideoWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1530,7 +1530,7 @@ void PythonQtShell_QVideoWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1552,7 +1552,7 @@ void PythonQtShell_QVideoWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1574,7 +1574,7 @@ void PythonQtShell_QVideoWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1649,7 +1649,7 @@ Qt::AspectRatioMode PythonQtShell_QVideoWidgetControl::aspectRatioMode() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("aspectRatioMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1682,7 +1682,7 @@ int PythonQtShell_QVideoWidgetControl::brightness() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("brightness"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1715,7 +1715,7 @@ void PythonQtShell_QVideoWidgetControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1737,7 +1737,7 @@ int PythonQtShell_QVideoWidgetControl::contrast() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contrast"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1770,7 +1770,7 @@ void PythonQtShell_QVideoWidgetControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1792,7 +1792,7 @@ bool PythonQtShell_QVideoWidgetControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1825,7 +1825,7 @@ bool PythonQtShell_QVideoWidgetControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1858,7 +1858,7 @@ int PythonQtShell_QVideoWidgetControl::hue() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1891,7 +1891,7 @@ bool PythonQtShell_QVideoWidgetControl::isFullScreen() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isFullScreen"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1924,7 +1924,7 @@ int PythonQtShell_QVideoWidgetControl::saturation() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("saturation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1957,7 +1957,7 @@ void PythonQtShell_QVideoWidgetControl::setAspectRatioMode(Qt::AspectRatioMode { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setAspectRatioMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1979,7 +1979,7 @@ void PythonQtShell_QVideoWidgetControl::setBrightness(int brightness0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setBrightness"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2001,7 +2001,7 @@ void PythonQtShell_QVideoWidgetControl::setContrast(int contrast0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setContrast"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2023,7 +2023,7 @@ void PythonQtShell_QVideoWidgetControl::setFullScreen(bool fullScreen0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFullScreen"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2045,7 +2045,7 @@ void PythonQtShell_QVideoWidgetControl::setHue(int hue0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2067,7 +2067,7 @@ void PythonQtShell_QVideoWidgetControl::setSaturation(int saturation0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSaturation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2089,7 +2089,7 @@ void PythonQtShell_QVideoWidgetControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2111,7 +2111,7 @@ QWidget* PythonQtShell_QVideoWidgetControl::videoWidget() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("videoWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2232,7 +2232,7 @@ Qt::AspectRatioMode PythonQtShell_QVideoWindowControl::aspectRatioMode() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("aspectRatioMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2265,7 +2265,7 @@ int PythonQtShell_QVideoWindowControl::brightness() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("brightness"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2298,7 +2298,7 @@ void PythonQtShell_QVideoWindowControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2320,7 +2320,7 @@ int PythonQtShell_QVideoWindowControl::contrast() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contrast"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2353,7 +2353,7 @@ void PythonQtShell_QVideoWindowControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2375,7 +2375,7 @@ QRect PythonQtShell_QVideoWindowControl::displayRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("displayRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2408,7 +2408,7 @@ bool PythonQtShell_QVideoWindowControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2441,7 +2441,7 @@ bool PythonQtShell_QVideoWindowControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2474,7 +2474,7 @@ int PythonQtShell_QVideoWindowControl::hue() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2507,7 +2507,7 @@ bool PythonQtShell_QVideoWindowControl::isFullScreen() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isFullScreen"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2540,7 +2540,7 @@ QSize PythonQtShell_QVideoWindowControl::nativeSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2573,7 +2573,7 @@ void PythonQtShell_QVideoWindowControl::repaint() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("repaint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2595,7 +2595,7 @@ int PythonQtShell_QVideoWindowControl::saturation() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("saturation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2628,7 +2628,7 @@ void PythonQtShell_QVideoWindowControl::setAspectRatioMode(Qt::AspectRatioMode { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setAspectRatioMode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2650,7 +2650,7 @@ void PythonQtShell_QVideoWindowControl::setBrightness(int brightness0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setBrightness"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2672,7 +2672,7 @@ void PythonQtShell_QVideoWindowControl::setContrast(int contrast0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setContrast"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2694,7 +2694,7 @@ void PythonQtShell_QVideoWindowControl::setDisplayRect(const QRect& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDisplayRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2716,7 +2716,7 @@ void PythonQtShell_QVideoWindowControl::setFullScreen(bool fullScreen0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFullScreen"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2738,7 +2738,7 @@ void PythonQtShell_QVideoWindowControl::setHue(int hue0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2760,7 +2760,7 @@ void PythonQtShell_QVideoWindowControl::setSaturation(int saturation0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSaturation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2782,7 +2782,7 @@ void PythonQtShell_QVideoWindowControl::setWinId(WId id0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setWinId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2804,7 +2804,7 @@ void PythonQtShell_QVideoWindowControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2826,7 +2826,7 @@ WId PythonQtShell_QVideoWindowControl::winId() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("winId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_network/com_trolltech_qt_network0.cpp b/generated_cpp_56/com_trolltech_qt_network/com_trolltech_qt_network0.cpp index e9c60027d..619140085 100644 --- a/generated_cpp_56/com_trolltech_qt_network/com_trolltech_qt_network0.cpp +++ b/generated_cpp_56/com_trolltech_qt_network/com_trolltech_qt_network0.cpp @@ -46,7 +46,7 @@ qint64 PythonQtShell_QAbstractNetworkCache::cacheSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cacheSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -79,7 +79,7 @@ void PythonQtShell_QAbstractNetworkCache::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -101,7 +101,7 @@ void PythonQtShell_QAbstractNetworkCache::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -123,7 +123,7 @@ void PythonQtShell_QAbstractNetworkCache::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -145,7 +145,7 @@ QIODevice* PythonQtShell_QAbstractNetworkCache::data(const QUrl& url0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -178,7 +178,7 @@ bool PythonQtShell_QAbstractNetworkCache::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -211,7 +211,7 @@ bool PythonQtShell_QAbstractNetworkCache::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -244,7 +244,7 @@ void PythonQtShell_QAbstractNetworkCache::insert(QIODevice* device0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -266,7 +266,7 @@ QNetworkCacheMetaData PythonQtShell_QAbstractNetworkCache::metaData(const QUrl& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -299,7 +299,7 @@ QIODevice* PythonQtShell_QAbstractNetworkCache::prepare(const QNetworkCacheMeta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("prepare"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -332,7 +332,7 @@ bool PythonQtShell_QAbstractNetworkCache::remove(const QUrl& url0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("remove"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -365,7 +365,7 @@ void PythonQtShell_QAbstractNetworkCache::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -387,7 +387,7 @@ void PythonQtShell_QAbstractNetworkCache::updateMetaData(const QNetworkCacheMeta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateMetaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -467,7 +467,7 @@ bool PythonQtShell_QAbstractSocket::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -500,7 +500,7 @@ qint64 PythonQtShell_QAbstractSocket::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -533,7 +533,7 @@ qint64 PythonQtShell_QAbstractSocket::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -566,7 +566,7 @@ bool PythonQtShell_QAbstractSocket::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -599,7 +599,7 @@ void PythonQtShell_QAbstractSocket::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -621,7 +621,7 @@ void PythonQtShell_QAbstractSocket::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -643,7 +643,7 @@ void PythonQtShell_QAbstractSocket::connectToHost(const QHostAddress& address0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -665,7 +665,7 @@ void PythonQtShell_QAbstractSocket::connectToHost(const QString& hostName0, uns { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -687,7 +687,7 @@ void PythonQtShell_QAbstractSocket::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -709,7 +709,7 @@ void PythonQtShell_QAbstractSocket::disconnectFromHost() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("disconnectFromHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -731,7 +731,7 @@ bool PythonQtShell_QAbstractSocket::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -764,7 +764,7 @@ bool PythonQtShell_QAbstractSocket::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -797,7 +797,7 @@ bool PythonQtShell_QAbstractSocket::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -830,7 +830,7 @@ bool PythonQtShell_QAbstractSocket::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -863,7 +863,7 @@ qint64 PythonQtShell_QAbstractSocket::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -896,7 +896,7 @@ qint64 PythonQtShell_QAbstractSocket::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -929,7 +929,7 @@ qint64 PythonQtShell_QAbstractSocket::readLineData(char* data0, qint64 maxlen { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -962,7 +962,7 @@ bool PythonQtShell_QAbstractSocket::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -995,7 +995,7 @@ void PythonQtShell_QAbstractSocket::resume() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1017,7 +1017,7 @@ bool PythonQtShell_QAbstractSocket::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1050,7 +1050,7 @@ void PythonQtShell_QAbstractSocket::setReadBufferSize(qint64 size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1072,7 +1072,7 @@ bool PythonQtShell_QAbstractSocket::setSocketDescriptor(qintptr socketDescript { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSocketDescriptor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1105,7 +1105,7 @@ void PythonQtShell_QAbstractSocket::setSocketOption(QAbstractSocket::SocketOptio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSocketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1127,7 +1127,7 @@ qint64 PythonQtShell_QAbstractSocket::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1160,7 +1160,7 @@ qintptr PythonQtShell_QAbstractSocket::socketDescriptor() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("socketDescriptor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1193,7 +1193,7 @@ QVariant PythonQtShell_QAbstractSocket::socketOption(QAbstractSocket::SocketOpt { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("socketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1226,7 +1226,7 @@ void PythonQtShell_QAbstractSocket::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1248,7 +1248,7 @@ bool PythonQtShell_QAbstractSocket::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1281,7 +1281,7 @@ bool PythonQtShell_QAbstractSocket::waitForConnected(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1314,7 +1314,7 @@ bool PythonQtShell_QAbstractSocket::waitForDisconnected(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForDisconnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1347,7 +1347,7 @@ bool PythonQtShell_QAbstractSocket::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1380,7 +1380,7 @@ qint64 PythonQtShell_QAbstractSocket::writeData(const char* data0, qint64 len { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1756,7 +1756,7 @@ void PythonQtShell_QDnsLookup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1778,7 +1778,7 @@ void PythonQtShell_QDnsLookup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1800,7 +1800,7 @@ bool PythonQtShell_QDnsLookup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1833,7 +1833,7 @@ bool PythonQtShell_QDnsLookup::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1866,7 +1866,7 @@ void PythonQtShell_QDnsLookup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2365,7 +2365,7 @@ void PythonQtShell_QHttpMultiPart::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2387,7 +2387,7 @@ void PythonQtShell_QHttpMultiPart::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2409,7 +2409,7 @@ bool PythonQtShell_QHttpMultiPart::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2442,7 +2442,7 @@ bool PythonQtShell_QHttpMultiPart::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2475,7 +2475,7 @@ void PythonQtShell_QHttpMultiPart::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2604,7 +2604,7 @@ void PythonQtShell_QLocalServer::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2626,7 +2626,7 @@ void PythonQtShell_QLocalServer::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2648,7 +2648,7 @@ bool PythonQtShell_QLocalServer::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2681,7 +2681,7 @@ bool PythonQtShell_QLocalServer::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2714,7 +2714,7 @@ bool PythonQtShell_QLocalServer::hasPendingConnections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasPendingConnections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2747,7 +2747,7 @@ void PythonQtShell_QLocalServer::incomingConnection(quintptr socketDescriptor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("incomingConnection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2769,7 +2769,7 @@ QLocalSocket* PythonQtShell_QLocalServer::nextPendingConnection() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextPendingConnection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2802,7 +2802,7 @@ void PythonQtShell_QLocalServer::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2932,7 +2932,7 @@ bool PythonQtShell_QLocalSocket::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2965,7 +2965,7 @@ qint64 PythonQtShell_QLocalSocket::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2998,7 +2998,7 @@ qint64 PythonQtShell_QLocalSocket::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3031,7 +3031,7 @@ bool PythonQtShell_QLocalSocket::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3064,7 +3064,7 @@ void PythonQtShell_QLocalSocket::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3086,7 +3086,7 @@ void PythonQtShell_QLocalSocket::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3108,7 +3108,7 @@ void PythonQtShell_QLocalSocket::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3130,7 +3130,7 @@ bool PythonQtShell_QLocalSocket::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3163,7 +3163,7 @@ bool PythonQtShell_QLocalSocket::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3196,7 +3196,7 @@ bool PythonQtShell_QLocalSocket::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3229,7 +3229,7 @@ bool PythonQtShell_QLocalSocket::open(QIODevice::OpenMode openMode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3262,7 +3262,7 @@ qint64 PythonQtShell_QLocalSocket::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3295,7 +3295,7 @@ qint64 PythonQtShell_QLocalSocket::readData(char* arg__1, qint64 arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3328,7 +3328,7 @@ qint64 PythonQtShell_QLocalSocket::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3361,7 +3361,7 @@ bool PythonQtShell_QLocalSocket::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3394,7 +3394,7 @@ bool PythonQtShell_QLocalSocket::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3427,7 +3427,7 @@ qint64 PythonQtShell_QLocalSocket::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3460,7 +3460,7 @@ void PythonQtShell_QLocalSocket::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3482,7 +3482,7 @@ bool PythonQtShell_QLocalSocket::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3515,7 +3515,7 @@ bool PythonQtShell_QLocalSocket::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3548,7 +3548,7 @@ qint64 PythonQtShell_QLocalSocket::writeData(const char* arg__1, qint64 arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3689,7 +3689,7 @@ void PythonQtShell_QNetworkAccessManager::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3711,7 +3711,7 @@ QNetworkReply* PythonQtShell_QNetworkAccessManager::createRequest(QNetworkAcces { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createRequest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3744,7 +3744,7 @@ void PythonQtShell_QNetworkAccessManager::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3766,7 +3766,7 @@ bool PythonQtShell_QNetworkAccessManager::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3799,7 +3799,7 @@ bool PythonQtShell_QNetworkAccessManager::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3832,7 +3832,7 @@ void PythonQtShell_QNetworkAccessManager::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4267,7 +4267,7 @@ void PythonQtShell_QNetworkConfigurationManager::childEvent(QChildEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4289,7 +4289,7 @@ void PythonQtShell_QNetworkConfigurationManager::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4311,7 +4311,7 @@ bool PythonQtShell_QNetworkConfigurationManager::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4344,7 +4344,7 @@ bool PythonQtShell_QNetworkConfigurationManager::eventFilter(QObject* watched0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4377,7 +4377,7 @@ void PythonQtShell_QNetworkConfigurationManager::timerEvent(QTimerEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4574,7 +4574,7 @@ void PythonQtShell_QNetworkCookieJar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4596,7 +4596,7 @@ QList PythonQtShell_QNetworkCookieJar::cookiesForUrl(const QUr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cookiesForUrl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4629,7 +4629,7 @@ void PythonQtShell_QNetworkCookieJar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4651,7 +4651,7 @@ bool PythonQtShell_QNetworkCookieJar::deleteCookie(const QNetworkCookie& cooki { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deleteCookie"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4684,7 +4684,7 @@ bool PythonQtShell_QNetworkCookieJar::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4717,7 +4717,7 @@ bool PythonQtShell_QNetworkCookieJar::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4750,7 +4750,7 @@ bool PythonQtShell_QNetworkCookieJar::insertCookie(const QNetworkCookie& cooki { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertCookie"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4783,7 +4783,7 @@ bool PythonQtShell_QNetworkCookieJar::setCookiesFromUrl(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setCookiesFromUrl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4816,7 +4816,7 @@ void PythonQtShell_QNetworkCookieJar::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4838,7 +4838,7 @@ bool PythonQtShell_QNetworkCookieJar::updateCookie(const QNetworkCookie& cooki { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateCookie"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4871,7 +4871,7 @@ bool PythonQtShell_QNetworkCookieJar::validateCookie(const QNetworkCookie& coo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("validateCookie"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4967,7 +4967,7 @@ qint64 PythonQtShell_QNetworkDiskCache::cacheSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cacheSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5000,7 +5000,7 @@ void PythonQtShell_QNetworkDiskCache::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5022,7 +5022,7 @@ void PythonQtShell_QNetworkDiskCache::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5044,7 +5044,7 @@ void PythonQtShell_QNetworkDiskCache::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5066,7 +5066,7 @@ QIODevice* PythonQtShell_QNetworkDiskCache::data(const QUrl& url0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5099,7 +5099,7 @@ bool PythonQtShell_QNetworkDiskCache::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5132,7 +5132,7 @@ bool PythonQtShell_QNetworkDiskCache::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5165,7 +5165,7 @@ qint64 PythonQtShell_QNetworkDiskCache::expire() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("expire"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5198,7 +5198,7 @@ void PythonQtShell_QNetworkDiskCache::insert(QIODevice* device0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5220,7 +5220,7 @@ QNetworkCacheMetaData PythonQtShell_QNetworkDiskCache::metaData(const QUrl& ur { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5253,7 +5253,7 @@ QIODevice* PythonQtShell_QNetworkDiskCache::prepare(const QNetworkCacheMetaData { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("prepare"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5286,7 +5286,7 @@ bool PythonQtShell_QNetworkDiskCache::remove(const QUrl& url0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("remove"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5319,7 +5319,7 @@ void PythonQtShell_QNetworkDiskCache::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5341,7 +5341,7 @@ void PythonQtShell_QNetworkDiskCache::updateMetaData(const QNetworkCacheMetaData { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateMetaData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5639,7 +5639,7 @@ QList PythonQtShell_QNetworkProxyFactory::queryProxy(const QNet { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("queryProxy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5826,7 +5826,7 @@ void PythonQtShell_QNetworkReply::abort() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("abort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5848,7 +5848,7 @@ bool PythonQtShell_QNetworkReply::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5881,7 +5881,7 @@ qint64 PythonQtShell_QNetworkReply::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5914,7 +5914,7 @@ qint64 PythonQtShell_QNetworkReply::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5947,7 +5947,7 @@ bool PythonQtShell_QNetworkReply::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5980,7 +5980,7 @@ void PythonQtShell_QNetworkReply::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6002,7 +6002,7 @@ void PythonQtShell_QNetworkReply::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6024,7 +6024,7 @@ void PythonQtShell_QNetworkReply::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6046,7 +6046,7 @@ bool PythonQtShell_QNetworkReply::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6079,7 +6079,7 @@ bool PythonQtShell_QNetworkReply::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6112,7 +6112,7 @@ void PythonQtShell_QNetworkReply::ignoreSslErrors() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ignoreSslErrors"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6134,7 +6134,7 @@ void PythonQtShell_QNetworkReply::ignoreSslErrorsImplementation(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ignoreSslErrorsImplementation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6156,7 +6156,7 @@ bool PythonQtShell_QNetworkReply::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6189,7 +6189,7 @@ bool PythonQtShell_QNetworkReply::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6222,7 +6222,7 @@ qint64 PythonQtShell_QNetworkReply::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6255,7 +6255,7 @@ qint64 PythonQtShell_QNetworkReply::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6288,7 +6288,7 @@ qint64 PythonQtShell_QNetworkReply::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6321,7 +6321,7 @@ bool PythonQtShell_QNetworkReply::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6354,7 +6354,7 @@ bool PythonQtShell_QNetworkReply::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6387,7 +6387,7 @@ void PythonQtShell_QNetworkReply::setReadBufferSize(qint64 size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6409,7 +6409,7 @@ void PythonQtShell_QNetworkReply::setSslConfigurationImplementation(const QSslCo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSslConfigurationImplementation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6431,7 +6431,7 @@ qint64 PythonQtShell_QNetworkReply::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6464,7 +6464,7 @@ void PythonQtShell_QNetworkReply::sslConfigurationImplementation(QSslConfigurati { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sslConfigurationImplementation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6486,7 +6486,7 @@ void PythonQtShell_QNetworkReply::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6508,7 +6508,7 @@ bool PythonQtShell_QNetworkReply::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6541,7 +6541,7 @@ bool PythonQtShell_QNetworkReply::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6574,7 +6574,7 @@ qint64 PythonQtShell_QNetworkReply::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_network/com_trolltech_qt_network1.cpp b/generated_cpp_56/com_trolltech_qt_network/com_trolltech_qt_network1.cpp index 648409311..48dc140db 100644 --- a/generated_cpp_56/com_trolltech_qt_network/com_trolltech_qt_network1.cpp +++ b/generated_cpp_56/com_trolltech_qt_network/com_trolltech_qt_network1.cpp @@ -40,7 +40,7 @@ void PythonQtShell_QNetworkSession::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -62,7 +62,7 @@ void PythonQtShell_QNetworkSession::connectNotify(const QMetaMethod& signal0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectNotify"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -84,7 +84,7 @@ void PythonQtShell_QNetworkSession::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -106,7 +106,7 @@ void PythonQtShell_QNetworkSession::disconnectNotify(const QMetaMethod& signal0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("disconnectNotify"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -128,7 +128,7 @@ bool PythonQtShell_QNetworkSession::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -161,7 +161,7 @@ bool PythonQtShell_QNetworkSession::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -194,7 +194,7 @@ void PythonQtShell_QNetworkSession::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1117,7 +1117,7 @@ bool PythonQtShell_QSslSocket::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1150,7 +1150,7 @@ qint64 PythonQtShell_QSslSocket::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1183,7 +1183,7 @@ qint64 PythonQtShell_QSslSocket::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1216,7 +1216,7 @@ bool PythonQtShell_QSslSocket::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1249,7 +1249,7 @@ void PythonQtShell_QSslSocket::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1271,7 +1271,7 @@ void PythonQtShell_QSslSocket::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1293,7 +1293,7 @@ void PythonQtShell_QSslSocket::connectToHost(const QString& hostName0, unsigned { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1315,7 +1315,7 @@ void PythonQtShell_QSslSocket::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1337,7 +1337,7 @@ void PythonQtShell_QSslSocket::disconnectFromHost() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("disconnectFromHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1359,7 +1359,7 @@ bool PythonQtShell_QSslSocket::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1392,7 +1392,7 @@ bool PythonQtShell_QSslSocket::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1425,7 +1425,7 @@ bool PythonQtShell_QSslSocket::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1458,7 +1458,7 @@ bool PythonQtShell_QSslSocket::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1491,7 +1491,7 @@ qint64 PythonQtShell_QSslSocket::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1524,7 +1524,7 @@ qint64 PythonQtShell_QSslSocket::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1557,7 +1557,7 @@ qint64 PythonQtShell_QSslSocket::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1590,7 +1590,7 @@ bool PythonQtShell_QSslSocket::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1623,7 +1623,7 @@ void PythonQtShell_QSslSocket::resume() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1645,7 +1645,7 @@ bool PythonQtShell_QSslSocket::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1678,7 +1678,7 @@ void PythonQtShell_QSslSocket::setReadBufferSize(qint64 size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1700,7 +1700,7 @@ bool PythonQtShell_QSslSocket::setSocketDescriptor(qintptr socketDescriptor0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSocketDescriptor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1733,7 +1733,7 @@ void PythonQtShell_QSslSocket::setSocketOption(QAbstractSocket::SocketOption op { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSocketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1755,7 +1755,7 @@ qint64 PythonQtShell_QSslSocket::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1788,7 +1788,7 @@ qintptr PythonQtShell_QSslSocket::socketDescriptor() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("socketDescriptor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1821,7 +1821,7 @@ QVariant PythonQtShell_QSslSocket::socketOption(QAbstractSocket::SocketOption { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("socketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1854,7 +1854,7 @@ void PythonQtShell_QSslSocket::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1876,7 +1876,7 @@ bool PythonQtShell_QSslSocket::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1909,7 +1909,7 @@ bool PythonQtShell_QSslSocket::waitForConnected(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1942,7 +1942,7 @@ bool PythonQtShell_QSslSocket::waitForDisconnected(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForDisconnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1975,7 +1975,7 @@ bool PythonQtShell_QSslSocket::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2008,7 +2008,7 @@ qint64 PythonQtShell_QSslSocket::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2340,7 +2340,7 @@ void PythonQtShell_QTcpServer::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2362,7 +2362,7 @@ void PythonQtShell_QTcpServer::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2384,7 +2384,7 @@ bool PythonQtShell_QTcpServer::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2417,7 +2417,7 @@ bool PythonQtShell_QTcpServer::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2450,7 +2450,7 @@ bool PythonQtShell_QTcpServer::hasPendingConnections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasPendingConnections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2483,7 +2483,7 @@ void PythonQtShell_QTcpServer::incomingConnection(qintptr handle0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("incomingConnection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2505,7 +2505,7 @@ QTcpSocket* PythonQtShell_QTcpServer::nextPendingConnection() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextPendingConnection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2538,7 +2538,7 @@ void PythonQtShell_QTcpServer::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2683,7 +2683,7 @@ bool PythonQtShell_QTcpSocket::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2716,7 +2716,7 @@ qint64 PythonQtShell_QTcpSocket::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2749,7 +2749,7 @@ qint64 PythonQtShell_QTcpSocket::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2782,7 +2782,7 @@ bool PythonQtShell_QTcpSocket::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2815,7 +2815,7 @@ void PythonQtShell_QTcpSocket::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2837,7 +2837,7 @@ void PythonQtShell_QTcpSocket::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2859,7 +2859,7 @@ void PythonQtShell_QTcpSocket::connectToHost(const QHostAddress& address0, unsi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2881,7 +2881,7 @@ void PythonQtShell_QTcpSocket::connectToHost(const QString& hostName0, unsigned { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2903,7 +2903,7 @@ void PythonQtShell_QTcpSocket::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2925,7 +2925,7 @@ void PythonQtShell_QTcpSocket::disconnectFromHost() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("disconnectFromHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2947,7 +2947,7 @@ bool PythonQtShell_QTcpSocket::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2980,7 +2980,7 @@ bool PythonQtShell_QTcpSocket::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3013,7 +3013,7 @@ bool PythonQtShell_QTcpSocket::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3046,7 +3046,7 @@ bool PythonQtShell_QTcpSocket::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3079,7 +3079,7 @@ qint64 PythonQtShell_QTcpSocket::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3112,7 +3112,7 @@ qint64 PythonQtShell_QTcpSocket::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3145,7 +3145,7 @@ qint64 PythonQtShell_QTcpSocket::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3178,7 +3178,7 @@ bool PythonQtShell_QTcpSocket::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3211,7 +3211,7 @@ void PythonQtShell_QTcpSocket::resume() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3233,7 +3233,7 @@ bool PythonQtShell_QTcpSocket::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3266,7 +3266,7 @@ void PythonQtShell_QTcpSocket::setReadBufferSize(qint64 size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3288,7 +3288,7 @@ bool PythonQtShell_QTcpSocket::setSocketDescriptor(qintptr socketDescriptor0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSocketDescriptor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3321,7 +3321,7 @@ void PythonQtShell_QTcpSocket::setSocketOption(QAbstractSocket::SocketOption op { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSocketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3343,7 +3343,7 @@ qint64 PythonQtShell_QTcpSocket::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3376,7 +3376,7 @@ qintptr PythonQtShell_QTcpSocket::socketDescriptor() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("socketDescriptor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3409,7 +3409,7 @@ QVariant PythonQtShell_QTcpSocket::socketOption(QAbstractSocket::SocketOption { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("socketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3442,7 +3442,7 @@ void PythonQtShell_QTcpSocket::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3464,7 +3464,7 @@ bool PythonQtShell_QTcpSocket::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3497,7 +3497,7 @@ bool PythonQtShell_QTcpSocket::waitForConnected(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3530,7 +3530,7 @@ bool PythonQtShell_QTcpSocket::waitForDisconnected(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForDisconnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3563,7 +3563,7 @@ bool PythonQtShell_QTcpSocket::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3596,7 +3596,7 @@ qint64 PythonQtShell_QTcpSocket::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3652,7 +3652,7 @@ bool PythonQtShell_QUdpSocket::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3685,7 +3685,7 @@ qint64 PythonQtShell_QUdpSocket::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3718,7 +3718,7 @@ qint64 PythonQtShell_QUdpSocket::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3751,7 +3751,7 @@ bool PythonQtShell_QUdpSocket::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3784,7 +3784,7 @@ void PythonQtShell_QUdpSocket::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3806,7 +3806,7 @@ void PythonQtShell_QUdpSocket::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3828,7 +3828,7 @@ void PythonQtShell_QUdpSocket::connectToHost(const QHostAddress& address0, unsi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3850,7 +3850,7 @@ void PythonQtShell_QUdpSocket::connectToHost(const QString& hostName0, unsigned { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("connectToHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3872,7 +3872,7 @@ void PythonQtShell_QUdpSocket::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3894,7 +3894,7 @@ void PythonQtShell_QUdpSocket::disconnectFromHost() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("disconnectFromHost"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3916,7 +3916,7 @@ bool PythonQtShell_QUdpSocket::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3949,7 +3949,7 @@ bool PythonQtShell_QUdpSocket::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3982,7 +3982,7 @@ bool PythonQtShell_QUdpSocket::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4015,7 +4015,7 @@ bool PythonQtShell_QUdpSocket::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4048,7 +4048,7 @@ qint64 PythonQtShell_QUdpSocket::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4081,7 +4081,7 @@ qint64 PythonQtShell_QUdpSocket::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4114,7 +4114,7 @@ qint64 PythonQtShell_QUdpSocket::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4147,7 +4147,7 @@ bool PythonQtShell_QUdpSocket::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4180,7 +4180,7 @@ void PythonQtShell_QUdpSocket::resume() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resume"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4202,7 +4202,7 @@ bool PythonQtShell_QUdpSocket::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4235,7 +4235,7 @@ void PythonQtShell_QUdpSocket::setReadBufferSize(qint64 size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4257,7 +4257,7 @@ bool PythonQtShell_QUdpSocket::setSocketDescriptor(qintptr socketDescriptor0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSocketDescriptor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4290,7 +4290,7 @@ void PythonQtShell_QUdpSocket::setSocketOption(QAbstractSocket::SocketOption op { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSocketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4312,7 +4312,7 @@ qint64 PythonQtShell_QUdpSocket::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4345,7 +4345,7 @@ qintptr PythonQtShell_QUdpSocket::socketDescriptor() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("socketDescriptor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4378,7 +4378,7 @@ QVariant PythonQtShell_QUdpSocket::socketOption(QAbstractSocket::SocketOption { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("socketOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4411,7 +4411,7 @@ void PythonQtShell_QUdpSocket::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4433,7 +4433,7 @@ bool PythonQtShell_QUdpSocket::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4466,7 +4466,7 @@ bool PythonQtShell_QUdpSocket::waitForConnected(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForConnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4499,7 +4499,7 @@ bool PythonQtShell_QUdpSocket::waitForDisconnected(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForDisconnected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4532,7 +4532,7 @@ bool PythonQtShell_QUdpSocket::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4565,7 +4565,7 @@ qint64 PythonQtShell_QUdpSocket::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp b/generated_cpp_56/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp index f78eabf28..ce7d25da4 100644 --- a/generated_cpp_56/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp +++ b/generated_cpp_56/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp @@ -231,7 +231,7 @@ bool PythonQtShell_QGLContext::chooseContext(const QGLContext* shareContext0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("chooseContext"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -264,7 +264,7 @@ bool PythonQtShell_QGLContext::create(const QGLContext* shareContext0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -297,7 +297,7 @@ void PythonQtShell_QGLContext::doneCurrent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("doneCurrent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -319,7 +319,7 @@ void PythonQtShell_QGLContext::makeCurrent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("makeCurrent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -341,7 +341,7 @@ void PythonQtShell_QGLContext::swapBuffers() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("swapBuffers"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -863,7 +863,7 @@ int PythonQtShell_QGLFramebufferObject::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -896,7 +896,7 @@ void PythonQtShell_QGLFramebufferObject::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -918,7 +918,7 @@ int PythonQtShell_QGLFramebufferObject::metric(QPaintDevice::PaintDeviceMetric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -951,7 +951,7 @@ QPaintEngine* PythonQtShell_QGLFramebufferObject::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -984,7 +984,7 @@ QPaintDevice* PythonQtShell_QGLFramebufferObject::redirected(QPoint* offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1017,7 +1017,7 @@ QPainter* PythonQtShell_QGLFramebufferObject::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1735,7 +1735,7 @@ int PythonQtShell_QGLPixelBuffer::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1768,7 +1768,7 @@ void PythonQtShell_QGLPixelBuffer::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1790,7 +1790,7 @@ int PythonQtShell_QGLPixelBuffer::metric(QPaintDevice::PaintDeviceMetric metri { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1823,7 +1823,7 @@ QPaintEngine* PythonQtShell_QGLPixelBuffer::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1856,7 +1856,7 @@ QPaintDevice* PythonQtShell_QGLPixelBuffer::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1889,7 +1889,7 @@ QPainter* PythonQtShell_QGLPixelBuffer::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2031,7 +2031,7 @@ void PythonQtShell_QGLShader::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2053,7 +2053,7 @@ void PythonQtShell_QGLShader::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2075,7 +2075,7 @@ bool PythonQtShell_QGLShader::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2108,7 +2108,7 @@ bool PythonQtShell_QGLShader::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2141,7 +2141,7 @@ void PythonQtShell_QGLShader::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2240,7 +2240,7 @@ void PythonQtShell_QGLShaderProgram::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2262,7 +2262,7 @@ void PythonQtShell_QGLShaderProgram::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2284,7 +2284,7 @@ bool PythonQtShell_QGLShaderProgram::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2317,7 +2317,7 @@ bool PythonQtShell_QGLShaderProgram::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2350,7 +2350,7 @@ bool PythonQtShell_QGLShaderProgram::link() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("link"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2383,7 +2383,7 @@ void PythonQtShell_QGLShaderProgram::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2972,7 +2972,7 @@ void PythonQtShell_QGLWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2994,7 +2994,7 @@ void PythonQtShell_QGLWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3016,7 +3016,7 @@ void PythonQtShell_QGLWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3038,7 +3038,7 @@ void PythonQtShell_QGLWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3060,7 +3060,7 @@ void PythonQtShell_QGLWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3082,7 +3082,7 @@ void PythonQtShell_QGLWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3104,7 +3104,7 @@ int PythonQtShell_QGLWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3137,7 +3137,7 @@ void PythonQtShell_QGLWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3159,7 +3159,7 @@ void PythonQtShell_QGLWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3181,7 +3181,7 @@ void PythonQtShell_QGLWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3203,7 +3203,7 @@ void PythonQtShell_QGLWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3225,7 +3225,7 @@ void PythonQtShell_QGLWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3247,7 +3247,7 @@ bool PythonQtShell_QGLWidget::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3280,7 +3280,7 @@ bool PythonQtShell_QGLWidget::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3313,7 +3313,7 @@ void PythonQtShell_QGLWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3335,7 +3335,7 @@ bool PythonQtShell_QGLWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3368,7 +3368,7 @@ void PythonQtShell_QGLWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3390,7 +3390,7 @@ void PythonQtShell_QGLWidget::glDraw() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("glDraw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3412,7 +3412,7 @@ void PythonQtShell_QGLWidget::glInit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("glInit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3434,7 +3434,7 @@ bool PythonQtShell_QGLWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3467,7 +3467,7 @@ int PythonQtShell_QGLWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3500,7 +3500,7 @@ void PythonQtShell_QGLWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3522,7 +3522,7 @@ void PythonQtShell_QGLWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3544,7 +3544,7 @@ void PythonQtShell_QGLWidget::initializeGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initializeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3566,7 +3566,7 @@ void PythonQtShell_QGLWidget::initializeOverlayGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initializeOverlayGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3588,7 +3588,7 @@ void PythonQtShell_QGLWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3610,7 +3610,7 @@ QVariant PythonQtShell_QGLWidget::inputMethodQuery(Qt::InputMethodQuery arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3643,7 +3643,7 @@ void PythonQtShell_QGLWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3665,7 +3665,7 @@ void PythonQtShell_QGLWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3687,7 +3687,7 @@ void PythonQtShell_QGLWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3709,7 +3709,7 @@ int PythonQtShell_QGLWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3742,7 +3742,7 @@ QSize PythonQtShell_QGLWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3775,7 +3775,7 @@ void PythonQtShell_QGLWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3797,7 +3797,7 @@ void PythonQtShell_QGLWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3819,7 +3819,7 @@ void PythonQtShell_QGLWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3841,7 +3841,7 @@ void PythonQtShell_QGLWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3863,7 +3863,7 @@ void PythonQtShell_QGLWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3885,7 +3885,7 @@ bool PythonQtShell_QGLWidget::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3918,7 +3918,7 @@ QPaintEngine* PythonQtShell_QGLWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3951,7 +3951,7 @@ void PythonQtShell_QGLWidget::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3973,7 +3973,7 @@ void PythonQtShell_QGLWidget::paintGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3995,7 +3995,7 @@ void PythonQtShell_QGLWidget::paintOverlayGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintOverlayGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4017,7 +4017,7 @@ QPaintDevice* PythonQtShell_QGLWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4050,7 +4050,7 @@ void PythonQtShell_QGLWidget::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4072,7 +4072,7 @@ void PythonQtShell_QGLWidget::resizeGL(int w0, int h1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4094,7 +4094,7 @@ void PythonQtShell_QGLWidget::resizeOverlayGL(int w0, int h1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeOverlayGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4116,7 +4116,7 @@ void PythonQtShell_QGLWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4138,7 +4138,7 @@ QPainter* PythonQtShell_QGLWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4171,7 +4171,7 @@ void PythonQtShell_QGLWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4193,7 +4193,7 @@ QSize PythonQtShell_QGLWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4226,7 +4226,7 @@ void PythonQtShell_QGLWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4248,7 +4248,7 @@ void PythonQtShell_QGLWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4270,7 +4270,7 @@ void PythonQtShell_QGLWidget::updateGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4292,7 +4292,7 @@ void PythonQtShell_QGLWidget::updateOverlayGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateOverlayGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4314,7 +4314,7 @@ void PythonQtShell_QGLWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp b/generated_cpp_56/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp index f14f18584..13a926e14 100644 --- a/generated_cpp_56/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp +++ b/generated_cpp_56/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp @@ -41,7 +41,7 @@ void PythonQtShell_QJSEngine::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -63,7 +63,7 @@ void PythonQtShell_QJSEngine::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -85,7 +85,7 @@ bool PythonQtShell_QJSEngine::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -118,7 +118,7 @@ bool PythonQtShell_QJSEngine::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -151,7 +151,7 @@ void PythonQtShell_QJSEngine::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -459,7 +459,7 @@ QUrl PythonQtShell_QQmlAbstractUrlInterceptor::intercept(const QUrl& path0, QQ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("intercept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -507,7 +507,7 @@ void PythonQtShell_QQmlApplicationEngine::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -529,7 +529,7 @@ void PythonQtShell_QQmlApplicationEngine::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -551,7 +551,7 @@ bool PythonQtShell_QQmlApplicationEngine::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -584,7 +584,7 @@ bool PythonQtShell_QQmlApplicationEngine::eventFilter(QObject* watched0, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -617,7 +617,7 @@ void PythonQtShell_QQmlApplicationEngine::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -675,7 +675,7 @@ QObject* PythonQtShell_QQmlComponent::beginCreate(QQmlContext* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("beginCreate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -708,7 +708,7 @@ void PythonQtShell_QQmlComponent::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -730,7 +730,7 @@ void PythonQtShell_QQmlComponent::completeCreate() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("completeCreate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -752,7 +752,7 @@ QObject* PythonQtShell_QQmlComponent::create(QQmlContext* context0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -785,7 +785,7 @@ void PythonQtShell_QQmlComponent::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -807,7 +807,7 @@ bool PythonQtShell_QQmlComponent::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -840,7 +840,7 @@ bool PythonQtShell_QQmlComponent::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -873,7 +873,7 @@ void PythonQtShell_QQmlComponent::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1008,7 +1008,7 @@ void PythonQtShell_QQmlContext::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1030,7 +1030,7 @@ void PythonQtShell_QQmlContext::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1052,7 +1052,7 @@ bool PythonQtShell_QQmlContext::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1085,7 +1085,7 @@ bool PythonQtShell_QQmlContext::eventFilter(QObject* watched0, QEvent* event1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1118,7 +1118,7 @@ void PythonQtShell_QQmlContext::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1243,7 +1243,7 @@ void PythonQtShell_QQmlEngine::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1265,7 +1265,7 @@ void PythonQtShell_QQmlEngine::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1287,7 +1287,7 @@ bool PythonQtShell_QQmlEngine::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1320,7 +1320,7 @@ bool PythonQtShell_QQmlEngine::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1353,7 +1353,7 @@ void PythonQtShell_QQmlEngine::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1619,7 +1619,7 @@ void PythonQtShell_QQmlExpression::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1641,7 +1641,7 @@ void PythonQtShell_QQmlExpression::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1663,7 +1663,7 @@ bool PythonQtShell_QQmlExpression::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1696,7 +1696,7 @@ bool PythonQtShell_QQmlExpression::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1729,7 +1729,7 @@ void PythonQtShell_QQmlExpression::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1857,7 +1857,7 @@ void PythonQtShell_QQmlExtensionInterface::initializeEngine(QQmlEngine* engine0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initializeEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1879,7 +1879,7 @@ void PythonQtShell_QQmlExtensionInterface::registerTypes(const char* uri0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("registerTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1916,7 +1916,7 @@ void PythonQtShell_QQmlExtensionPlugin::initializeEngine(QQmlEngine* engine0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initializeEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1938,7 +1938,7 @@ void PythonQtShell_QQmlExtensionPlugin::registerTypes(const char* uri0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("registerTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2132,7 +2132,7 @@ void PythonQtShell_QQmlFileSelector::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2154,7 +2154,7 @@ void PythonQtShell_QQmlFileSelector::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2176,7 +2176,7 @@ bool PythonQtShell_QQmlFileSelector::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2209,7 +2209,7 @@ bool PythonQtShell_QQmlFileSelector::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2242,7 +2242,7 @@ void PythonQtShell_QQmlFileSelector::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2307,7 +2307,7 @@ void PythonQtShell_QQmlIncubationController::incubatingObjectCountChanged(int a { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("incubatingObjectCountChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2359,7 +2359,7 @@ void PythonQtShell_QQmlIncubator::setInitialState(QObject* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setInitialState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2381,7 +2381,7 @@ void PythonQtShell_QQmlIncubator::statusChanged(QQmlIncubator::Status arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("statusChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2663,7 +2663,7 @@ QNetworkAccessManager* PythonQtShell_QQmlNetworkAccessManagerFactory::create(QO { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2711,7 +2711,7 @@ void PythonQtShell_QQmlParserStatus::classBegin() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("classBegin"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2733,7 +2733,7 @@ void PythonQtShell_QQmlParserStatus::componentComplete() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("componentComplete"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2959,7 +2959,7 @@ void PythonQtShell_QQmlPropertyMap::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2981,7 +2981,7 @@ void PythonQtShell_QQmlPropertyMap::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3003,7 +3003,7 @@ bool PythonQtShell_QQmlPropertyMap::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3036,7 +3036,7 @@ bool PythonQtShell_QQmlPropertyMap::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3069,7 +3069,7 @@ void PythonQtShell_QQmlPropertyMap::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3091,7 +3091,7 @@ QVariant PythonQtShell_QQmlPropertyMap::updateValue(const QString& key0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3197,7 +3197,7 @@ void PythonQtShell_QQmlPropertyValueSource::setTarget(const QQmlProperty& arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setTarget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3289,7 +3289,7 @@ void PythonQtShell_QQmlTypesExtensionInterface::registerTypes(const char* uri0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("registerTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp b/generated_cpp_56/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp index c59fdb38c..04837ea9f 100644 --- a/generated_cpp_56/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp +++ b/generated_cpp_56/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp @@ -77,7 +77,7 @@ QRectF PythonQtShell_QQuickFramebufferObject::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -110,7 +110,7 @@ bool PythonQtShell_QQuickFramebufferObject::childMouseEventFilter(QQuickItem* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childMouseEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -143,7 +143,7 @@ void PythonQtShell_QQuickFramebufferObject::classBegin() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("classBegin"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -165,7 +165,7 @@ QRectF PythonQtShell_QQuickFramebufferObject::clipRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clipRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -198,7 +198,7 @@ void PythonQtShell_QQuickFramebufferObject::componentComplete() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("componentComplete"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -220,7 +220,7 @@ bool PythonQtShell_QQuickFramebufferObject::contains(const QPointF& point0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -253,7 +253,7 @@ QQuickFramebufferObject::Renderer* PythonQtShell_QQuickFramebufferObject::creat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createRenderer"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -286,7 +286,7 @@ void PythonQtShell_QQuickFramebufferObject::dragEnterEvent(QDragEnterEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -308,7 +308,7 @@ void PythonQtShell_QQuickFramebufferObject::dragLeaveEvent(QDragLeaveEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -330,7 +330,7 @@ void PythonQtShell_QQuickFramebufferObject::dragMoveEvent(QDragMoveEvent* arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -352,7 +352,7 @@ void PythonQtShell_QQuickFramebufferObject::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -374,7 +374,7 @@ bool PythonQtShell_QQuickFramebufferObject::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -407,7 +407,7 @@ void PythonQtShell_QQuickFramebufferObject::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -429,7 +429,7 @@ void PythonQtShell_QQuickFramebufferObject::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -451,7 +451,7 @@ void PythonQtShell_QQuickFramebufferObject::geometryChanged(const QRectF& newGe { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometryChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -473,7 +473,7 @@ void PythonQtShell_QQuickFramebufferObject::hoverEnterEvent(QHoverEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -495,7 +495,7 @@ void PythonQtShell_QQuickFramebufferObject::hoverLeaveEvent(QHoverEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -517,7 +517,7 @@ void PythonQtShell_QQuickFramebufferObject::hoverMoveEvent(QHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -539,7 +539,7 @@ void PythonQtShell_QQuickFramebufferObject::inputMethodEvent(QInputMethodEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -561,7 +561,7 @@ QVariant PythonQtShell_QQuickFramebufferObject::inputMethodQuery(Qt::InputMetho { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -594,7 +594,7 @@ bool PythonQtShell_QQuickFramebufferObject::isTextureProvider() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isTextureProvider"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -627,7 +627,7 @@ void PythonQtShell_QQuickFramebufferObject::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -649,7 +649,7 @@ void PythonQtShell_QQuickFramebufferObject::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -671,7 +671,7 @@ void PythonQtShell_QQuickFramebufferObject::mouseDoubleClickEvent(QMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -693,7 +693,7 @@ void PythonQtShell_QQuickFramebufferObject::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -715,7 +715,7 @@ void PythonQtShell_QQuickFramebufferObject::mousePressEvent(QMouseEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -737,7 +737,7 @@ void PythonQtShell_QQuickFramebufferObject::mouseReleaseEvent(QMouseEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -759,7 +759,7 @@ void PythonQtShell_QQuickFramebufferObject::mouseUngrabEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseUngrabEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -781,7 +781,7 @@ void PythonQtShell_QQuickFramebufferObject::releaseResources() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("releaseResources"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -803,7 +803,7 @@ QSGTextureProvider* PythonQtShell_QQuickFramebufferObject::textureProvider() co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textureProvider"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -836,7 +836,7 @@ void PythonQtShell_QQuickFramebufferObject::touchEvent(QTouchEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -858,7 +858,7 @@ void PythonQtShell_QQuickFramebufferObject::touchUngrabEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchUngrabEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -880,7 +880,7 @@ QSGNode* PythonQtShell_QQuickFramebufferObject::updatePaintNode(QSGNode* arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updatePaintNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -913,7 +913,7 @@ void PythonQtShell_QQuickFramebufferObject::updatePolish() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updatePolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -935,7 +935,7 @@ void PythonQtShell_QQuickFramebufferObject::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -957,7 +957,7 @@ void PythonQtShell_QQuickFramebufferObject::windowDeactivateEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowDeactivateEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1027,7 +1027,7 @@ QOpenGLFramebufferObject* PythonQtShell_QQuickFramebufferObject__Renderer::crea { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createFramebufferObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1060,7 +1060,7 @@ void PythonQtShell_QQuickFramebufferObject__Renderer::render() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("render"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1082,7 +1082,7 @@ void PythonQtShell_QQuickFramebufferObject__Renderer::synchronize(QQuickFramebuf { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("synchronize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1156,7 +1156,7 @@ QRectF PythonQtShell_QQuickItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1189,7 +1189,7 @@ bool PythonQtShell_QQuickItem::childMouseEventFilter(QQuickItem* arg__1, QEven { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childMouseEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1222,7 +1222,7 @@ void PythonQtShell_QQuickItem::classBegin() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("classBegin"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1244,7 +1244,7 @@ QRectF PythonQtShell_QQuickItem::clipRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clipRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1277,7 +1277,7 @@ void PythonQtShell_QQuickItem::componentComplete() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("componentComplete"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1299,7 +1299,7 @@ bool PythonQtShell_QQuickItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1332,7 +1332,7 @@ void PythonQtShell_QQuickItem::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1354,7 +1354,7 @@ void PythonQtShell_QQuickItem::dragLeaveEvent(QDragLeaveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1376,7 +1376,7 @@ void PythonQtShell_QQuickItem::dragMoveEvent(QDragMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1398,7 +1398,7 @@ void PythonQtShell_QQuickItem::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1420,7 +1420,7 @@ bool PythonQtShell_QQuickItem::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1453,7 +1453,7 @@ void PythonQtShell_QQuickItem::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1475,7 +1475,7 @@ void PythonQtShell_QQuickItem::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1497,7 +1497,7 @@ void PythonQtShell_QQuickItem::geometryChanged(const QRectF& newGeometry0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometryChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1519,7 +1519,7 @@ void PythonQtShell_QQuickItem::hoverEnterEvent(QHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1541,7 +1541,7 @@ void PythonQtShell_QQuickItem::hoverLeaveEvent(QHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1563,7 +1563,7 @@ void PythonQtShell_QQuickItem::hoverMoveEvent(QHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1585,7 +1585,7 @@ void PythonQtShell_QQuickItem::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1607,7 +1607,7 @@ QVariant PythonQtShell_QQuickItem::inputMethodQuery(Qt::InputMethodQuery query { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1640,7 +1640,7 @@ bool PythonQtShell_QQuickItem::isTextureProvider() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isTextureProvider"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1673,7 +1673,7 @@ void PythonQtShell_QQuickItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1695,7 +1695,7 @@ void PythonQtShell_QQuickItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1717,7 +1717,7 @@ void PythonQtShell_QQuickItem::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1739,7 +1739,7 @@ void PythonQtShell_QQuickItem::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1761,7 +1761,7 @@ void PythonQtShell_QQuickItem::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1783,7 +1783,7 @@ void PythonQtShell_QQuickItem::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1805,7 +1805,7 @@ void PythonQtShell_QQuickItem::mouseUngrabEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseUngrabEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1827,7 +1827,7 @@ void PythonQtShell_QQuickItem::releaseResources() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("releaseResources"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1849,7 +1849,7 @@ QSGTextureProvider* PythonQtShell_QQuickItem::textureProvider() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textureProvider"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1882,7 +1882,7 @@ void PythonQtShell_QQuickItem::touchEvent(QTouchEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1904,7 +1904,7 @@ void PythonQtShell_QQuickItem::touchUngrabEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchUngrabEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1926,7 +1926,7 @@ QSGNode* PythonQtShell_QQuickItem::updatePaintNode(QSGNode* arg__1, QQuickItem { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updatePaintNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1959,7 +1959,7 @@ void PythonQtShell_QQuickItem::updatePolish() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updatePolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1981,7 +1981,7 @@ void PythonQtShell_QQuickItem::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2003,7 +2003,7 @@ void PythonQtShell_QQuickItem::windowDeactivateEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowDeactivateEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2739,7 +2739,7 @@ QRectF PythonQtShell_QQuickPaintedItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2772,7 +2772,7 @@ bool PythonQtShell_QQuickPaintedItem::childMouseEventFilter(QQuickItem* arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childMouseEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2805,7 +2805,7 @@ void PythonQtShell_QQuickPaintedItem::classBegin() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("classBegin"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2827,7 +2827,7 @@ QRectF PythonQtShell_QQuickPaintedItem::clipRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clipRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2860,7 +2860,7 @@ void PythonQtShell_QQuickPaintedItem::componentComplete() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("componentComplete"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2882,7 +2882,7 @@ bool PythonQtShell_QQuickPaintedItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2915,7 +2915,7 @@ void PythonQtShell_QQuickPaintedItem::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2937,7 +2937,7 @@ void PythonQtShell_QQuickPaintedItem::dragLeaveEvent(QDragLeaveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2959,7 +2959,7 @@ void PythonQtShell_QQuickPaintedItem::dragMoveEvent(QDragMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2981,7 +2981,7 @@ void PythonQtShell_QQuickPaintedItem::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3003,7 +3003,7 @@ bool PythonQtShell_QQuickPaintedItem::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3036,7 +3036,7 @@ void PythonQtShell_QQuickPaintedItem::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3058,7 +3058,7 @@ void PythonQtShell_QQuickPaintedItem::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3080,7 +3080,7 @@ void PythonQtShell_QQuickPaintedItem::geometryChanged(const QRectF& newGeometry { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("geometryChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3102,7 +3102,7 @@ void PythonQtShell_QQuickPaintedItem::hoverEnterEvent(QHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3124,7 +3124,7 @@ void PythonQtShell_QQuickPaintedItem::hoverLeaveEvent(QHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3146,7 +3146,7 @@ void PythonQtShell_QQuickPaintedItem::hoverMoveEvent(QHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3168,7 +3168,7 @@ void PythonQtShell_QQuickPaintedItem::inputMethodEvent(QInputMethodEvent* arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3190,7 +3190,7 @@ QVariant PythonQtShell_QQuickPaintedItem::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3223,7 +3223,7 @@ bool PythonQtShell_QQuickPaintedItem::isTextureProvider() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isTextureProvider"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3256,7 +3256,7 @@ void PythonQtShell_QQuickPaintedItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3278,7 +3278,7 @@ void PythonQtShell_QQuickPaintedItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3300,7 +3300,7 @@ void PythonQtShell_QQuickPaintedItem::mouseDoubleClickEvent(QMouseEvent* event0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3322,7 +3322,7 @@ void PythonQtShell_QQuickPaintedItem::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3344,7 +3344,7 @@ void PythonQtShell_QQuickPaintedItem::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3366,7 +3366,7 @@ void PythonQtShell_QQuickPaintedItem::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3388,7 +3388,7 @@ void PythonQtShell_QQuickPaintedItem::mouseUngrabEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseUngrabEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3410,7 +3410,7 @@ void PythonQtShell_QQuickPaintedItem::paint(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3432,7 +3432,7 @@ void PythonQtShell_QQuickPaintedItem::releaseResources() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("releaseResources"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3454,7 +3454,7 @@ QSGTextureProvider* PythonQtShell_QQuickPaintedItem::textureProvider() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textureProvider"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3487,7 +3487,7 @@ void PythonQtShell_QQuickPaintedItem::touchEvent(QTouchEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3509,7 +3509,7 @@ void PythonQtShell_QQuickPaintedItem::touchUngrabEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchUngrabEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3531,7 +3531,7 @@ QSGNode* PythonQtShell_QQuickPaintedItem::updatePaintNode(QSGNode* arg__1, QQu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updatePaintNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3564,7 +3564,7 @@ void PythonQtShell_QQuickPaintedItem::updatePolish() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updatePolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3586,7 +3586,7 @@ void PythonQtShell_QQuickPaintedItem::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3608,7 +3608,7 @@ void PythonQtShell_QQuickPaintedItem::windowDeactivateEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowDeactivateEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3758,7 +3758,7 @@ void PythonQtShell_QQuickRenderControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3780,7 +3780,7 @@ void PythonQtShell_QQuickRenderControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3802,7 +3802,7 @@ bool PythonQtShell_QQuickRenderControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3835,7 +3835,7 @@ bool PythonQtShell_QQuickRenderControl::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3868,7 +3868,7 @@ QWindow* PythonQtShell_QQuickRenderControl::renderWindow(QPoint* offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("renderWindow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3901,7 +3901,7 @@ void PythonQtShell_QQuickRenderControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3991,7 +3991,7 @@ void PythonQtShell_QQuickTextDocument::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4013,7 +4013,7 @@ void PythonQtShell_QQuickTextDocument::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4035,7 +4035,7 @@ bool PythonQtShell_QQuickTextDocument::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4068,7 +4068,7 @@ bool PythonQtShell_QQuickTextDocument::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4101,7 +4101,7 @@ void PythonQtShell_QQuickTextDocument::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4151,7 +4151,7 @@ void PythonQtShell_QQuickTransform::applyTo(QMatrix4x4* matrix0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4173,7 +4173,7 @@ void PythonQtShell_QQuickTransform::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4195,7 +4195,7 @@ void PythonQtShell_QQuickTransform::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4217,7 +4217,7 @@ bool PythonQtShell_QQuickTransform::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4250,7 +4250,7 @@ bool PythonQtShell_QQuickTransform::eventFilter(QObject* watched0, QEvent* ev { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4283,7 +4283,7 @@ void PythonQtShell_QQuickTransform::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4343,7 +4343,7 @@ void PythonQtShell_QQuickView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4365,7 +4365,7 @@ void PythonQtShell_QQuickView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4387,7 +4387,7 @@ bool PythonQtShell_QQuickView::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4420,7 +4420,7 @@ bool PythonQtShell_QQuickView::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4453,7 +4453,7 @@ void PythonQtShell_QQuickView::exposeEvent(QExposeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exposeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4475,7 +4475,7 @@ void PythonQtShell_QQuickView::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4497,7 +4497,7 @@ QObject* PythonQtShell_QQuickView::focusObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4530,7 +4530,7 @@ void PythonQtShell_QQuickView::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4552,7 +4552,7 @@ QSurfaceFormat PythonQtShell_QQuickView::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4585,7 +4585,7 @@ void PythonQtShell_QQuickView::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4607,7 +4607,7 @@ void PythonQtShell_QQuickView::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4629,7 +4629,7 @@ void PythonQtShell_QQuickView::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4651,7 +4651,7 @@ void PythonQtShell_QQuickView::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4673,7 +4673,7 @@ void PythonQtShell_QQuickView::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4695,7 +4695,7 @@ void PythonQtShell_QQuickView::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4717,7 +4717,7 @@ void PythonQtShell_QQuickView::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4739,7 +4739,7 @@ void PythonQtShell_QQuickView::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4761,7 +4761,7 @@ bool PythonQtShell_QQuickView::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4794,7 +4794,7 @@ void PythonQtShell_QQuickView::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4816,7 +4816,7 @@ void PythonQtShell_QQuickView::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4838,7 +4838,7 @@ QSize PythonQtShell_QQuickView::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4871,7 +4871,7 @@ QSurface::SurfaceType PythonQtShell_QQuickView::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4904,7 +4904,7 @@ void PythonQtShell_QQuickView::tabletEvent(QTabletEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4926,7 +4926,7 @@ void PythonQtShell_QQuickView::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4948,7 +4948,7 @@ void PythonQtShell_QQuickView::touchEvent(QTouchEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4970,7 +4970,7 @@ void PythonQtShell_QQuickView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5073,7 +5073,7 @@ void PythonQtShell_QQuickWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5095,7 +5095,7 @@ void PythonQtShell_QQuickWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5117,7 +5117,7 @@ void PythonQtShell_QQuickWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5139,7 +5139,7 @@ void PythonQtShell_QQuickWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5161,7 +5161,7 @@ void PythonQtShell_QQuickWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5183,7 +5183,7 @@ void PythonQtShell_QQuickWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5205,7 +5205,7 @@ int PythonQtShell_QQuickWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5238,7 +5238,7 @@ void PythonQtShell_QQuickWidget::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5260,7 +5260,7 @@ void PythonQtShell_QQuickWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5282,7 +5282,7 @@ void PythonQtShell_QQuickWidget::dragMoveEvent(QDragMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5304,7 +5304,7 @@ void PythonQtShell_QQuickWidget::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5326,7 +5326,7 @@ void PythonQtShell_QQuickWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5348,7 +5348,7 @@ bool PythonQtShell_QQuickWidget::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5381,7 +5381,7 @@ bool PythonQtShell_QQuickWidget::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5414,7 +5414,7 @@ void PythonQtShell_QQuickWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5436,7 +5436,7 @@ bool PythonQtShell_QQuickWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5469,7 +5469,7 @@ void PythonQtShell_QQuickWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5491,7 +5491,7 @@ bool PythonQtShell_QQuickWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5524,7 +5524,7 @@ int PythonQtShell_QQuickWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5557,7 +5557,7 @@ void PythonQtShell_QQuickWidget::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5579,7 +5579,7 @@ void PythonQtShell_QQuickWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5601,7 +5601,7 @@ void PythonQtShell_QQuickWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5623,7 +5623,7 @@ QVariant PythonQtShell_QQuickWidget::inputMethodQuery(Qt::InputMethodQuery arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5656,7 +5656,7 @@ void PythonQtShell_QQuickWidget::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5678,7 +5678,7 @@ void PythonQtShell_QQuickWidget::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5700,7 +5700,7 @@ void PythonQtShell_QQuickWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5722,7 +5722,7 @@ int PythonQtShell_QQuickWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5755,7 +5755,7 @@ QSize PythonQtShell_QQuickWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5788,7 +5788,7 @@ void PythonQtShell_QQuickWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5810,7 +5810,7 @@ void PythonQtShell_QQuickWidget::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5832,7 +5832,7 @@ void PythonQtShell_QQuickWidget::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5854,7 +5854,7 @@ void PythonQtShell_QQuickWidget::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5876,7 +5876,7 @@ void PythonQtShell_QQuickWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5898,7 +5898,7 @@ bool PythonQtShell_QQuickWidget::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5931,7 +5931,7 @@ QPaintEngine* PythonQtShell_QQuickWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5964,7 +5964,7 @@ void PythonQtShell_QQuickWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5986,7 +5986,7 @@ QPaintDevice* PythonQtShell_QQuickWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6019,7 +6019,7 @@ void PythonQtShell_QQuickWidget::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6041,7 +6041,7 @@ void PythonQtShell_QQuickWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6063,7 +6063,7 @@ QPainter* PythonQtShell_QQuickWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6096,7 +6096,7 @@ void PythonQtShell_QQuickWidget::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6118,7 +6118,7 @@ void PythonQtShell_QQuickWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6140,7 +6140,7 @@ void PythonQtShell_QQuickWidget::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6162,7 +6162,7 @@ void PythonQtShell_QQuickWidget::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6290,7 +6290,7 @@ void PythonQtShell_QQuickWindow::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6312,7 +6312,7 @@ void PythonQtShell_QQuickWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6334,7 +6334,7 @@ bool PythonQtShell_QQuickWindow::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6367,7 +6367,7 @@ bool PythonQtShell_QQuickWindow::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6400,7 +6400,7 @@ void PythonQtShell_QQuickWindow::exposeEvent(QExposeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exposeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6422,7 +6422,7 @@ void PythonQtShell_QQuickWindow::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6444,7 +6444,7 @@ QObject* PythonQtShell_QQuickWindow::focusObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6477,7 +6477,7 @@ void PythonQtShell_QQuickWindow::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6499,7 +6499,7 @@ QSurfaceFormat PythonQtShell_QQuickWindow::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6532,7 +6532,7 @@ void PythonQtShell_QQuickWindow::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6554,7 +6554,7 @@ void PythonQtShell_QQuickWindow::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6576,7 +6576,7 @@ void PythonQtShell_QQuickWindow::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6598,7 +6598,7 @@ void PythonQtShell_QQuickWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6620,7 +6620,7 @@ void PythonQtShell_QQuickWindow::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6642,7 +6642,7 @@ void PythonQtShell_QQuickWindow::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6664,7 +6664,7 @@ void PythonQtShell_QQuickWindow::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6686,7 +6686,7 @@ void PythonQtShell_QQuickWindow::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6708,7 +6708,7 @@ bool PythonQtShell_QQuickWindow::nativeEvent(const QByteArray& eventType0, voi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6741,7 +6741,7 @@ void PythonQtShell_QQuickWindow::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6763,7 +6763,7 @@ void PythonQtShell_QQuickWindow::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6785,7 +6785,7 @@ QSize PythonQtShell_QQuickWindow::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6818,7 +6818,7 @@ QSurface::SurfaceType PythonQtShell_QQuickWindow::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6851,7 +6851,7 @@ void PythonQtShell_QQuickWindow::tabletEvent(QTabletEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6873,7 +6873,7 @@ void PythonQtShell_QQuickWindow::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6895,7 +6895,7 @@ void PythonQtShell_QQuickWindow::touchEvent(QTouchEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6917,7 +6917,7 @@ void PythonQtShell_QQuickWindow::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7101,7 +7101,7 @@ void PythonQtShell_QSGAbstractRenderer::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7123,7 +7123,7 @@ void PythonQtShell_QSGAbstractRenderer::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7145,7 +7145,7 @@ bool PythonQtShell_QSGAbstractRenderer::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7178,7 +7178,7 @@ bool PythonQtShell_QSGAbstractRenderer::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7211,7 +7211,7 @@ void PythonQtShell_QSGAbstractRenderer::nodeChanged(QSGNode* node0, QSGNode::Di { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nodeChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7233,7 +7233,7 @@ void PythonQtShell_QSGAbstractRenderer::renderScene(GLuint fboId0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("renderScene"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7255,7 +7255,7 @@ void PythonQtShell_QSGAbstractRenderer::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7375,7 +7375,7 @@ bool PythonQtShell_QSGBasicGeometryNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7408,7 +7408,7 @@ void PythonQtShell_QSGBasicGeometryNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7465,7 +7465,7 @@ bool PythonQtShell_QSGClipNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7498,7 +7498,7 @@ void PythonQtShell_QSGClipNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7550,7 +7550,7 @@ void PythonQtShell_QSGDynamicTexture::bind() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7572,7 +7572,7 @@ void PythonQtShell_QSGDynamicTexture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7594,7 +7594,7 @@ void PythonQtShell_QSGDynamicTexture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7616,7 +7616,7 @@ bool PythonQtShell_QSGDynamicTexture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7649,7 +7649,7 @@ bool PythonQtShell_QSGDynamicTexture::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7682,7 +7682,7 @@ bool PythonQtShell_QSGDynamicTexture::hasAlphaChannel() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasAlphaChannel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7715,7 +7715,7 @@ bool PythonQtShell_QSGDynamicTexture::hasMipmaps() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasMipmaps"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7748,7 +7748,7 @@ bool PythonQtShell_QSGDynamicTexture::isAtlasTexture() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAtlasTexture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7781,7 +7781,7 @@ QRectF PythonQtShell_QSGDynamicTexture::normalizedTextureSubRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("normalizedTextureSubRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7814,7 +7814,7 @@ QSGTexture* PythonQtShell_QSGDynamicTexture::removedFromAtlas() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removedFromAtlas"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7847,7 +7847,7 @@ int PythonQtShell_QSGDynamicTexture::textureId() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textureId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7880,7 +7880,7 @@ QSize PythonQtShell_QSGDynamicTexture::textureSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textureSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7913,7 +7913,7 @@ void PythonQtShell_QSGDynamicTexture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7935,7 +7935,7 @@ bool PythonQtShell_QSGDynamicTexture::updateTexture() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateTexture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7996,7 +7996,7 @@ void PythonQtShell_QSGEngine::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8018,7 +8018,7 @@ void PythonQtShell_QSGEngine::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8040,7 +8040,7 @@ bool PythonQtShell_QSGEngine::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8073,7 +8073,7 @@ bool PythonQtShell_QSGEngine::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8106,7 +8106,7 @@ void PythonQtShell_QSGEngine::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8166,7 +8166,7 @@ QSGMaterialType* PythonQtShell_QSGFlatColorMaterial::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8419,7 +8419,7 @@ bool PythonQtShell_QSGGeometryNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8452,7 +8452,7 @@ void PythonQtShell_QSGGeometryNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8591,7 +8591,7 @@ bool PythonQtShell_QSGNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8624,7 +8624,7 @@ void PythonQtShell_QSGNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8772,7 +8772,7 @@ void PythonQtShell_QSGNodeVisitor::enterClipNode(QSGClipNode* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterClipNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8794,7 +8794,7 @@ void PythonQtShell_QSGNodeVisitor::enterGeometryNode(QSGGeometryNode* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterGeometryNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8816,7 +8816,7 @@ void PythonQtShell_QSGNodeVisitor::enterOpacityNode(QSGOpacityNode* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterOpacityNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8838,7 +8838,7 @@ void PythonQtShell_QSGNodeVisitor::enterTransformNode(QSGTransformNode* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterTransformNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8860,7 +8860,7 @@ void PythonQtShell_QSGNodeVisitor::leaveClipNode(QSGClipNode* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveClipNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8882,7 +8882,7 @@ void PythonQtShell_QSGNodeVisitor::leaveGeometryNode(QSGGeometryNode* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveGeometryNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8904,7 +8904,7 @@ void PythonQtShell_QSGNodeVisitor::leaveOpacityNode(QSGOpacityNode* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveOpacityNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8926,7 +8926,7 @@ void PythonQtShell_QSGNodeVisitor::leaveTransformNode(QSGTransformNode* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveTransformNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8948,7 +8948,7 @@ void PythonQtShell_QSGNodeVisitor::visitChildren(QSGNode* n0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visitChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -8970,7 +8970,7 @@ void PythonQtShell_QSGNodeVisitor::visitNode(QSGNode* n0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("visitNode"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9052,7 +9052,7 @@ bool PythonQtShell_QSGOpacityNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -9085,7 +9085,7 @@ void PythonQtShell_QSGOpacityNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp b/generated_cpp_56/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp index 51937318d..f67bfb529 100644 --- a/generated_cpp_56/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp +++ b/generated_cpp_56/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp @@ -23,7 +23,7 @@ bool PythonQtShell_QSGRootNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -56,7 +56,7 @@ void PythonQtShell_QSGRootNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -95,7 +95,7 @@ void PythonQtShell_QSGTexture::bind() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -117,7 +117,7 @@ void PythonQtShell_QSGTexture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -139,7 +139,7 @@ void PythonQtShell_QSGTexture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -161,7 +161,7 @@ bool PythonQtShell_QSGTexture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -194,7 +194,7 @@ bool PythonQtShell_QSGTexture::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -227,7 +227,7 @@ bool PythonQtShell_QSGTexture::hasAlphaChannel() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasAlphaChannel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -260,7 +260,7 @@ bool PythonQtShell_QSGTexture::hasMipmaps() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasMipmaps"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -293,7 +293,7 @@ bool PythonQtShell_QSGTexture::isAtlasTexture() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isAtlasTexture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -326,7 +326,7 @@ QRectF PythonQtShell_QSGTexture::normalizedTextureSubRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("normalizedTextureSubRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -359,7 +359,7 @@ QSGTexture* PythonQtShell_QSGTexture::removedFromAtlas() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removedFromAtlas"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -392,7 +392,7 @@ int PythonQtShell_QSGTexture::textureId() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textureId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -425,7 +425,7 @@ QSize PythonQtShell_QSGTexture::textureSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("textureSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -458,7 +458,7 @@ void PythonQtShell_QSGTexture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -593,7 +593,7 @@ QSGMaterialType* PythonQtShell_QSGTextureMaterial::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -641,7 +641,7 @@ void PythonQtShell_QSGTextureProvider::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -663,7 +663,7 @@ void PythonQtShell_QSGTextureProvider::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -685,7 +685,7 @@ bool PythonQtShell_QSGTextureProvider::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -718,7 +718,7 @@ bool PythonQtShell_QSGTextureProvider::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -751,7 +751,7 @@ QSGTexture* PythonQtShell_QSGTextureProvider::texture() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("texture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -784,7 +784,7 @@ void PythonQtShell_QSGTextureProvider::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -834,7 +834,7 @@ bool PythonQtShell_QSGTransformNode::isSubtreeBlocked() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isSubtreeBlocked"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -867,7 +867,7 @@ void PythonQtShell_QSGTransformNode::preprocess() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("preprocess"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp b/generated_cpp_56/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp index 8b0a24af0..c7b4bf879 100644 --- a/generated_cpp_56/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp +++ b/generated_cpp_56/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp @@ -277,7 +277,7 @@ bool PythonQtShell_QSqlDriver::beginTransaction() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("beginTransaction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -310,7 +310,7 @@ bool PythonQtShell_QSqlDriver::cancelQuery() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("cancelQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -343,7 +343,7 @@ void PythonQtShell_QSqlDriver::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -365,7 +365,7 @@ void PythonQtShell_QSqlDriver::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -387,7 +387,7 @@ bool PythonQtShell_QSqlDriver::commitTransaction() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("commitTransaction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -420,7 +420,7 @@ QSqlResult* PythonQtShell_QSqlDriver::createResult() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createResult"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -453,7 +453,7 @@ void PythonQtShell_QSqlDriver::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -475,7 +475,7 @@ QString PythonQtShell_QSqlDriver::escapeIdentifier(const QString& identifier0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("escapeIdentifier"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -508,7 +508,7 @@ bool PythonQtShell_QSqlDriver::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -541,7 +541,7 @@ bool PythonQtShell_QSqlDriver::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -574,7 +574,7 @@ QString PythonQtShell_QSqlDriver::formatValue(const QSqlField& field0, bool t { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("formatValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -607,7 +607,7 @@ QVariant PythonQtShell_QSqlDriver::handle() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("handle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -640,7 +640,7 @@ bool PythonQtShell_QSqlDriver::hasFeature(QSqlDriver::DriverFeature f0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -673,7 +673,7 @@ bool PythonQtShell_QSqlDriver::isIdentifierEscaped(const QString& identifier0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isIdentifierEscaped"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -706,7 +706,7 @@ bool PythonQtShell_QSqlDriver::isOpen() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isOpen"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -739,7 +739,7 @@ bool PythonQtShell_QSqlDriver::open(const QString& db0, const QString& user1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -772,7 +772,7 @@ QSqlIndex PythonQtShell_QSqlDriver::primaryIndex(const QString& tableName0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("primaryIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -805,7 +805,7 @@ QSqlRecord PythonQtShell_QSqlDriver::record(const QString& tableName0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("record"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -838,7 +838,7 @@ bool PythonQtShell_QSqlDriver::rollbackTransaction() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rollbackTransaction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -871,7 +871,7 @@ void PythonQtShell_QSqlDriver::setLastError(const QSqlError& e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setLastError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -893,7 +893,7 @@ void PythonQtShell_QSqlDriver::setOpen(bool o0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setOpen"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -915,7 +915,7 @@ void PythonQtShell_QSqlDriver::setOpenError(bool e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setOpenError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -937,7 +937,7 @@ QString PythonQtShell_QSqlDriver::sqlStatement(QSqlDriver::StatementType type0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sqlStatement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -970,7 +970,7 @@ QString PythonQtShell_QSqlDriver::stripDelimiters(const QString& identifier0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stripDelimiters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1003,7 +1003,7 @@ bool PythonQtShell_QSqlDriver::subscribeToNotification(const QString& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("subscribeToNotification"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1036,7 +1036,7 @@ QStringList PythonQtShell_QSqlDriver::subscribedToNotifications() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("subscribedToNotifications"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1069,7 +1069,7 @@ QStringList PythonQtShell_QSqlDriver::tables(QSql::TableType tableType0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tables"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1102,7 +1102,7 @@ void PythonQtShell_QSqlDriver::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1124,7 +1124,7 @@ bool PythonQtShell_QSqlDriver::unsubscribeFromNotification(const QString& name { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unsubscribeFromNotification"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1320,7 +1320,7 @@ QSqlDriver* PythonQtShell_QSqlDriverCreatorBase::createObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1874,7 +1874,7 @@ QModelIndex PythonQtShell_QSqlQueryModel::buddy(const QModelIndex& index0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1907,7 +1907,7 @@ bool PythonQtShell_QSqlQueryModel::canDropMimeData(const QMimeData* data0, Qt: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1940,7 +1940,7 @@ bool PythonQtShell_QSqlQueryModel::canFetchMore(const QModelIndex& parent0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1973,7 +1973,7 @@ void PythonQtShell_QSqlQueryModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1995,7 +1995,7 @@ void PythonQtShell_QSqlQueryModel::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2017,7 +2017,7 @@ int PythonQtShell_QSqlQueryModel::columnCount(const QModelIndex& parent0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2050,7 +2050,7 @@ void PythonQtShell_QSqlQueryModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2072,7 +2072,7 @@ QVariant PythonQtShell_QSqlQueryModel::data(const QModelIndex& item0, int rol { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2105,7 +2105,7 @@ bool PythonQtShell_QSqlQueryModel::dropMimeData(const QMimeData* data0, Qt::Dr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2138,7 +2138,7 @@ bool PythonQtShell_QSqlQueryModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2171,7 +2171,7 @@ bool PythonQtShell_QSqlQueryModel::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2204,7 +2204,7 @@ void PythonQtShell_QSqlQueryModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2226,7 +2226,7 @@ Qt::ItemFlags PythonQtShell_QSqlQueryModel::flags(const QModelIndex& index0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2259,7 +2259,7 @@ QVariant PythonQtShell_QSqlQueryModel::headerData(int section0, Qt::Orientatio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2292,7 +2292,7 @@ QModelIndex PythonQtShell_QSqlQueryModel::index(int row0, int column1, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2325,7 +2325,7 @@ QModelIndex PythonQtShell_QSqlQueryModel::indexInQuery(const QModelIndex& item { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexInQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2358,7 +2358,7 @@ bool PythonQtShell_QSqlQueryModel::insertColumns(int column0, int count1, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2391,7 +2391,7 @@ bool PythonQtShell_QSqlQueryModel::insertRows(int row0, int count1, const QMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2424,7 +2424,7 @@ QMap PythonQtShell_QSqlQueryModel::itemData(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2457,7 +2457,7 @@ QList PythonQtShell_QSqlQueryModel::match(const QModelIndex& sta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2490,7 +2490,7 @@ QMimeData* PythonQtShell_QSqlQueryModel::mimeData(const QList& i { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2523,7 +2523,7 @@ QStringList PythonQtShell_QSqlQueryModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2556,7 +2556,7 @@ bool PythonQtShell_QSqlQueryModel::moveColumns(const QModelIndex& sourceParent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2589,7 +2589,7 @@ bool PythonQtShell_QSqlQueryModel::moveRows(const QModelIndex& sourceParent0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2622,7 +2622,7 @@ void PythonQtShell_QSqlQueryModel::queryChange() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("queryChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2644,7 +2644,7 @@ bool PythonQtShell_QSqlQueryModel::removeColumns(int column0, int count1, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2677,7 +2677,7 @@ bool PythonQtShell_QSqlQueryModel::removeRows(int row0, int count1, const QMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2710,7 +2710,7 @@ void PythonQtShell_QSqlQueryModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2732,7 +2732,7 @@ QHash PythonQtShell_QSqlQueryModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2765,7 +2765,7 @@ int PythonQtShell_QSqlQueryModel::rowCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2798,7 +2798,7 @@ bool PythonQtShell_QSqlQueryModel::setData(const QModelIndex& index0, const QV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2831,7 +2831,7 @@ bool PythonQtShell_QSqlQueryModel::setHeaderData(int section0, Qt::Orientation { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2864,7 +2864,7 @@ bool PythonQtShell_QSqlQueryModel::setItemData(const QModelIndex& index0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2897,7 +2897,7 @@ QModelIndex PythonQtShell_QSqlQueryModel::sibling(int row0, int column1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2930,7 +2930,7 @@ void PythonQtShell_QSqlQueryModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2952,7 +2952,7 @@ QSize PythonQtShell_QSqlQueryModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2985,7 +2985,7 @@ bool PythonQtShell_QSqlQueryModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3018,7 +3018,7 @@ Qt::DropActions PythonQtShell_QSqlQueryModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3051,7 +3051,7 @@ Qt::DropActions PythonQtShell_QSqlQueryModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3084,7 +3084,7 @@ void PythonQtShell_QSqlQueryModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3416,7 +3416,7 @@ QModelIndex PythonQtShell_QSqlRelationalTableModel::buddy(const QModelIndex& i { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3449,7 +3449,7 @@ bool PythonQtShell_QSqlRelationalTableModel::canDropMimeData(const QMimeData* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3482,7 +3482,7 @@ bool PythonQtShell_QSqlRelationalTableModel::canFetchMore(const QModelIndex& p { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3515,7 +3515,7 @@ void PythonQtShell_QSqlRelationalTableModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3537,7 +3537,7 @@ void PythonQtShell_QSqlRelationalTableModel::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3559,7 +3559,7 @@ int PythonQtShell_QSqlRelationalTableModel::columnCount(const QModelIndex& par { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3592,7 +3592,7 @@ void PythonQtShell_QSqlRelationalTableModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3614,7 +3614,7 @@ QVariant PythonQtShell_QSqlRelationalTableModel::data(const QModelIndex& item0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3647,7 +3647,7 @@ bool PythonQtShell_QSqlRelationalTableModel::deleteRowFromTable(int row0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deleteRowFromTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3680,7 +3680,7 @@ bool PythonQtShell_QSqlRelationalTableModel::dropMimeData(const QMimeData* dat { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3713,7 +3713,7 @@ bool PythonQtShell_QSqlRelationalTableModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3746,7 +3746,7 @@ bool PythonQtShell_QSqlRelationalTableModel::eventFilter(QObject* watched0, QE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3779,7 +3779,7 @@ void PythonQtShell_QSqlRelationalTableModel::fetchMore(const QModelIndex& paren { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3801,7 +3801,7 @@ Qt::ItemFlags PythonQtShell_QSqlRelationalTableModel::flags(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3834,7 +3834,7 @@ QVariant PythonQtShell_QSqlRelationalTableModel::headerData(int section0, Qt:: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3867,7 +3867,7 @@ QModelIndex PythonQtShell_QSqlRelationalTableModel::index(int row0, int colum { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3900,7 +3900,7 @@ QModelIndex PythonQtShell_QSqlRelationalTableModel::indexInQuery(const QModelIn { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexInQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3933,7 +3933,7 @@ bool PythonQtShell_QSqlRelationalTableModel::insertColumns(int column0, int c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3966,7 +3966,7 @@ bool PythonQtShell_QSqlRelationalTableModel::insertRowIntoTable(const QSqlRecor { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRowIntoTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3999,7 +3999,7 @@ bool PythonQtShell_QSqlRelationalTableModel::insertRows(int row0, int count1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4032,7 +4032,7 @@ QMap PythonQtShell_QSqlRelationalTableModel::itemData(const QM { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4065,7 +4065,7 @@ QList PythonQtShell_QSqlRelationalTableModel::match(const QModelI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4098,7 +4098,7 @@ QMimeData* PythonQtShell_QSqlRelationalTableModel::mimeData(const QListob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4131,7 +4131,7 @@ QStringList PythonQtShell_QSqlRelationalTableModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4164,7 +4164,7 @@ bool PythonQtShell_QSqlRelationalTableModel::moveColumns(const QModelIndex& so { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4197,7 +4197,7 @@ bool PythonQtShell_QSqlRelationalTableModel::moveRows(const QModelIndex& sourc { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4230,7 +4230,7 @@ QString PythonQtShell_QSqlRelationalTableModel::orderByClause() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("orderByClause"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4263,7 +4263,7 @@ void PythonQtShell_QSqlRelationalTableModel::queryChange() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("queryChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4285,7 +4285,7 @@ QSqlTableModel* PythonQtShell_QSqlRelationalTableModel::relationModel(int colu { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("relationModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4318,7 +4318,7 @@ bool PythonQtShell_QSqlRelationalTableModel::removeColumns(int column0, int c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4351,7 +4351,7 @@ bool PythonQtShell_QSqlRelationalTableModel::removeRows(int row0, int count1, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4384,7 +4384,7 @@ void PythonQtShell_QSqlRelationalTableModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4406,7 +4406,7 @@ void PythonQtShell_QSqlRelationalTableModel::revertRow(int row0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revertRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4428,7 +4428,7 @@ QHash PythonQtShell_QSqlRelationalTableModel::roleNames() co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4461,7 +4461,7 @@ int PythonQtShell_QSqlRelationalTableModel::rowCount(const QModelIndex& parent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4494,7 +4494,7 @@ bool PythonQtShell_QSqlRelationalTableModel::select() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4527,7 +4527,7 @@ bool PythonQtShell_QSqlRelationalTableModel::selectRow(int row0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4560,7 +4560,7 @@ QString PythonQtShell_QSqlRelationalTableModel::selectStatement() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectStatement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4593,7 +4593,7 @@ bool PythonQtShell_QSqlRelationalTableModel::setData(const QModelIndex& item0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4626,7 +4626,7 @@ void PythonQtShell_QSqlRelationalTableModel::setEditStrategy(QSqlTableModel::Edi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEditStrategy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4648,7 +4648,7 @@ void PythonQtShell_QSqlRelationalTableModel::setFilter(const QString& filter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4670,7 +4670,7 @@ bool PythonQtShell_QSqlRelationalTableModel::setHeaderData(int section0, Qt::O { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4703,7 +4703,7 @@ bool PythonQtShell_QSqlRelationalTableModel::setItemData(const QModelIndex& in { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4736,7 +4736,7 @@ void PythonQtShell_QSqlRelationalTableModel::setRelation(int column0, const QSq { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setRelation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4758,7 +4758,7 @@ void PythonQtShell_QSqlRelationalTableModel::setSort(int column0, Qt::SortOrder { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4780,7 +4780,7 @@ void PythonQtShell_QSqlRelationalTableModel::setTable(const QString& tableName0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4802,7 +4802,7 @@ QModelIndex PythonQtShell_QSqlRelationalTableModel::sibling(int row0, int col { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4835,7 +4835,7 @@ void PythonQtShell_QSqlRelationalTableModel::sort(int column0, Qt::SortOrder o { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4857,7 +4857,7 @@ QSize PythonQtShell_QSqlRelationalTableModel::span(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4890,7 +4890,7 @@ bool PythonQtShell_QSqlRelationalTableModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4923,7 +4923,7 @@ Qt::DropActions PythonQtShell_QSqlRelationalTableModel::supportedDragActions() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4956,7 +4956,7 @@ Qt::DropActions PythonQtShell_QSqlRelationalTableModel::supportedDropActions() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4989,7 +4989,7 @@ void PythonQtShell_QSqlRelationalTableModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5011,7 +5011,7 @@ bool PythonQtShell_QSqlRelationalTableModel::updateRowInTable(int row0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateRowInTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5087,7 +5087,7 @@ void PythonQtShell_QSqlResult::bindValue(const QString& placeholder0, const QVa { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bindValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5109,7 +5109,7 @@ void PythonQtShell_QSqlResult::bindValue(int pos0, const QVariant& val1, QSql: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("bindValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5131,7 +5131,7 @@ QVariant PythonQtShell_QSqlResult::data(int i0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5164,7 +5164,7 @@ void PythonQtShell_QSqlResult::detachFromResultSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("detachFromResultSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5186,7 +5186,7 @@ bool PythonQtShell_QSqlResult::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5219,7 +5219,7 @@ bool PythonQtShell_QSqlResult::execBatch(bool arrayBind0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("execBatch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5252,7 +5252,7 @@ bool PythonQtShell_QSqlResult::fetch(int i0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5285,7 +5285,7 @@ bool PythonQtShell_QSqlResult::fetchFirst() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchFirst"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5318,7 +5318,7 @@ bool PythonQtShell_QSqlResult::fetchLast() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchLast"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5351,7 +5351,7 @@ bool PythonQtShell_QSqlResult::fetchNext() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchNext"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5384,7 +5384,7 @@ bool PythonQtShell_QSqlResult::fetchPrevious() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchPrevious"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5417,7 +5417,7 @@ QVariant PythonQtShell_QSqlResult::handle() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("handle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5450,7 +5450,7 @@ bool PythonQtShell_QSqlResult::isNull(int i0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isNull"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5483,7 +5483,7 @@ QVariant PythonQtShell_QSqlResult::lastInsertId() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("lastInsertId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5516,7 +5516,7 @@ bool PythonQtShell_QSqlResult::nextResult() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextResult"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5549,7 +5549,7 @@ int PythonQtShell_QSqlResult::numRowsAffected() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("numRowsAffected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5582,7 +5582,7 @@ bool PythonQtShell_QSqlResult::prepare(const QString& query0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("prepare"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5615,7 +5615,7 @@ QSqlRecord PythonQtShell_QSqlResult::record() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("record"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5648,7 +5648,7 @@ bool PythonQtShell_QSqlResult::reset(const QString& sqlquery0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5681,7 +5681,7 @@ bool PythonQtShell_QSqlResult::savePrepare(const QString& sqlquery0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("savePrepare"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5714,7 +5714,7 @@ void PythonQtShell_QSqlResult::setActive(bool a0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setActive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5736,7 +5736,7 @@ void PythonQtShell_QSqlResult::setAt(int at0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5758,7 +5758,7 @@ void PythonQtShell_QSqlResult::setForwardOnly(bool forward0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setForwardOnly"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5780,7 +5780,7 @@ void PythonQtShell_QSqlResult::setLastError(const QSqlError& e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setLastError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5802,7 +5802,7 @@ void PythonQtShell_QSqlResult::setNumericalPrecisionPolicy(QSql::NumericalPrecis { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setNumericalPrecisionPolicy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5824,7 +5824,7 @@ void PythonQtShell_QSqlResult::setQuery(const QString& query0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5846,7 +5846,7 @@ void PythonQtShell_QSqlResult::setSelect(bool s0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSelect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5868,7 +5868,7 @@ int PythonQtShell_QSqlResult::size() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6161,7 +6161,7 @@ QModelIndex PythonQtShell_QSqlTableModel::buddy(const QModelIndex& index0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6194,7 +6194,7 @@ bool PythonQtShell_QSqlTableModel::canDropMimeData(const QMimeData* data0, Qt: { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6227,7 +6227,7 @@ bool PythonQtShell_QSqlTableModel::canFetchMore(const QModelIndex& parent0) co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6260,7 +6260,7 @@ void PythonQtShell_QSqlTableModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6282,7 +6282,7 @@ void PythonQtShell_QSqlTableModel::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6304,7 +6304,7 @@ int PythonQtShell_QSqlTableModel::columnCount(const QModelIndex& parent0) cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6337,7 +6337,7 @@ void PythonQtShell_QSqlTableModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6359,7 +6359,7 @@ QVariant PythonQtShell_QSqlTableModel::data(const QModelIndex& idx0, int role { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6392,7 +6392,7 @@ bool PythonQtShell_QSqlTableModel::deleteRowFromTable(int row0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("deleteRowFromTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6425,7 +6425,7 @@ bool PythonQtShell_QSqlTableModel::dropMimeData(const QMimeData* data0, Qt::Dr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6458,7 +6458,7 @@ bool PythonQtShell_QSqlTableModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6491,7 +6491,7 @@ bool PythonQtShell_QSqlTableModel::eventFilter(QObject* watched0, QEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6524,7 +6524,7 @@ void PythonQtShell_QSqlTableModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6546,7 +6546,7 @@ Qt::ItemFlags PythonQtShell_QSqlTableModel::flags(const QModelIndex& index0) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6579,7 +6579,7 @@ QVariant PythonQtShell_QSqlTableModel::headerData(int section0, Qt::Orientatio { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6612,7 +6612,7 @@ QModelIndex PythonQtShell_QSqlTableModel::index(int row0, int column1, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6645,7 +6645,7 @@ QModelIndex PythonQtShell_QSqlTableModel::indexInQuery(const QModelIndex& item { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("indexInQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6678,7 +6678,7 @@ bool PythonQtShell_QSqlTableModel::insertColumns(int column0, int count1, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6711,7 +6711,7 @@ bool PythonQtShell_QSqlTableModel::insertRowIntoTable(const QSqlRecord& values { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRowIntoTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6744,7 +6744,7 @@ bool PythonQtShell_QSqlTableModel::insertRows(int row0, int count1, const QMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6777,7 +6777,7 @@ QMap PythonQtShell_QSqlTableModel::itemData(const QModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6810,7 +6810,7 @@ QList PythonQtShell_QSqlTableModel::match(const QModelIndex& sta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6843,7 +6843,7 @@ QMimeData* PythonQtShell_QSqlTableModel::mimeData(const QList& i { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6876,7 +6876,7 @@ QStringList PythonQtShell_QSqlTableModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6909,7 +6909,7 @@ bool PythonQtShell_QSqlTableModel::moveColumns(const QModelIndex& sourceParent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6942,7 +6942,7 @@ bool PythonQtShell_QSqlTableModel::moveRows(const QModelIndex& sourceParent0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6975,7 +6975,7 @@ QString PythonQtShell_QSqlTableModel::orderByClause() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("orderByClause"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7008,7 +7008,7 @@ void PythonQtShell_QSqlTableModel::queryChange() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("queryChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7030,7 +7030,7 @@ bool PythonQtShell_QSqlTableModel::removeColumns(int column0, int count1, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7063,7 +7063,7 @@ bool PythonQtShell_QSqlTableModel::removeRows(int row0, int count1, const QMo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7096,7 +7096,7 @@ void PythonQtShell_QSqlTableModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7118,7 +7118,7 @@ void PythonQtShell_QSqlTableModel::revertRow(int row0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("revertRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7140,7 +7140,7 @@ QHash PythonQtShell_QSqlTableModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7173,7 +7173,7 @@ int PythonQtShell_QSqlTableModel::rowCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7206,7 +7206,7 @@ bool PythonQtShell_QSqlTableModel::select() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7239,7 +7239,7 @@ bool PythonQtShell_QSqlTableModel::selectRow(int row0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7272,7 +7272,7 @@ QString PythonQtShell_QSqlTableModel::selectStatement() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("selectStatement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7305,7 +7305,7 @@ bool PythonQtShell_QSqlTableModel::setData(const QModelIndex& index0, const QV { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7338,7 +7338,7 @@ void PythonQtShell_QSqlTableModel::setEditStrategy(QSqlTableModel::EditStrategy { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEditStrategy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7360,7 +7360,7 @@ void PythonQtShell_QSqlTableModel::setFilter(const QString& filter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7382,7 +7382,7 @@ bool PythonQtShell_QSqlTableModel::setHeaderData(int section0, Qt::Orientation { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7415,7 +7415,7 @@ bool PythonQtShell_QSqlTableModel::setItemData(const QModelIndex& index0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7448,7 +7448,7 @@ void PythonQtShell_QSqlTableModel::setSort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setSort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7470,7 +7470,7 @@ void PythonQtShell_QSqlTableModel::setTable(const QString& tableName0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7492,7 +7492,7 @@ QModelIndex PythonQtShell_QSqlTableModel::sibling(int row0, int column1, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7525,7 +7525,7 @@ void PythonQtShell_QSqlTableModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7547,7 +7547,7 @@ QSize PythonQtShell_QSqlTableModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7580,7 +7580,7 @@ bool PythonQtShell_QSqlTableModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7613,7 +7613,7 @@ Qt::DropActions PythonQtShell_QSqlTableModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7646,7 +7646,7 @@ Qt::DropActions PythonQtShell_QSqlTableModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7679,7 +7679,7 @@ void PythonQtShell_QSqlTableModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -7701,7 +7701,7 @@ bool PythonQtShell_QSqlTableModel::updateRowInTable(int row0, const QSqlRecord { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateRowInTable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp b/generated_cpp_56/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp index 40ae62649..592254370 100644 --- a/generated_cpp_56/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp +++ b/generated_cpp_56/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp @@ -59,7 +59,7 @@ QRectF PythonQtShell_QGraphicsSvgItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -92,7 +92,7 @@ void PythonQtShell_QGraphicsSvgItem::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -114,7 +114,7 @@ void PythonQtShell_QGraphicsSvgItem::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -136,7 +136,7 @@ bool PythonQtShell_QGraphicsSvgItem::event(QEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -169,7 +169,7 @@ bool PythonQtShell_QGraphicsSvgItem::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -202,7 +202,7 @@ void PythonQtShell_QGraphicsSvgItem::paint(QPainter* painter0, const QStyleOpti { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -224,7 +224,7 @@ void PythonQtShell_QGraphicsSvgItem::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -246,7 +246,7 @@ int PythonQtShell_QGraphicsSvgItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -361,7 +361,7 @@ int PythonQtShell_QSvgGenerator::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -394,7 +394,7 @@ void PythonQtShell_QSvgGenerator::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -416,7 +416,7 @@ int PythonQtShell_QSvgGenerator::metric(QPaintDevice::PaintDeviceMetric metric { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -449,7 +449,7 @@ QPaintEngine* PythonQtShell_QSvgGenerator::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -482,7 +482,7 @@ QPaintDevice* PythonQtShell_QSvgGenerator::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -515,7 +515,7 @@ QPainter* PythonQtShell_QSvgGenerator::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -638,7 +638,7 @@ void PythonQtShell_QSvgRenderer::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -660,7 +660,7 @@ void PythonQtShell_QSvgRenderer::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -682,7 +682,7 @@ bool PythonQtShell_QSvgRenderer::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -715,7 +715,7 @@ bool PythonQtShell_QSvgRenderer::eventFilter(QObject* watched0, QEvent* event { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -748,7 +748,7 @@ void PythonQtShell_QSvgRenderer::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -880,7 +880,7 @@ void PythonQtShell_QSvgWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -902,7 +902,7 @@ void PythonQtShell_QSvgWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -924,7 +924,7 @@ void PythonQtShell_QSvgWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -946,7 +946,7 @@ void PythonQtShell_QSvgWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -968,7 +968,7 @@ void PythonQtShell_QSvgWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -990,7 +990,7 @@ void PythonQtShell_QSvgWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1012,7 +1012,7 @@ int PythonQtShell_QSvgWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1045,7 +1045,7 @@ void PythonQtShell_QSvgWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1067,7 +1067,7 @@ void PythonQtShell_QSvgWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1089,7 +1089,7 @@ void PythonQtShell_QSvgWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1111,7 +1111,7 @@ void PythonQtShell_QSvgWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1133,7 +1133,7 @@ void PythonQtShell_QSvgWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1155,7 +1155,7 @@ bool PythonQtShell_QSvgWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1188,7 +1188,7 @@ bool PythonQtShell_QSvgWidget::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1221,7 +1221,7 @@ void PythonQtShell_QSvgWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1243,7 +1243,7 @@ bool PythonQtShell_QSvgWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1276,7 +1276,7 @@ void PythonQtShell_QSvgWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1298,7 +1298,7 @@ bool PythonQtShell_QSvgWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1331,7 +1331,7 @@ int PythonQtShell_QSvgWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1364,7 +1364,7 @@ void PythonQtShell_QSvgWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1386,7 +1386,7 @@ void PythonQtShell_QSvgWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1408,7 +1408,7 @@ void PythonQtShell_QSvgWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1430,7 +1430,7 @@ QVariant PythonQtShell_QSvgWidget::inputMethodQuery(Qt::InputMethodQuery arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1463,7 +1463,7 @@ void PythonQtShell_QSvgWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1485,7 +1485,7 @@ void PythonQtShell_QSvgWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1507,7 +1507,7 @@ void PythonQtShell_QSvgWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1529,7 +1529,7 @@ int PythonQtShell_QSvgWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1562,7 +1562,7 @@ QSize PythonQtShell_QSvgWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1595,7 +1595,7 @@ void PythonQtShell_QSvgWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1617,7 +1617,7 @@ void PythonQtShell_QSvgWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1639,7 +1639,7 @@ void PythonQtShell_QSvgWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1661,7 +1661,7 @@ void PythonQtShell_QSvgWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1683,7 +1683,7 @@ void PythonQtShell_QSvgWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1705,7 +1705,7 @@ bool PythonQtShell_QSvgWidget::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1738,7 +1738,7 @@ QPaintEngine* PythonQtShell_QSvgWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1771,7 +1771,7 @@ void PythonQtShell_QSvgWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1793,7 +1793,7 @@ QPaintDevice* PythonQtShell_QSvgWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1826,7 +1826,7 @@ void PythonQtShell_QSvgWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1848,7 +1848,7 @@ void PythonQtShell_QSvgWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1870,7 +1870,7 @@ QPainter* PythonQtShell_QSvgWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1903,7 +1903,7 @@ void PythonQtShell_QSvgWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1925,7 +1925,7 @@ void PythonQtShell_QSvgWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1947,7 +1947,7 @@ void PythonQtShell_QSvgWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1969,7 +1969,7 @@ void PythonQtShell_QSvgWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp b/generated_cpp_56/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp index 5d2376c89..8a6b434b8 100644 --- a/generated_cpp_56/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp +++ b/generated_cpp_56/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp @@ -25,7 +25,7 @@ void PythonQtShell_QUiLoader::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -47,7 +47,7 @@ QAction* PythonQtShell_QUiLoader::createAction(QObject* parent0, const QString { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -80,7 +80,7 @@ QActionGroup* PythonQtShell_QUiLoader::createActionGroup(QObject* parent0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createActionGroup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -113,7 +113,7 @@ QLayout* PythonQtShell_QUiLoader::createLayout(const QString& className0, QObj { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -146,7 +146,7 @@ QWidget* PythonQtShell_QUiLoader::createWidget(const QString& className0, QWid { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -179,7 +179,7 @@ void PythonQtShell_QUiLoader::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -201,7 +201,7 @@ bool PythonQtShell_QUiLoader::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -234,7 +234,7 @@ bool PythonQtShell_QUiLoader::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -267,7 +267,7 @@ void PythonQtShell_QUiLoader::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp b/generated_cpp_56/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp index 5feab9b54..c96669fc3 100644 --- a/generated_cpp_56/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp +++ b/generated_cpp_56/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp @@ -72,7 +72,7 @@ QRectF PythonQtShell_QGraphicsWebView::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -105,7 +105,7 @@ void PythonQtShell_QGraphicsWebView::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -127,7 +127,7 @@ void PythonQtShell_QGraphicsWebView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -149,7 +149,7 @@ void PythonQtShell_QGraphicsWebView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -171,7 +171,7 @@ void PythonQtShell_QGraphicsWebView::contextMenuEvent(QGraphicsSceneContextMenuE { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -193,7 +193,7 @@ void PythonQtShell_QGraphicsWebView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -215,7 +215,7 @@ void PythonQtShell_QGraphicsWebView::dragEnterEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -237,7 +237,7 @@ void PythonQtShell_QGraphicsWebView::dragLeaveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -259,7 +259,7 @@ void PythonQtShell_QGraphicsWebView::dragMoveEvent(QGraphicsSceneDragDropEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -281,7 +281,7 @@ void PythonQtShell_QGraphicsWebView::dropEvent(QGraphicsSceneDragDropEvent* arg { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -303,7 +303,7 @@ bool PythonQtShell_QGraphicsWebView::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -336,7 +336,7 @@ bool PythonQtShell_QGraphicsWebView::eventFilter(QObject* watched0, QEvent* e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -369,7 +369,7 @@ void PythonQtShell_QGraphicsWebView::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -391,7 +391,7 @@ bool PythonQtShell_QGraphicsWebView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -424,7 +424,7 @@ void PythonQtShell_QGraphicsWebView::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -446,7 +446,7 @@ void PythonQtShell_QGraphicsWebView::getContentsMargins(qreal* left0, qreal* t { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -468,7 +468,7 @@ void PythonQtShell_QGraphicsWebView::grabKeyboardEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("grabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -490,7 +490,7 @@ void PythonQtShell_QGraphicsWebView::grabMouseEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("grabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -512,7 +512,7 @@ void PythonQtShell_QGraphicsWebView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -534,7 +534,7 @@ void PythonQtShell_QGraphicsWebView::hoverLeaveEvent(QGraphicsSceneHoverEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -556,7 +556,7 @@ void PythonQtShell_QGraphicsWebView::hoverMoveEvent(QGraphicsSceneHoverEvent* a { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -578,7 +578,7 @@ void PythonQtShell_QGraphicsWebView::initStyleOption(QStyleOption* option0) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -600,7 +600,7 @@ void PythonQtShell_QGraphicsWebView::inputMethodEvent(QInputMethodEvent* arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -622,7 +622,7 @@ QVariant PythonQtShell_QGraphicsWebView::inputMethodQuery(Qt::InputMethodQuery { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -655,7 +655,7 @@ QVariant PythonQtShell_QGraphicsWebView::itemChange(QGraphicsItem::GraphicsItem { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -691,7 +691,7 @@ void PythonQtShell_QGraphicsWebView::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -713,7 +713,7 @@ void PythonQtShell_QGraphicsWebView::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -735,7 +735,7 @@ void PythonQtShell_QGraphicsWebView::mouseDoubleClickEvent(QGraphicsSceneMouseEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -757,7 +757,7 @@ void PythonQtShell_QGraphicsWebView::mouseMoveEvent(QGraphicsSceneMouseEvent* a { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -779,7 +779,7 @@ void PythonQtShell_QGraphicsWebView::mousePressEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -801,7 +801,7 @@ void PythonQtShell_QGraphicsWebView::mouseReleaseEvent(QGraphicsSceneMouseEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -823,7 +823,7 @@ void PythonQtShell_QGraphicsWebView::moveEvent(QGraphicsSceneMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -845,7 +845,7 @@ void PythonQtShell_QGraphicsWebView::paint(QPainter* arg__1, const QStyleOption { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -867,7 +867,7 @@ void PythonQtShell_QGraphicsWebView::paintWindowFrame(QPainter* painter0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintWindowFrame"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -889,7 +889,7 @@ void PythonQtShell_QGraphicsWebView::polishEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("polishEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -911,7 +911,7 @@ QVariant PythonQtShell_QGraphicsWebView::propertyChange(const QString& propert { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("propertyChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -944,7 +944,7 @@ void PythonQtShell_QGraphicsWebView::resizeEvent(QGraphicsSceneResizeEvent* eve { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -966,7 +966,7 @@ bool PythonQtShell_QGraphicsWebView::sceneEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -999,7 +999,7 @@ void PythonQtShell_QGraphicsWebView::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1021,7 +1021,7 @@ QPainterPath PythonQtShell_QGraphicsWebView::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1054,7 +1054,7 @@ void PythonQtShell_QGraphicsWebView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1076,7 +1076,7 @@ QSizeF PythonQtShell_QGraphicsWebView::sizeHint(Qt::SizeHint which0, const QSi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1109,7 +1109,7 @@ void PythonQtShell_QGraphicsWebView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1131,7 +1131,7 @@ int PythonQtShell_QGraphicsWebView::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1164,7 +1164,7 @@ void PythonQtShell_QGraphicsWebView::ungrabKeyboardEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1186,7 +1186,7 @@ void PythonQtShell_QGraphicsWebView::ungrabMouseEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ungrabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1208,7 +1208,7 @@ void PythonQtShell_QGraphicsWebView::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1230,7 +1230,7 @@ void PythonQtShell_QGraphicsWebView::wheelEvent(QGraphicsSceneWheelEvent* arg__ { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1252,7 +1252,7 @@ bool PythonQtShell_QGraphicsWebView::windowFrameEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowFrameEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1285,7 +1285,7 @@ Qt::WindowFrameSection PythonQtShell_QGraphicsWebView::windowFrameSectionAt(con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("windowFrameSectionAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2305,7 +2305,7 @@ void PythonQtShell_QWebHistoryInterface::addHistoryEntry(const QString& url0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("addHistoryEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2327,7 +2327,7 @@ void PythonQtShell_QWebHistoryInterface::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2349,7 +2349,7 @@ void PythonQtShell_QWebHistoryInterface::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2371,7 +2371,7 @@ bool PythonQtShell_QWebHistoryInterface::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2404,7 +2404,7 @@ bool PythonQtShell_QWebHistoryInterface::eventFilter(QObject* watched0, QEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2437,7 +2437,7 @@ bool PythonQtShell_QWebHistoryInterface::historyContains(const QString& url0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("historyContains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2470,7 +2470,7 @@ void PythonQtShell_QWebHistoryInterface::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2686,7 +2686,7 @@ void PythonQtShell_QWebInspector::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2708,7 +2708,7 @@ void PythonQtShell_QWebInspector::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2730,7 +2730,7 @@ void PythonQtShell_QWebInspector::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2752,7 +2752,7 @@ void PythonQtShell_QWebInspector::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2774,7 +2774,7 @@ void PythonQtShell_QWebInspector::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2796,7 +2796,7 @@ void PythonQtShell_QWebInspector::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2818,7 +2818,7 @@ int PythonQtShell_QWebInspector::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2851,7 +2851,7 @@ void PythonQtShell_QWebInspector::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2873,7 +2873,7 @@ void PythonQtShell_QWebInspector::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2895,7 +2895,7 @@ void PythonQtShell_QWebInspector::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2917,7 +2917,7 @@ void PythonQtShell_QWebInspector::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2939,7 +2939,7 @@ void PythonQtShell_QWebInspector::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2961,7 +2961,7 @@ bool PythonQtShell_QWebInspector::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2994,7 +2994,7 @@ bool PythonQtShell_QWebInspector::eventFilter(QObject* watched0, QEvent* even { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3027,7 +3027,7 @@ void PythonQtShell_QWebInspector::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3049,7 +3049,7 @@ bool PythonQtShell_QWebInspector::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3082,7 +3082,7 @@ void PythonQtShell_QWebInspector::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3104,7 +3104,7 @@ bool PythonQtShell_QWebInspector::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3137,7 +3137,7 @@ int PythonQtShell_QWebInspector::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3170,7 +3170,7 @@ void PythonQtShell_QWebInspector::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3192,7 +3192,7 @@ void PythonQtShell_QWebInspector::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3214,7 +3214,7 @@ void PythonQtShell_QWebInspector::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3236,7 +3236,7 @@ QVariant PythonQtShell_QWebInspector::inputMethodQuery(Qt::InputMethodQuery ar { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3269,7 +3269,7 @@ void PythonQtShell_QWebInspector::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3291,7 +3291,7 @@ void PythonQtShell_QWebInspector::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3313,7 +3313,7 @@ void PythonQtShell_QWebInspector::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3335,7 +3335,7 @@ int PythonQtShell_QWebInspector::metric(QPaintDevice::PaintDeviceMetric arg__1 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3368,7 +3368,7 @@ QSize PythonQtShell_QWebInspector::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3401,7 +3401,7 @@ void PythonQtShell_QWebInspector::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3423,7 +3423,7 @@ void PythonQtShell_QWebInspector::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3445,7 +3445,7 @@ void PythonQtShell_QWebInspector::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3467,7 +3467,7 @@ void PythonQtShell_QWebInspector::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3489,7 +3489,7 @@ void PythonQtShell_QWebInspector::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3511,7 +3511,7 @@ bool PythonQtShell_QWebInspector::nativeEvent(const QByteArray& eventType0, vo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3544,7 +3544,7 @@ QPaintEngine* PythonQtShell_QWebInspector::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3577,7 +3577,7 @@ void PythonQtShell_QWebInspector::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3599,7 +3599,7 @@ QPaintDevice* PythonQtShell_QWebInspector::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3632,7 +3632,7 @@ void PythonQtShell_QWebInspector::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3654,7 +3654,7 @@ void PythonQtShell_QWebInspector::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3676,7 +3676,7 @@ QPainter* PythonQtShell_QWebInspector::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3709,7 +3709,7 @@ void PythonQtShell_QWebInspector::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3731,7 +3731,7 @@ QSize PythonQtShell_QWebInspector::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3764,7 +3764,7 @@ void PythonQtShell_QWebInspector::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3786,7 +3786,7 @@ void PythonQtShell_QWebInspector::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3808,7 +3808,7 @@ void PythonQtShell_QWebInspector::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3868,7 +3868,7 @@ bool PythonQtShell_QWebPage::acceptNavigationRequest(QWebFrame* frame0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("acceptNavigationRequest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3901,7 +3901,7 @@ void PythonQtShell_QWebPage::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3923,7 +3923,7 @@ QString PythonQtShell_QWebPage::chooseFile(QWebFrame* originatingFrame0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("chooseFile"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3956,7 +3956,7 @@ QObject* PythonQtShell_QWebPage::createPlugin(const QString& classid0, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createPlugin"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3989,7 +3989,7 @@ QWebPage* PythonQtShell_QWebPage::createWindow(QWebPage::WebWindowType type0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createWindow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4022,7 +4022,7 @@ void PythonQtShell_QWebPage::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4044,7 +4044,7 @@ bool PythonQtShell_QWebPage::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4077,7 +4077,7 @@ bool PythonQtShell_QWebPage::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4110,7 +4110,7 @@ bool PythonQtShell_QWebPage::extension(QWebPage::Extension extension0, const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4143,7 +4143,7 @@ void PythonQtShell_QWebPage::javaScriptAlert(QWebFrame* originatingFrame0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("javaScriptAlert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4165,7 +4165,7 @@ bool PythonQtShell_QWebPage::javaScriptConfirm(QWebFrame* originatingFrame0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("javaScriptConfirm"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4198,7 +4198,7 @@ void PythonQtShell_QWebPage::javaScriptConsoleMessage(const QString& message0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("javaScriptConsoleMessage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4220,7 +4220,7 @@ bool PythonQtShell_QWebPage::javaScriptPrompt(QWebFrame* originatingFrame0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("javaScriptPrompt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4253,7 +4253,7 @@ bool PythonQtShell_QWebPage::shouldInterruptJavaScript() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("shouldInterruptJavaScript"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4286,7 +4286,7 @@ bool PythonQtShell_QWebPage::supportsExtension(QWebPage::Extension extension0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4319,7 +4319,7 @@ void PythonQtShell_QWebPage::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4341,7 +4341,7 @@ void PythonQtShell_QWebPage::triggerAction(QWebPage::WebAction action0, bool c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("triggerAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4363,7 +4363,7 @@ QString PythonQtShell_QWebPage::userAgentForUrl(const QUrl& url0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("userAgentForUrl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4759,7 +4759,7 @@ void PythonQtShell_QWebPluginFactory::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4781,7 +4781,7 @@ QObject* PythonQtShell_QWebPluginFactory::create(const QString& mimeType0, con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4814,7 +4814,7 @@ void PythonQtShell_QWebPluginFactory::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4836,7 +4836,7 @@ bool PythonQtShell_QWebPluginFactory::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4869,7 +4869,7 @@ bool PythonQtShell_QWebPluginFactory::eventFilter(QObject* watched0, QEvent* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4902,7 +4902,7 @@ bool PythonQtShell_QWebPluginFactory::extension(QWebPluginFactory::Extension e { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4935,7 +4935,7 @@ QList PythonQtShell_QWebPluginFactory::plugins() co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("plugins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4968,7 +4968,7 @@ void PythonQtShell_QWebPluginFactory::refreshPlugins() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("refreshPlugins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4990,7 +4990,7 @@ bool PythonQtShell_QWebPluginFactory::supportsExtension(QWebPluginFactory::Exte { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5023,7 +5023,7 @@ void PythonQtShell_QWebPluginFactory::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5425,7 +5425,7 @@ void PythonQtShell_QWebView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5447,7 +5447,7 @@ void PythonQtShell_QWebView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5469,7 +5469,7 @@ void PythonQtShell_QWebView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5491,7 +5491,7 @@ void PythonQtShell_QWebView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5513,7 +5513,7 @@ void PythonQtShell_QWebView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5535,7 +5535,7 @@ QWebView* PythonQtShell_QWebView::createWindow(QWebPage::WebWindowType type0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("createWindow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5568,7 +5568,7 @@ void PythonQtShell_QWebView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5590,7 +5590,7 @@ int PythonQtShell_QWebView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5623,7 +5623,7 @@ void PythonQtShell_QWebView::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5645,7 +5645,7 @@ void PythonQtShell_QWebView::dragLeaveEvent(QDragLeaveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5667,7 +5667,7 @@ void PythonQtShell_QWebView::dragMoveEvent(QDragMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5689,7 +5689,7 @@ void PythonQtShell_QWebView::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5711,7 +5711,7 @@ void PythonQtShell_QWebView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5733,7 +5733,7 @@ bool PythonQtShell_QWebView::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5766,7 +5766,7 @@ bool PythonQtShell_QWebView::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5799,7 +5799,7 @@ void PythonQtShell_QWebView::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5821,7 +5821,7 @@ bool PythonQtShell_QWebView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5854,7 +5854,7 @@ void PythonQtShell_QWebView::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5876,7 +5876,7 @@ bool PythonQtShell_QWebView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5909,7 +5909,7 @@ int PythonQtShell_QWebView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5942,7 +5942,7 @@ void PythonQtShell_QWebView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5964,7 +5964,7 @@ void PythonQtShell_QWebView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5986,7 +5986,7 @@ void PythonQtShell_QWebView::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6008,7 +6008,7 @@ QVariant PythonQtShell_QWebView::inputMethodQuery(Qt::InputMethodQuery propert { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6041,7 +6041,7 @@ void PythonQtShell_QWebView::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6063,7 +6063,7 @@ void PythonQtShell_QWebView::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6085,7 +6085,7 @@ void PythonQtShell_QWebView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6107,7 +6107,7 @@ int PythonQtShell_QWebView::metric(QPaintDevice::PaintDeviceMetric arg__1) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6140,7 +6140,7 @@ QSize PythonQtShell_QWebView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6173,7 +6173,7 @@ void PythonQtShell_QWebView::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6195,7 +6195,7 @@ void PythonQtShell_QWebView::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6217,7 +6217,7 @@ void PythonQtShell_QWebView::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6239,7 +6239,7 @@ void PythonQtShell_QWebView::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6261,7 +6261,7 @@ void PythonQtShell_QWebView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6283,7 +6283,7 @@ bool PythonQtShell_QWebView::nativeEvent(const QByteArray& eventType0, void* { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6316,7 +6316,7 @@ QPaintEngine* PythonQtShell_QWebView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6349,7 +6349,7 @@ void PythonQtShell_QWebView::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6371,7 +6371,7 @@ QPaintDevice* PythonQtShell_QWebView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6404,7 +6404,7 @@ void PythonQtShell_QWebView::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6426,7 +6426,7 @@ void PythonQtShell_QWebView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6448,7 +6448,7 @@ QPainter* PythonQtShell_QWebView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6481,7 +6481,7 @@ void PythonQtShell_QWebView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6503,7 +6503,7 @@ QSize PythonQtShell_QWebView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6536,7 +6536,7 @@ void PythonQtShell_QWebView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6558,7 +6558,7 @@ void PythonQtShell_QWebView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -6580,7 +6580,7 @@ void PythonQtShell_QWebView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp b/generated_cpp_56/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp index f5440f9b0..751b7a80f 100644 --- a/generated_cpp_56/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp +++ b/generated_cpp_56/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp @@ -1156,7 +1156,7 @@ bool PythonQtShell_QXmlContentHandler::characters(const QString& ch0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1189,7 +1189,7 @@ bool PythonQtShell_QXmlContentHandler::endDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1222,7 +1222,7 @@ bool PythonQtShell_QXmlContentHandler::endElement(const QString& namespaceURI0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1255,7 +1255,7 @@ bool PythonQtShell_QXmlContentHandler::endPrefixMapping(const QString& prefix0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endPrefixMapping"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1288,7 +1288,7 @@ QString PythonQtShell_QXmlContentHandler::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1321,7 +1321,7 @@ bool PythonQtShell_QXmlContentHandler::ignorableWhitespace(const QString& ch0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ignorableWhitespace"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1354,7 +1354,7 @@ bool PythonQtShell_QXmlContentHandler::processingInstruction(const QString& ta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1387,7 +1387,7 @@ void PythonQtShell_QXmlContentHandler::setDocumentLocator(QXmlLocator* locator0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDocumentLocator"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1409,7 +1409,7 @@ bool PythonQtShell_QXmlContentHandler::skippedEntity(const QString& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("skippedEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1442,7 +1442,7 @@ bool PythonQtShell_QXmlContentHandler::startDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1475,7 +1475,7 @@ bool PythonQtShell_QXmlContentHandler::startElement(const QString& namespaceUR { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1508,7 +1508,7 @@ bool PythonQtShell_QXmlContentHandler::startPrefixMapping(const QString& prefi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startPrefixMapping"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1611,7 +1611,7 @@ QString PythonQtShell_QXmlDTDHandler::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1644,7 +1644,7 @@ bool PythonQtShell_QXmlDTDHandler::notationDecl(const QString& name0, const QS { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("notationDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1677,7 +1677,7 @@ bool PythonQtShell_QXmlDTDHandler::unparsedEntityDecl(const QString& name0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unparsedEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1735,7 +1735,7 @@ bool PythonQtShell_QXmlDeclHandler::attributeDecl(const QString& eName0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("attributeDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1768,7 +1768,7 @@ QString PythonQtShell_QXmlDeclHandler::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1801,7 +1801,7 @@ bool PythonQtShell_QXmlDeclHandler::externalEntityDecl(const QString& name0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("externalEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1834,7 +1834,7 @@ bool PythonQtShell_QXmlDeclHandler::internalEntityDecl(const QString& name0, c { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("internalEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1897,7 +1897,7 @@ bool PythonQtShell_QXmlDefaultHandler::attributeDecl(const QString& eName0, co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("attributeDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1930,7 +1930,7 @@ bool PythonQtShell_QXmlDefaultHandler::characters(const QString& ch0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1963,7 +1963,7 @@ bool PythonQtShell_QXmlDefaultHandler::comment(const QString& ch0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1996,7 +1996,7 @@ bool PythonQtShell_QXmlDefaultHandler::endCDATA() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endCDATA"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2029,7 +2029,7 @@ bool PythonQtShell_QXmlDefaultHandler::endDTD() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endDTD"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2062,7 +2062,7 @@ bool PythonQtShell_QXmlDefaultHandler::endDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2095,7 +2095,7 @@ bool PythonQtShell_QXmlDefaultHandler::endElement(const QString& namespaceURI0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2128,7 +2128,7 @@ bool PythonQtShell_QXmlDefaultHandler::endEntity(const QString& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2161,7 +2161,7 @@ bool PythonQtShell_QXmlDefaultHandler::endPrefixMapping(const QString& prefix0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endPrefixMapping"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2194,7 +2194,7 @@ bool PythonQtShell_QXmlDefaultHandler::error(const QXmlParseException& excepti { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("error"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2227,7 +2227,7 @@ QString PythonQtShell_QXmlDefaultHandler::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2260,7 +2260,7 @@ bool PythonQtShell_QXmlDefaultHandler::externalEntityDecl(const QString& name0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("externalEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2293,7 +2293,7 @@ bool PythonQtShell_QXmlDefaultHandler::fatalError(const QXmlParseException& ex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fatalError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2326,7 +2326,7 @@ bool PythonQtShell_QXmlDefaultHandler::ignorableWhitespace(const QString& ch0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("ignorableWhitespace"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2359,7 +2359,7 @@ bool PythonQtShell_QXmlDefaultHandler::internalEntityDecl(const QString& name0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("internalEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2392,7 +2392,7 @@ bool PythonQtShell_QXmlDefaultHandler::notationDecl(const QString& name0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("notationDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2425,7 +2425,7 @@ bool PythonQtShell_QXmlDefaultHandler::processingInstruction(const QString& ta { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2458,7 +2458,7 @@ bool PythonQtShell_QXmlDefaultHandler::resolveEntity(const QString& publicId0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resolveEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2491,7 +2491,7 @@ void PythonQtShell_QXmlDefaultHandler::setDocumentLocator(QXmlLocator* locator0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDocumentLocator"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2513,7 +2513,7 @@ bool PythonQtShell_QXmlDefaultHandler::skippedEntity(const QString& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("skippedEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2546,7 +2546,7 @@ bool PythonQtShell_QXmlDefaultHandler::startCDATA() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startCDATA"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2579,7 +2579,7 @@ bool PythonQtShell_QXmlDefaultHandler::startDTD(const QString& name0, const QS { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDTD"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2612,7 +2612,7 @@ bool PythonQtShell_QXmlDefaultHandler::startDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2645,7 +2645,7 @@ bool PythonQtShell_QXmlDefaultHandler::startElement(const QString& namespaceUR { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2678,7 +2678,7 @@ bool PythonQtShell_QXmlDefaultHandler::startEntity(const QString& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2711,7 +2711,7 @@ bool PythonQtShell_QXmlDefaultHandler::startPrefixMapping(const QString& prefi { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startPrefixMapping"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2744,7 +2744,7 @@ bool PythonQtShell_QXmlDefaultHandler::unparsedEntityDecl(const QString& name0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("unparsedEntityDecl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2777,7 +2777,7 @@ bool PythonQtShell_QXmlDefaultHandler::warning(const QXmlParseException& excep { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("warning"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2820,7 +2820,7 @@ QString PythonQtShell_QXmlEntityResolver::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2853,7 +2853,7 @@ bool PythonQtShell_QXmlEntityResolver::resolveEntity(const QString& publicId0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resolveEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2906,7 +2906,7 @@ bool PythonQtShell_QXmlErrorHandler::error(const QXmlParseException& exception { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("error"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2939,7 +2939,7 @@ QString PythonQtShell_QXmlErrorHandler::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2972,7 +2972,7 @@ bool PythonQtShell_QXmlErrorHandler::fatalError(const QXmlParseException& exce { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fatalError"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3005,7 +3005,7 @@ bool PythonQtShell_QXmlErrorHandler::warning(const QXmlParseException& excepti { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("warning"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3068,7 +3068,7 @@ QString PythonQtShell_QXmlInputSource::data() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3101,7 +3101,7 @@ void PythonQtShell_QXmlInputSource::fetchData() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fetchData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3123,7 +3123,7 @@ QString PythonQtShell_QXmlInputSource::fromRawData(const QByteArray& data0, bo { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("fromRawData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3156,7 +3156,7 @@ QChar PythonQtShell_QXmlInputSource::next() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("next"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3189,7 +3189,7 @@ void PythonQtShell_QXmlInputSource::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3211,7 +3211,7 @@ void PythonQtShell_QXmlInputSource::setData(const QByteArray& dat0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3233,7 +3233,7 @@ void PythonQtShell_QXmlInputSource::setData(const QString& dat0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3304,7 +3304,7 @@ bool PythonQtShell_QXmlLexicalHandler::comment(const QString& ch0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3337,7 +3337,7 @@ bool PythonQtShell_QXmlLexicalHandler::endCDATA() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endCDATA"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3370,7 +3370,7 @@ bool PythonQtShell_QXmlLexicalHandler::endDTD() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endDTD"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3403,7 +3403,7 @@ bool PythonQtShell_QXmlLexicalHandler::endEntity(const QString& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3436,7 +3436,7 @@ QString PythonQtShell_QXmlLexicalHandler::errorString() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorString"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3469,7 +3469,7 @@ bool PythonQtShell_QXmlLexicalHandler::startCDATA() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startCDATA"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3502,7 +3502,7 @@ bool PythonQtShell_QXmlLexicalHandler::startDTD(const QString& name0, const QS { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDTD"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3535,7 +3535,7 @@ bool PythonQtShell_QXmlLexicalHandler::startEntity(const QString& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startEntity"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3618,7 +3618,7 @@ int PythonQtShell_QXmlLocator::columnNumber() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("columnNumber"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3651,7 +3651,7 @@ int PythonQtShell_QXmlLocator::lineNumber() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("lineNumber"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3739,7 +3739,7 @@ QXmlDTDHandler* PythonQtShell_QXmlReader::DTDHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("DTDHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3772,7 +3772,7 @@ QXmlContentHandler* PythonQtShell_QXmlReader::contentHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contentHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3805,7 +3805,7 @@ QXmlDeclHandler* PythonQtShell_QXmlReader::declHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("declHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3838,7 +3838,7 @@ QXmlEntityResolver* PythonQtShell_QXmlReader::entityResolver() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("entityResolver"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3871,7 +3871,7 @@ QXmlErrorHandler* PythonQtShell_QXmlReader::errorHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3904,7 +3904,7 @@ bool PythonQtShell_QXmlReader::feature(const QString& name0, bool* ok1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("feature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3937,7 +3937,7 @@ bool PythonQtShell_QXmlReader::hasFeature(const QString& name0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3970,7 +3970,7 @@ bool PythonQtShell_QXmlReader::hasProperty(const QString& name0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4003,7 +4003,7 @@ QXmlLexicalHandler* PythonQtShell_QXmlReader::lexicalHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("lexicalHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4036,7 +4036,7 @@ bool PythonQtShell_QXmlReader::parse(const QXmlInputSource& input0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4069,7 +4069,7 @@ bool PythonQtShell_QXmlReader::parse(const QXmlInputSource* input0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4102,7 +4102,7 @@ void* PythonQtShell_QXmlReader::property(const QString& name0, bool* ok1) con { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("property"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4135,7 +4135,7 @@ void PythonQtShell_QXmlReader::setContentHandler(QXmlContentHandler* handler0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setContentHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4157,7 +4157,7 @@ void PythonQtShell_QXmlReader::setDTDHandler(QXmlDTDHandler* handler0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDTDHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4179,7 +4179,7 @@ void PythonQtShell_QXmlReader::setDeclHandler(QXmlDeclHandler* handler0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDeclHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4201,7 +4201,7 @@ void PythonQtShell_QXmlReader::setEntityResolver(QXmlEntityResolver* handler0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEntityResolver"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4223,7 +4223,7 @@ void PythonQtShell_QXmlReader::setErrorHandler(QXmlErrorHandler* handler0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setErrorHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4245,7 +4245,7 @@ void PythonQtShell_QXmlReader::setFeature(const QString& name0, bool value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4267,7 +4267,7 @@ void PythonQtShell_QXmlReader::setLexicalHandler(QXmlLexicalHandler* handler0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setLexicalHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4289,7 +4289,7 @@ void PythonQtShell_QXmlReader::setProperty(const QString& name0, void* value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4421,7 +4421,7 @@ QXmlDTDHandler* PythonQtShell_QXmlSimpleReader::DTDHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("DTDHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4454,7 +4454,7 @@ QXmlContentHandler* PythonQtShell_QXmlSimpleReader::contentHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("contentHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4487,7 +4487,7 @@ QXmlDeclHandler* PythonQtShell_QXmlSimpleReader::declHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("declHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4520,7 +4520,7 @@ QXmlEntityResolver* PythonQtShell_QXmlSimpleReader::entityResolver() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("entityResolver"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4553,7 +4553,7 @@ QXmlErrorHandler* PythonQtShell_QXmlSimpleReader::errorHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("errorHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4586,7 +4586,7 @@ bool PythonQtShell_QXmlSimpleReader::feature(const QString& name0, bool* ok1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("feature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4619,7 +4619,7 @@ bool PythonQtShell_QXmlSimpleReader::hasFeature(const QString& name0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4652,7 +4652,7 @@ bool PythonQtShell_QXmlSimpleReader::hasProperty(const QString& name0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("hasProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4685,7 +4685,7 @@ QXmlLexicalHandler* PythonQtShell_QXmlSimpleReader::lexicalHandler() const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("lexicalHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4718,7 +4718,7 @@ bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource& input0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4751,7 +4751,7 @@ bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource* input0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4784,7 +4784,7 @@ bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource* input0, bool { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parse"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4817,7 +4817,7 @@ bool PythonQtShell_QXmlSimpleReader::parseContinue() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("parseContinue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4850,7 +4850,7 @@ void* PythonQtShell_QXmlSimpleReader::property(const QString& name0, bool* ok { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("property"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4883,7 +4883,7 @@ void PythonQtShell_QXmlSimpleReader::setContentHandler(QXmlContentHandler* hand { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setContentHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4905,7 +4905,7 @@ void PythonQtShell_QXmlSimpleReader::setDTDHandler(QXmlDTDHandler* handler0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDTDHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4927,7 +4927,7 @@ void PythonQtShell_QXmlSimpleReader::setDeclHandler(QXmlDeclHandler* handler0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setDeclHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4949,7 +4949,7 @@ void PythonQtShell_QXmlSimpleReader::setEntityResolver(QXmlEntityResolver* hand { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setEntityResolver"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4971,7 +4971,7 @@ void PythonQtShell_QXmlSimpleReader::setErrorHandler(QXmlErrorHandler* handler0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setErrorHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -4993,7 +4993,7 @@ void PythonQtShell_QXmlSimpleReader::setFeature(const QString& name0, bool val { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setFeature"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5015,7 +5015,7 @@ void PythonQtShell_QXmlSimpleReader::setLexicalHandler(QXmlLexicalHandler* hand { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setLexicalHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -5037,7 +5037,7 @@ void PythonQtShell_QXmlSimpleReader::setProperty(const QString& name0, void* v { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("setProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generated_cpp_56/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp b/generated_cpp_56/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp index 18b2b7ad2..f4f2061a8 100644 --- a/generated_cpp_56/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp +++ b/generated_cpp_56/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp @@ -33,7 +33,7 @@ void PythonQtShell_QAbstractMessageHandler::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -55,7 +55,7 @@ void PythonQtShell_QAbstractMessageHandler::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -77,7 +77,7 @@ bool PythonQtShell_QAbstractMessageHandler::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -110,7 +110,7 @@ bool PythonQtShell_QAbstractMessageHandler::eventFilter(QObject* watched0, QEv { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -143,7 +143,7 @@ void PythonQtShell_QAbstractMessageHandler::handleMessage(QtMsgType type0, cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("handleMessage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -165,7 +165,7 @@ void PythonQtShell_QAbstractMessageHandler::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -220,7 +220,7 @@ void PythonQtShell_QAbstractUriResolver::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -242,7 +242,7 @@ void PythonQtShell_QAbstractUriResolver::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -264,7 +264,7 @@ bool PythonQtShell_QAbstractUriResolver::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -297,7 +297,7 @@ bool PythonQtShell_QAbstractUriResolver::eventFilter(QObject* watched0, QEvent { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -330,7 +330,7 @@ QUrl PythonQtShell_QAbstractUriResolver::resolve(const QUrl& relative0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("resolve"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -363,7 +363,7 @@ void PythonQtShell_QAbstractUriResolver::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -413,7 +413,7 @@ QVector PythonQtShell_QAbstractXmlNodeModel::attributes(co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("attributes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -446,7 +446,7 @@ QUrl PythonQtShell_QAbstractXmlNodeModel::baseUri(const QXmlNodeModelIndex& ni { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("baseUri"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -479,7 +479,7 @@ QXmlNodeModelIndex::DocumentOrder PythonQtShell_QAbstractXmlNodeModel::compareO { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("compareOrder"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -512,7 +512,7 @@ QUrl PythonQtShell_QAbstractXmlNodeModel::documentUri(const QXmlNodeModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("documentUri"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -545,7 +545,7 @@ QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::elementById(const QXmlN { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("elementById"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -578,7 +578,7 @@ bool PythonQtShell_QAbstractXmlNodeModel::isDeepEqual(const QXmlNodeModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isDeepEqual"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -611,7 +611,7 @@ QXmlNodeModelIndex::NodeKind PythonQtShell_QAbstractXmlNodeModel::kind(const QX { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("kind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -644,7 +644,7 @@ QXmlName PythonQtShell_QAbstractXmlNodeModel::name(const QXmlNodeModelIndex& n { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("name"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -677,7 +677,7 @@ QVector PythonQtShell_QAbstractXmlNodeModel::namespaceBindings(const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("namespaceBindings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -710,7 +710,7 @@ short PythonQtShell_QAbstractXmlNodeModel::namespaceForPrefix(const QXmlNodeMod { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("namespaceForPrefix"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -743,7 +743,7 @@ QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::nextFromSimpleAxis(QAbs { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextFromSimpleAxis"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -776,7 +776,7 @@ QVector PythonQtShell_QAbstractXmlNodeModel::nodesByIdref( { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nodesByIdref"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -809,7 +809,7 @@ QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::root(const QXmlNodeMode { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("root"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -842,7 +842,7 @@ QString PythonQtShell_QAbstractXmlNodeModel::stringValue(const QXmlNodeModelInd { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stringValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -875,7 +875,7 @@ QVariant PythonQtShell_QAbstractXmlNodeModel::typedValue(const QXmlNodeModelInd { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("typedValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1013,7 +1013,7 @@ void PythonQtShell_QAbstractXmlReceiver::atomicValue(const QVariant& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atomicValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1035,7 +1035,7 @@ void PythonQtShell_QAbstractXmlReceiver::attribute(const QXmlName& name0, const { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("attribute"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1057,7 +1057,7 @@ void PythonQtShell_QAbstractXmlReceiver::characters(const QStringRef& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1079,7 +1079,7 @@ void PythonQtShell_QAbstractXmlReceiver::comment(const QString& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1101,7 +1101,7 @@ void PythonQtShell_QAbstractXmlReceiver::endDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1123,7 +1123,7 @@ void PythonQtShell_QAbstractXmlReceiver::endElement() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1145,7 +1145,7 @@ void PythonQtShell_QAbstractXmlReceiver::endOfSequence() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1167,7 +1167,7 @@ void PythonQtShell_QAbstractXmlReceiver::namespaceBinding(const QXmlName& name0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("namespaceBinding"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1189,7 +1189,7 @@ void PythonQtShell_QAbstractXmlReceiver::processingInstruction(const QXmlName& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1211,7 +1211,7 @@ void PythonQtShell_QAbstractXmlReceiver::startDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1233,7 +1233,7 @@ void PythonQtShell_QAbstractXmlReceiver::startElement(const QXmlName& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1255,7 +1255,7 @@ void PythonQtShell_QAbstractXmlReceiver::startOfSequence() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1277,7 +1277,7 @@ void PythonQtShell_QAbstractXmlReceiver::whitespaceOnly(const QStringRef& value { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("whitespaceOnly"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1378,7 +1378,7 @@ QVector PythonQtShell_QSimpleXmlNodeModel::attributes(cons { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("attributes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1411,7 +1411,7 @@ QUrl PythonQtShell_QSimpleXmlNodeModel::baseUri(const QXmlNodeModelIndex& node { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("baseUri"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1444,7 +1444,7 @@ QXmlNodeModelIndex::DocumentOrder PythonQtShell_QSimpleXmlNodeModel::compareOrd { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("compareOrder"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1477,7 +1477,7 @@ QUrl PythonQtShell_QSimpleXmlNodeModel::documentUri(const QXmlNodeModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("documentUri"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1510,7 +1510,7 @@ QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::elementById(const QXmlNam { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("elementById"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1543,7 +1543,7 @@ bool PythonQtShell_QSimpleXmlNodeModel::isDeepEqual(const QXmlNodeModelIndex& { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("isDeepEqual"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1576,7 +1576,7 @@ QXmlNodeModelIndex::NodeKind PythonQtShell_QSimpleXmlNodeModel::kind(const QXml { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("kind"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1609,7 +1609,7 @@ QXmlName PythonQtShell_QSimpleXmlNodeModel::name(const QXmlNodeModelIndex& ni0 { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("name"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1642,7 +1642,7 @@ QVector PythonQtShell_QSimpleXmlNodeModel::namespaceBindings(const Q { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("namespaceBindings"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1675,7 +1675,7 @@ short PythonQtShell_QSimpleXmlNodeModel::namespaceForPrefix(const QXmlNodeModel { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("namespaceForPrefix"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1708,7 +1708,7 @@ QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::nextFromSimpleAxis(QAbstr { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nextFromSimpleAxis"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1741,7 +1741,7 @@ QVector PythonQtShell_QSimpleXmlNodeModel::nodesByIdref(co { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("nodesByIdref"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1774,7 +1774,7 @@ QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::root(const QXmlNodeModelI { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("root"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1807,7 +1807,7 @@ QString PythonQtShell_QSimpleXmlNodeModel::stringValue(const QXmlNodeModelIndex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("stringValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1840,7 +1840,7 @@ QVariant PythonQtShell_QSimpleXmlNodeModel::typedValue(const QXmlNodeModelIndex { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("typedValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1954,7 +1954,7 @@ void PythonQtShell_QXmlFormatter::atomicValue(const QVariant& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atomicValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1976,7 +1976,7 @@ void PythonQtShell_QXmlFormatter::attribute(const QXmlName& name0, const QStrin { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("attribute"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -1998,7 +1998,7 @@ void PythonQtShell_QXmlFormatter::characters(const QStringRef& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2020,7 +2020,7 @@ void PythonQtShell_QXmlFormatter::comment(const QString& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2042,7 +2042,7 @@ void PythonQtShell_QXmlFormatter::endDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2064,7 +2064,7 @@ void PythonQtShell_QXmlFormatter::endElement() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2086,7 +2086,7 @@ void PythonQtShell_QXmlFormatter::endOfSequence() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2108,7 +2108,7 @@ void PythonQtShell_QXmlFormatter::namespaceBinding(const QXmlName& nb0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("namespaceBinding"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2130,7 +2130,7 @@ void PythonQtShell_QXmlFormatter::processingInstruction(const QXmlName& name0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2152,7 +2152,7 @@ void PythonQtShell_QXmlFormatter::startDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2174,7 +2174,7 @@ void PythonQtShell_QXmlFormatter::startElement(const QXmlName& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2196,7 +2196,7 @@ void PythonQtShell_QXmlFormatter::startOfSequence() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2218,7 +2218,7 @@ void PythonQtShell_QXmlFormatter::whitespaceOnly(const QStringRef& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("whitespaceOnly"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2740,7 +2740,7 @@ void PythonQtShell_QXmlSerializer::atomicValue(const QVariant& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("atomicValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2762,7 +2762,7 @@ void PythonQtShell_QXmlSerializer::attribute(const QXmlName& name0, const QStri { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("attribute"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2784,7 +2784,7 @@ void PythonQtShell_QXmlSerializer::characters(const QStringRef& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("characters"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2806,7 +2806,7 @@ void PythonQtShell_QXmlSerializer::comment(const QString& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("comment"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2828,7 +2828,7 @@ void PythonQtShell_QXmlSerializer::endDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2850,7 +2850,7 @@ void PythonQtShell_QXmlSerializer::endElement() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2872,7 +2872,7 @@ void PythonQtShell_QXmlSerializer::endOfSequence() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("endOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2894,7 +2894,7 @@ void PythonQtShell_QXmlSerializer::namespaceBinding(const QXmlName& nb0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("namespaceBinding"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2916,7 +2916,7 @@ void PythonQtShell_QXmlSerializer::processingInstruction(const QXmlName& name0, { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("processingInstruction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2938,7 +2938,7 @@ void PythonQtShell_QXmlSerializer::startDocument() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startDocument"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2960,7 +2960,7 @@ void PythonQtShell_QXmlSerializer::startElement(const QXmlName& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startElement"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -2982,7 +2982,7 @@ void PythonQtShell_QXmlSerializer::startOfSequence() { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("startOfSequence"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { @@ -3004,7 +3004,7 @@ void PythonQtShell_QXmlSerializer::whitespaceOnly(const QStringRef& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { + if (Py_REFCNT((PyObject*)_wrapper) > 0) { static PyObject* name = PyString_FromString("whitespaceOnly"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { diff --git a/generator/shellgenerator.cpp b/generator/shellgenerator.cpp index 2bfb79330..c67646e95 100644 --- a/generator/shellgenerator.cpp +++ b/generator/shellgenerator.cpp @@ -199,7 +199,7 @@ void ShellGenerator::writeFunctionArguments(QTextStream &s, if (pos > 0) { QString typeName = expr.left(pos); AbstractMetaEnum* enumType = findEnumTypeOfClass(_currentScope, typeName); - if (enumType && enumType->typeEntry()->isEnumClass()) { + if (enumType) { // prepend original class name, otherwise the new enum type from the wrapper will be used, // which is not compatible qualifier = _currentScope->name(); diff --git a/generator/shellimplgenerator.cpp b/generator/shellimplgenerator.cpp index 1bff7724c..10d8a9edc 100644 --- a/generator/shellimplgenerator.cpp +++ b/generator/shellimplgenerator.cpp @@ -137,7 +137,7 @@ void ShellImplGenerator::write(QTextStream &s, const AbstractMetaClass *meta_cla s << "if (_wrapper) {" << endl; s << " PYTHONQT_GIL_SCOPE" << endl; - s << " if (((PyObject*)_wrapper)->ob_refcnt > 0) {" << endl; + s << " if (Py_REFCNT((PyObject*)_wrapper) > 0) {" << endl; s << " static PyObject* name = PyString_FromString(\"" << fun->name() << "\");" << endl; s << " PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name);" << endl; s << " if (obj) {" << endl; diff --git a/generator/typesystem_core.xml b/generator/typesystem_core.xml index 4a5c2de04..f1de9c46d 100644 --- a/generator/typesystem_core.xml +++ b/generator/typesystem_core.xml @@ -168,6 +168,7 @@ + @@ -239,7 +240,7 @@ - + @@ -1133,7 +1134,6 @@ public: - @@ -2053,7 +2053,7 @@ public: - + @@ -2227,12 +2227,20 @@ public: + - + + + + + public: + using JsonFormat = QJsonDocument::JsonFormat; + + diff --git a/generator/typesystem_gui.xml b/generator/typesystem_gui.xml index fcd29cf14..90f7e2063 100644 --- a/generator/typesystem_gui.xml +++ b/generator/typesystem_gui.xml @@ -79,7 +79,7 @@ - + @@ -593,7 +593,7 @@ - + @@ -621,7 +621,7 @@ - + @@ -703,7 +703,7 @@ - + @@ -758,7 +758,7 @@ - + @@ -870,7 +870,7 @@ - + @@ -971,6 +971,10 @@ + + + + @@ -1024,7 +1028,7 @@ - + @@ -1072,7 +1076,7 @@ PyObject* constScanLine(QImage* image, int line) { } #endif - + @@ -1117,6 +1121,12 @@ PyObject* constScanLine(QImage* image, int line) { + + /> + /> + /> + /> + @@ -1160,7 +1170,7 @@ PyObject* constScanLine(QImage* image, int line) { - + @@ -1177,7 +1187,7 @@ PyObject* constScanLine(QImage* image, int line) { - + QFontMetrics* new_QFontMetrics() { return new QFontMetrics(QFont()); } @@ -1211,7 +1221,7 @@ PyObject* constScanLine(QImage* image, int line) { - + @@ -1234,7 +1244,7 @@ PyObject* constScanLine(QImage* image, int line) { - + @@ -1248,7 +1258,7 @@ PyObject* constScanLine(QImage* image, int line) { - + - + @@ -1393,7 +1403,7 @@ PyObject* constScanLine(QImage* image, int line) { - + QAction* addAction (QMenu* menu, const QString & text, PyObject* callable, const QKeySequence & shortcut = 0) { QAction* a = menu->addAction(text); @@ -1401,7 +1411,7 @@ PyObject* constScanLine(QImage* image, int line) { PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); return a; } - + QAction* addAction (QMenu* menu, const QIcon& icon, const QString& text, PyObject* callable, const QKeySequence& shortcut = 0) { QAction* a = menu->addAction(text); @@ -1560,7 +1570,7 @@ PyObject* constScanLine(QImage* image, int line) { - + @@ -1704,7 +1714,7 @@ PyObject* constScanLine(QImage* image, int line) { - + @@ -1928,7 +1938,7 @@ PyObject* constScanLine(QImage* image, int line) { - + @@ -1953,7 +1963,7 @@ PyObject* constScanLine(QImage* image, int line) { - + @@ -1994,13 +2004,13 @@ PyObject* constScanLine(QImage* image, int line) { - + - + @@ -2093,7 +2103,7 @@ PyObject* constScanLine(QImage* image, int line) { - + @@ -2101,7 +2111,7 @@ PyObject* constScanLine(QImage* image, int line) { - + @@ -2130,7 +2140,7 @@ PyObject* constScanLine(QImage* image, int line) { - + @@ -2313,13 +2323,13 @@ PyObject* constScanLine(QImage* image, int line) { - + - + @@ -2481,13 +2491,13 @@ PyObject* constScanLine(QImage* image, int line) { - + - + @@ -2590,7 +2600,7 @@ PyObject* constScanLine(QImage* image, int line) { - + @@ -2619,7 +2629,7 @@ PyObject* constScanLine(QImage* image, int line) { - + @@ -2712,7 +2722,7 @@ PyObject* constScanLine(QImage* image, int line) { PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); return a; } - + QAction* addAction (QToolBar* menu, const QIcon& icon, const QString& text, PyObject* callable) { QAction* a = menu->addAction(text); @@ -2822,7 +2832,7 @@ PyObject* constScanLine(QImage* image, int line) { - + @@ -2955,7 +2965,7 @@ PyObject* constScanLine(QImage* image, int line) { - + @@ -3002,7 +3012,7 @@ PyObject* constScanLine(QImage* image, int line) { - + @@ -3013,7 +3023,7 @@ PyObject* constScanLine(QImage* image, int line) { - + @@ -3061,7 +3071,7 @@ PyObject* constScanLine(QImage* image, int line) { - + @@ -3202,7 +3212,7 @@ PyObject* constScanLine(QImage* image, int line) { - + @@ -3211,6 +3221,7 @@ PyObject* constScanLine(QImage* image, int line) { + @@ -3229,7 +3240,7 @@ PyObject* constScanLine(QImage* image, int line) { - + @@ -3245,7 +3256,7 @@ PyObject* constScanLine(QImage* image, int line) { - + diff --git a/generator/typesystem_webenginewidgets.xml b/generator/typesystem_webenginewidgets.xml index 5cdb11670..0cafeba32 100644 --- a/generator/typesystem_webenginewidgets.xml +++ b/generator/typesystem_webenginewidgets.xml @@ -95,4 +95,6 @@ + + diff --git a/generator/typesystem_xml.xml b/generator/typesystem_xml.xml index 27d8f24fb..cc82bcf36 100644 --- a/generator/typesystem_xml.xml +++ b/generator/typesystem_xml.xml @@ -75,6 +75,7 @@ +